Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-27-2012, 04:31 AM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 654
Default zone instancing and zone points

I was working on an instance version of Hate's Fury when I encountered a snag. The up and down ladders within the zone are not working at all within the instance version of the zone despite creating new zone_points entries in the database. This is probably one of the reasons why the columns zoneinst and target_instance exist. The column target_instance is self-explanatory but still a problem since it is not a predictable value as I am using a plugin to create the zone instance. As for the column zoneinst I have no idea what is suppose to go in this field. Attempting to use the existing entries in the database as a template was not much help since the zones that had this field populated with something other than 0 have not been implemented yet.

I started to use proximity based quest triggers to move the players around but quest::movepc and quest::gmmove don't account for zone instancing which will cause the player to be sent to the normal version of the zone. Any ideas on how to get around this?
Reply With Quote
  #2  
Old 02-27-2012, 11:08 AM
sorvani
Dragon
 
Join Date: May 2010
Posts: 966
Default

MovePCInstance

Here is the zoner in Barindu that ports people into Vxed and Tipt
Code:
sub EVENT_SPAWN {
  	$x = $npc->GetX();
   	$y = $npc->GetY();
	quest::set_proximity($x - 25, $x + 25, $y - 25, $y + 25);
}

sub EVENT_ENTER {
	$InInstanceTipt = quest::GetInstanceID("tipt",0);
	$InInstanceVxed = quest::GetInstanceID("vxed",0);
	if($InInstanceTipt > 0){
		quest::MovePCInstance(289, $InInstanceTipt, -448, -2374, 12);
	}
	elsif($InInstanceVxed > 0){
	    	quest::MovePCInstance(290, $InInstanceVxed, -427, -3552, 14);
	}	
	else {
		$client->Message(13, "You are not a part of an instance!");
	}
}
Reply With Quote
  #3  
Old 02-27-2012, 04:56 PM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 654
Default

Now how did I overlook that one. Thanks for pointing that out.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:24 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3