Jump to content
MakeWebGames

adivirus

Members
  • Posts

    96
  • Joined

  • Last visited

Everything posted by adivirus

  1. Re: attacking problem more soon :) .. it`s good when help the little ones;)
  2. Re: attacking problem thanks! +1
  3. Re: attacking problem yea, thank you enlightened me :)
  4. Re: attacking problem so nobody has problems with attack EXP ... cool :)
  5. Re: [mccode] Cityname in Mainmenu nice, +1 ;)
  6. Hello, i have a problem with attacktake.php file .. more exactly this formula, for getting EXP qe=$r['level']*$r['level']*$r['level']; $expgain=rand($qe/32,$qe/16); $expgain = $expgain > floor($ir['exp_needed'] * 0.5) ? floor($ir['exp_needed'] * 0.5) : $expgain; // that should do it .. any change i make, is not good.. it gives or to much exp.. or to less.. for example, i`m level 3.. attack a level 5 .. i`m getting 28%exp .. and if i change this values.. to "64" or "32 "$expgain=rand($qe/64,$qe/32 ); i`m getting less exp .. but when i`m at level 5 and attacking a level 5 player, i get just 1 exp, or i`m level 6 .. atack a level 5 .. i got 0.. and so on ~x( :) sooo.. does somebody, has a good attacktake.php ? with arrays for each level.. i don`t know.. any help appreciated.
  7. Re: [mccode v2] Club Mod (my version) great. +1
  8. Re: [mccode v2] Donator Packs To Items works great that secured ipn_donator .. thnx $$BULL$EYE$. +1
  9. Re: [mccode v2] Donator Packs To Items so, what`s the secured code for ipn ? :)
  10. Re: [MCCODE V2] Donator Packs To Items thank you
  11. Re: [v2]donator packs to items got it :D
  12. Re: [v2]donator packs to items ? lol
  13. ([v2]donator packs to items) anyone have it ? i`ll pay the guy that makes this for me ;)
  14. Re: Organised Crimes problem thanks
  15. Hello, i have a problem with my og.. it doesn't add to the gang the respect level that the crimes gives it.. in case of success .. this is my code in case of success   $suc=rand(0,1); if($suc) { $log=$r['ocSTARTTEXT'].$r['ocSUCCTEXT']; $muny=(int) (rand($r['ocMINMONEY'],$r['ocMAXMONEY'])); $log=str_replace(array("{muny}","'"),array($muny,"''"),$log); $db->query("UPDATE gangs SET gangMONEY=gangMONEY+$muny,gangCRIME=0 WHERE gangID={$r['gangID']}"); $db->query("INSERT INTO oclogs VALUES ('',{$r['ocID']},{$r['gangID']}, '$log', 'success', $muny, '{$r['ocNAME']}', unix_timestamp())"); $i=$db->insert_id(); $qm=$db->query("SELECT * FROM users WHERE gang={$r['gangID']}"); while($rm=$db->fetch_row($qm)) { $db->query("INSERT INTO events VALUES ('',{$rm['userid']},unix_timestamp(),'0',\"Your gang's Organised Crime Succeeded. Go [url='oclog.php?ID=$i']here[/url] to view the details.\")"); $db->query("UPDATE users SET new_events=new_events+1 WHERE userid={$rm['userid']}");   thanks
×
×
  • Create New...