View Single Post
  #10  
Old 04-09-2015, 09:29 PM
starblight's Avatar
starblight
Sarnak
 
Join Date: Jan 2007
Posts: 76
Default

First thank you for all your help. Finding it truly was the biggest step fixing it was very easy. For others I am posting what changes I made.


This example is only for Freeport west I have not tested it yet on any other zones. One cool thing is it dose not seem to need any modifications to the client. I tested on the current f2p client with both modified files and not and they both work.

Original
Code:
  	if($doorid == 25)
	{
		$zonename = "Freeport West";
		if(($client->GetClientVersionBit() & 3)!= 0) #062/Titanium
		{
		  	quest::movepc(9,77.31,-660.57,-30.24);
		}
		elsif(($client->GetClientVersionBit() & 4294967264)!= 0) #RoF+
		{
		  	
		  	quest::movepc(383,-173,-188,-69,192);
		}
		else  #SoF/SoD/UF
		{
		      # quest::popup("$zonename","Send you to the Classic $zonename? $popuptext",6,1);
		      # quest::settimer(6,5);
		      quest::movepc(9,77.31,-660.57,-30.24);
		}
  	}

New
Code:
  	if($doorid == 25)
	{
		$zonename = "Freeport West";
		if(($client->GetClientVersionBit() & 3)!= 0) #062/Titanium
		{
		  	quest::movepc(9,77.31,-660.57,-30.24);
		}
		elsif(($client->GetClientVersionBit() & 4294967264)!= 0) #RoF+
		{
		  	quest::movepc(9,77.31,-660.57,-30.24);
		  	#quest::movepc(383,-173,-188,-69,192);
		}
		else  #SoF/SoD/UF
		{
		      # quest::popup("$zonename","Send you to the Classic $zonename? $popuptext",6,1);
		      # quest::settimer(6,5);
		      quest::movepc(9,77.31,-660.57,-30.24);
		      #quest::movepc(9,77.31,-660.57,-30.24);
		}
  	}
Reply With Quote