Jump to content
MakeWebGames

Recommended Posts

Posted

NOTE: IF YOUR CRYSTAL MARKET IS NOT EMPTY THIS WILL MESS THINGS UP!!!!!!

SO.....Make users take their crystals OFF the market BEFORE you add this..

 

This is a VERY simple add on to the crystal market to limit your users from posting a stupid amount of crystals on the market.

Run this query

 

You're unable to view this code.

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

 

Now open cmarket.php

Find:

You're unable to view this code.

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

 

Add BEFORE:

 

You're unable to view this code.

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

 

Now FIND:

 

You're unable to view this code.

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

 

Add AFTER:

You're unable to view this code.

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

 

Now FIND:

 

You're unable to view this code.

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

 

Add AFTER:

You're unable to view this code.

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

 

Now FIND:

 

You're unable to view this code.

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

 

Add AFTER:

 

You're unable to view this code.

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

 

Now that 10 is what you change to make the Most you want them to have on the market....

Now to block how many different Post they can have...This to is very simple...

FIND:

 

You're unable to view this code.

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

 

Add AFTER THAT:

 

You're unable to view this code.

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

 

+1?? lol....if ya like it...or use :-D

Posted

Re: [mccode v2] cMarket Total Limiter

Thanks man. :-D Actually my first post for a mod...I think, lol...I done it cuase someone was wanting this on there game...So I figured I would type it up and put it in the Mod section and just link them here. That way if others wanted to do it....

Posted

Re: [mccode v2] cMarket Total Limiter

looks very good and it was made for me

i cant fix this error

Parse error: syntax error, unexpected T_VARIABLE in /home//public_html/cmarket.php on line 198

on this line

$bought = sprintf("UPDATE users SET cry = cry - '%u' WHERE userid = '%u' ",

Posted

Re: [mccode v2] cMarket Total Limiter

Good add on, i might incorporate it into other pages to, E.g donater days market. it could even be changed and use the same idea on item market, e.g. make each user have only 5 items on at one time... it might need a new script but it uses the same idea.

Posted

Re: [mccode v2] cMarket Total Limiter

 

lol you should see my staff options on cmarket lol it's actually quite advanced lol

Cool, this is something I made for someone real quick...took onlly matter of minutes.....I don't even use this, lol...What i use is alot more involved, lol

Posted

Re: [mccode v2] cMarket Total Limiter

very true lol on all my games i have always added something unique in the coding somewhere i've not seen any other site with half the things i add:p lol thats what makes it special if you ever have to sell

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