• 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.

double xp

Status
Not open for further replies.
Newbie Spellweaver
Joined
Aug 17, 2011
Messages
86
Reaction score
15
I wanted a script that double xp of the beginners.
i put this in GameEngine/config.php
PHP:
		include_once ("GameEngine/Session.php");
        mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS);
        mysql_select_db(SQL_DB);

		$verrank = mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE `username`='".$session->username."'");
		$verranka = mysql_fetch_array($verrank);
		echo $verranka['oldrank'];
		if($verranka['oldrank'] >= 60){
		define("SPEED", "120");
	
		} else {
			define("SPEED", "60");
		
	}
but dont work, who know why?
 
Experienced Elementalist
Joined
Dec 4, 2011
Messages
221
Reaction score
34
hmm..maybe because this protection in dove = 3+hours,but really work only 1hour
 
Status
Not open for further replies.
Back
Top