Jump to content

Teleport lua help


stefan100

Recommended Posts

[5] =
This is wrong. You MUST keep the table keys as a sequence 1,2,3,4, not 1,2,3,5
If the keys are not a sequence then the table functions like #T and ipairs dont work properly.

But about the menus duplicating ..
Usually that happens when people forget to call clear menus, but that is automatically called by Eluna anyways before the ongossip* hook as seen here:
https://github.com/ElunaLuaEngine/Eluna/blob/master/GossipHooks.cpp#L107-L137

The script should work fine and when I tested it on TC it worked fine. What patch are you on exactly?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use