Commit Graph
14 Commits
Author SHA1 Message Date
David Cernat 14bd073102 [General] Implement ban system and associated commands
Create banlist.json file.

Add playerName argument to Player initialization to allow the reading of player files for players who are offline.

Fix confusing syntax for some command descriptions.

Rename pname into playerName in all instances for consistency in variable naming.

Remove unnecessary spaces at the ends of certain rows.

Remove unnecessary lib/.gitkeep
2017-07-27 20:51:09 +03:00
David Cernat 2aebbe1f0a [Database] Don't use data from empty rows when loading player 2017-04-04 02:10:36 +03:00
David Cernat 2c900b5c9d [General] Fix small discrepancy in spacing 2017-04-04 00:40:35 +03:00
David Cernat c45bb39e82 [General] Use new tableHelper class, make requires consistent 2017-04-04 00:22:53 +03:00
David Cernat fe3ed6ba79 [Player] Update player loading from database 2017-04-04 00:08:07 +03:00
David Cernat 2d52daa234 [Database] Fix column name and stop requiring LIP in player.sql 2017-03-28 08:03:20 +03:00
David Cernat 0cadb43596 [Player] Load player from database correctly as of now 2017-03-27 05:05:04 +03:00
David Cernat 34ea79c6cb [Player] Get dbPid using self.accountName and stop using LIP in sql.lua 2017-03-26 22:09:21 +03:00
David Cernat a8008aab14 [Player] Check if account exists in database 2017-03-26 20:51:56 +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 8aa5f90f71 [Database] Prevent SQL injection through player names 2017-03-25 19:32:43 +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 b6f5fcce64 Change IsLoggedOn & LoggedOn into IsLoggedIn & FinishLogin
"Logging on" usually has a different meaning than "logging in." In the context of players putting in their names and passwords, we should use the latter.

For more information, read http://stackoverflow.com/a/406034
2017-02-19 01:46:43 +02:00
Koncord bf665b1c57 Start SQL implementation for Player class 2016-12-05 23:49:05 +08:00