Jump to content
MakeWebGames

_Ricky_

Members
  • Posts

    77
  • Joined

  • Last visited

    Never

Everything posted by _Ricky_

  1. Re: looking to buy sent you a message
  2. Re: looking to buy still looking for someone to make this
  3. Re: hosp time what is it your trying to do...turn in crystals for hospital time just like you turn in crystals for energy?
  4. Re: help i have my gang respect set as a decimal...if you wish to talk on msn we can do so
  5. Re: help $respectchange=($ir['level']/$r['level']); if (abs($r['level'] - $ir['level']) > '100') { $respectchange=1.5; } else if (abs($r['level'] - $ir['level']) > '50') { $respectchange=1.25; } else if (abs($r['level'] - $ir['level']) > '1') { $respectchange=1; } else if (abs($r['level'] - $ir['level']) < '1') { $respectchange=1; } else if (abs($r['level'] - $ir['level']) < '50') { $respectchange=.75; } else if (abs($r['level'] - $ir['level']) < '100') { $respectchange=.5; } $db->query("UPDATE gangs SET gangRESPECT=gangRESPECT-$respectchange WHERE gangID={$r['gang']}"); $ga['gangRESPECT']-=$respectchange; $db->query("UPDATE gangs SET gangRESPECT=gangRESPECT+$respectchange WHERE gangID={$ir['gang']}"); print " You earnt $respectchange respect for your gang!"; } after adding in the else......every attack gets 1.5....
  6. Re: help seems it would be...but i am a level 10 attacking a level 116 and it gave me 1 respect......which it should give 1.5...maybe something is missing?
  7. Re: help heres what i have $respectchange=($ir['level']/$r['level']); if (abs($r['level'] - $ir['level']) > '100') $respectchange=1.5; if (abs($r['level'] - $ir['level']) > '50') $respectchange=1.25; if (abs($r['level'] - $ir['level']) > '1') $respectchange=1; if (abs($r['level'] - $ir['level']) < '1') $respectchange=1; if (abs($r['level'] - $ir['level']) < '50') $respectchange=.75; if (abs($r['level'] - $ir['level']) < '100') $respectchange=.5; $db->query("UPDATE gangs SET gangRESPECT=gangRESPECT-$respectchange WHERE gangID={$r['gang']}"); $ga['gangRESPECT']-=$respectchange; $db->query("UPDATE gangs SET gangRESPECT=gangRESPECT+$respectchange WHERE gangID={$ir['gang']}"); print " You earnt $respectchange respect for your gang!"; } what im trying to do is make it to where if your in a war with another gang....if you attack someone over 100 levels higher than you ... then you get 1.5 respect... if you attack someone 100 levels lower than you... you get .5 respect...and of course the in betweens...
  8. i am trying to figure out how to say if their level > 100 from your level something like if($r['level'] > $ir['level']) only if their level is 100 higher or lower from your level
  9. Re: [mccode v2] Ignore User Mail my apologys domination, i had to get illusions update of the ignore.php...it works...thanks +1
  10. Re: [mccode v2] Yet Another Attack Fatal error: Call to undefined method database::fetch_assoc() in /home/glocktal/public_html/attack.php on line 213
  11. Re: [mccode v2] Ignore User Mail tested and dont work...
  12. Re: looking to buy still looking
  13. i am looking to buy something to where when a gang is at war and they attack a person they get respect points according to their level...say if you attack someone higher level than you then you get 1 1.25 or 1.5...if you attack someone lower you get .25 .5 .75
  14. i have a option to pay people out of the hospital....ok so they are opening up a new window...attacking in one window then leaveing that page alone...useing the other window to pay them out of the hospital...then clicking back on the attack page and attacking again when someone has low health, below half...and i have the else if ($odata['hp'] < $odata['maxhp']/2) so thats not the problem...thanks up front for any help
  15. Re: Looking for a Referal Mod ... hey ah how about you fix the errors on your game first and oh yeah..shops...weapons...would probally be a plus...never seen a game without them..
  16. _Ricky_

    gang wars

    i have it set to where in order to war you have to have 5 members, but im not sure how to set it to where if you declare on a gang they must have 5 members help please!
  17. Re: [mc codes lite] User Credit Card Companys basicly when you set up a company it says to enter max ammount a user can borrow but they can borrow as much as you have in your company....needs a code stateing you cant borrow more than the max ammount that the company owner stated when they made the company
  18. Re: [mc codes lite] User Credit Card Companys problem is...the code is set when a user takes out a loan to minus the ammount from the companys bank....but the user can borrow as much as the company has in its bank....there needs to be something in there that says you cannont borrow more than that max ammount
  19. Re: [mc codes lite] User Credit Card Companys very nice mod +1 but is there anything that makes the person pay back the loan?
  20. Re: gym exp never gave any either
  21. Re: gym exp $db->query("UPDATE `users` SET `exp` = `exp` + '*0.01' WHERE `userid` = $userid"); this is what i have and its just not giveing any exp
  22. if i wanted to add 1 percent per train...not 1 but 1 percent....how would it be done
  23. Re: attack problems nevermind...fixed
  24. Re: attack problems basicly i added this in..... else if ($odata['hp'] < $odata['maxhp']/2) { print "You can only attack those with half health. [url='index.php']Back[/url]"; $h->endpage(); exit; }   but now when you click what weapon to attack with....then you hit them knock them below half health....then the half health comes up and makes you stop attacking which sends you back to main page and lose all exp
  25. Re: attack problems ok now my problem is...i added that in but when they attack they hit once....then it knocks them below half health and they hit again and it says cant attack because half health....
×
×
  • Create New...