Protocol version
All versions. This fix was added later in the 1.5 master branch
Describe the bug
Talkactions with params do not work in revscript.
To Reproduce
Steps to reproduce the behavior:
Create a revscript talkaction that uses params: !deposit all / !deposit 1000
It will not work at all. If you type "!deposit" that will work fine but nothing with params.
Expected behavior
Params should be registered and read.
Sorry I have no idea how to make a pull-request. Hopefully someone can.
Protocol version All versions. This fix was added later in the 1.5 master branch
Describe the bug Talkactions with params do not work in revscript.
To Reproduce Steps to reproduce the behavior: Create a revscript talkaction that uses params: !deposit all / !deposit 1000 It will not work at all. If you type "!deposit" that will work fine but nothing with params.
Expected behavior Params should be registered and read.
Sorry I have no idea how to make a pull-request. Hopefully someone can.
Talkaction.cpp add
Change TalkActionResult_t TalkActions::playerSaySpell(Player* player, SpeakClasses type, const std::string& words) const
In tools.h Add all of this under generateToken
Tools.cpp