MQ2PortalSetter

For you having trouble, please follow these steps so that I may help you:

  1. Download the macro attached to this post
  2. Make sure the plugin is loaded
  3. Reload your UI
  4. Stand close to the portal merchant and open the merchant window
  5. Run /mac portalsetterdebug
  6. Post the macro output


Here's what the log shows:

[2014/06/03 19:38:41] [MQ2] Zone ID: 33505
[2014/06/03 19:38:41] [MQ2] PortalSetterWindow? : FALSE
[2014/06/03 19:38:41] [MQ2] PortalSetterWindow open? : FALSE
[2014/06/03 19:38:41] [MQ2] PortalSetterWindow location: <X:90, Y: 47>
[2014/06/03 19:38:41] [MQ2] Zeflmin? NULL
[2014/06/03 19:38:41] [MQ2] Teleport Assistant? Teleportation_Assistant00
[2014/06/03 19:38:41] The current macro has ended.
 
For you having trouble, please follow these steps so that I may help you:

  1. Download the macro attached to this post
  2. Make sure the plugin is loaded
  3. Reload your UI
  4. Stand close to the portal merchant and open the merchant window
  5. Run /mac portalsetterdebug
  6. Post the macro output


Here's what the log shows:

[2014/06/03 19:38:41] [MQ2] Zone ID: 33505
[2014/06/03 19:38:41] [MQ2] PortalSetterWindow? : FALSE
[2014/06/03 19:38:41] [MQ2] PortalSetterWindow open? : FALSE
[2014/06/03 19:38:41] [MQ2] PortalSetterWindow location: <X:90, Y: 47>
[2014/06/03 19:38:41] [MQ2] Zeflmin? NULL
[2014/06/03 19:38:41] [MQ2] Teleport Assistant? Teleportation_Assistant00
[2014/06/03 19:38:41] The current macro has ended.

After seeing Zeflmin mentioned I went ahead and tried this in the old guild hall - it worked immediately. Just won't work in the newer guild hall with the Teleportation Assistant(s).
 
I think i see the issue. He only checks for 1 custom guild hall zone id and there are.. 4?

Code:
if (GetCharInfo()->zoneId == 345) {
        return "Zeflmin_Werlikanin00";
    }
    else if (GetCharInfo()->zoneId == [COLOR=Yellow]33505[/COLOR]) {
        return "Teleportation_Assistant00";
    }
    return "";

So we need the zone ids of the other or he can just change it to:
Code:
if (GetCharInfo()->zoneId == 345) 
        return "Zeflmin_Werlikanin00";
    else
        return "Teleportation_Assistant00";
I will mention in dev chat to try that solution out. It should work based on him doing a spawn check anyway.
 
For you having trouble, please follow these steps so that I may help you:

  1. Download the macro attached to this post
  2. Make sure the plugin is loaded
  3. Reload your UI
  4. Stand close to the portal merchant and open the merchant window
  5. Run /mac portalsetterdebug
  6. Post the macro output


Here's what the log shows:

[2014/06/03 19:38:41] [MQ2] Zone ID: 33505
[2014/06/03 19:38:41] [MQ2] PortalSetterWindow? : FALSE
[2014/06/03 19:38:41] [MQ2] PortalSetterWindow open? : FALSE
[2014/06/03 19:38:41] [MQ2] PortalSetterWindow location: <X:90, Y: 47>
[2014/06/03 19:38:41] [MQ2] Zeflmin? NULL
[2014/06/03 19:38:41] [MQ2] Teleport Assistant? Teleportation_Assistant00
[2014/06/03 19:38:41] The current macro has ended.

After seeing Zeflmin mentioned I went ahead and tried this in the old guild hall - it worked immediately. Just won't work in the newer guild hall with the Teleportation Assistant(s).


That's what happened to me.
It works for me in GH, but not GGH on my toon.
Excellent plugin, hope works on all the gnomes. Thanks for the work.
 
Last edited:
Thanks Pete. I changed it to return the assistant for the other zones (gand, greater, modest).

New version on server.

htw
 
Using patched version, still no pop up box for me in GGH.
anyone?
 
So I logged in, and it is working fine with normal guild hall, and palatial guild hall. I can't check Grand Guild Hall, Greater Guild Hall, or Modest Guild Hall (and any others if there are any).

If you have some other one, or you can't get it to work overall, then you can go to your guild hall, and to the NPC that sells the stones and target him/her, and do these and tell me what they show in your MQ2 window:

/echo ${Zone.ID}
/echo ${Target.Name}

htw
 
So I logged in, and it is working fine with normal guild hall, and palatial guild hall. I can't check Grand Guild Hall, Greater Guild Hall, or Modest Guild Hall (and any others if there are any).

If you have some other one, or you can't get it to work overall, then you can go to your guild hall, and to the NPC that sells the stones and target him/her, and do these and tell me what they show in your MQ2 window:

/echo ${Zone.ID}
/echo ${Target.Name}

htw

Did the above, our guild hall seems to have 2 Teleporter Assistants and they are:

Teleportation_Assistant03
Teleportation_Assistant01

Zone is: 33505
 
easy fix, htw will get it. It is because it is looking specifically for Teleportation_Assistant00 and yours are 01/03. Can add a partial match instead. I would update it but for all i know he is already on it, so I will let him =P
 
New release posted to the first page. It should now work in all guild hall zones with any number of teleporter merchants.

htw, I pushed the updated source to github.

June 5, 2014 12:45 AM
---------------------

* Fix plugin to work in all guild hall zones
 
Last edited:
Now it should work in all guild halls... maybe.

June 5, 2014 4:07 AM
--------------------

* Add support for additional guild halls
 
you dont need zone ids, htw updated it yesterday afternoon btw =P
 
you dont need zone ids, htw updated it yesterday afternoon btw =P

It doesn't run through the code outside of the guild hall, which it uses the zone id to check. I could probably change it to check if the name includes guild hall in the zone name instead but now I have the ids in place.
 
It doesn't run through the code outside of the guild hall, which it uses the zone id to check. I could probably change it to check if the name includes guild hall in the zone name instead but now I have the ids in place.
All good man, thanks for the update! I'll push it to ours.

htw
 
Confirmed it now works for me, appreciate the effort folks. Thanks again.
 
It is working cool now.

Thanks a lot for the effort!
Love this plugin.
 
This has been crashing when I use it in the greater guild hall.