• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Is there a list of all Zone.ID?

Rare Spawn

Well-known member
Joined
Oct 10, 2022
RedCents
3,282¢
Hello all,
Where can I find a list of zones with their ID#?

I found the list of shortnames, and I have peaked at the connections files for EasyNav and MQ2EasyFind, and I figured out how to query the ID# for the zone I am in. Where I can find a master list?

Thanks!
 
I created a Lua for the purpose of collecting zone data for all known active zones.

Generate Zone Data
This data exist yet in Everquest : \Everquest\Resources\ZoneNames.txt
Code:
1^South Qeynos^0^0
2^North Qeynos^30^90
3^Surefall Glade^20^60
4^Qeynos Hills^20^60
6^High Keep^20^60
8^North Freeport^0^0
9^West Freeport^0^0
10^East Freeport^0^0
 
Can I ask what your use case for this is? (Why do you need a list of all zones with their ID?)

Custom Lua scripts to assemble and move my group. I opted to use zone.id in Lua scripts to validate I am in fact where I am supposed to be before kicking off the next steps of a script.

This is a snippet a larger script that creates my group, assigns roles, gathers the team in the guild hall if they are not already there. I wanted to lookup the zone.id without manually travelling there and running a command, zone by zone. Unfortunately for me, the same zone.id is used for all static and dynamic instances of the zone. May be better to edit the Zone short name wiki page to include the Zone ID too.

I need to do some more digging to be able to tell the different between when I an in static Shadowhaven, versus finished zoning into the mission "When One Door Closes" which also uses the same zone.id.

Less:
if all_double_invis() and mq.TLO.Zone.ID() == 737 then
        print('\agOn our way to Shadow Haven')
        mq.cmd('/dgga /gc shadowhaven')
        mq.delay('15s')
    else
        print('\arSomething wrong.')
        return
end
 
Last edited by a moderator:
Then you didn't look at the resource. That list is missing short names.
Short name zone list MQ2\resources\Zones.ini
Your can copy/paste texte from this 2 file in an Excel file and use researchH (horizontal reasearch) to get date in the order you want or need.
 

Attachments

3 numbers vs up to 20 letters?
Thanks for you answer but that isn’t a benefit. Saving a couple keystrokes has no material benefit in this context.

474 is less meaningful than “zonename” to any body who has to read or write the code.

Only way I could see zone id useful is if you have a table of zone name constants which give you those IDs but at that point you might as well just use the name.

Edit: some zones that have instanced versions have random zone ids sometimes
 
Has something changed with zone short names? I use the resupply.Lua script to shop in PoK. Since the beginning the zone short name in the config file for PoK has been "PoKnowledge", and the script has been working fine.

Today, I tried a shopping run and the Lua ended immediately. I tracked it down to the zone short name search, and the line
if mq.TLO.Zone.ShortName() == zone then

Turns out, per the list, the correct short name for PoK is "poknowledge" but the script was looking for "PoKnowledge".

I know for a fact this was working previously. I wouldn't think that the zone names have changed, but the only other option is that the Lua default for string compare was not always case-sensitive or something.
 
I've noticed this before with PoKnowledge, I don't remember what the cause is. But generally when I'm doing string compares, I do them case insensitive anyway. For sure, Lua hasn't changed in that regard.
 
Question - Is there a list of all Zone.ID?

Users who are viewing this thread

Back
Top
Cart