Jump to content
MakeWebGames

Recommended Posts

Posted

For your setup..

<?php
require_once __DIR__ . '/lib/allpage.php';
$tables = [
   'attacklogs',
   'attacklogs',
   'blacklist',
   'blacklist',
   'cashxferlogs',
   'cashxferlogs',
   'challengesbeaten',
   'coursesdone',
   'crystalmarket',
   'dps_process',
   'events',
   'fedjail',
   'fedjail',
   'fight_challenges',
   'fight_challenges',
   'forum_forums',
   'forum_forums',
   'forum_posts',
   'forum_posts',
   'forum_topics',
   'forum_topics',
   'friendslist',
   'friendslist',
   'gymlogs',
   'hitlist',
   'imarketaddlogs',
   'imbuylogs',
   'imbuylogs',
   'imremovelogs',
   'imremovelogs',
   'inventory',
   'itembuylogs',
   'itemmarket',
   'itemselllogs',
   'itemxferlogs',
   'itemxferlogs',
   'jaillogs',
   'jaillogs',
   'logs_staff',
   'mail',
   'mail',
   'mugger_oth',
   'mugger_oth_global',
   'preports',
   'preports',
   'referals',
   'referals',
   'reports_bugs',
   'reports_bugs_responses',
   'review',
   'rr_challenges',
   'rr_challenges',
   'rr_logs',
   'rr_logs',
   'rr_logs',
   'scoment',
   'staffnotelogs',
   'staffnotelogs',
   'status',
   'syndicates',
   'syndicates',
   'syndicate_apps',
   'syndicate_coment',
   'unjaillogs',
   'unjaillogs',
   'users',
   'userstats',
   'user_imageusername',
   'warnings',
   'warnings',
   'willplogs'
];
$db->startTrans();
foreach($tables as $table) {
   $db->query('TRUNCATE TABLE '.$query);
   $db->execute();
}
$db->endTrans();
session_unset();
session_destroy();
echo 'Game reset';
 
  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...