Commit Graph

13 Commits

Author SHA1 Message Date
Ryan Newell 02d10842fe Fixed compatibility with older auth.txts, changed variable name, and changed how the last_login time is set 2014-10-20 13:26:30 -07:00
Ryan Newell 6f9aeaea85 Stores login time as time since epoch, and formats the time in the the chat command 2014-10-17 16:53:11 -07:00
Ryan Newell 7fc82ff033 Add chat command to get a players last login time 2014-10-16 16:27:46 -05:00
Ryan Newell 4556de1087 FIxed some problems 2014-10-15 18:32:09 -05:00
Ryan Newell 9f5d8f1bde Added lastlogin time to auth.lua and server.cpp now saves when a player logins in. Hopefully 2014-10-14 21:06:19 -05:00
ShadowNinja c4359ff65c Use "core" namespace internally 2014-05-08 13:02:04 -04:00
ShadowNinja db4ea4658c Only push the Lua error handler once 2014-04-27 16:15:53 -04:00
ShadowNinja 31fe72dbac Remove lua_State parameter from LuaError::LuaError 2014-03-15 16:28:59 -04:00
ShadowNinja f8b7555558 Revert "Make sure we get a stacktrace for as many lua errors as possible"
This reverts commit 362ef5f6ce.

Stack tracebacks couldn't be generated in LuaError::LuaError anyway and this
caused a second, empty traceback in most cases.  In cases where there wasn't
annother traceback the stack had already unwound and the traceback was empty.
2014-03-15 16:01:06 -04:00
Sfan5 362ef5f6ce Make sure we get a stacktrace for as many lua errors as possible 2014-03-15 14:51:00 +01:00
ShadowNinja 49cec3f782 Handle LuaErrors in Lua -> C++ calls on LuaJIT 2013-12-18 16:35:55 -05:00
ShadowNinja 371b39a09a Pass a errfunc to lua_pcall to get a traceback 2013-11-15 14:13:31 -05:00
Kahrl 4e1f50035e Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2013-08-14 21:03:33 +02:00