I just started a etded-server hobby instance based on silent and tried to get the kspree.lua
from http://mygamingtalk....load/22-kspree/ to run.
The startup looks okay and I can stat the module with "/lua_status" in game.
But the killing sprees won't get announced. Instead the server.log shows
me following error.
6:21 Lua API: et_Obituary error running lua script: [string "kspree.lua"]:430: tried to get invalid gentity field "sess.sessionTeam" 7:45 Lua API: et_Obituary error running lua script: [string "kspree.lua"]:430: tried to get invalid gentity field "sess.sessionTeam"
The suspicious lines in the kspree.lua
427 function et_Obituary(victim, killer, mod) 428 if gamestate == 0 then 429 local v_teamid = et.gentity_get(victim, "sess.sessionTeam") 430 local k_teamid = et.gentity_get(killer, "sess.sessionTeam") 431 local weapon = et.gentity_get(victim, "s.weapon")
Now it doesn't really make sense that the code does work for the victim but not for the killer.
So I guess the errors are not immediately related to the script..
But that's just my guess and I am bit puzzled on this one.
Any ideas suggestions?
P.S. try it on ethorst.de.vu