SpEcKs
Members-
Posts
152 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by SpEcKs
-
[Mccodes V2] How to get the users to fill up the ID's
SpEcKs replied to SpEcKs's topic in General Discussion
Re: [Mccodes V2] How to get the users to fill up the ID's so when a new user registers it should use the empty ID's -
Re: Docrime.php help [Please Help] ok i will try it and see if it works
-
This is just getting ridiculas i have search the whole of the CE website and havent found anything on the matter. My problem is whenever someone does a crime i does not credit them Money, Exp, Items or anything like that here is my docrime.php if anyone can help but i need the help urgently. <?php $macropage="docrime.php?c={$_GET['c']}"; include "globals.php"; if($ir['jail'] or $ir['hospital']) { die("This page cannot be accessed while in jail or hospital."); } $_GET['c']=abs((int) $_GET['c']); if(!$_GET['c']) { print "Invalid crime"; } else { $q=mysql_query("SELECT * FROM crimes WHERE crimeID={$_GET['c']}",$c); $r=mysql_fetch_array($q); if($ir['brave'] < $r['crimeBRAVE']) { print "You do not have enough Brave to perform this crime."; } else { $ec="\$sucrate=".str_replace(array("LEVEL","CRIMEXP","EXP","WILL","IQ"), array($ir['level'], $ir['crimexp'], $ir['exp'], $ir['will'], $ir['IQ']),$r['crimePERCFORM']).";"; eval($ec); print $r['crimeITEXT']; $ir['brave']-=$r['crimeBRAVE']; mysql_query("UPDATE users SET brave={$ir['brave']} WHERE userid=$userid",$c); if(rand(1,100) <= $sucrate) { print str_replace("{money}",$r['crimeSUCCESSMUNY'],$r['crimeSTEXT']); $ir['money']+=$r['crimeSUCCESSMUNY']; $ir['crystals']+=$r['crimeSUCCESSCRYS']; $ir['exp']+=(int) ($r['crimeSUCCESSMUNY']/8); mysql_query("UPDATE users SET money={$ir['money']}, crystals={$ir['crystals']}, exp={$ir['exp']},crimexp=crimexp+{$r['crimeXP']} WHERE userid=$userid",$c); if($r['crimeSUCCESSITEM']) { item_add($userid, $r['crimeSUCCESSITEM'], 1); } } else { if(rand(1, 2) == 1) { print $r['crimeFTEXT']; } else { print $r['crimeJTEXT']; $db->query("UPDATE `users` SET `jail` = '$r[crimeJAILTIME]', `jail_reason` = '$r[crimeJREASON]' WHERE `userid` = '$userid'"); } } print " [url='docrime.php?c={$_GET[']Try Again[/url] [url='criminal.php']Crimes[/url]"; } } $h->endpage(); ?>
-
Re: [MCCODE V2] User Competitions This looks pretty good
-
[Mccodes V2] Set Up V2 the way you want it without altering files....
SpEcKs replied to Uridium's topic in Free Modifications
Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... yeh this is a good mod -
[Mccodes V2] How to get the users to fill up the ID's
SpEcKs replied to SpEcKs's topic in General Discussion
Re: [Mccodes V2] How to get the users to fill up the ID's So what is the actual thing i have to do and where do i put that please i really need that -
[Mccodes V2] How to get the users to fill up the ID's
SpEcKs replied to SpEcKs's topic in General Discussion
Re: [Mccodes V2] How to get the users to fill up the ID's Nope no idea Nyna please can you just tell me i am not as good as you lol -
[Mccodes V2] How to get the users to fill up the ID's
SpEcKs replied to SpEcKs's topic in General Discussion
Re: [Mccodes V2] How to get the users to fill up the ID's Can you Please post it here or tell me what to do or both -
[Mccodes V2] How to get the users to fill up the ID's
SpEcKs replied to SpEcKs's topic in General Discussion
Re: [Mccodes V2] How to get the users to fill up the ID's is there just anything i can do to get the ID's that arent being used. used -
[Mccodes V2] How to get the users to fill up the ID's
SpEcKs replied to SpEcKs's topic in General Discussion
Re: [Mccodes V2] How to get the users to fill up the ID's So how do i do this mass reset because thats what i need to do -
mccode-v2 8 Lines to secure your site from known sql injections.
SpEcKs replied to Haunted Dawg's topic in Free Modifications
Re: [mccode] 8 Lines to secure your site from known sql injections. haha good one Zero -
[Mccodes V2] How to get the users to fill up the ID's
SpEcKs replied to SpEcKs's topic in General Discussion
Re: [Mccodes V2] How to get the users to fill up the ID's and how do i do that ??? -
[Mccodes V2] How to get the users to fill up the ID's
SpEcKs replied to SpEcKs's topic in General Discussion
Re: [Mccodes V2] How to get the users to fill up the ID's i was only deleting them because they were testers for when i was testing things such as: Register Attack Marriage Send crystals Send money and other things So does anyone know how to do this because i really need it :) -
[Mccodes V2] Set Up V2 the way you want it without altering files....
SpEcKs replied to Uridium's topic in Free Modifications
Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... oh ok thats cool when do you think it will be done ??? -
I need help because on my site i have deleted some users and when another user registers it will go up the next ID. How would i make it so when a new user registers they use the ID that i had just deleted??? Does anyone know ???
-
Re: [Mccodes V2] New Jobs thanks and thanks to you aswell Karlos you have been a big help :)
-
[Mccodes V2] Set Up V2 the way you want it without altering files....
SpEcKs replied to Uridium's topic in Free Modifications
Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... so will this change the title of the links then e.g. on explore there is a crystal market if you change the crystals to lets say diamonds it will automaittlcally change the link and all of the contents in the link to diamond market is that what your saying ??? -
Re: [Mccodes V2] Streets nah he posted a V2 as it have globals in it and $db->
-
Re: [Mccodes V2] Login Thanks Tonka That is great oh yes i know you i have your msn
-
Re: [Mccodes V2] Login Hall Of Fame??? What part ???
-
I need help with my login can someone help me please. My question is does anyone know how to put the current stats of the game e.g. Total users, Players online and Players Offline . . . if so can you post here what to do please Thanks SpEcKs
-
mccode-v2 8 Lines to secure your site from known sql injections.
SpEcKs replied to Haunted Dawg's topic in Free Modifications
Re: [mccode] 8 Lines to secure your site from known sql injections. haha Haunted Dawg -
Re: [V2]Stats Market[V2] There you go thank you for backing me up
-
Re: [V2]My own v2 Explore page [V2] lol yeh well said
-
Re: [mccode v2] Lottery Sorry to double post but does anyone know how to do this above