Jump to content
MakeWebGames

thedestroyer

Members
  • Posts

    277
  • Joined

  • Last visited

    Never

Everything posted by thedestroyer

  1. Yes the error looks like he is using the wrong version for the mod. You need to convert.
  2. the cron still aint working. my stats or company points do not increase
  3. Thanks and yeh it certainly dont look easy!
  4. this mod has big problems. not only does the director not recieve stats or points but neither do any of the employees =/
  5. they also do not recieve company points :huh:
  6. i got a problem. The company director does not recieve any stats each day ?(
  7. wats line 457? works fine for me ?(
  8. Parse error: syntax error, unexpected $end in /home/thedestr/public_html/business_manage.php on line 304
  9. Thanks for the best mod ever BludCart! ;)
  10. curl http://yourgameurl/business_cron.php?code=yourconfigcodehere
  11. why dont you just copy n paste?
  12. use this one. works fine for me compspecials.php   <?php include_once (DIRNAME(__FILE__) . '/globals.php'); $_POST['ID'] = abs(@intval($_POST['ID'])); if(!$_POST['ID']) { echo "Invalid use of file"; exit; } else { $com = $db->query("SELECT bmembBusiness FROM businesses_members WHERE bmembMember='{$ir['userid']}'"); $cc=$db->fetch_row($com); $clas = $db->query("SELECT * FROM businesses WHERE busId='{$cc['bmembBusiness']}'"); $cs=$db->fetch_row($clas); $clas = $db->query("SELECT * FROM businesses WHERE busDirector='1'"); $cs=$db->fetch_row($clas); $q=$db->query("SELECT * FROM compspecials WHERE csID={$_POST['ID']}"); if($db->num_rows($q) == 0) { print "There is no Company Special with this ID!"; } else { $r=$db->fetch_row($q); if($ir['comppoints'] < $r['csCOST']) { print "You don't have enough company points to get this reward!"; $h->endpage(); exit; } if($r['csJOB'] != $cs['busClass']) { print "You are not in this type of Company!"; $h->endpage(); exit; } if($r['csITEM']) { item_add($userid, $r['csITEM'], '1'); } $money=($r['csMONEY']); $crys=($r['csCRYSTALS']); $cost=($r['csCOST']); $endu=($r['csENDU']); $iq=($r['csIQ']); $lab=($r['csLABOUR']); $str=($r['csSTR']); $resp=($r['csRESP']); $gn=$db->query(sprintf("SELECT gang FROM users WHERE userid=%u",$userid)); $gang=$db->fetch_row($gn); $gid=($gang['gang']); $db->query(sprintf("UPDATE users SET money=money+%u,crystals=crystals+%u,comppoints=comppoints-%u WHERE userid=%u",$money,$crys,$cost,$userid)); $db->query(sprintf("UPDATE gangs SET gangRESPECT=gangRESPECT+%u WHERE gangID=%u",$resp,$userid)); $db->query(sprintf("UPDATE userstats SET strength=strength+%u,IQ=IQ+%u,labour=labour+%u,endurance=endurance+%u WHERE userid=%u", $str, $iq, $lab, $endu, $userid)); print "You successfully redeemed the {$r['csNAME']} Special for {$r['csCOST']} Company Points."; } } $h->endpage(); ?>
  13. i said its a good idea just as long as ya staff panel is secured.
  14. Good idea but really, why use this if you know how to use the database? This is just more for hackers to mess around with
  15. awesome i got another idea that i think would be good. Instead of having all the company specials as soon as you buy a company instead make it so you have to unlock them and you do it by going up ranks.
  16. Sorry forgot about that well Im loving it. Its by far the best free mod I have ever seen! My players love it and now they are actually buying companies becuause of it! Nice work Immortalthug :thumbsup:
  17. I got a great idea! How about each time ya company goes up a star rank everyone in that company gains an extra job point daily?
  18. yeh been doing that now thanks
  19. how do you add company specials?
  20. thanks immortal great add on!
  21. you are just a ripoff then. I mean seriously who would pay $20 for a bounty mod? Get serious m8 I'm a rip of? lol - I don't think so. - Your that idiot "FIRECAMP" who pissed everyone off everyday asking for help. -.- - Get a life (n00b). Dude you get serious. Who said i was your mate? Who said i was selling a bounty mod for $20? - I didn't. I said i wouldn't open notepad for less than $20/$25. Read CAREFULLY before you post. :) Thanks. :) duh you said ya wouldnt open ya notepad for less than $20 so obviously you wouldnt have sold it for less than $20!
×
×
  • Create New...