HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
fcdb: provide Lua instance with access to game data, signals etc
Jacob Nevins <jtn>:
"It seems to me that much of the potential of the fcdb/luasql system is lost with the current facilities available to the Lua script database.lua.
For instance, if it had read access to game data and could receive signals, you could log game/score statistics, etc.
(I'm guessing this is the sort of thing book had in mind for "Easily extended beyond just auth" back in bug #13643?)"
Updated by Zoltán Žarkov over 5 years ago
Since this feature is pretty nonspecific, I'll treat it as a metaticket for all of the fcdb extensions I'm planning.
- Add luasql-odbc (fcweb.org is hosted on azure for now, so database is mssql).
- luasocket + json.lua would be nice to be able to call http apis for auth and other stuff like logging scores.
- Change the API of script_fcdb_call to be able to return values directly from lua stack.
- Remove hardcoded md5 password hashing and offload to lua. Add crypt(3) and md5 hashing libraries to lua environment.