Skip to content

Lua Error: attempt to call method 'GetPlayersInWorld' that does not exist for map states (AzerothCore) #24

Description

@Shayan-Emami

I'm encountering an issue, When loading the script on AzerothCore, errors are generated in the console indicating that GetPlayersInWorld does not exist for specific map states

Here are the error messages:
lua_scripts/AIO_Server/AIO.lua:942: attempt to call method 'GetPlayersInWorld' that does not exist for state: 0 [Eluna]: Executed 15 Lua scripts in 3 ms for map: 0, instance: 0 lua_scripts/AIO_Server/AIO.lua:942: attempt to call method 'GetPlayersInWorld' that does not exist for state: 1 [Eluna]: Executed 15 Lua scripts in 3 ms for map: 1, instance: 0 lua_scripts/AIO_Server/AIO.lua:942: attempt to call method 'GetPlayersInWorld' that does not exist for state: 530 [Eluna]: Executed 15 Lua scripts in 3 ms for map: 530, instance: 0 lua_scripts/AIO_Server/AIO.lua:942: attempt to call method 'GetPlayersInWorld' that does not exist for state: 571 [Eluna]: Executed 15 Lua scripts in 2 ms for map: 571, instance: 0 lua_scripts/AIO_Server/AIO.lua:942: attempt to call method 'GetPlayersInWorld' that does not exist for state: 609 [Eluna]: Executed 15 Lua scripts in 2 ms for map: 609, instance: 0

It appears that GetPlayersInWorld is not a valid method for the map state objects being used. If anyone has insight into whether this function was removed, renamed, or needs a different call in AzerothCore's Eluna implementation, guidance would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions