Add GetReactState to CreatureMethods and GetKnownTaxiNodes, SetKnownTaxiNodes to PlayerMethods
We have the ability to SetReactState, but we don't have to ability to GetReactState.
Also added GetKnownTaxiNodes and SetKnownTaxiNodes to PlayerMethods.
All 3 functions have been tested by me and are currently in use in a couple of scripts utilizing Eluna.
I've merged recent changes FROM master into this PR to see if the build is ok. The PR wasn't merged into master yet, but i plan to when the build is green.
The LuaJit build keeps failing here.
Is there anything I need to do?
In LuaJIT, the luaL_len function, which is typically used to get the length of a table, does not exist.
LuaJIT is designed to be lightweight and more performance-focused, so certain functions from the standard Lua API (such as luaL_len) are not available in LuaJIT.
In standard Lua, luaL_len is defined in the lauxlib.h header and is used to get the length of a table (as in luaL_len(L, index)).
In LuaJIT, you should use lua_objlen instead of luaL_len to obtain the length of a table.
Looks like this requires an #IFDEF block.
Can you try now with the newest commit?
Test code and Debug print showing retrieval of the table:
Looks like it is green now :)
Let me know if anything else is needed here.
Is there anyone else that can approve this pull request? All checks have passed and I don't know if something else is waiting or needed.
Any update?
It doesn't appear this will ever get merged/completed. Closing out this PR and just going to continue to work off of my fork.