Jump to content
MakeWebGames

Tonka

Members
  • Posts

    450
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Tonka

  1. Re: Problem with criminal.php V2 have you created any crime groups yet? if not create some and put some crimes into them, and that should fix your problem
  2. Re: Possible Exploit Fix where would i put the "n"?
  3. Re: Possible Exploit Fix I tried that but i got, QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '100' at line 1 Query was SELECT u.*,g.* FROM users u LEFT JOIN gangs g ON u.gang=g.gangID ORDER BY field3 DESC LIMIT ,100   I have v2 btw
  4. Re: MAILS have you change your mailbox.php or mainmenu.php file recently?
  5. Re: Problem with criminal.php V2 the code looks fine to me
  6. Re: My Crons... i compared you cron files to mine and they look fine to me, here i what you need to check 1. Make sure you have a file called "config.php" 2. Make sure the the line "'code' => " has an MD5 hash code in it 3. Make sure you are calling the cron file correctly "curl http://yourdomain/cron_minute.php?code="MD5 hash code"   also Nyna fo future reference, mysql.php=V1 config.php=V2
  7. Re: Free 2 - Gym nice mod Nyna, my users love it
  8. Can any one help me, i can't figure out why when the organised crimes are done there is no event sent
  9. Re: Can Someone help me please? i was on X10 for about a week and left cause the server kept going down and i was suspended for running crons minutely, take a look at the hosting section in the forum
  10. Re: [Free] Log Suspicious Users a minor mistake in header.php find $ip and replace with $IP
  11. Re: [Free] Log Suspicious Users you for got to put the rest of the function in
  12. Re: Gang Surrender try this, chaoswar4u posted this and it worked for me find: in yourgang.php list($_POST['war']) = $db->fetch_row($q); replace with: $_POST['war'] = $db->fetch_single($q);
  13. Re: donator packs Also ipn_donator.php needs to edited to auto credit the user find: if( $pack != 1 and $pack != 2 and $pack != 3 and $pack != 4 and $pack != 5) { fclose($fp);die(""); } if(($pack == 1 || $pack == 2 || $pack == 3) && $payment_amount != "3.00") { fclose ($fp);die(""); } if($pack == 4 && $payment_amount != "5.00") { fclose ($fp);die(""); } if($pack == 5 && $payment_amount != "10.00") {fclose ($fp);die(""); }   add this right after: if($pack == 6 && $payment_amount != "Your Price") {fclose ($fp);die(""); } remember to replace "Your Price" with the price of the pack then find else if($pack==5) { $db->query("UPDATE users u LEFT JOIN userstats us ON u.userid=us.userid SET u.money=u.money+35000,u.crystals=u.crystals+160, us.IQ=us.IQ+180,u.donatordays=u.donatordays+115 WHERE u.userid={$for}"); $d=115; $t="tendollars"; }   add this right after: else if($pack==5) { $db->query("UPDATE users u LEFT JOIN userstats us ON u.userid=us.userid SET u.money=u.money+35000,u.crystals=u.crystals+160, us.IQ=us.IQ+180,u.donatordays=u.donatordays+115 WHERE u.userid={$for}"); $d=115; $t="tendollars"; }   Rplace:   u.money=u.money+35000 Rplace the number with the amount of ingame cash the player gets   u.crystals=u.crystals+160, Rplace the number with the amount of crystals the player gets   us.IQ=us.IQ+180 Rplace the number with the amount of IQ the player gets   u.donatordays=u.donatordays+115 Rplace the number with the amount of donatordays the player gets   $d=115; Rplace the number with the amount of donatordays the player gets   $t="tendollars"; Rplace with the price of your pack as a word but leave the dollars in EX: one, two, three...
  14. Re: Contact Form (Fresh & NEW!) killah did a good job, there were a few bugs in it and there are still a few, but now if you copy nad paste this it will work   <?php include ("sglobals.php"); if($_GET['action'] == reply) { if($_POST['message']) { $XID = abs(@intval( $_POST['XID'])); $af = mysql_query("SELECT * FROM messages WHERE ID='{$XID}'") or die(mysql_error()); $at = mysql_fetch_assoc($af); $to = $at['useremail']; $subject = "Reply From {World of Conflict}"; $body = $_POST['message']; $from = "{Your Site Email}"; $headers = 'From: {World of Conflict} | Reply Of ' .$at['subject']. ' <' .$from. '>'; mail($to, $subject, $body, $headers); mysql_query("DELETE FROM messages WHERE ID='{$at['ID']}'") or die(mysql_error()); echo 'Replied To and Deleted.'; $h->endpage(); exit; } $XID = abs(@intval( $_POST['XID'])); $ay = mysql_query("SELECT * FROM messages WHERE ID='{$XID}'") or die(mysql_error()); echo '<form action="staff_contact.php?action=reply&XID=' .$g['ID']. '" method="post">'; echo 'Type in your message bellow: <textarea name="message" cols="50" rows="10"> <input type="submit" value="Continue"></form>'; $h->endpage(); exit; } echo ' <table border=1 width=100% class=table> <tr> <th>User Name</th> <th>User Email</th> <th>Time Submited</th> <th>Message</th> <th>Actions</th> </tr>'; $m = mysql_query("SELECT * FROM messages"); $t = mysql_num_rows($m); echo '> [url="staff_contact.php"]Contact Messages (' .$t. ' UnReplied)[/url]'; $s = mysql_query("SELECT * FROM messages") or die(mysql_error()); while($t = mysql_fetch_assoc($s)) { $time = date ('F j, Y')." ".date('g:i:s a'); echo '<td>' .$t['username']. '</td> <td>' .$t['useremail']. '</td> <td>' .$time. '</td> <td>' .$t['message']. '</td> <td>[url="contact.php?action=reply&XID=' .$t['ID']. '"]Reply[/url]</td><tr>'; } $h->endpage(); ?>
  15. how do you get the auto creditor to send out the DP items?
  16. Re: delete gang after respect hit 0 so which is the best one to use?
  17. Re: Crystal market exploit? which version of the code is the exploit in?
  18. i now there are forum posts for this already, but i can't get it to work, i have v2 codes
  19. Re: door shoot good mod +1
×
×
  • Create New...