Welcome Guest [Log In] [Register]

Welcome to Big Boards. Big Boards at one time offered the Zathyus network our long famous Resource Archives, our extensive search indexes, and our info-packed resource forums. Eventually, these were made redundant by upgrades to the documentations and expanded search features added to the ZetaBoards software, and this forum then lost relevancy and subsequently became inactive.

Our team then embarked on a new project called Planet Nexus, where a bold new experiment in forum promotion is taking place. We call it nexworking. NexusTree offers social networking pages for forums in a fully automated format. Your NexusTree page is created instantly when your join the nexus. Find out more by visiting Planet Nexus, and become part of the nexworking revolution.

Posted Image Posted Image
If you're already a member please log in to your account for additional access:

Username:   Password:
Closed Topic
Coding Challenge #23 - Best Money Code
Topic Started: Aug 7 2008, 12:36 AM (562 Views)
Archive
Member Avatar
Technical Adviser

Welcome to the BB code challenge!

The code challenge runs for one week and requires your submissions to comply with a stated theme and to be JS, HTML, or PHP codes only, but may be for either IF or ZB. The themes are specific. In some challenges, it will be obvious who is the winner, in others, a run-off poll will be posted in which BB members will pick the best code from the top three. In those cases, staff will choose the three submissions that best fulfill the theme to be voted on in the poll.

The winner will have a crown emblem displayed as an image prefix on their username and can claim the title of BB's coding king until the winner for the next coding challenge is chosen.

The current challenge is to create the best money code. This money code must relate to the gaining of money across the board, which is most commonly based on post count. A shop can be included.

This challenge will close at 11:59pm Wednesday, August 13 forum time (CST or -6 GMT).

Please use the posting template. Entries must include a preview to be considered. If you have already written a code that complies with the the stated theme, you may enter it. You may also post as many entries as you like during the challenge.

May the best coder take the crown!

Code:
 
[B]Name[/B]:
[B]Description[/B]:
[B]Copyright[/B]:
[B]Browser compatibility[/B]:
[B]Known Bugs[/B]:
[B]Preview/Screen shot[/B]:
[B]Installation[/B]:
Offline
Profile
Goto Top
 
Posted Imageslayer766
Member Avatar
Can I haz a Gord?

Well I hope Mwr doesn't enter the code he made for BB...but does the money code have to be post dependent?
Mike is my coding brother.

Posted Image
Offline
Profile
Goto Top
 
Justin
Member Avatar
'forever.

Because Slayer wants to enter his Divinity RPG? :P
Posted Image

Click to visit my Personal Forum
JUSTIN - PROUD MEMBER OF BIG BOARDS SINCE JANUARY 30th 2008
Useful LinksWhat's Happening Around Big Boards?
PagesServices
Offline
Profile
Goto Top
 
Posted Imageslayer766
Member Avatar
Can I haz a Gord?

Ha! That would be a bit redundant wouldn't you think? :P
Mike is my coding brother.

Posted Image
Offline
Profile
Goto Top
 
Posted ImageMike
Member Avatar
Official BB Coda

Bleh, I hate the current BB money code. While very reliable and secure, It's just restricting and over complicated. I plan on revising it to be more like other codes, adding up when you post or create topics instead of using your post count, and saving all data to file instead of an offset. More efficient that way. If I can learn a better way to edit flat files, I may even store all the information in a single file rather than one for each user, which would make loading topics much quicker.

Now that I think of it, this challenge would make a good opportunity to start on that. If I can't get it finished in time (which is very possible, being that I'm camping tomorrow and I still have running practices), you wont have to worry about me entering the old code lol. But otherwise, beware :P
Posted Image
Cory: "Mwr is right." - HelenaZF: "Mike is right"
^ All will realize soon enough ;)]
Offline
Profile
Goto Top
 
Itachi69
Member Avatar
Train Insane or remain the same
[ *  *  *  *  *  *  *  *  *  * ]
I hope one of you make a money code for ZB,that allows admins to edit the users money without affecting their post count.,and doesn't go back to zero when someone has over 1k post.....(because thats what I need.xD)

Don't mind me,I'll just be a big watcher/fan of this one.=P
Posted Image





Offline
Profile
Goto Top
 
Archive
Member Avatar
Technical Adviser

No slayer, it doesn't have to be post dependent. :)
Offline
Profile
Goto Top
 
vibrant
Member Avatar
BB Zeta
[ *  *  *  *  *  * ]
Can i enter the one you can make using the thing in board tools? :P
Posting For 1 Year Straight

My Goals
100 - 200 - 300 - 400 - 500 - 600 - 700 - 800 - 900 - 100
Posted Image
Offline
Profile
Goto Top
 
Posted Imageslayer766
Member Avatar
Can I haz a Gord?

Alright then, I'm going to be modifying my Money hack with bank code to also include in it a shop where you can buy some actual goodies. :P
Mike is my coding brother.

Posted Image
Offline
Profile
Goto Top
 
Archive
Member Avatar
Technical Adviser

Sorry iBlake, code generators are not allowed to be used in the code challenges.
Offline
Profile
Goto Top
 
Posted Imageslayer766
Member Avatar
Can I haz a Gord?

Name: Money code with Bank and Shop!
Description: This is something special I have been working on just for this Coding Challenge. If anyone of you know my old Money hack with bank code, this is someone like it, as I used that code for the base and modified around it improving it and adding in a Shop! This shop is not like any other, as with this shop that I've created you can actually buy stuff that is useful! You can actually alter your name with the goodies in this shop, as the items currently in the shop are as follows:

Shop Items
*All items will be displayed(With the exception of the Gamble Item) when you are in a topic and when you are viewing a profile.

  • Bold name - Just bolds your name.
  • Italic name - Just italicizes your name.
  • Color name - Just as the name would be, color your name whatever color you want.
  • Image name - Something to spice up your name, replace it with a username image!
  • Pet - That's right, you can purchase a Pet in the shop! You can even give it a name that you name yourself and even a Pet image that you provide!
  • NEW Gamble! - This is all about luck, if you purchase this you get the chance of either winning big or losing! Dare to Gamble?
You even have the option of selling these items back to get your money back if you wanted, the value doesn't decrease at all. Plus if you wanted to you could just go Bank all of that money in the bank! No interest though, was just a simple bank installed. ;)

Copyright: slayer766
Browser compatibility: Any version of Firefox, and I've checked it in IE6. It should work for every browser, if not just let me know.
Known Bugs: None that I know of.
Preview/Screen shot: Visit Here sign in with username: test password: test and check on the left hand navigation at the bottom where it will say "Money account area"
Installation: Board Wrappers > Footer:

Code:
 
<script type="text/javascript">
/*****************************************
Money code with Bank and Shop!
Created by slayer766 for the BigBoards Coding Challenge
Visit bigboardsresources.com & thecodingzone.com for more useful resources!
*****************************************/

var Money_Name = "Money";
var default_amount = 5000;

//Editing the items is not advised unless you want to edit the price
//The last slot in the arrays would be the price
var Shop_Items = new Array();c=0;
Shop_Items[c++] = [0,"Bold Name","Buying this item will Bold your username!",80];
Shop_Items[c++] = [1,"Italicize Name","Buying this item will Italicize your username!",400];
Shop_Items[c++] = [2,"Color Name","Buying this item will Color your username any color you want!",275];
Shop_Items[c++] = [3,"Image Name","Buying this item will replace your username with an image your provide!",800];
Shop_Items[c++] = [4,"Pet","Buy a Pet to display it in your mini-profile while you provide the image and name for your pet!",1800];
Shop_Items[c++] = [5,"Gamble","If you think you are lucky enough and want to do a Gamble to try and get more money, then purchase this! Winning ranges -500 to +1000",645];

