Page 1 of 2 12 LastLast
Results 1 to 15 of 19

Thread: Pathfinding

  1. #1
    Registered User Mapfiend's Avatar
    Join Date
    May 2003
    Posts
    51

    Pathfinding

    I have just added a new script to http://mapfiend.eq-toolbox.com that allows you to find a route from one zone to another. I only have 115 zone connections mapped so far, but it is promising.
    I am currently using a simplified version of an A* (A Star) AI pathing routine to plot the course. I am not weighing the paths it finds at all, and it will list all paths it finds from one zone to the next. I plan to add weights to the zones based on race/class and also take into consideration special requirements to enter zones (planes for example).

    My question is this: If I make more progress on this, A: would it be useful to the SEQ community, and B: would anyone be willing to port the code for use in SEQ, bearing in mind that I am writing it in php?
    MF

  2. #2
    Registered User
    Join Date
    Feb 2003
    Posts
    126
    I can think of multiple applications for this, not just limited to SEQ mapping.

    Get it finished and If none of the developers can squeeze it in, I will port it from PHP to an SEQ usable format.

    Some of this may be very usefull over at the EQEmu project too BTW, you may be able to collaborate your efforts, and come out with a broad scope utility.

  3. #3
    Registered User Mapfiend's Avatar
    Join Date
    May 2003
    Posts
    51
    Originally posted by Freakyuno
    Some of this may be very usefull over at the EQEmu project too BTW, you may be able to collaborate your efforts, and come out with a broad scope utility.
    That's kind of why I'm doing this, not EQEmu specifically, but game programming in general, to get a better grasp of AI systems
    MF

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    849
    OK, call me stupid, but what would this be good for in SEQ?

    I don't mean to belittle the efforts I'm simply asking what it's supposed to be used for? It sounds like and interesting project, but perhaps I don't understand what the goal is, atleast in terms fo SEQ...?
    "What you've just said is one of the most insanely, idiotic things i've ever heard. At no point in your rambling, incoherant response were you even close to anything that could be considered a rational thought. Everyone in this room is now dumber for having listened to it. I award you NO points, and may god have mercy on your soul."

  5. #5
    Registered User Mapfiend's Avatar
    Join Date
    May 2003
    Posts
    51
    The goal would be to allow users to plot a course to their destination, for instance if they don't know where a particular zone is. To make the resulting paths more relevant, you would then take into account the users race/class/level to determine if one path would be "safer" than another (ie. don't send an Ogre trodding through freeport to get to west commons)

    Again, I'm not sure of the need for this, but thought I would offer it up as food for thought.
    MF

  6. #6
    Registered User
    Join Date
    Dec 2001
    Posts
    849
    I see, I forgot there are people that play EQ that are actually new to the game..
    "What you've just said is one of the most insanely, idiotic things i've ever heard. At no point in your rambling, incoherant response were you even close to anything that could be considered a rational thought. Everyone in this room is now dumber for having listened to it. I award you NO points, and may god have mercy on your soul."

  7. #7
    Registered User
    Join Date
    Jan 2002
    Posts
    87
    I still have to look up zones when going to Luclin
    Yes, I used

    before posting.

  8. #8
    Registered User
    Join Date
    Feb 2003
    Posts
    126
    Not only that but imagine this in dungeon type zones, or even LDoN. When I first read it, I wondered about the usefullness too, but in my mind was only considering it's use as the majority of EQ zones...

    wide open outdoor zones where the zone lines are very clear and all you have to do is travel a straight line from one to the other.

    With collision detection, you could plot a course between any two objects or even mobs, going around corners, up and down stairs, and even through secret walls and around certain monsters or NPC's in a dungeon if they are up, and straight through if they arent.

  9. #9
    Registered User Mapfiend's Avatar
    Join Date
    May 2003
    Posts
    51
    Freakyuno, I wasn't planning on getting that complex in my script (since it is being written for use on fatals mapping site), but concievably that could be done, given the location of the obstacle/mob/whatever you wanted to avoid.

    I have just added maps to the script, and changed the db to handle zone locs, though I have only updated a few zones at this time. to see it in action, check out http://mapfiend.eq-toolbox.com/course.php and select Lake Rathetear as your start and Innothule Swamp as your destination. The maps that display in the results are clickable and will pop a window with a larger version of the map.
    MF

  10. #10
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508
    will this include links like the PoK stones and Nexus spires?

  11. #11
    Registered User Mapfiend's Avatar
    Join Date
    May 2003
    Posts
    51
    lol, I'm working on special condition zones
    MF

  12. #12
    Registered User
    Join Date
    Apr 2002
    Posts
    59
    Pathfinding is interesting. I've often wondered what zone has the farthest travel time (in number of zones) from a transport spot.

    For instance:

    + West Karana would have a travel of (1) since a wizard can port you there.
    + South Karana would be a (2) since you spire/druid to NK, then zone to SK.


    There's a bunch of (4)s

    ToVeeshan(4): CS->SG->WW->ToV
    DragonNecropolis(4): CS->SG->WW->DN
    TheDeep(4): Nexus->SH->EC->theDeep
    Chardokb(4): Skyfire->BW->Chardok->Chardokb
    or the deeper LoY zones

    Any 5s anymore? PoMischief used to be a (5) til the moved it.
    Curio

  13. #13
    Registered User Mapfiend's Avatar
    Join Date
    May 2003
    Posts
    51

    Spires/stones/druid rings etc

    Ok, I need info on any/all teleport mechanisms in EQ. This includes Wiz Spires, Druid Rings, any kind of stone etc that can port you to another zone.
    What I would like is the zone, location, where you can port to, type (wiz spire, druid ring, stone etc), and required level (if any).

    I haven't played EQ in quite a while, and never played a drood or wizzy (I was always more of a "hands on" type of guy, you know, let me get my "Hands On" his throat...) so any help yall can give me would be great.
    MF

  14. #14
    Registered User Zaphod's Avatar
    Join Date
    Dec 2001
    Posts
    648

    Re: Spires/stones/druid rings etc

    Originally posted by Mapfiend
    Ok, I need info on any/all teleport mechanisms in EQ. This includes Wiz Spires, Druid Rings, any kind of stone etc that can port you to another zone.
    What I would like is the zone, location, where you can port to, type (wiz spire, druid ring, stone etc), and required level (if any).

    I haven't played EQ in quite a while, and never played a drood or wizzy (I was always more of a "hands on" type of guy, you know, let me get my "Hands On" his throat...) so any help yall can give me would be great.
    The exact destination for all POK stones and all zone lines that occur in a zone is sent in the OP_SendZonePoints (currently 0x0230) using a payload of zonePointsStruct. ShowEQ currently just captures this information in ZoneMgr, but doesn't display it anywhere yet (I'm planning it have it display info in the tooltiop when you pause over POK doors).

    As far as wizzard/druid destinations, I believe some of that information is found in spells_us.txt, although I'm not sure of the exact organization of those details in the file.

    I know of a lot of people who received a come back for 14 days e-mail. Maybe you've received one at a disused e-mail address somewhere.

    Enjoy,
    Zaphod (dohpaZ)
    Chief Software Engineer of the Apocalypse.
    http://showeq.doomed.to/
    SourceForge.net user: dohpaz.

    Personal thank you donations are now accepted.

  15. #15
    Registered User Mapfiend's Avatar
    Join Date
    May 2003
    Posts
    51

    Re: Re: Spires/stones/druid rings etc

    Originally posted by Zaphod
    As far as wizzard/druid destinations, I believe some of that information is found in spells_us.txt, although I'm not sure of the exact organization of those details in the file.
    You are correct, but there are only about 7 or 8 listings for teleport type spells, although it does include the name of the destination zone and the loc in that zone. I assume it also includes required level, but haven't found that data yet (There is a LOT of stuff in that file)

    Originally posted by Zaphod
    I know of a lot of people who received a come back for 14 days e-mail. Maybe you've received one at a disused e-mail address somewhere.
    My account has been around since EQ was released, and I have reactivated it on 3 seperate occasions. I doubt I will be getting one of those come back for 14 days emails . Although, I probably do have one of the oldest chars still "in the game". My main char is the first one I ever created.
    MF

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On