Jump to content
MakeWebGames

Scorpio

Members
  • Posts

    85
  • Joined

  • Last visited

Scorpio's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. And he put a index.html file on.
  2. Nice Game dude
  3. Error -   MCCodes - Critical Error A critical error has occurred, and this page cannot be displayed. Please try again later. Query failed   attacklost.php -   <?php /** * MCCodes Version 2.0.5b * Copyright (C) 2005-2012 Dabomstew * All rights reserved. * * Redistribution of this code in any form is prohibited, except in * the specific cases set out in the MCCodes Customer License. * * This code license may be used to run one (1) game. * A game is defined as the set of users and other game database data, * so you are permitted to create alternative clients for your game. * * If you did not obtain this code from MCCodes.com, you are in all likelihood * using it illegally. Please contact MCCodes to discuss licensing options * in this case. * * File: attacklost.php * Signature: 95b6a74ae7c7a6cf4e9ed998f3b574c8 * Date: Fri, 20 Apr 12 08:50:30 +0000 */ $atkpage = 1; require_once('globals.php'); $_GET['ID'] = (isset($_GET['ID']) && is_numeric($_GET['ID'])) ? abs((int) $_GET['ID']) : 0; $_SESSION['attacking'] = 0; $_SESSION['attacklost'] = 0; $od = $db->query( "SELECT `username`, `level`, `gang` FROM `users` WHERE `userid` = {$_GET['ID']}"); if ($db->num_rows($od) > 0) { $r = $db->fetch_row($od); $db->free_result($od); echo "You lost to {$r['username']}"; $expgain = abs(($ir['level'] - $r['level']) ^ 3); $expgainp = $expgain / $ir['exp_needed'] * 100; echo " and lost $expgainp% EXP!"; // Figure out their EXP, 0 or decreased? $newexp = max($ir['exp'] - $expgain, 0); $db->query( "UPDATE `users` SET `exp` = {$newexp}, `attacking` = 0 WHERE `userid` = $userid"); event_add($r['userid'], "<a href='viewuser.php?u=$userid'>{$ir['username']}</a> attacked you and lost.", $c); $atklog = $db->escape($_SESSION['attacklog']); $db->query( "INSERT INTO `attacklogs` VALUES(NULL, $userid, {$_GET['ID']}, 'lost', " . time() . ", 0, '$atklog')"); if ($ir['gang'] > 0 && $r['gang'] > 0) { $warq = $db->query( "SELECT * FROM `gangwars` WHERE (`warDECLARER` = {$ir['gang']} AND `warDECLARED` = {$r['gang']}) OR (`warDECLARED` = {$ir['gang']} AND `warDECLARER` = {$r['gang']})"); if ($db->num_rows($warq) > 0) { $war = $db->fetch_row($warq); $db->query( "UPDATE `gangs` SET `gangRESPECT` = `gangRESPECT` + 1 WHERE `gangID` = {$r['gang']}"); $db->query( "UPDATE `gangs` SET `gangRESPECT` = `gangRESPECT` - 1 WHERE `gangID` = {$ir['gang']}"); echo "<br />You lost 1 respect for your gang!"; } $db->free_result($warq); } } else { $db->free_result($od); echo "You lost to Mr. Non-existant! =O"; } $h->endpage();     I then Installed it on a Wamp sever. I still get the same error. (I didnt change nothing) And its the latest one from the mccodes place.
  4. Atttack Lost V2 (Latest Update) Dose not work. MCCodes team fix it :P
  5. If I was a rich man MTG, I would be giving you money! But then Im 13 and poor.
  6. And thanks Sniko!
  7. Aaah, i know what it is now. great going to add it to my game! Thanks Kyle! Great user you are.
  8. Hello there, What dose this mod do?
  9. Dot.tk free domain. Whats the point of buying a .com or whateva?
  10. Scorpio

    Stupid Idoits.

    Lol, I dont luckily.
  11. Scorpio

    Stupid Idoits.

    Hello there, I just wanted to warn you all, that if you signup to any of them torn clones, your password would be discovered. Someone sign into my both of my friend account on my game. And made them self staff. Just be carefull with what pass you use.
  12. I suggest Mccodes. But I never tried NWE.
  13. Yes nice knowing you. Working with BT Error Page? Sorry, the website topgamesandservers.eu cannot be found. Really love it.
  14. Hello there, I really like the template looks great! Well if I had $50 and didnt buy my other template for my game im devolping. I would have about this template. I really like +1
×
×
  • Create New...