• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Delete All Item To Character

Banned
Banned
Joined
Apr 13, 2014
Messages
11
Reaction score
0
it possible to delete all item in the game except the character because i search it no one have this problem
 
Junior Spellweaver
Joined
Jul 6, 2011
Messages
176
Reaction score
25
PHP:
<?php

error_reporting(E_ERROR | E_PARSE);

#Config
$host = '127.0.0.1,1433';
$user = 'nyet';
$pass = 'nyot';
$db = 'RF_WORLD';
$serial = '667'; // Character Serial

/*================================================================*/
/* Do not change!	                                              */
/*================================================================*/

class DB 
{
	private $host, $user, $pass, $db;
	public function __construct($host, $user, $pass, $db)
	{
        $this->host	= $host;
        $this->user	= $user;
        $this->pass	= $pass;
        $this->db    	= $db;

        $this->connect = mssql_connect($this->host, $this->user, $this->pass)
            or die("There was a problem connecting to the database.");

        mssql_select_db($this->db, $this->connect)
            or die("There was a problem selecting the database.");

        return true;
    }
}

$horizon = new DB($host,$user,$pass,$db);

$i = 0;
while($i < 100)
{
	mssql_query("UPDATE tbl_inven SET K$i = '-1', D$i = '0', U$i = '268435455', S$i = '0', T$i = '-1' WHERE Serial = '$serial'");
	$i++;
}

echo ($i == 100) ? "Success!" : "Failed!";

#End of File

I was made it in PHP. Try it!
 
Upvote 0
Back
Top