Jump to content
MakeWebGames

thedestroyer

Members
  • Posts

    277
  • Joined

  • Last visited

    Never

Everything posted by thedestroyer

  1. http://www.ipost2host.com thats your solution. Thats what i had before i got paid hosting and they let you run crons ;)
  2. I have tried all the ones i can find but i just get errors
  3. You sure this will work? Sorry for saying this but it doesnt look like it makes sense ?(
  4. What hacks exactly do you secure each file from?
  5. Hi basically with the attack system i use it takes 50% of your energy when attacking a player but i want it so that for donators it takes a value of 6 energy instead of a percentage. I need it added somewhere in here whne the player picks their next weapon to attack with if anyone could help that would be great thanks.   if($_GET['wepid']) { if($_SESSION['attacking']==0 && $ir['attacking'] == 0) { if ($youdata['energy'] >= $youdata['maxenergy']/2) { $youdata['energy']-= floor($youdata['maxenergy']/2); $me=floor($youdata['maxenergy']/2); $db->query("UPDATE users SET energy=energy- {$me} WHERE userid=$userid"); $_SESSION['attacklog']=""; $_SESSION['attackdmg']=0; } else { print "You can only attack someone when you have 50% energy"; $h->endpage(); exit;
  6. The one im using is only numbers but it keeps saying the number is wrong....
  7. Yes but how do i do that?
  8. How do i do that without a macro?
  9. That is pointless. Like I said no matter what macro i try none of them work so there must be something else connected to it that stops it from working but i dont know what.
  10. Well i get the same problem with any macro i try saying the wrong code was entered so it cant be the macro where the problem is but I dont know what would be connected to it to cause the problem.
  11. Hello, recently I have used a range of different macros with number answers but whenever i press the number it says it is the wrong number even though it isnt. Are there any other factors that effect the macros? Cos i have tried about 10 different ones so far and none of them work. It is very annoying.
  12. Great here! As usual coming from a great coder! Just tried it on my game and my players love it.
  13. wouldnt it be (CRIMExp*2)+(LEVEL/2)?
  14. thankyou very much. I haven't seen one yet
  15. Anyone got a basic clock for v2 that i can add to the mainmenu? I dont mean any flash clocks just text displaying the date and time thanks.
  16. how do i edit what countries time it displays?
  17. i got one problem how do you change this to v2? (mysql_num_rows($eq) == 0)
  18. Thanks immortal but i think the main person we should all thank is BludCart.
  19. one other problem i had was you couldnt change an employees salary
  20. dam right open up business_manage.php and find:   $db->query(sprintf("DELETE FROM `businesses_apps` WHERE `appId` = '%u'", $_GET['id']));   add this underneath   event_add($it['appMember'],"Your application to join the business was Accepted Congratulations!",$c);   gives the user an event if they get accepted i will ad one for declined later as dont have the time right now. Immortal i wil do my best to add some small but effective codes to help im not that good at coding but i will try my best :)
  21. maybe im adding it in the wrong place added it here   mysql_query(sprintf("UPDATE `userstats` SET `{$fetch_stat[$fm['rankPrim']]}` = `{$fetch_stat[$fm['rankPrim']]}` + '%.6f', `{$fetch_stat[$fm['rankSec']]}` = `{$fetch_stat[$fm['rankSec']]}` + '%.6f' WHERE (`userid` = '%u')", $fm['rankPGain'], $fm['rankSGain'], $fm['userid'])); $db->query("UPDATE users SET comppoints=comppoints+ '1' WHERE userid='{$bs['busDirector']}'"); mysql_query(sprintf("UPDATE `userstats` SET `labour` = `labour` + '50', `IQ` = `IQ` + '50', `strength` = `strength` + '50' WHERE (`userid` = '%u')", $bs['busDirector']));
  22. I used this to make it so the director gains company points but he gets 3 a day instead of one wtf   mysql_query(sprintf("UPDATE `users` SET `comppoints` = `comppoints` + '1' WHERE `userid` = '%u'", $bs['busDirector']));
  23. ok i will add it myself then
  24. the company director still does not gain any stats or company points
×
×
  • Create New...