Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-06-2006, 07:08 AM
Smedy
Sarnak
 
Join Date: Jan 2004
Location: Stockholm
Posts: 59
Default making custom quest npc bind player to hardcoded y/x/z help!

Hi all

im having huge trouble with the binder on empire2 that binds players in rivervale. We all know that y/x can reverse on random occations, and this will make players bound on the loc -50 10 2 be randomy bound on 10 -50 2, and they spawn in the wall. I wanted to make it so the quest npc (welcomer) binds my players when they hail him to a hardcoded location that would be 0,0,0 (safeplace cordinates) cause even tho the y/x would reverse you would end up on the same spot.

Could anyone tell me how do do this:

The quest NPC currently looks like this:

if (($text=~/Hail/i) && ($uguildid == NULL) && ($ulevel <= 15))
{
if(($class eq Warrior) || ($class eq Bard) || ($class eq Ranger) || ($class eq Rogue))
{
quest::say("Greetings $name! Welcome to Rivervale, the home of the shorties. You will can find
all the shorties classes trainers, some merchants, a banker and some creatures for the practice.
Pay attention at what the creatures will give you. They might be used powerful and will permit
you to adventure in the Direlands with a minimum of stuffs. Have a good day $name !");
quest::selfcast(2049);
quest::summonitem(6933);
quest::setguild(4,0);
}

Im guessing i need some kind of code after quest::selfcast(2049); to make it always bind to 0,0,0 even tho the player who gets bind might be standing on -50 10 2.

help please! dont wanna spend all my days getting peoeple unstuck out of the god damn wall
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 06:25 PM.


 

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