Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-16-2002, 12:47 PM
Boogahed
Fire Beetle
 
Join Date: May 2002
Posts: 28
Default Idea for #goto

I'm thinking when the new code is finished I may work on adding this in for an experiment.
I'll add a table to the database called "namedlocations" then store a zone name, a location name, and a x,y,z coord for each record. When the #goto command is invoked I could change the code to check for a location name and do a lookup to get the zone name and coords.
I was also considering adding a command called #setgoto (#setgoto <locationname>), where it would store the locationname given, the current zone and current location of the player that uses the command.
Reply With Quote
  #2  
Old 05-16-2002, 01:20 PM
Malevolent
Hill Giant
 
Join Date: Mar 2002
Posts: 171
Default

The only problem, of course, is remembering the named locations. It is a problem that I had when I implemented something very similar as a way to do waypoints (stored in db, invoked, etc.). My solution was to put in a command called #querywaypoints (which i've since removed) that would list out the waypoints for a given target.

You might apply the same design pattern to the zone. Something like #GetNamedPlaces, which will invoke a lookup on the zone you are in. Or, for kicks, you might have server wide named locations. E.g., #goto Mooto's camp On this same note, you could do a #worldgetnamedplaces list.

The only downfall would be actually setting up all of these things and making it friendly to use; for if we say there are 20 zones and at least 2 friendly name places per zone, then that will give us 40 named locations to deal with.

If there existed an EQClientEMU, then you could popup a panel to navigate the information. Since we can't do this, then it creates some information display problems that muds have been experimenting with for a few years.
Reply With Quote
  #3  
Old 05-16-2002, 01:58 PM
Hardy's Avatar
Hardy
Dragon
 
Join Date: Feb 2002
Location: GI, NE
Posts: 924
Default

So you don't get all 40 names to deal with, you could do the #getnamedplaces <zone name>, that would narrow it down to where you would want to go. Might take some work, but would be a great system to have.
Reply With Quote
  #4  
Old 05-16-2002, 06:24 PM
Boogahed
Fire Beetle
 
Join Date: May 2002
Posts: 28
Default

This is opening up some ideas for many other ways to query the DB and return records. I'm thinking there's pretty much unlimited commands that could be added so a server admin could search and modify data while in the game.
Reply With Quote
  #5  
Old 05-18-2002, 02:21 PM
Schmuck
Sarnak
 
Join Date: Jan 2002
Posts: 46
Default

Why not put it into those books that no one reads?
__________________
If a kid asks where rain comes from, I think a cute thing to tell him is "God is crying." And if he asks why God is crying, another cute thing to tell him is "Probably because of something you did."
Reply With Quote
  #6  
Old 05-19-2002, 03:49 AM
Stephen
Fire Beetle
 
Join Date: May 2002
Posts: 3
Default

Remember /goto works with a username or NPC name so you can place invisible npc's at those spots with names such as Mootoscamp. Which would be alot easier to impliment at the moment but yes that would be nice having a system like that.
__________________
____________________________
I'm not as think as you drunk I am
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 12:34 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