{While I have been able to figure out most of Nakama by reading the docs, looking at examples, or trial and error, this issue has me stumped. I have two lua scripts in my module folder: “CoreLogic.lua” and “MatchState.lua”. The second one holds the match handler function callbacks as described in the docs. When I execute the following function from the CoreLogic script:
local function createMatch( match_info )
nk.logger_info(“Creating a new Match”)local modulename = “MatchState”
local setupstate = { mInfo = match_info }
local matchid = nk.match_create(modulename, setupstate)
return matchid
end
I receive the following error in the logs:
{“level”:“error”,“ts”:“2021-11-18T21:26:56.459Z”,“caller”:“server/runtime_lua.go:1226”,“msg”:“Runtime RPC function caused an error”,“id”:“gamematch”,“error”:“data/modules/CoreLogic.lua:1553: match_signal not found or not a function\nstack traceback:\n\t[G]: in function ‘match_create’\n\tdata/modules/CoreLogic.lua:1553: in main chunk\n\t[G]: ?”}
I have parsed over every bit of sample code at my disposal with a fine-toothed comb, but have been unable to find any obvious syntax or context errors that I’ve made. I’ve also searched for more information, but as of yet have found nothing to help solve this issue. I would greatly appreciate any assistance that anyone could provide.}
- Versions: Nakama {3.9}, {Docker}, {Godot SDK, version not listed in files}
- Server Framework Runtime language (If relevant) {Lua}
{code or log snippet}
Media: