Jump to content
MakeWebGames

-Matt-

Members
  • Posts

    1,011
  • Joined

  • Last visited

Everything posted by -Matt-

  1. -Matt-

    crons

    Re: crons Random people stats and money are going missing i disabled job's and it's working fine now.
  2. Re: [FREE] Total time logged in [v1 + v2] Well really there is no point of this, it's just gonna make your game run slow no matter what, maybe it's possible to do somthing that record's when you loggedin.php so going onto the game at say 20:16 and logout at 20:18 some how calculating but maybe it's not possible.
  3. Re: Free 2 - Gym No offence Craig but making another account then just posting on the same topic is there any need for that?
  4. Re: [FREE] Total time logged in [v1 + v2] Could just count minutes. . .
  5. Re: [FREE] Total time logged in [v1 + v2] Depend's on your server if you are on a dedicated server it would only slow down by like 0.0000099 of a seccond but shared could slow it down abit but i don't know.
  6. Re: [REVIEW] Amazon Battle - Please Review !   :\ you can change your background in preferences and the layout of the game really does not look like Amazon-Survival the login yes but ingame no.
  7. Re: Guess the next poster Yea :) Nyna next. . .
  8. -Matt-

    No I'S

    Re: No I'S the young boy walked home :)
  9. Re: [v1/v2] Marrgiage with Shared House[v1/v2] Can't really stop it though, you should see _stoner_ new site.
  10. Re: [REVIEW] www.finalkillah.com As i said it's probly just my taste :)
  11. Re: [REVIEW] www.finalkillah.com Once going to the login page it looked pretty good with the colour scheme and the background, your submit box its hard to read and also "About :: Final Killah ::" and "login" could use like <font color=red>Text</font> to make them so you can see them, the effect on the username and password input mob they are pretty nice, Also your banner is ok, but i'm not to shore on the text, The register page is pretty basic again it could do with some colour changes. Once i logged in it did't look to bad, but i think all the table's on the right are abit to swashed and i think users online on there would not look so good when you have 50+ online at once. I noticed that it is using the same affect as killah city, i also noticed that you still have installer.php i'm not to shore if it's a hack point but it maybe somthing you would like to take in consideration to. i think your leveling progress is going alittle to faster then planned. Level 12 and only 2 days old, your user bars could do with a upgrade, i also noticed that you had a shout box, it's nice but i don't like the idea that you have to scroll down just to submit somthing, i like the idea of "You have not yet voted for all the sites." thats nice, and also your notification box is looking nice that you made and posted here on CE :) i also love your voting mod that it easy to use, with a nice layout, now moving on your viewuser.php that is very nice also with the default image, and the layout i noticed that hirekiller.php is not there and also users rating. i really suggest to use a better layout, as it puts be off but thats only my taste. overall the game is not bad but it's not really my taste. i do like some parts of the game but not really in to much detail. but i really love how you did the see through affect, i think overall the game would turn out to get bigger, but i'm shore it need's more work to help it grow, and alittle more time in some area's Overall Rating: 8/10
  12. Re: Guess the next poster Nope Killah
  13. Re: Guess the next poster Nope Kilikoka
  14. Re: [v2]Staff Action: Full User Details[v2] Yea this is nice when trying to find an abuser, in your game say bank money. Thanks
  15. Re: [mccode][v1]+[v2]Automatic total cost calculation in shop buy. Thanks it will be a nice addition to the game :)
  16. Title: Amazon Battle Site URL: http://www.amazonbattle.com Site Description: Amazon Battle is the place to explore the jungle you don't know what is waiting out there, things to do, things to have fun on, thing's to spend hour's on, there are loads of stuff to do so why don't you start playing now and join the fun.
  17. -Matt-

    crons

    Re: crons losing people stats and money. . .
  18. Is there anything wrong with this cron cron_day.php <?php include "config.php"; global $_CONFIG; if($_GET['code'] != $_CONFIG['code']) { die(""); } define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $db->query("UPDATE fedjail set fed_days=fed_days-1"); $q=$db->query("SELECT * FROM fedjail WHERE fed_days=0"); $ids=array(); while($r=$db->fetch_row($q)) { $ids[]=$r['fed_userid']; } if(count($ids) > 0) { $db->query("UPDATE users SET fedjail=0 WHERE userid IN(".implode(",", $ids).")"); } $db->query("DELETE FROM fedjail WHERE fed_days=0"); $db->query("UPDATE users SET rates=1"); $db->query("UPDATE users SET daysingang=daysingang+1 WHERE gang > 0"); $db->query("UPDATE users SET daysold=daysold+1, boxes_opened=0"); $db->query("UPDATE users SET mailban=mailban-1 WHERE mailban > 0"); $db->query("UPDATE users SET donatordays=donatordays-1 WHERE donatordays > 0"); $db->query("UPDATE users SET hunted=0 where hunted > 0"); $db->query("UPDATE users SET turns=25"); $db->query("UPDATE users SET cdays=cdays-1 WHERE course > 0"); $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney/50) where bankmoney>0"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney/100*7) where cybermoney>0"); $q=$db->query("SELECT * FROM users WHERE cdays=0 AND course > 0"); while($r=$db->fetch_row($q)) { $cd=$db->query("SELECT * FROM courses WHERE crID={$r['course']}"); $coud=$db->fetch_row($cd); $userid=$r['userid']; $db->query("INSERT INTO coursesdone VALUES({$r['userid']},{$r['course']})"); $upd=""; $ev=""; if($coud['crSTR'] > 0) { $upd.=",us.strength=us.strength+{$coud['crSTR']}"; $ev.=", {$coud['crSTR']} strength"; } if($coud['crGUARD'] > 0) { $upd.=",us.guard=us.guard+{$coud['crGUARD']}"; $ev.=", {$coud['crGUARD']} guard"; } if($coud['crLABOUR'] > 0) { $upd.=",us.labour=us.labour+{$coud['crLABOUR']}"; $ev.=", {$coud['crLABOUR']} labour"; } if($coud['crAGIL'] > 0) { $upd.=",us.agility=us.agility+{$coud['crAGIL']}"; $ev.=", {$coud['crAGIL']} agility"; } if($coud['crIQ'] > 0) { $upd.=",us.IQ=us.IQ+{$coud['crIQ']}"; $ev.=", {$coud['crIQ']} IQ"; } $ev=substr($ev,1); if ($upd) { $db->query("UPDATE users u LEFT JOIN userstats us ON u.userid=us.userid SET us.userid=us.userid $upd WHERE u.userid=$userid"); } $db->query("INSERT INTO events VALUES('',$userid,unix_timestamp(),0,'Congratulations, you completed the {$coud['crNAME']} and gained $ev!')"); } $db->query("UPDATE users SET course=0 WHERE cdays=0"); $db->query("TRUNCATE TABLE votes;"); ?>   cron_fivemins.php   <?php include "config.php"; global $_CONFIG; if($_GET['code'] != $_CONFIG['code']) { die(""); } define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $set=array(); $settq=$db->query("SELECT * FROM settings"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } //brave update $query="UPDATE users SET brave=brave+((maxbrave/10)+0.5) WHERE brave<maxbrave "; $query2="UPDATE users SET brave=maxbrave WHERE brave>maxbrave"; $query3="UPDATE users SET hp=hp+(maxhp/3) WHERE hp<maxhp"; $query4="UPDATE users SET hp=maxhp WHERE hp>maxhp"; $query6="UPDATE users SET dexterity=dexterity+5 WHERE dexterity < max_dexterity"; $query7="UPDATE users SET dexterity=max_dexterity WHERE dexterity > max_dexterity"; $db->query($query); $db->query($query2); $db->query($query3); $db->query($query4); $db->query($query6); $db->query($query7); //enerwill update $query="UPDATE users SET energy=energy+(maxenergy/(12.5)) WHERE energy<maxenergy AND donatordays=0"; $query5="UPDATE users SET energy=energy+(maxenergy/(6)) WHERE energy<maxenergy AND donatordays>0"; $query2="UPDATE users SET energy=maxenergy WHERE energy>maxenergy"; $query3="UPDATE users SET will=will+10 WHERE will<maxwill"; $query4="UPDATE users SET will=maxwill WHERE will>maxwill"; $db->query($query); $db->query($query5); $db->query($query2); $db->query($query3); $db->query($query4); if($set['validate_period'] == 5 && $set['validate_on']) { $db->query("UPDATE users SET verified=0"); } if($set['validate_period'] == 15 && $set['validate_on'] && in_array(date('i'),array("00", "15", "30", "45"))) { $db->query("UPDATE users SET verified=0"); } ?> [code] [b]cron_minute.php[/b] [code] <?php include "config.php"; global $_CONFIG; if($_GET['code'] != $_CONFIG['code']) { die(""); } define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $db->query("UPDATE users set hospital=hospital-1 WHERE hospital>0"); $db->query("UPDATE `users` SET jail=jail-1 WHERE `jail` > 0"); $hc=$db->num_rows($db->query("SELECT * FROM users WHERE hospital > 0")); $jc=$db->num_rows($db->query("SELECT * FROM users WHERE jail > 0")); $db->query("UPDATE settings SET conf_value='$hc' WHERE conf_name='hospital_count'"); $db->query("UPDATE settings SET conf_value='$jc' WHERE conf_name='jail_count'"); ?>     cron_hour.php   <?php include "config.php"; global $_CONFIG; if($_GET['code'] != $_CONFIG['code']) { die(""); } define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $set=array(); $settq=$db->query("SELECT * FROM settings"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } $db->query("UPDATE gangs SET gangCHOURS=gangCHOURS-1 WHERE gangCRIME>0"); $q=$db->query("SELECT g.*,oc.* FROM gangs g LEFT JOIN orgcrimes oc ON g.gangCRIME=oc.ocID WHERE g.gangCRIME > 0 AND g.gangCHOURS = 0"); while($r=$db->fetch_row($q)) { $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)) { event_add($rm['userid'],"Your Gang's Organised Crime Succeeded. Go [url='oclog.php?ID=$i']here[/url] to view the details.",$c); } } else { $log=$r['ocSTARTTEXT'].$r['ocFAILTEXT']; $muny=0; $log=str_replace(array("{muny}","'"),array($muny,"''"),$log); $db->query("UPDATE gangs SET gangCRIME=0 WHERE gangID={$r['gangID']}"); $db->query("INSERT INTO oclogs VALUES ('',{$r['ocID']},{$r['gangID']}, '$log', 'failure', $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)) { event_add($rm['userid'],"Your Gang's Organised Crime Failed. Go [url='oclog.php?ID=$i']here[/url] to view the details.",$c); } } } if(date('G')==17) { $db->query("UPDATE users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN jobs j ON j.jID=u.job LEFT JOIN jobranks jr ON u.jobrank=jr.jrID SET u.money=u.money+jr.jrPAY, u.exp=u.exp+(jr.jrPAY/20) WHERE u.job > 0 AND u.jobrank > 0"); $db->query("UPDATE userstats us LEFT JOIN users u ON u.userid=us.userid LEFT JOIN jobs j ON j.jID=u.job LEFT JOIN jobranks jr ON u.jobrank=jr.jrID SET us.strength=(us.strength+1)+jr.jrSTRG-1,us.labour=(us.labour+1)+jr.jrLABOURG-1,us.IQ=(us.IQ+1)+jr.jrIQG-1 WHERE u.job > 0 AND u.jobrank > 0"); } if($set['validate_period'] == 60 && $set['validate_on']) { $db->query("UPDATE users SET verified=0"); } ?>     cron_minute.php   <?php include "config.php"; global $_CONFIG; if($_GET['code'] != $_CONFIG['code']) { die(""); } define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $db->query("UPDATE users set hospital=hospital-1 WHERE hospital>0"); $db->query("UPDATE `users` SET jail=jail-1 WHERE `jail` > 0"); $hc=$db->num_rows($db->query("SELECT * FROM users WHERE hospital > 0")); $jc=$db->num_rows($db->query("SELECT * FROM users WHERE jail > 0")); $db->query("UPDATE settings SET conf_value='$hc' WHERE conf_name='hospital_count'"); $db->query("UPDATE settings SET conf_value='$jc' WHERE conf_name='jail_count'"); ?> [/code][/code]
  19. Re: What game engine is... v12 engine?
  20. What game engine if like mafiacrime on? www.prisonstruggle.com ect... if you know can you tell me thanks.
  21. Name: Fatal Combat URL: http://www.fatalcombat.com Description: Going on there login and register page there pretty basic mccode's with colour changed and a nice looking banner, When you login there newspaper has not changed, Latest News: [11/07/05] Codes Purchased From Dabomstew Pretty Basic :\ Looking at there mainmenu it look's very nice, There colour sceme also work's very well, I noticed somthing different on the mainmenu "Gun Range" And "Judo Ring" This look's like it's training your gun aim and your combat in hand to hand fighting when batteling, It's using Vorlen search the streets here off mccodes, Tufat Chat, And SMF forums,When going onto the explore page it look's like mccodes again, Exsept Referral Exchange with you trade your referal point's for donator packs. Rating There game is overall good, There are currently 1039 MC players, 981 males and 58 females. Amount of cash in circulation: $17,704,910. The average player has: $17,040. Amount of cash in banks: $3,859,042,000. Amount of players with bank accounts: 411 The average player has in their bank accnt: $9,389,396. Amount of crystals in circulation: 23,730. The average player has: 22 crystals. There are currently 57,194 items in circulation. And larage amount of donators. There top level players is 58 wich is not bad and all the crime's are fare to everone the game is not marked on donator's but enjoyable for all players   Final Rating: 4/5
  22. _Stoner_ AKA: Anthony Ok well Anthony has been coming around scamming people, ripping people off, Now about his game's, His game's are just back-ups of his old game oe the game before that, So once you bought a game from him to be shore you will see the same game the next week, His co-owner deal's :\ Well he always looking for someone to become co-owner of his game, ( Someone Who He Can Scam And Take Money Off ) Now, when you are co-owner he will not give you acess to cpanel, also he does not tell you about larage donation's ( Keep's The Money For Himself ) Then tell's you about the smaller donation's like $3.00, If you wanna check this he owned www.criminalisland.com With he backed up and put on www.criminalcombat.com ( Changed Abit ) There are many other story's of him scamming and fighting so this is a warning message!!!
  23. Re: Advanced Player Search [v2] I bought this, it work's well.
  24. Re: Crons Error Thanks for the tip on the program i wil get this.
  25. Re: Help With Mccode V2 Upload the code's Create a user and database connect them Run the installer And your finished i think.
×
×
  • Create New...