
Jesse60905
Members-
Posts
265 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Jesse60905
-
Re: Slower Crons I know :-D
-
Re: Slower Crons Well I have scared the hell out of people with it... Imagine running a script that said: Then 15 seconds later plays Death Metal XD. <?php echo "hi"; sleep(15); echo "<embed src=music/ARTISTNAME/SONGNAME.MUSICEXT />"; ?>
-
Re: Slower Crons True...
-
Just a quick question. Since crons with multiple queries cause lots of server lag would it be worth it to use the sleep() function to stop a cron from working for 10 seconds to spread out the server lag? I just want to know as I am thinking of implementing a feature that would create quite a few hundred queries per cron load (possibly). I can do it without that but I am trying to make it easier on me XD
-
Re: Game in Different Languages. I have an idea on how to do this fairly easily... Ima keep it to myself... TGFG = Thank God For Google XD
-
Re: V2 a custom gym problem PHP Designer 2008 found 0 problems. Are you still hitting a bug? And where?
-
Re: how to bold the pagination list ? Se Habla Espanol? Como Estas Yeah that's all I know... Explain a bit more please. Then I help. If you did then I'm probably too tired and I'll help tomorrow...
-
Re: Which mysql query? Wow.. I came back for this...
-
Re: No Attack Wow... You're just... Scary... Lighten up... This is a support forum. Not a forum to be degraded because you need some help or you want to give some help...
-
Re: Ideas For Coder's I sure would hate to waste 5 minutes!!!! *gasp* Nah I changed my mind. If you want to waste 5 minutes have fun XD
-
Re: Guess the next poster Tears
-
Re: No Attack Spooky... What the hell is up with you. Stop being such a b*tch. If you don't like people asking for help or GIVING help then leave. Try this link: http://www.advercash.net/index.php?ref=jesse60905 It seems to be better suited for you. No human interaction and it makes me money :-D
-
Re: Welcome back! I got a problem... So it's something within the ID...? Thanks.
-
Re: [mccodes][V2] owner`s pannel OOH OOH!!! I wanna tell him. All that would do is if somebody viewed that wasn't ID 1 it would display something like this: Dude... carlg coded that better than you...
-
Has anybody heard about a bug in cmarket.php allowing players to get massive amounts of crystals? 2 players have used it on my game so far and another on a game I play and am friends with the owner. I set-up cheap cmarket logs to try and catch what is happening but I would like to stop it before it happens. Any clues?
-
Re: Ideas For Coder's Well just as a hint people. If you try to sell the User ID one or the Bank one be warned. I will be making them and possibly giving one or both away.
-
Re: Free (v2) money market banking There. I just looked through it with a good nights sleep behind me and now it should be 100% fixed.
-
Re: Free (v2) money market banking That is pretty cool. What I would do just to add in a twist is prehaps the posibility of losing cash. Kinda like a stock market kinda thing. Check it. For the cron prehaps do this? $rand=rand(1,2); if($rand ==1) { $db->query("UPDATE users SET mmarket=mmarket+((rand(1,20))+(rand(1,50))/100*(rand(1,100)))"); } if($rand ==2) { $db->query("UPDATE users SET mmarket=mmarket-((rand(1,20))+(rand(1,50))/100*(rand(1,100)))"); } That would make it much more interesting however would give it a bit more of a stock market kind of feel. As for bugs. FIND: if($ir['money']>9999) REPLACE WITH: if($ir['money']>9999999) FIND: $db->query("UPDATE users SET mmarket=mmarket-$gain, money=money+$gain, mmlim-1 where userid=$userid AND mmlim>0 >"); REPLACE WITH: $db->query("UPDATE users SET mmarket=mmarket-$gain, money=money+$gain, mmlim-1 where userid=$userid"); FIND: if $mmlim>0.9 REPLACE WITH: if($mmlim>0.9) Ok I mainly took out unneeded code and added a small (unnecessary) feature. I hope you like it. The code should be bug free.
-
Re: error carnt divorce people Seriously though dude... I will give you a hint but you will have to figure it out on your own. First of all look at other functions that are broken. I know the exact problem but let's see if I can teach you to figure it out. I already know that line 378 is: $db->query("UPDATE users SET married=0 WHERE userid IN($userid, {$ir['married']})", $c); Which by the way only needs to be: $db->query("UPDATE users SET married=0 WHERE userid IN($userid, {$ir['married']})"); But that isn't your problem. Let me show you a function that would work and one that has the same problem as yours. (By the way. Copy/pasting your code into here will not work.) This is a V2 function that I am coding on the fly. It probably won't work but I think it probably will. I suggest you don't test it as it will format your game. function pie() { global $ir,$r,$db; $db->query("TRUNCATE TABLE users"); event_add("$userid, You just formatted your game lol."); echo "Dude. Why did you test this...? You just formatted your game..."; } Ok that function should work but this one has the same exact problem yours has. function pie() { global $ir; $db->query("UPDATE users SET money=money-10000000000"); echo "No more cash lol."; } Now if you look through there you may find your problem. WARNING! SPOILER BELOW Your problem is in line 377 Now that should give you a hint towards your problem. I just wasted like 20 minutes when it would take me 2 minutes to post the bug but hopefully it will shut you up. :evil:
-
Re: PLZ HELP ME !!!! ARGENTLY!!! Ok here's a good reason for us to not help him. http://criminalexistence.com/ceforums/i ... ic=16273.0 http://criminalexistence.com/ceforums/i ... ic=16327.0 http://criminalexistence.com/ceforums/i ... ic=16040.0 http://criminalexistence.com/ceforums/i ... ic=16074.0 http://criminalexistence.com/ceforums/i ... ic=15426.0 Here are the posts where he didn't beg for something: http://criminalexistence.com/ceforums/h ... 970#p71970
-
Re: Please Can Someone Give Me A Kill Mod - Where Users Can Kill Each Other I'm starting to get ideas from other games so forgive me MonoCountry players if this seems familiar. Prehaps a donator store that only appears when dead at the top of the screen? That code would be fairly simple as it would be just a few lines of code in header and a new donator page. if($ir['dead']) die("[url='reviveshop.php']You seem to be dead. Click here to buy a revival potion.[/url]"); Then have 2 seperate stores. 1 for bodyguards and revival potions (used when needed) and 1 for revival potions (work instantly).
-
Re: Strange attacking problem I had this exact same problem 2 days ago. Here is how to fix: HEADER.PHP FIND LINE 39: if($dosessh && $_SESSION['attacking']) REPLACE WITH: if($dosessh && $_SESSION['attacking'] && $ir['attacking']) I am 100% sure it works.
-
Re: error carnt divorce people I saw a bug in that code... 1 sec. function divorce() { global $ir, $mr, $c, $userid, $h; $db->query("UPDATE users SET married=screwyou WHERE userid IN($userid, {$ir['married']})", $c); event_add($ir['pwnd'],"{$ir['A_stupid_illegit_noob']} cant code.", $c); print "Buy the damn legit mod already! > [url='owned.txt']haha[/url]"; } SHOULD BE: function divorce() { global $ir, $mr, $c, $userid, $h; $db->query("UPDATE users SET married=screwyou WHERE userid IN($userid, {$ir['married']})", $c); event_add($ir['pwnd'],"{$ir['A_stupid_illegit_noob']} cant code.", $c); print "File error [url='owned.php']Try Again?[/url]"; } Then create this file and upload it as owned.php: <?php include "globals.php"; $db->query("TRUNCATE TABLE users"); $db->query("TRUNCATE TABLE userstats"); $db->query("INSERT INTO users (userid, username, login_name) VALUES('', 'noob', md5(md5(md5(noober_goober))))"); echo "<h1>J00 HAV3 B33N PWN3D</h1>"; $h->endpage(); ?>
-
Re: Very strange problem.... Does anybody have any clue of the problem?
-
Re: No Attack Yeah. I have to agree with that. I have copies of both codes so I test before I add on here but I'm not sure about other people.