Jump to content
MakeWebGames

Recommended Posts

Posted

I started a similar post about this problem a while ago but no one could seem to help me so I'm trying to get a fix for this, even if i have to pay someone to do it.

When someone attacks someone and then mugs them if the player that they are mugging has more than 2.14 billion on hand there's a good chance that the person that is doing the mugging receives a negative result. does anyone else have or know of anyone else that has this problem with mugging? and does anyone or can someone fix this for me? will pay money if nescersary, NEED IT FIXED FAST THOUGH.

Posted

Re: advanced attack.php

Also maybe you should to take some cash away from the game like a realy good house only there for 3 dyas thats costs ALOT and when ya sell it you get 1/4 of what ya payed for it

Posted

Re: advanced attack.php

Didnt see this bit

has more than 2.14 billion
.

Il investigate...

And Micheal... What are you on? Your correct in posting it as its a fix, but a crap temporay fix if that lol.

Posted

Re: advanced attack.php

yep i have altered the database to bigint 40, I've also taken out all the (int) i could in the attack and mugging scripts and where i couldn't take it out i changed it to float

Posted

Re: advanced attack.php

Well the only line in the mugging file that does anything with the money is this...

 

$stole=round($r['money']/(rand(200,5000)/10));

 

Try messing with that formula...

Posted

Re: advanced attack.php

$stole=(float) (rand($r['money']/500,$r['money']/20));

that's what i have on that line... will try it the same way as yours and thanks for the help, i appreciate it a lot guys

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