Jump to content
MakeWebGames

Dragon Blade

Members
  • Posts

    209
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Dragon Blade

  1. Good Luck! Also I will prefer a V1 Mccodes game!
  2. Okayyyyyyyyy
  3. } if($_GET['a'] == buy) { if($ir['crystals'] < 25) { echo"You don't have enough crystals"; $h->endpage(); exit; } $tick = 1; $tick1 = $db->query("SELECT * FROM clottery WHERE userid= $userid"); if($db->num_rows($tick1) > $tick) { echo"You can only purchase ' .$tick. ' tickets maximum"; $h->endpage(); exit; } } else { echo"You purchase a crystal lottery ticket"; $h->endpage(); exit; }   Not sure if it will work.
  4. And yes :')
  5. I deleted the users, userstats field. So its alright :)
  6. Thanks Sniko! It works!
  7. Great job Dave! I am really liking the the theme when I am on my 27 Inch computer. But when I am on my other computer..Everything not fitted in and its large?
  8. Hello all, I have been lately very busy and I have been rushing things. Now I have time, I need help to change the MCCodes V1 timezone into the UK Time. Also how to make the userid start again instead of the id being missing, I deleted someone. So when I register it fills up the missing ID's.
  9. I will recommend http://www.stablehost.com, because there great! Cheap and they do great deals! Never let me down.
  10. I have realised and thanks for solving my problem.
  11. echo <<<EOF <h3> LostNation Registration </h3> <form action="register.php" method="post"> Username: <input type="text" name="username" /><br /> Password: <input type="password" name="password" /><br /> Confirm Password: <input type="password" name="cpassword" /><br /> Email: <input type="text" name="email" /><br /> Select Gender <select name='gender' type='dropdown'> <option value='Male'>Male <option value='Female'>Female</select> <br /> Promo Code: <input type="text" name="promo" /><br /> Player Class ".class_dropdown(NULL,"classID")." <br /> <input type="hidden" name="ref" value='{$fref}' /> <input type="submit" value="Submit" /> </form><br /> > <a href='login.php'>Go Back</a> EOF; }   The drop down doesnt show? It shows this for the player class bit Player Class ".class_dropdown(NULL,"classID")." Any reasons why to?   I have got the SQL, added it into the global_func etc...
  12. Wow! This modfication looks great! Going to convert it to a V1 and add it into my game. Tell you how it gose Kyle!
  13. Well sure thanks Ian your a great guy!
  14. This is going to be quite tricky to convert into a V1,
  15. Or Captcha thanks Ian and Dominion!
  16. I need a Marco System for a V1 game. For registering something like this - [ATTACH=CONFIG]990[/ATTACH]   For Crimes/Gym - [ATTACH=CONFIG]989[/ATTACH] if anyone knows where I can get something like that for free please help a brother out!
  17. I have never seen the RC engine. MrAnthony may I see your game your devolping?
  18. @RockWood - Learn to spell. Don't use slang in your game. Learn to make sense at all time. If not, people will have bad impression for you. (No offence)
  19. Hmm I'll think about that one...
  20. Thanks Ian! Also go on this thread - http://makewebgames.io/showthread.php/43555-New-Job-Addon
  21. @illusions - LOL! Corrupted-Engine.com BraEngine.com (Alot of people will go on this domain) Engine-Nation.com KarmaEngine.com
  22. Hmm I like it KyleMassacre, you are very good with coding. Any tips with MCCodes V1?
  23. RPGMakers-For-Takers.com :P
  24. Instead of the cron going work for your players why not them do it there self? So I decided to make something like that :) Also you will need to go on this thread to link into this - http://makewebgames.io/showthread.php/43543-Job-Addon Alter this - ALTER TABLE users ADD work INT(11) DEFAULT 0 ; Open up cron_hour.php and remove the job cron bit and then open up cron_day.php and add this somewhere - mysql_query("UPDATE users SET work=0",$c); Open up job.php and find - case 'promote': job_promote(); break; Under that add - case 'work': job_work(); break; Then find - function job_promote() Top of that add - function job_work() { global $ir, $c, $userid, $h; if($ir['work'] != 1) { echo" <hr width='50%'>Please read the declined message.<hr width='50%'><h3>! DECLINED</h3>Sorry, you cannot work as you worked already, come back tommorow.<br /><br /> <hr width='50%'><a href='job.php'>> Go Back</a><hr width='50%'>"; } else { echo"<hr width='50%'>Please read the successful message.<hr width='50%'><h3>! SUCCESSFUL</h3>You head of to work and after working for 1 hour you have been paid \${$ir['jrPAY']}.<br /> You have also gained {$ir['jrSTRN']} strength , {$ir['jrIQG']} IQ and also gained {$ir['jrLABOURN']} labour.<br /><br /> <hr width='50%'><a href='job.php'>> Go Back</a><hr width='50%'>"; mysql_query("UPDATE users SET money=money+{$ir['jrPAY']}, strikes=0, work=0 WHERE userid=$userid"); mysql_query("UPDATE userstats SET strength=strength+{$ir['jrSTRN']},labour=labour+{$ir['jrLABOURN']}, IQ=IQ+{$ir['jrIQG']} WHERE userid=$userid"); } } Replace your Job index function to this - function job_index() { global $db, $ir,$c,$userid,$h; print "<h3><u>Your Job</u></h3> Miss 3 days off work and your fired.<br /><br /> You currently work in the {$ir['jNAME']}! You receive \${$ir['jrPAY']} every time you work!<br /> You also receive {$ir['jrIQG']} IQ, {$ir['jrSTRG']} strength, and {$ir['jrLABOURG']} labour!<br /> <hr width='50%'><table width=50% cellspacing=1 class='table'><tr><td>Strength: {$ir['strength']}</td><td>IQ: {$ir['IQ']}</td></tr><tr><td>Labour: {$ir['labour']}</td><td>Job Rank: {$ir['jrNAME']}</td></tr></table><hr width='50%'> <b>Job Ranks</b><br /> <hr width='75%'><table width=75% cellspacing=1 class='table'><tr style='background:gray'><th>Title</th><th>Pay</th><th>Strength Reqd</th><th>IQ Reqd</th><th>Labour Reqd</th></tr>"; $q=mysql_query("SELECT * FROM jobranks WHERE jrJOB={$ir['job']} ORDER BY jrPAY ASC;"); while($r=mysql_fetch_array($q)) { print "<tr><td>{$r['jrNAME']}</td><td>\${$r['jrPAY']}</td><td>{$r['jrSTRN']}</td><td>{$r['jrIQN']}</td><td>{$r['jrLABOURN']}</td></tr>"; } print "</table><hr width='75%'><br /> <hr width='50%'><table width=40%><tr><td width=50%><a href='job.php?action=promote'>> Try To Get Promoted</a></td><td><a href='job.php?action=work'>> Go To Work</a></td><td><a href='job.php?action=quit'>> Quit</a></td></td></tr></table><hr width='50%'>"; } And your done!
  25. Thanks KyleMassacre! Great guy you are, always helping out people when you can :') And I think register will be much easier :')
×
×
  • Create New...