Jump to content
MakeWebGames

[mccode] Additional Currency


mdshare

Recommended Posts

  • 1 month later...
  • 2 weeks later...

Re: [mccode] Additional Currency

ALTER users ADD gems int(11) NOT NULL default '0',

 

Change gems to what ever you want your currency to be called then change the currency name in your header from gems to what ever you named your currency.

Link to comment
Share on other sites

Re: [mccode] Additional Currency

 

ALTER users ADD gems int(11) NOT NULL default '0',

 

Change gems to what ever you want your currency to be called then change the currency name in your header from gems to what ever you named your currency.

That query is not popper.

Use this.

 

You're unable to view this code.

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

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...

Re: [mccode] Additional Currency

 

<table border="0" cellpadding="0" cellspacing="0" width="468px">

<tr><td>title.jpg</td></tr>

<tr><td> </td></td>

<tr><td>

 

Additional Currency! [installation Instructions]

 

Additional Currency! allows you to add a extra curency to your game.

 

 

<font color="red">This requires MCCode/DBSCode installed on your server. </font>

 

 

Additional Currency! [Files to edit]

 

The list of files and modifications to do:

 

 

header.php

 

Find:

<textarea cols='60' rows='1' wrap='VIRTUAL' name='texlink'>Money: {$fm}

</textarea>

 

After Add:

<textarea cols='60' rows='1' wrap='VIRTUAL' name='texlink'>Gems: {$ir['gems']}

</textarea>

 

SQL Query to run

 

<textarea cols='60' rows='1' wrap='VIRTUAL' name='texlink'>ALTER users ADD gems int(11) NOT NULL default '0',</textarea>

 

 

This modification adds a extra currency called gems, you can now have crimes, shops or whatever that pay out in this new currency.

 

 

Script information

 

 

type: mod / Additional Currency!

 

 

license: All code and documentation are property of their posters at Criminal Existence Copyright © 2006-2007 The Plug Network Inc

 

 

script: addcurv1

 

 

coder: Spellbyte

 

 

release: 1.0.0

 

 

</p>

</td></tr>

</table>

 

Its not working for me i have tryed all the SQL in here i have put everything where it needs to be so yer can you please help me out

Link to comment
Share on other sites

Re: [mccode] Additional Currency

If you are wanting Gems instead of Crystals or if you wanted Gems and Crystals.

You will need to edit EVERY file on your FTP that gives out crystals either renaming Crystals to Gems ( for gems only ) or adding an extra Query so users gain Gems + Crystals........ or reduce gems + crystrals.

Link to comment
Share on other sites

Re: [mccode] Additional Currency

also if your wanting to be able to credit users with gems/crystals or whatever your gonna need to edit the credit user file in the admin section, there are atleast 3 of 4 parts that need to be edited in that if you need help let me know and ill look for exactly what parts that are needed and will help as much as possible.

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...