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 10-29-2006, 02:46 AM
Rhodan
Hill Giant
 
Join Date: Oct 2006
Posts: 179
Default Movepc() - wrong coords?

I'm setting up the translocator from Buther docks to east freeport and having troubles.

I went to freporte and stood on the dock in front of the translocator there to get a /loc. I put that into my movepc() call (aiming slightly higher on the Z). When I use the script, I end up in east freeport but out near the zoneline for the desert instead of on the dock.

I tried the coords for a couple other places and always ended up by the desert.

The command I'm using is quest::movepc(10,11,-860,-50); (this one should put you at the start of the dock, slightly in the air).

Any idea what I'm doing wrong?
Reply With Quote
  #2  
Old 10-29-2006, 03:49 AM
paaco
Discordant
 
Join Date: Jan 2005
Posts: 320
Default

Heres a copy of a translocator quest file from my server. Format your quest exactly like mine, changing the Zoneid and locs of course and it should work. Also your post should have gone into the quests section of the forums

Code:
sub EVENT_SAY{
if ($text=~/Hail/i){
quest::say("Hello $name . I can send you back to [Vex Thal], if that is what you wish?");
}
if($text=~/Vex Thal/i)
{
quest::say("As You Wish");
quest::movepc(158, -1657.25, 149.48, -41.62);
}
}
Reply With Quote
  #3  
Old 10-29-2006, 03:56 AM
Rhodan
Hill Giant
 
Join Date: Oct 2006
Posts: 179
Default

Quote:
Originally Posted by paaco
Heres a copy of a translocator quest file from my server. Format your quest exactly like mine, changing the Zoneid and locs of course and it should work. Also your post should have gone into the quests section of the forums

Code:
sub EVENT_SAY{
if ($text=~/Hail/i){
quest::say("Hello $name . I can send you back to [Vex Thal], if that is what you wish?");
}
if($text=~/Vex Thal/i)
{
quest::say("As You Wish");
quest::movepc(158, -1657.25, 149.48, -41.62);
}
}
Actually, thats pretty much the same as what I have. Actually, I don't have spaces after the commas in the coordinates... Shouldn't make a difference but I'll try that when I get home from work.

Quests section huh? Lol, when I think Quests, I think of questing itself - which a translocator script does not usually bring to mind. I guess if I just pretend I see "scripting" where it says "questing" I won't go off on an obsessive compulsive fit

Last edited by Rhodan; 10-29-2006 at 12:00 PM..
Reply With Quote
  #4  
Old 10-29-2006, 03:58 AM
paaco
Discordant
 
Join Date: Jan 2005
Posts: 320
Default

Good luck, if you get home and still can't get it to work, let me know and I'll try to help you work it out.
Reply With Quote
  #5  
Old 10-29-2006, 06:18 AM
Rhodan
Hill Giant
 
Join Date: Oct 2006
Posts: 179
Default

Lunchtime!

I had a thought. I didn't use floating point numbers. I wonder if there is a casting issue and the integers get converted wrong - making the engine choose a default location instead of the specified one.

Lol, I hate having to work when I want to be home digging through databases and code
Reply With Quote
  #6  
Old 10-29-2006, 06:28 AM
rojadruid
Discordant
 
Join Date: May 2005
Location: Smith Falls, Ontario, Canada
Posts: 283
Default

try using a #loc and see what happens
__________________
Rojadruid

Innoruuk Server [legit]
Server Admin.
Server Status: UP
Reply With Quote
  #7  
Old 10-29-2006, 06:29 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

You do know the /loc in game is not the same as #goto x y z, right? For some reason, the /loc x and y are reversed. So if you /loc and you are at 10, 20, 30, you would #goto 20 10 30.

Kind of annoying. But I think #loc targetting yourself gives better results?

And this may not be your problem at all, since the TL to Tim Deep is WAYYY off, and nothing I did ported me to the islands... I always ended up way out by the sunken ruins and had to swim for it.
Reply With Quote
Reply

Thread Tools
Display Modes

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 12:51 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3