Jump to content
MakeWebGames

Canjucks

Members
  • Posts

    419
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Canjucks

  1. Hey all, just wondering if anyone has any certifications they hold that have helped them with your R/L careers? I'm about to go into getting some myself and trying to do some planning. I know we have some diverse people around just interested what peeps have gone with. Also, if you study at College/University what courses and etc. Just after some ideas to help me hone in on where I want to go in the next phase of my life. Just to extend my original post does anyone have CompTIA? Microsoft? certification
  2. Some good ideas. The world boss one would be neat. Can suit multiple game genre. And anyone needs a link to discord. Not sure a mod is required?
  3. Every topic you can think of. I mean we can search and ask questions but if we have a tutorial covering it and that it can added too then it becomes a bit of a war chest. After having played with GL for 18 months their are still hidden (I haven't discovered) things you can do that would be cool to be less hidden if you know what i mean what those are exactly is yeah not sure but I know they exist.
  4. Message Dave the owner. I don't know how code that you bought is faulty though it's s bit hard to prove.
  5. change where it says money to crystals and set the value you want them to get per hit
  6. Do you want to invest in one ? Buy or what?
  7. Nice work bud
  8. do you have an error log for the game page? need a few more clues to how i can help you fix it....
  9. Did you add them to the database? Each row must go in your users table. Do one at a time and see if it adds, but only try the game once they're in the users table.
  10. which part?
  11. add the below to your users table: alter table 'users'`mine_level` int(11) NOT NULL DEFAULT '1'; alter table 'users' `mine_exp` int(11) NOT NULL DEFAULT '1'; alter table 'users' `mine_needed` int(11) NOT NULL DEFAULT '1000',
  12. Okay I will rewrite it CREATE TABLE IF NOT EXISTS `houses` ( `hID` int(11) NOT NULL AUTO_INCREMENT, `hNAME` varchar(255) NOT NULL DEFAULT '', `hPRICE` int(11) NOT NULL DEFAULT '0', `hWILL` int(11) NOT NULL DEFAULT '0', `hsepics` varchar(255) NOT NULL, `sellprice` int(11) NOT NULL, PRIMARY KEY (`hID`) ) DEFAULT CHARSET=utf8;
  13. <?php include "globals.php"; if($ir['safehouse'] > 0) { Print "You are in a safehouse, how can you mine?"; $h->endpage(); exit; } if($ir['jail'] or $ir['hospital']) { print "This Page Cannot be Accessed while in Jail or Hospital."; $h->endpage(); exit; } global $c,$db,$ir; $is=$db->query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die($db->error()); $ir=$db->fetch_row($is); get_mine(); switch($_GET['action']) { case 'mine': mine_1(); break; case 'minesub': mine_1_sub(); break; case 'mine2': mine_2(); break; case 'mine2sub': mine_2_sub(); break; case 'mine3': mine_3(); break; case 'mine3sub': mine_3_sub(); break; case 'mine4': mine_4(); break; case 'mine4sub': mine_4_sub(); break; case 'mine5': mine_5(); break; case 'mine5sub': mine_6_sub(); break; case 'mine6': mine_6(); break; case 'mine6sub': mine_6_sub(); break; case 'mine7': mine_7(); break; case 'mine7sub': mine_7_sub(); break; case 'mine8': mine_8(); break; case 'mine8sub': mine_8_sub(); break; case 'mine9': mine_9(); break; case 'mine9sub': mine_9_sub(); break; case 'mine10': mine_10(); break; case 'mine10sub': mine_10_sub(); break; case 'mine11': mine_11(); break; case 'mine11sub': mine_11_sub(); break; default: mine_index(); break; } function mine_index() { global $ir,$c,$userid; print "<p><p><img src='headings/Go-Mining.jpg' /> <p> <center> There are 10 spots to go mining but thay are restricted depending on your mine level. The mine level is seperate to your game level. <br /><br />Your mining level is <font color=yellow><b>{$ir['mine_level']}</b></font>and you have <font color=yellow><b>{$ir['mine_exp']}/{$ir['mine_needed']}</b></font>mining experience </center>"; print "<center><br /><b>CRYSTAL MINES</b><br /> <a href='mine.php?action=mine'>Level 1 Mine</a><br /> <a href='mine.php?action=mine2'>Level 5 Mine</a><br /> <a href='mine.php?action=mine3'>Level 10 Mine</a><br /> <a href='mine.php?action=mine4'>Level 15 Mine</a><br /> <a href='mine.php?action=mine5'>Level 20 Mine</a><br /> <a href='mine.php?action=mine6'>Level 25 Mine</a><br /> <a href='mine.php?action=mine7'>Level 30 Mine</a><br /> <a href='mine.php?action=mine8'>Level 35 Mine</a><br /> <a href='mine.php?action=mine9'>Level 40 Mine</a><br /> <a href='mine.php?action=mine10'>Level 45 Mine</a><br /> <a href='mine.php?action=mine11'>Level 50 Mine</a><br /> <p><b><a href=explore.php>CONTINUE TO EXPLORE</a></b><br /> </center>"; } function mine_1() { global $ir,$c,$userid,$db;$domain; //level 1 mines if($ir['power'] < 10) { echo sprintf(' <center> You need 10 power to mine here your have %u </center> ' , $ir['power'] ); print "<p> <a href='mine.php'>Back</a></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } $chance = mt_rand(1,7); $query = sprintf('UPDATE `users` SET power = power - %u WHERE userid = %u', 10, $userid); $db->query($query); $rand_gems = rand(1,4); $rand_exp = mt_rand(1,75); $rand_hosp = mt_rand(5,30); if ($chance == 1) { print "You searched long and hard but come up short!<p>"; } if ($chance == 2) { print "Looks like you found something Matey! You see a short clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 134; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 3) { echo sprintf(' <center> You begin mining and find %u crystal(s). </center> <br /> ' , $rand_gems ); $query = sprintf('UPDATE `users` SET crystals = crystals + %u, mine_exp = mine_exp + %u WHERE userid = %u', $rand_gems, $rand_exp, $userid); $db->query($query); } if ($chance == 4) { print "Looks like you found something Matey! You see a mini health on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 30; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 5) { print "Looks like you found something Matey! You see some clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 22; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 6) { echo sprintf(' <center> You begin mining and find %u crystal(s). </center> <br /> ' , $rand_gems ); $query = sprintf('UPDATE `users` SET crystals = crystals + %u, mine_exp = mine_exp + %u WHERE userid = %u', $rand_gems, $rand_exp, $userid); $db->query($query); } if ($chance == 7) { echo sprintf(' <center> You begin mining and find %u crystal(s). </center> <br /> ' , $rand_gems ); $query = sprintf('UPDATE `users` SET crystals = crystals + %u, mine_exp = mine_exp + %u WHERE userid = %u', $rand_gems, $rand_exp, $userid); $db->query($query); } print "<center>[<a href='mine.php?action=mine'>Mine again</a>]</center><br />"; print "<center>[<a href='mine.php'>Back</a>]</center><br />"; } function mine_2() { global $ir,$c,$userid,$db; //level 5 mines if($ir['power'] < 10){ print "You need 10 power to mine here your have {$ir['power']} <p> <a href='explore.php'>Back</a></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } if($ir['mine_level'] < 5){ print "<center>You need to be mining level 5 to mine here you are mining level {$ir['mine_level']} <p> <a href='explore.php'>Back</a></center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } $chance = mt_rand(1,5); $query = sprintf('UPDATE `users` SET power = power - %u WHERE userid = %u', 10, $userid); $db->query($query); $rand_exp = mt_rand(1,120); $rand_gems = rand(1,5); $rand_hosp = mt_rand(5,30); if ($chance == 1) { print "You searched long and hard but come up short!<p>"; } if ($chance == 2) { print "Looks like you found something Matey! You see a short clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 134; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 3) { print "Looks like you found something Matey! You see a mini health on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 30; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 4) { print "Looks like you found something Matey! You see some clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 22; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 5) { echo sprintf(' <center> You begin mining and find %u crystal(s). </center> <br /> ' , $rand_gems ); $query = sprintf('UPDATE `users` SET crystals = crystals + %u, mine_exp = mine_exp + %u WHERE userid = %u', $rand_gems, $rand_exp, $userid); $db->query($query); } print "<center>[<a href='mine.php?action=mine2'>Mine again</a>]</center><br />"; print "<center>[<a href='mine.php'>Back</a>]</center><br />"; } function mine_3() { global $ir,$c,$userid,$db; //level 10 mines if($ir['power'] < 10){ print "You need 10 power to mine here your have {$ir['power']} <p> <a href='explore.php'>Back</a></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } if($ir['mine_level'] < 10){ print "<center>You need to be mining level 10 to mine here you are mining level {$ir['mine_level']} <p> <a href='explore.php'>Back</a></center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } $chance = mt_rand(1,5); $query = sprintf('UPDATE `users` SET power = power - %u WHERE userid = %u', 10, $userid); $db->query($query); $rand_exp = mt_rand(1,150); $rand_gems = rand(1,6); $rand_hosp = mt_rand(5,30); if ($chance == 1) { print "You searched long and hard but come up short!<p>"; } if ($chance == 2) { print "Looks like you found something Matey! You see a short clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 134; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 3) { print "Looks like you found something Matey! You see a mini health on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 30; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 4) { print "Looks like you found something Matey! You see some clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 22; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 5) { echo sprintf(' <center> You begin mining and find %u crystal(s). </center> <br /> ' , $rand_gems ); $query = sprintf('UPDATE `users` SET crystals = crystals + %u, mine_exp = mine_exp + %u WHERE userid = %u', $rand_gems, $rand_exp, $userid); $db->query($query); } print "<center>[<a href='mine.php?action=mine3'>Mine again</a>]</center><br />"; print "<center>[<a href='mine.php'>Back</a>]</center><br />"; } function mine_4() { global $ir,$c,$userid,$db; //level 15 mines if($ir['power'] < 10){ print "You need 10 power to mine here your have {$ir['power']} <p> <a href='explore.php'>Back</a></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } if($ir['mine_level'] < 15){ print "<center>You need to be mining level 15 to mine here you are mining level {$ir['mine_level']} <p> <a href='explore.php'>Back</a></center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } $chance = mt_rand(1,5); $query = sprintf('UPDATE `users` SET power = power - %u WHERE userid = %u', 10, $userid); $db->query($query); $rand_exp = mt_rand(1,200); $rand_gems = rand(1,8); $rand_hosp = mt_rand(5,30); if ($chance == 1) { print "You searched long and hard but come up short!<p>"; } if ($chance == 2) { print "Looks like you found something Matey! You see a short clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 134; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 3) { print "Looks like you found something Matey! You see a mini health on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 30; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 4) { print "Looks like you found something Matey! You see some clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 22; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 5) { echo sprintf(' <center> You begin mining and find %u crystal(s). </center> <br /> ' , $rand_gems ); $query = sprintf('UPDATE `users` SET crystals = crystals + %u, mine_exp = mine_exp + %u WHERE userid = %u', $rand_gems, $rand_exp, $userid); $db->query($query); } print "<center>[<a href='mine.php?action=mine4'>Mine again</a>]</center><br />"; print "<center>[<a href='mine.php'>Back</a>]</center><br />"; } function mine_5() { global $ir,$c,$userid,$db; //level 20 mines if($ir['power'] < 15){ print "<center>You need 15 power to mine here your have {$ir['power']}</center> </table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } if($ir['mine_level'] < 20){ print "<center>You need to be mining level 20 to mine here you are mining level {$ir['mine_level']}</center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } $chance = mt_rand(1,7); $query = sprintf('UPDATE `users` SET power = power - %u WHERE userid = %u', 15, $userid); $db->query($query); $rand_gems = rand(1,10); $rand_exp = mt_rand(1,250); $rand_hosp = mt_rand(5,30); if ($chance == 1) { print "You searched long and hard but come up short!<p>"; } if ($chance == 2) { print "Looks like you found something Matey! You see a short clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 134; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 3) { print "Looks like you found something Matey! You see a mini health on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 30; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 4) { print "Looks like you found something Matey! You see some clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 22; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 5) { echo sprintf(' <center> You begin mining and find %u crystal(s). </center> <br /> ' , $rand_gems ); $query = sprintf('UPDATE `users` SET crystals = crystals + %u, mine_exp = mine_exp + %u WHERE userid = %u', $rand_gems, $rand_exp, $userid); $db->query($query); } if ($chance == 6) { print "You searched long and hard but come up short!<p>"; } if ($chance == 7) { echo sprintf(' <center> You begin mining and find %u crystal(s). </center> <br /> ' , $rand_gems ); $query = sprintf('UPDATE `users` SET crystals = crystals + %u, mine_exp = mine_exp + %u WHERE userid = %u', $rand_gems, $rand_exp, $userid); $db->query($query); } print "<center>[<a href='mine.php?action=mine5'>Mine again</a>]</center><br />"; print "<center>[<a href='mine.php'>Back</a>]</center><br />"; } function mine_6() { global $ir,$c,$userid,$db; //level 25 mines if($ir['power'] < 15){ print "You need 15 power to mine here your have {$ir['power']} <p> <a href='explore.php'>Back</a></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } if($ir['mine_level'] < 25){ print "<center>You need to be mining level 25 to mine here you are mining level {$ir['mine_level']} <p> <a href='explore.php'>Back</a></center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } $chance = mt_rand(1,5); $query = sprintf('UPDATE `users` SET power = power - %u WHERE userid = %u', 15, $userid); $db->query($query); $rand_exp = mt_rand(1,300); $rand_gems = rand(1,12); $rand_hosp = mt_rand(5,30); if ($chance == 1) { print "You searched long and hard but come up short!<p>"; } if ($chance == 2) { print "Looks like you found something Matey! You see a short clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 134; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 3) { print "Looks like you found something Matey! You see a mini health on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 30; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 4) { print "Looks like you found something Matey! You see some clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 22; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 5) { echo sprintf(' <center> You begin mining and find %u crystal(s). </center> <br /> ' , $rand_gems ); $query = sprintf('UPDATE `users` SET crystals = crystals + %u, mine_exp = mine_exp + %u WHERE userid = %u', $rand_gems, $rand_exp, $userid); $db->query($query); } print "<center>[<a href='mine.php?action=mine6'>Mine again</a>]</center><br />"; print "<center>[<a href='mine.php'>Back</a>]</center><br />"; } function mine_7() { global $ir,$c,$userid,$db; //level 30 mines if($ir['power'] < 20){ print "<center>You need 20 power to mine here your have {$ir['power']} <p> <a href='explore.php'>Back</a></center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } if($ir['mine_level'] < 30){ print "<center>You need to be mining level 30 to mine here you are mining level {$ir['mine_level']} <p> <a href='explore.php'>Back</a></center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } $chance = mt_rand(1,5); $query = sprintf('UPDATE `users` SET power = power - %u WHERE userid = %u', 20, $userid); $db->query($query); $rand_gems = rand(1,15); $rand_exp = mt_rand(1,350); $rand_hosp = mt_rand(5,30); if ($chance == 1) { print "You searched long and hard but come up short!<p>"; } if ($chance == 2) { print "Looks like you found something Matey! You see a short clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 134; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 3) { print "Looks like you found something Matey! You see a mini health on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 30; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 4) { print "Looks like you found something Matey! You see some clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 22; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 5) { echo sprintf(' <center> You begin mining and find %u crystal(s). </center> <br /> ' , $rand_gems ); $query = sprintf('UPDATE `users` SET crystals = crystals + %u, mine_exp = mine_exp + %u WHERE userid = %u', $rand_gems, $rand_exp, $userid); $db->query($query); } print "<center>[<a href='mine.php?action=mine7'>Mine again</a>]</center><br />"; print "<center>[<a href='mine.php'>Back</a>]</center><br />"; } function mine_8() { global $ir,$c,$userid,$db; //level 35 mines if($ir['power'] < 20){ print "<center>You need 20 power to mine here your have {$ir['power']}</center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } if($ir['mine_level'] < 35){ print "<center>You need to be mining level 35 to mine here you are mining level {$ir['mine_level']}</center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } $chance = mt_rand(1,5); $query = sprintf('UPDATE `users` SET power = power - %u WHERE userid = %u', 20, $userid); $db->query($query); $rand_gems = rand(1,20); $rand_exp = mt_rand(1,400); $rand_hosp = mt_rand(5,30); if ($chance == 1) { print "You searched long and hard but come up short!<p>"; } if ($chance == 2) { print "Looks like you found something Matey! You see a short clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 134; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 3) { print "Looks like you found something Matey! You see a mini health on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 30; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 4) { print "Looks like you found something Matey! You see some clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 22; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 5) { echo sprintf(' <center> You begin mining and find %u crystal(s). </center> <br /> ' , $rand_gems ); $query = sprintf('UPDATE `users` SET crystals = crystals + %u, mine_exp = mine_exp + %u WHERE userid = %u', $rand_gems, $rand_exp, $userid); $db->query($query); } print "<center>[<a href='mine.php?action=mine8'>Mine again</a>]</center><br />"; print "<center>[<a href='mine.php'>Back</a>]</center><br />"; } function mine_9() { global $ir,$c,$userid,$db; //level 40 mines if($ir['power'] < 20){ print "<center>You need 20 power to mine here your have {$ir['power']}</center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } if($ir['mine_level'] < 40){ print "<center>You need to be mining level 40 to mine here you are mining level {$ir['mine_level']}</center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } $chance = mt_rand(1,5); $query = sprintf('UPDATE `users` SET power = power - %u WHERE userid = %u', 20, $userid); $db->query($query); $rand_gems = rand(1,25); $rand_exp = mt_rand(1,450); $rand_hosp = mt_rand(5,30); if ($chance == 1) { print "You searched long and hard but come up short!<p>"; } if ($chance == 2) { print "Looks like you found something Matey! You see a short clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 134; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 3) { print "Looks like you found something Matey! You see a mini health on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 30; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 4) { print "Looks like you found something Matey! You see some clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 22; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 5) { echo sprintf(' <center> You begin mining and find %u crystal(s). </center> <br /> ' , $rand_gems ); $query = sprintf('UPDATE `users` SET crystals = crystals + %u, mine_exp = mine_exp + %u WHERE userid = %u', $rand_gems, $rand_exp, $userid); $db->query($query); } print "<center>[<a href='mine.php?action=mine9'>Mine again</a>]</center><br />"; print "<center>[<a href='mine.php'>Back</a>]</center><br />"; } function mine_10() { global $ir,$c,$userid,$db; //level 45 mines if($ir['power'] < 20){ print "<center>You need 20 power to mine here your have {$ir['power']}</center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } if($ir['mine_level'] < 45){ print "<center>You need to be mining level 45 to mine here you are mining level {$ir['mine_level']}</center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } $chance = mt_rand(1,5); $query = sprintf('UPDATE `users` SET power = power - %u WHERE userid = %u', 20, $userid); $db->query($query); $rand_gems = rand(1,25); $rand_exp = mt_rand(1,450); $rand_hosp = mt_rand(5,30); if ($chance == 1) { print "You searched long and hard but come up short!<p>"; } if ($chance == 2) { print "Looks like you found something Matey! You see a short clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 134; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 3) { print "Looks like you found something Matey! You see a mini health on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 30; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 4) { print "Looks like you found something Matey! You see some clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 22; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 5) { echo sprintf(' <center> You begin mining and find %u crystal(s). </center> <br /> ' , $rand_gems ); $query = sprintf('UPDATE `users` SET crystals = crystals + %u, mine_exp = mine_exp + %u WHERE userid = %u', $rand_gems, $rand_exp, $userid); $db->query($query); } print "<center>[<a href='mine.php?action=mine10'>Mine again</a>]</center><br />"; print "<center>[<a href='mine.php'>Back</a>]</center><br />"; } function mine_11() { global $ir,$c,$userid,$db; //level 50 mines if($ir['power'] < 25){ print "<center>You need 25 Power to mine here your have {$ir['energy']} <p> <a href='explore.php'>Back</a></center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } if($ir['mine_level'] < 50){ print "<center>You need to be mining level 50 to mine here you are mining level {$ir['mine_level']} <p> <a href='explore.php'>Back</a></center></table><tr><td><image src='bottom1.png'></td></tr></table>"; $h->endpage(); exit; } $chance = mt_rand(1,5); $query = sprintf('UPDATE `users` SET power = power - %u WHERE userid = %u', 25, $userid); $db->query($query); $$rand_gems = rand(1,30); $rand_exp = mt_rand(1,500); $rand_hosp = mt_rand(5,30); if ($chance == 1) { print "You searched long and hard but come up short!<p>"; } if ($chance == 2) { print "Looks like you found something Matey! You see a short clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 134; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 3) { print "Looks like you found something Matey! You see a mini health on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 30; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 4) { print "Looks like you found something Matey! You see some clippers on the ground, and decide to pick it up.<p> this might come in handy..."; $itemidexplore = 22; $db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1,0)",$c); print"<br /><br />"; } if ($chance == 5) { echo sprintf(' <center> You begin mining and find %u crystal(s). </center> <br /> ' , $rand_gems ); $query = sprintf('UPDATE `users` SET crystals = crystals + %u, mine_exp = mine_exp + %u WHERE userid = %u', $rand_gems, $rand_exp, $userid); $db->query($query); } print "<center>[<a href='mine.php?action=mine11'>Mine again</a>]</center><br />"; print "<center>[<a href='mine.php'>Back</a>]</center><br />"; } $h->endpage(); ?> Try that out ... create a page called mine.php
  14. Try: CREATE TABLE `houses` ( `hID` int(11) NOT NULL AUTO_INCREMENT, `hNAME` varchar(255) NOT NULL DEFAULT '', `hPRICE` int(11) NOT NULL DEFAULT '0', `hWILL` int(11) NOT NULL DEFAULT '0', `hsepics` varchar(255) NOT NULL, `sellprice` int(11) NOT NULL, PRIMARY KEY (`hID`), KEY `hID` (`hID`) ) ENGINE=MyISAM AUTO_INCREMENT=31 DEFAULT CHARSET=latin1;
  15. try: CREATE TABLE `proposals` ( `proID` int(11) NOT NULL AUTO_INCREMENT, `proPROPOSER` int(11) NOT NULL, `proPROPOSED` int(11) NOT NULL, `proMESSAGE` varchar(255) NOT NULL, PRIMARY KEY (`proID`), KEY `proID` (`proID`) ) ENGINE=MyISAM AUTO_INCREMENT=52 DEFAULT CHARSET=latin1; alter table users `married` int(11) NOT NULL DEFAULT '0'; something along these lines CREATE TABLE IF NOT EXISTS `proposals` ( `proID` int(11) NOT NULL AUTO_INCREMENT, `proPROPOSER` int(11) NOT NULL, `proPROPOSED` int(11) NOT NULL, `proMESSAGE` varchar(255) NOT NULL, PRIMARY KEY (`proID`) ) DEFAULT CHARSET=utf8; alter table users `married` int(11) NOT NULL DEFAULT '0';
  16. I assume this is directed at me? I never made any demands about price. I said from the start it this was about buyer beware. I have no issue with someone setting a price, this was a make an offer anyway. If Euro set his price publicly I would probably have said nothing. I would hope the verifications would follow still. This wasn't about Euro being vouched for. I have and maintain that I was interested only in the product. I felt a need to voice my opinion having played the game. This is the same as a product review we all want them but we really want the positive ones. Furthermore I never made this a personal attack on Euro (he made one on me though showing his true colours about trust in any potential transaction). If my honesty has gotten the better of me then so be it I can't help that. I do wish the new owner all the best and hope sincerely they can make the game reach its potential.
  17. Lol no you brought up unrelated things bud. If you updated your codes you'd have less bugs for a start even running the core on the latest release for a start. The game is worthless because of your games economy end of story. No amount of investment will fix it so stop being ignorant to the games problems. You're best closing it down than ripping someone off saying you paid x x x for this and that. The thing you forgot was maintaining the bloody thing.
  18. You can verify you have a game and you made an investment. This doesn't take away from the fact the core engine is massively put of date either. Trying to compare to quality developers like Dayo and Dave is insulting and offensive. Don't drag them threw the mud because your product doesn't stack up.
  19. I'm not manipulating anything or affordability. I felt it was in any buyers best interest to know what state the game currently is in before purchasing. I'm only speaking the truth bud and for you it's a reality check. If someone still wants to pay overs then fine good luck to them. My offer is officially withdrawn. Good luck.
  20. Anyone who makes an offer must know what they're getting- blown economy , bugs galore, huge inactive playing list. You might get lucky to fix it and get a return on investment but having played it thr most loyal people have left. Just a fair warning so you know what you're getting yourself into. Happy to share my playing notes
  21. Understandable bud
  22. I like your list of mods. I'd love to convert them to GL..one day not up to it yet lol
  23. I gave you my offer its fair considering the issues the game has.
  24. Permissions are just the worst! I mean that in a non taking the mickey way. They really are a pain...
  25. We set you up with cpanel and a domain son. Read your messages!
×
×
  • Create New...