• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->
Resource icon

Lua - Generate Zone Data (1 Viewer) 1.0

Download
I approved this resource, however, since the data is static, it is probably more useful as just a straight file than as a Lua to generate it.

we have zones.ini in the resources folder, which has long name and shortname, it does not have zone IDs because it is an old ini, and not something like yaml or something more oriented towards more than key value pairs.

regardless,

thanks for sharing with folks roun!
 
I approved this resource, however, since the data is static, it is probably more useful as just a straight file than as a Lua to generate it.

we have zones.ini in the resources folder, which has long name and shortname, it does not have zone IDs because it is an old ini, and not something like yaml or something more oriented towards more than key value pairs.

regardless,

thanks for sharing with folks roun!

Thanks for approving. I did consider whether to just toss the code out, but since I also thought there could be maintenance down the road, went the resource route.

I was specifically after the zone ids (for another Lua script).
 
If you were to run this on a TLP server that's on an early expansion, would it give the same results as a live server?

As long as mq.TLO.Zone returns info for that zone, yes. It skips anything that returns nil, a name of 'Not Found', or the character select zones.
 
Last edited:
I guess my question is more about servers than your script, do all live servers return the same Zone info? If an xpac isn't released yet on a server, can you still get info for its zones?

I'd test but then I'm breaking my own rules, and I don't currently have a gold account 😋
 
If the zone structure included the expansion of the zone, I'd add a filter based on whether the running character has the expansion available to them. Maybe add a starting param: 'all', 'available', and possibly a specific expansion (e.g., 'Rain of Fear', '<Rain of Fear', 'Rain of Fear>').
 
Lua - Generate Zone Data

Users who are viewing this thread

Back
Top