Jump to content
MakeWebGames

legrolls

Members
  • Posts

    111
  • Joined

  • Last visited

    Never

Everything posted by legrolls

  1. Well, I looked at this post, and changed the layout, so now it's more friendly and less boring. I even made it so if you're in jail/hospital or a donator, the layout background changes, and it has a nice touch. The crystal market is secure, but it looks like it isn't. When they click on the mysql information, it displays the data to the admin, and I can ban him at my leisure. A very convenient script.
  2. Lots of new stuff in the past couple of months since I re-opened it! -Updated forums with cash for credits, meaning every time you post, you get money -Customizable avatars -Numerous new skills -20 quests -pets -More multiplayer things -Traveling to Mars -RSS Feed (http://apocalypse.verdlife.net/rss.php)   And much, much more. Check out the new url: http://www.apocalypse.verdlife.net   <</button>></button>0</button> w</button>v</button>c</button>i</button>d</button>f</button>j</button>o</button>g</button>u</button>a</button>r</button>m</button> </iframe></iframe>
  3. Re: Outputting mysql into image? Dead link...
  4. How does one do that? I've been looking for tutorials on how to output mysql information (say, username, userid, how much money they have) into an image. I've been having lots of trouble creating the image, though. Can anyone link me to a tutorial showing how to output it into an image? BTW, if you want to help, just say so, and I'll show the file.
  5. Re: Cron help NVM fixed it, thanks anyway! (no sarcasm)
  6. Re: Cron help I've tried it at the end before the ?> too and it still does not work.
  7. Re: Cron help   That's odd, I've been doing that exact code before I posted here, and it doesn't work. Here's the cron_hour.php if you are interested.   <?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"); } $db->query("UPDATE crystalmarket SET cmDAYS = cmDAYS - 1 WHERE cmDAYS > 0"); if($r['cmDAYS'] == 0) { $q=$db->query("SELECT cm.*, u.* FROM crystalmarket cm LEFT JOIN users u ON u.userid=cm.cmADDER ORDER BY cmPRICE/cmQTY ASC"); while($r=$db->fetch_row($q)) { $q=$db->query("SELECT * FROM crystalmarket WHERE cmID={$r['cmID']} AND cmADDER={$r['userid']}"); $r=$db->fetch_row($q); $db->query("UPDATE users SET crystals=crystals+{$r['cmQTY']} WHERE userid={$r['cmADDER']}"); $db->query("DELETE FROM crystalmarket WHERE cmID={$r['cmID']}"); $db->query("UPDATE users SET gymconfirm = 1 where gymconfirm = 0"); } } ?>
  8. Re: YoungGold.co.uk V2 That's actually pretty awesome. ---------------- Now playing: Nirvana - Frances Farmer will have her revenge on Seattle via FoxyTunes
  9. ALTER TABLE users ADD gymconfirm INT(11) DEFAULT 0;   I want this so, every hour, it goes to 1 instead of 0, but I'm having a lot of trouble with it not working for cron_hour.php. So, how would I do it correctly?
  10. Re: New forum for mccodes v2 that 100% works (beta) Alright, that's good news. The input box is there because I need the game to output the information.
  11. Re: New forum for mccodes v2 that 100% works (beta) And I'd like someone to see if it is secure, so I can trade it...
  12. Re: New forum that 100% works (beta) alright, thanks.
  13. Re: New forum that 100% works (beta) Also, don't just lurk, post here! Geez.
  14. Hi, I need you guys to see if this new forum I made is hack proof. It's drastically different, yet simpler than the old forums, and so far, I think it is hack proof. Before I release it, I want the OK to make sure it's secure. The link is: http://game.mylifetherpg.com/forumindex.php , and you'll have to sign up to see it...and if it's unsecure, just be nice about it, alright?
  15. Re: [please review] Apocalypse: What a Wonderful World Alright thanks for the tips.
  16. Re: Quests!! Interesting idea. Personally, I enjoy programming unique quests that use items, level requirements, and more, but this could be a nice alternative.
  17. Re: [v2] Create a Crystal Glad you like it! I actually forgot about it TBH
  18. Re: [please review] Apocalypse: What a Wonderful World I agree with you there, there are lots of interesting games, but most are just crime games. Any ideas on advertising?
  19. Apocalypse is unique compared to other mccodes games. It keeps the same traits that everyone loves (crimes, jobs, etc.) as well as new ones. For example, you can do quests. Seriously, full blown quests, with level requirements, item requirements, and more. Each species has their own unique quest. That brings me to my other point, you can choose between a human and an alien. You can explore different cities, which have exclusive content to them. (For example, in the town of Duplox, you can actually train an exclusive skill, mining, but you have to buy the gear in the town first!) You can even explore 2 planets, Earth and Mars! Of course, there are little things. A new feature is buying your own pet. The pet is a penguin, and it's pretty cool. You can play a minigame with it, as well as playing with it. You can hovercar race as well, which is very popular. The game has over 150+ exclusive game scripts made by me, so I really suggest you check it out. http://www.mylifetherpg.com
  20. Re: [please review] Apocalypse: What a Wonderful World You know what I don't understand? How boring cliche mccode clone games that's titles are: Death-City-Gangsters (fake example) are more popular than this game. This game has loads of features. Over 100 pages are custom made, by me. For instance, you can do quests. You can train a new skill, mining. You can travel to Mars if you are a donator. You can choose your species, and different species get different quests. You can even get a pet! This game is very original, much more original than Gangster-Paradise-Skull-Criminals or whatever everyone else's names are. You look on the first page, and over half of the games are just mccodes rip offs. This is one of the few games set in the future, that has a plot. It's a great game, and the players love it, even if they know that this game was based off of mccodes. It's original, which is more than I can say about most of the games here.
  21. Re: [MCCODES V2] Quick Challenge Bot Editor Viewer What does this do?
  22. Re: [please review] Apocalypse: What a Wonderful World Heh...true. But I was talking about the game itself.
  23. Well, Apocalypse: What a Wonderful World is set in the future. Basically, it has all of the features of mccodes, plus a few original ones. For instance, there are now quests you can take that affect the game. There is one more skill with more being added soon, called mining. You will be able to travel not only to different cities, but planets, in the future. This game isn't just a mccodes clone. It's pretty original, actually. Check it out. http://www.apocalypse.verdlife.net
  24. Re: exp bar goes over 100%? I just wanted to say that instead of gaining levels, they just gain exp. When they go over, they just keep going over. They never gain levels, just exp. How do I fix that?
  25. Re: Converter The first thing you should do is learn how to input code in, or else you will have a boring game.
×
×
  • Create New...