Project

Profile

Help

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...

Feature #657142

open

fcdb: provide Lua instance with access to game data, signals etc

Added by Marko Lindqvist almost 7 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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?)"


Related issues

Related to Freeciv - Feature #657143: fcdb: allow database.lua to set user's cmdlevel, delegation etcClosedMarko Lindqvist

Actions
Blocks Freeciv - Task #939772: S3_2 datafile format freeze (d3f)New

Actions
Actions #1

Updated by Marko Lindqvist almost 7 years ago

  • Blocks Task #656466: S3_0 datafile format freeze (d3f) added
Actions #2

Updated by Jacob Nevins over 5 years ago

This was gna patch #3385 .

Actions #3

Updated by Jacob Nevins over 5 years ago

  • Related to Feature #657143: fcdb: allow database.lua to set user's cmdlevel, delegation etc added
Actions #4

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.
Actions #5

Updated by Marko Lindqvist about 5 years ago

  • Blocks Task #673656: S3_1 datafile format freeze (d3f) added
Actions #6

Updated by Marko Lindqvist about 5 years ago

  • Sprint/Milestone changed from 3.0.0 to 3.1.0
Actions #7

Updated by Marko Lindqvist about 5 years ago

  • Blocks deleted (Task #656466: S3_0 datafile format freeze (d3f))
Actions #8

Updated by Marko Lindqvist about 2 years ago

  • Sprint/Milestone changed from 3.1.0 to 3.2.0

To be postponed to 3.2 with Feature #657143

Actions #9

Updated by Marko Lindqvist about 2 years ago

  • Blocked by Task #939772: S3_2 datafile format freeze (d3f) added
Actions #10

Updated by Marko Lindqvist about 2 years ago

  • Blocked by deleted (Task #939772: S3_2 datafile format freeze (d3f))
Actions #11

Updated by Marko Lindqvist about 2 years ago

  • Blocks Task #939772: S3_2 datafile format freeze (d3f) added
Actions #12

Updated by Marko Lindqvist about 2 years ago

  • Blocks deleted (Task #673656: S3_1 datafile format freeze (d3f))

Also available in: Atom PDF