Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

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