Skip to content

Additional commands are discarded if the target zone already matches the current zone #118

@doubledgedboard

Description

@doubledgedboard

From EasyFindZonePath.cpp

ZonePath_GeneratePath

	if (fromZone == toZone)
	{
		outputMessage = "Already at target zone";
		return {};
	}

or EasyFind.cpp

Command_TravelTo

	if (pLocalPC->zoneId == pTargetZone->Id)
	{
		SPDLOG_INFO("You are already in \ag{}\ax!", pTargetZone->LongName);
		return;
	}

One of these guards (maybe both?) causes EasyFind to fail to process additional commands if the source zone is the same as the target zone.

Example:

Given an MQ2Nav waypoint Bar in zone Foo:

/travelto Foo @ nav waypoint Bar

If character is NOT already in zone Foo, then EasyFind correctly navigates to zone Foo, and then navigates to waypoint Bar.

However, if the character is already in zone Foo, then the @ nav waypoint Bar is never processed, given the above command.

This is a request to allow the additional commands to be processed even if the current zone already matches the target zone.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions