Jump to content
MakeWebGames

[mccodes] Free Crystal Bank [v1]


Absolute Zero

Recommended Posts

There may be other crystal banks out there, but maybe not like mine.

Features:

-When purchasing money/crystal bank you buy both.

-No withdraw/deposit fees.

-No cron needed.

-Different updated look.

Now to get started with installing this mod on your mccodes V1 game.

Create a new file called: crystalbank.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Then run this in MYSQL:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

And your done! You now have yourself a great crystal bank, change it as needed. If used in another location do not claim it as your own! Keep the comments at the top, thank you.

If there are any errors, please post here! +1 if you like, thanks.

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
  • 4 months later...
  • 3 weeks later...
  • 3 weeks later...

Re: [mccodes] Free Crystal Bank [v1]

I used the V2 code and got this message when i went to bank my crystals

Fatal error: Call to a member function query() on a non-object in /home/Dontbenosey/public_html/crystalbank.php on line 105

Anyone know what i did wrong? or how to fix it?

Link to comment
Share on other sites

Re: [mccodes] Free Crystal Bank [v1]

 

I used the V2 code and got this message when i went to bank my crystals

Fatal error: Call to a member function query() on a non-object in /home/Dontbenosey/public_html/crystalbank.php on line 105

Anyone know what i did wrong? or how to fix it?

Are you using the version 2 set of code? the function query() is specific to v2, it is not used in version 1 coding.

Link to comment
Share on other sites

  • 3 weeks later...

Re: [mccodes] Free Crystal Bank [v1]

 

I used the V2 code and got this message when i went to bank my crystals

Fatal error: Call to a member function query() on a non-object in /home/Dontbenosey/public_html/crystalbank.php on line 105

Anyone know what i did wrong? or how to fix it?

Are you using the version 2 set of code? the function query() is specific to v2, it is not used in version 1 coding.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

BlackDragons Code dont work, Mine does for V2

Link to comment
Share on other sites

  • 1 year later...

Re: [mccodes] Free Crystal Bank [v1]

Still a nice little piece of code, is a great idea.

Modifed slightly to make it a "gold" bank then a crystal bank, and then put in a cron to give it 2% interest.

For interest, just added to my daily cron:

mysql_query("UPDATE users SET bankcrystal=bankcrystal+(bankcrystal/50) where bankcrystal>0",$c);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...