David Cernat
|
4558fbe0d4
|
[Database] Save non-numerical player tables instead of using fixed list
|
2017-03-28 06:25:10 +03:00 |
|
David Cernat
|
0cadb43596
|
[Player] Load player from database correctly as of now
|
2017-03-27 05:05:04 +03:00 |
|
David Cernat
|
8d19af2bf4
|
[Database] Add Database:SelectRow() and Database:LoadPlayer()
|
2017-03-27 05:02:10 +03:00 |
|
David Cernat
|
ba78c8193e
|
[Database] Return nil instead of -1 in Database:GetSingleValue()
|
2017-03-27 05:00:37 +03:00 |
|
David Cernat
|
dc3befcbdd
|
[Player] Split off data.general into data.login & data.settings
|
2017-03-25 23:32:02 +02:00 |
|
David Cernat
|
0bb70e919d
|
[Database] Temporarily use both LIP & Database methods in player/sql.lua
|
2017-03-25 09:04:55 +02:00 |
|
David Cernat
|
eebc366687
|
[Database] Use dbPidRow and constraintRow variables to avoid repetition
|
2017-03-25 06:03:57 +02:00 |
|
David Cernat
|
31549b81d8
|
[Database] Add tables for stats, attributes and skills
|
2017-03-25 05:47:34 +02:00 |
|
David Cernat
|
ebd5c57991
|
Add table.shallowcopy() and use it when saving player tables to database
|
2017-03-25 05:41:02 +02:00 |
|
David Cernat
|
219498866a
|
Escape inserted values
|
2017-03-25 00:05:46 +02:00 |
|
David Cernat
|
29a616a27c
|
Replace data in rows that already exist
|
2017-03-24 23:01:03 +02:00 |
|
David Cernat
|
21ee582d42
|
Create player_location table
|
2017-03-24 22:30:15 +02:00 |
|
David Cernat
|
21a12796d5
|
Add Database:DeleteRows() and allow nil responses to queries
|
2017-03-24 21:49:33 +02:00 |
|
David Cernat
|
c476ec578b
|
Use foreign key constraints for dbPid and only save valid player tables
|
2017-03-24 21:48:02 +02:00 |
|
David Cernat
|
fc22260564
|
Handle nil values in Database:GetSingleValue()
|
2017-03-24 20:18:52 +02:00 |
|
David Cernat
|
fc988dd19a
|
Make it possible to fetch a single value from an SQL table
|
2017-03-22 06:21:26 +02:00 |
|
David Cernat
|
dd877fe86c
|
Create player_character table & rename a character data key
|
2017-03-22 02:11:41 +02:00 |
|
David Cernat
|
be7beead6d
|
Make it possible for player data to get saved to matching SQL tables
|
2017-03-22 01:19:16 +02:00 |
|
David Cernat
|
799dfb52d3
|
Allow "default" value for consoleAllowed
|
2017-03-21 22:25:04 +02:00 |
|
David Cernat
|
c63b60e4d3
|
Add dbPid primary key to players_general & use SQLite-specific datatypes
|
2017-03-21 21:31:18 +02:00 |
|
David Cernat
|
b9e3f19613
|
Make it possible to insert rows automatically from value tables
|
2017-03-16 00:38:13 +02:00 |
|
David Cernat
|
8825bd441f
|
Make it possible to create tables automatically from column lists
|
2017-03-15 22:26:12 +02:00 |
|
David Cernat
|
c86d1084ca
|
Create players_general table if it doesn't already exist
|
2017-03-15 20:48:53 +02:00 |
|
David Cernat
|
c58ddc3c77
|
Move database.lua from lib folder to scripts folder
|
2017-03-15 20:07:42 +02:00 |
|