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!

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