Jump to content
MakeWebGames

Recommended Posts

Posted

Re: Attack And Lose No Hosp

because there is no query to tell it to, lol..

open your attacklost.php find this

 

$db->query("UPDATE users SET exp=0 WHERE exp<0");

 

add this after that

 

$db->query("UPDATE users SET hp=1,hospital=$hosptime,hospreason='Lost to <a href=\'viewuser.php?u={$r['userid']}\'>{$r['username']}</a>' WHERE userid=$userid");

 

now find

 

$expgainp=$expgain/$ir['exp_needed']*100;

 

add after

 

$hosptime=rand(10,20);

 

change the 10, 20 for the hospital times.

Posted

Re: Attack And Lose No Hosp

Ok i added that, but now i get this, even though i go to hospital.

 

You lost to |< @ © H !. Unlucky, try again when you have trained more. and lost 0.000531163452972% EXP!QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'viewuser.php?u=1'>Gurpreet' WHERE userid=2' at line 1

Query was UPDATE users SET hp=1,hospital=50,hospreason='Lost to Gurpreet' WHERE userid=2

But the query should be 'Lost to |< @ © H !'. :?

Posted

Re: Attack And Lose No Hosp

Ino Lol I Run v2 Haha I Should Come With It I Think Thats Wrong People Pay For Mccodes v2 And Get No Hosp When Lose Thats Wrong

  • 3 weeks later...

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