Jump to content
MakeWebGames

peterisgb

Members
  • Posts

    727
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by peterisgb

  1. You are going to have to give wayy more detail than this to go off. First. Go to your Filemanager. Head to Lib directy and edit basic_error_handler.php and change define('DEBUG', false); too define('DEBUG', true); Reload the page then you will be displayed the error.
  2. I just dragged the image from my desktop into the text box πŸ˜„ Any donations from my site and mods will be going to getting myself a computer desk and chair as I'm currently on the floor and its not good for my legs and back so my PC time has been limited 😞
  3. Yup, thats more updated for sure. I kinda left as it but fixed the forum mitigation issue πŸ˜„
  4. It should be simple as install and link.
  5. Its abit of a fuzz so here is a fixed copy. <?php include "globals.php"; $_GET['buy'] = (isset($_GET['buy']) && !empty($_GET['buy'])) ? intval($_GET['buy']) : false; if ($_GET['buy']==100){ if ($ir['money'] < 700000){ echo "Sorry! You must have $700,000 on hand to buy 100 crystals!"; $h->endpage(); exit(); } $db->query("UPDATE users SET crystals=crystals+100, money=money-700000 WHERE userid=$userid"); echo "You have bought 100 crystals for $700,000!"; $h->endpage(); exit(); } if ($_GET['buy']==1000){ if ($ir['money'] < 6000000){ echo "Sorry! You must have $6,000,000 on hand to buy 1,000 crystals!"; $h->endpage(); exit(); } $db->query("UPDATE users SET crystals=crystals+1000, money=money-6000000 WHERE userid=$userid"); echo "You have bought 1,000 crystals for $6,000,000!"; $h->endpage(); exit(); } if ($_GET['buy']==10000){ if ($ir['money'] < 50000000){ echo "Sorry! You must have $50,000,000 on hand to buy 10,000 crystals!"; $h->endpage(); exit(); } $db->query("UPDATE users SET crystals=crystals+10000, money=money-50000000 WHERE userid=$userid"); echo "You have bought 10,000 crystals for $50,000,000!"; $h->endpage(); exit(); } echo" <h3>Crystals Dealer</h3> <br /> Here you can buy points from the crystals dealer for cash. The more points you buy, the cheaper they are.</p> <table> <tr> <th>Amount</th> <th>Price</th> </tr> <tr> <td><a href='?buy=100'>100 Points</a></td> <td>$700,000</td> </tr> <tr> <td><a href='?buy=1000'>1,000 Points</a></td> <td>$6,000,000</td> </tr> <tr> <td><a href='?buy=10000'>10,000 Points</a></td> <td>$50,000,000</td> </tr> </table>"; $h->endpage(); ?>
  6. Thanks for the positive feedback. I keep fiddling everyday, little tweeks trying to improove. If you have any paid/free mods that you wish to add. Do get in contact. I added which platforms aswell so it doesn't have to be mccodes πŸ˜„ Its good exposure.
  7. Your link is 404 dead
  8. I have the patience, Just not the skill to put a good story in and bring people in.
  9. If you wish to add any of your mods to my mod site then you have my discord, hit me up πŸ™‚
  10. So over the years I've made a few mods and after 10 years i felt it was time my mods got its own site to make it easier to find. You are more than welcome to check out my Mod Site and let me know what you think. Its had plenty of views already but havent officially posted about it yet so i decided its time. Any Feedback or/and ideas are welcome. Thanks
  11. Been doing mine since 2018, still in beta, but most of the bugs are worked out. but ones work is never complete πŸ˜„
  12. Dedication and Time is gone these days
  13. What are your thoughs and opinions about this? Like i decided at long last to try it out and see what it can do and i managed to get it to make this.... <!DOCTYPE html> <html> <head> <title>Calculator</title> <style> body { font-family: Arial, sans-serif; background-color: #f2f2f2; } .container { margin: 50px auto; padding: 20px; background-color: #fff; box-shadow: 0px 0px 10px #ccc; border-radius: 10px; text-align: center; width: 300px; } h1 { margin-top: 0; font-size: 36px; color: #333; } input { display: block; margin: 10px auto; padding: 10px; border: none; background-color: #f2f2f2; width: 80%; border-radius: 5px; font-size: 18px; text-align: right; } .button-container { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 10px auto; width: 80%; } button { padding: 10px 20px; border: none; background-color: #333; color: #fff; font-size: 18px; border-radius: 5px; cursor: pointer; } button:hover { background-color: #555; } button:active { transform: translateY(2px); } </style> </head> <body> <div class="container"> <h1>Calculator</h1> <input type="text" id="result" disabled> <div class="button-container"> <button onclick="clearScreen()">C</button> <button onclick="backspace()">BACK</button> <button onclick="insert('+')">+</button> <button onclick="insert('-')">-</button> <button onclick="insert('*')">*</button> <button onclick="insert('/')">/</button> <button onclick="insert('7')">7</button> <button onclick="insert('8')">8</button> <button onclick="insert('9')">9</button> <button onclick="insert('4')">4</button> <button onclick="insert('5')">5</button> <button onclick="insert('6')">6</button> <button onclick="insert('1')">1</button> <button onclick="insert('2')">2</button> <button onclick="insert('3')">3</button> <button onclick="insert('0')">0</button> <button onclick="calculate()">=</button> </div> </div> <script> function insert(num) { document.getElementById("result").value += num; } function clearScreen() { document.getElementById("result").value = ""; } function backspace() { var input = document.getElementById("result"); input.value = input.value.slice(0, -1); } function calculate() { var input = document.getElementById("result"); var result = eval(input.value); document.getElementById("result").value = result; } </script> </body> </html> TBH i'm pretty amazed that it was able to produce this and actually work.... Where could this go. Could we ALL be out of jobs?
  14. function gang_warview() { global $db, $ir, $c, $userid, $gangdata; $wq = $db->query( "SELECT * FROM `gangwars` WHERE `warDECLARER` = {$ir['gang']} OR `warDECLARED` = {$ir['gang']}"); echo "<b>These are the wars your gang is in.</b><br /> <table width='75%' cellspacing='1' class='table'> <tr> <th>Time Started</th> <th>Versus</th> <th>Who Declared</th> </tr>"; while ($r = $db->fetch_row($wq)) { if ($gangdata['gangID'] == $r['warDECLARER']) { $w = 'You'; $f = 'warDECLARED'; } else { $w = 'Them'; $f = 'warDECLARER'; } $d = date('F j, Y, g:i:s a', $r['warTIME']); $ggq = $db->query( "SELECT `gangID`, `gangNAME` FROM `gangs` WHERE `gangID` = " . $r[$f]); $them = $db->fetch_row($ggq); echo "<tr> <td>$d</td> <td> <a href='gangs.php?action=view&amp;ID={$them['gangID']}'> {$them['gangNAME']} </a> </td> <td>$w</td> </tr>"; } echo "</table>"; } Only minor, Like myself, simple things, Just a quick look. Missed a ` in the sql query to get gangNAME, Fix Above
  15. I dont run a successfull one, but its not gone anywhere, been online since Oct 2018 and still actively work on it.
  16. <center><table width=90% cellspacing=1 class=table border=1 bordercolor=#636363></center><tr><td> Proposer: <a href="viewuser.php?u={$r['userid']}">{$r['username']}</a> </td> Try that
  17. I do mainly FREE and maybe the odd paid. But then, I ain't in it for the money. (Money just helps hehe)
  18. if (function_exists("get_magic_quotes_gpc") == false) { function get_magic_quotes_gpc() { return 0; } } if (get_magic_quotes_gpc() == 0) { foreach ($_POST as $k => $v) { $_POST[$k] = addslashes($v); } foreach ($_GET as $k => $v) { $_GET[$k] = addslashes($v); } } Myself. I just delete the whole lot. from the pages and carry on.
  19. Mine is still on the older style ish.
  20. Infamous Wars Screenshots are on the main login page. Using Mccodes core orignally but highly modified over the last 4 years of work so far. Not posted screenshots here due to the 300px limit. but there are some outdated ones on the home page or a newer one on my profile header here. I havent done any real advertisment yet as its not fully ready for full public release.
  21. I dont suppose you got a list of your old mods and have any still? Wouldn't mind a gander. I'm glad your back and i look forward to seeing what you bring to the forums. EDIT: If you don't I have your Workshop Mod kicking around somwhere if you want me to drop it back to you.
  22. Well thats all going to be down to opinions lol. Everyone will say theirs is the best πŸ˜„
  23. Yeah theres a few of use still using and working with mccodes still
×
×
  • Create New...