document.write("<scr"+"ipt type='text/javascript' src='http://z3.ifrm.com/136/58/0/p50847/BBCS.js'></sc"+"ript>");
</script>



Then that's it! Visit "My Controls" and check the left hand navigation panel - scroll down a bit until you see "Money account area".
Mike is my coding brother.

Posted Image
Offline
Profile
Goto Top
 
godkillah
Member Avatar
Cool IF Coder
[ *  *  * ]
the topic id 4666 and the love for beating slayer convinced me to write something,
hope i make it before this ends,
starting now :xmas:
*** 250 MB of disk space
*** 100 GB of data transfer
*** PHP and MySQL support with no restrictions
*** cPanel control panel
*** Absolutely no advertising!

Join us now: http://www.000webhost.com
Offline
Profile
Goto Top
 
Chireru
BB Delta
[ *  *  *  * ]
ahhh...
I wish that I could've finished my Automatic Shop Mod v4.0...
I'm so close to a breakthrough too...

I could've pwned you all...

lol...

also, Slayer, we're all very lucky that you don't enter your RPG...
nobody would EVER have a chance...
lol...
Posted Image
Offline
Profile
Goto Top
 
godkillah
Member Avatar
Cool IF Coder
[ *  *  * ]
just cuz of the time, :P
i highly doubt I'll get my entry completed on time :cry:
*** 250 MB of disk space
*** 100 GB of data transfer
*** PHP and MySQL support with no restrictions
*** cPanel control panel
*** Absolutely no advertising!

Join us now: http://www.000webhost.com
Offline
Profile
Goto Top
 
Posted Imageslayer766
Member Avatar
Can I haz a Gord?

Chireru, if there were a Best RPG Code challenge you know I would enter it. :dripple:


But gah...I've worked a long time on that code and nobody is going to even enter anything?
Mike is my coding brother.

Posted Image
Offline
Profile
Goto Top
 
HelenaZF
Member Avatar
advanced techno-feeb

slayer, that is impressive. It is so cool that all the transactions are automatic.
Posted Image Visit the Planet Nexus page!Posted Image

Posted Image
Download some of my graphic sets HERE
Offline
Profile
Goto Top
 
Posted Imageslayer766
Member Avatar
Can I haz a Gord?

Thank you Helena. :) I've also just updated it so that if the Pet image was a bit too big it would get re-sized. ^_^ And yeah, I don't really like creating codes anymore that aren't automatic.


EDIT: Last update to the code, now displays pet name in profile and postdetails, and a new item has been added!
Mike is my coding brother.

Posted Image
Offline
Profile
Goto Top
 
Chireru
BB Delta
[ *  *  *  * ]
Slayer: you would only win if I couldn't use PHP...
you know I could pwn Divinity RPG if I could finally get my PHP and JS stuff to work together perfectly...
lol...
:lol: :P

but, at the moment, anyways...

Divinity RPG is the best IF code out there...

lol...



also, I could write up a quick code...
but, it wouldn't be as good as yours...
not in the time that I have, anyways...
Posted Image
Offline
Profile
Goto Top
 
HelenaZF
Member Avatar
advanced techno-feeb

The challenge has ended. As there was only one entry, the winner is slayer766 who probably would have won even with challengers as his code is very cool. :) Thanks for another great code slayer. I know there will be people wanting to use this one.
Posted Image Visit the Planet Nexus page!Posted Image

Posted Image
Download some of my graphic sets HERE
Offline
Profile
Goto Top
 
Posted Imageslayer766
Member Avatar
Can I haz a Gord?

Thanks again Helena, and I'm glad you like it. I've distributed it around so others can use it as well, and left in the same copyright so people can come visit here as well! :)
Mike is my coding brother.

Posted Image
Offline
Profile
Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Challenge Archive · Next Topic »
Closed Topic