Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow travel between hub zones/shards via #zoneshard. #100

Merged

Conversation

zimp-wow
Copy link

@zimp-wow zimp-wow commented Jan 19, 2025

image

Adds zones designated as 'hub' zones to the zoneshard menu allowing for quick teleport between zones and shards provided both origin and destination are hubs.

Change List

  • Added 'HubZones' rule which is a comma delimited list of zoneidnumbers for zones that should be treated as hubs. -1 will disable this feature, as will turning of Multiclassing.
  • Updated ZoneShardMenu to display hub zones provided player is currently in a hub zone, otherwise will behave as normal.
  • Updated automated call to ZoneShardMenu on zone-in to activate if the player is zoning into any hub zone.
  • Relaxed rules on #zoneshard to allow teleportation between zones provided both are hub zones.
  • Hooked into waypoint script logic to move players between hub zones using waypoints.
  • Added #zoneshardnew command (GMLeadAdmin status required) for spawning new shards.

Testing

This probably needs some testing on the staging/test server since I don't have the Tearal/map stuff set up on mine. I've tested most of the #zoneshard interactions on my local server.

Test Cases

  • Zoning between shards in the same zone
    • Works, player preserves current location, player is sent to the correct instance
  • Zoning between two different hub zones
    • Works, player is ported to the waypoint location, player is sent to the correct instance
  • Attempting to use #zoneshard to zone to a non-hub
    • Not allowed
  • Attempting to use #zoneshard to travel to a hub from a non-hub
    • Not allowed
  • Disabling multiclassing
    • zoneshard returns to normal behavior
  • Disabling hubzones
    • zoneshard returns to normal behavior
  • Tearel and map behavior still working as expected
    • Needs verification

@catapultam-habeo catapultam-habeo merged commit e298b7f into The-Heroes-Journey-EQEMU:master Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants