Commit Graph

8 Commits (40521c75f5846b1b199c44abd0c32fb1985c742d)

Author SHA1 Message Date
SilverNexus 062b6fd4d7 Adjust the schema update code to allow for schema updates, and apply the first one. 2022-12-10 17:53:44 -05:00
SilverNexus 8e8f09db9f Add primary key to the region table in the reputation schema.
Note this does not actually fix existing DBs, but it should prevent an issue with the region table being filled to the brim with duplicate entries. I still need to either script a path forward for existing tables, or otherwise clean up the duplicate entries.
2022-11-23 18:34:24 -05:00
Kevin Zheng ee16f00739 Do not cache sqlite3 connection
Stop caching sqlite3 connection between calls, because a connection
cannot be shared between multiple threads. Close the connection after
each transaction.
2022-06-08 20:44:57 -07:00
Nicolas Weeger f5f6429bf9 Store factions/reputation information in a file instead of memory. 2021-05-28 19:15:17 +02:00
partmedia 2b68d11846 Add reputation-based trigger
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20654 282e977c-c81d-0410-88c4-b93c2d0d6712
2018-12-30 05:15:57 +00:00
partmedia a218dd2560 Update reputation information
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20651 282e977c-c81d-0410-88c4-b93c2d0d6712
2018-12-30 00:55:36 +00:00
partmedia d7abe3b5f3 Separate schema files from init files
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20650 282e977c-c81d-0410-88c4-b93c2d0d6712
2018-12-30 00:55:26 +00:00
partmedia d77739aad0 Add initial reputation support
As reputation support is experimental and still under development, the
database is being kept in memory and is lost after every server restart.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20493 282e977c-c81d-0410-88c4-b93c2d0d6712
2017-08-15 22:49:01 +00:00