mt-mods / beowulf

anticheat mod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nil at info.lang_code ==> crash at login

Festus1965 opened this issue · comments

under server engine 5.2.0 the

  • logging.lua
  • at line 7
    " lang_code: " .. info.lang_code
    leads to crash when clients join (5.2.0 or 5.4.1 tested/seen)

my solution:

  • logging.lua
  • comment out line 7 (easy version), but need to delete the both ",," at end of line 6 !
  • enlarge new code after
if info.lang_code == nil then
        msg = msg .. " lang_code: nil"
    else
        msg = msg .. " lang_code: " .. info.lang_code
    end