Commit Graph

148 Commits

Author SHA1 Message Date
Timo Smit 72f5b32cd2 Added logging module and log chat (issue #65) 2017-01-28 15:24:34 +01:00
Timo Smit f2458bb3a5 Removed debug output for opening files which might spam server console 2017-01-28 15:23:32 +01:00
Timo Smit ad7b7c64e3 Commands now make use of lua's ellipsis instead of cmdArguments (refs #62) 2017-01-26 19:16:40 +01:00
Timo Smit 5df8c2874f Fixed nil entity error 2017-01-22 12:32:17 +01:00
Timo Smit f39284074b Fixed missing dependencies 2017-01-22 11:34:11 +01:00
Timo Smit 04c78f0886 Fixed !stats command on legacymod (refs #46) 2017-01-21 18:04:31 +01:00
Timo Smit 3231ea6c74 Implemented /pm and /r for legacymod (refs #46) 2017-01-21 17:34:36 +01:00
Timo Smit 99817beb31 Fixed missing dependency 2017-01-21 17:28:02 +01:00
Timo Smit 9fdd36e772 Reworked some commands to disable them when in standalone mode (refs #61, #62) 2017-01-21 17:11:32 +01:00
Timo Smit 7e5c009484 Updated SQLite script with more levels and roles (refs #62, #69)
* also added transactions to improve performance
2017-01-21 16:06:25 +01:00
Timo Smit f0618d8274 Removed unused variable from server commands (refs #75) 2017-01-21 15:30:03 +01:00
Timo Smit 75a19dfcc2 Fixed admin chat not working 2017-01-21 15:10:49 +01:00
Timo Smit 1ca7070646 Fixed acl command calling error function 2017-01-21 14:51:13 +01:00
Timo Smit 0531d27220 Fixed unknown client on several commands
* legacy returns nil instead of -1 for et.ClientNumberFromString()
2017-01-21 14:36:57 +01:00
Timo Smit 7dce37972b Sanitize command input (fixes #67) 2017-01-21 14:32:48 +01:00
Timo Smit 449e6c856f Fixed minor issues on several commands
* gib now by correct attacker (world entity)
* listlevels should not read shrubbot in standalone mode
2017-01-21 14:29:29 +01:00
Timo Smit 839036eb23 Fixed minor SQLite issue
* replace escape with tonumber for an integer value
2017-01-21 12:22:09 +01:00
Timo Smit e36d70aefa Fixed minor rename issue caused by 9012d54da4 (refs #69, #75) 2017-01-21 12:19:07 +01:00
Timo Smit 9012d54da4 Misc auth improvements (refs #69, #75)
* renamed methods to camelCase
* renamed methods to be more precise
* auth.isPlayerAllowed now returns boolean values
2017-01-21 12:16:26 +01:00
Timo Smit 004ebea736 Reworked commands.lua
* improved documentation
* removed default W:ET client commands, moved to separate files
2017-01-21 11:57:14 +01:00
Timo Smit 86a427964d Fixed logging (refs #65) and improved logging format in standalone mode 2017-01-21 10:43:39 +01:00
Timo Smit 702ed2748d Added acl command for server console (refs #62, #69) 2017-01-20 19:53:55 +01:00
Timo Smit a2808f3130 Removed levelTime from main 2017-01-18 19:03:47 +01:00
Timo Smit cd4bf52aea Dynamic loading of modules (fixes #71) 2017-01-18 15:52:25 +01:00
Timo Smit 7a93c4bfc9 Improved directory structure (fixes #72) and added pk3 contents to repo 2017-01-18 14:49:48 +01:00
Timo Smit 4ae1421f0b Merge branch 'develop/1.1.0' into develop/1.2.0
# Conflicts:
#	luascripts/commands/admin/listaliases.lua
#	luascripts/commands/admin/listlevels.lua
#	luascripts/commands/admin/plock.lua
#	luascripts/commands/admin/punlock.lua
#	luascripts/commands/admin/setlevel.lua
#	luascripts/commands/admin/showhistory.lua
#	luascripts/commands/admin/stats.lua
#	luascripts/commands/admin/vmute.lua
#	luascripts/commands/admin/vunmute.lua
#	luascripts/commands/admin/warn.lua
2017-01-17 20:20:53 +01:00
Timo Smit 9eee8e8564 Fixed minor bugs caused by sanitizing (refs #67) 2017-01-17 20:12:00 +01:00
Timo Smit c261a10c9f Added getHomePath() function, move SQLite database to homepath 2017-01-17 19:26:56 +01:00
Timo Smit dcb2859378 Fixed minor bugs 2017-01-17 12:02:03 +01:00
Timo Smit 87ece57322 Fixed inconsistency between database and script 2017-01-16 23:09:19 +01:00
Timo Smit c0d2aa0e92 Sanitizing some client input (fixes #67) 2017-01-16 19:49:00 +01:00
Timo Smit f54e5aec36 Fixed inconsistency 2017-01-16 18:02:50 +01:00
Timo Smit 44c10910e1 Fixed more inconcistencies between database script + lua script 2017-01-16 17:45:40 +01:00
Timo Smit 7620862fc1 Fixed undefined player issue at connection 2017-01-16 17:36:57 +01:00
Timo Smit 0001bc7a12 Fixed wrongly named column 2017-01-16 17:34:06 +01:00
Timo Smit 2d4191f03f Minor bugfixes regarding new players 2017-01-15 12:27:18 +01:00
Timo Smit 9d4aaa7a62 Revert "PRIMARY KEY consistency"
This reverts commit c7319028b6.
2017-01-15 11:51:19 +01:00
Timo Smit c7319028b6 PRIMARY KEY consistency 2017-01-14 15:15:36 +01:00
Timo Smit c9889d4598 Load mutes from database and apply to online players (issue #55) 2017-01-14 15:14:43 +01:00
Timo Smit f8ec599932 Fixed missing module 2017-01-14 14:41:48 +01:00
Timo Smit 3252c6a563 Implemented team locking (issue #62) 2017-01-14 14:30:39 +01:00
Timo Smit 039855b4d0 Fixed module loading 2017-01-13 20:12:46 +01:00
Timo Smit 8977ba41cb Implemented basic ACL functionality (issue #69) 2017-01-13 18:59:14 +01:00
Timo Smit 958b2de6f9 Version 1.1.0-beta to 1.2.0-dev 2017-01-13 14:34:46 +01:00
Timo Smit b2a5fb53fe SQLite update
Contains update for new level setup
2017-01-12 21:12:23 +01:00
Timo Smit a9004cdb21 SQLite script update (issue #55)
Contains create statements for mute, bans and history.
2017-01-12 21:08:07 +01:00
Timo Smit f8cbba943f Advanced player punishments (issue #55)
Warns, mutes and bans are stored in the database. A history is available through !showhistory [player] and !showwarns has been merged into this.
2017-01-12 18:26:45 +01:00
Timo Smit f0af3cfe03 Fixed util.getTimeFromString returning unnecessary floating point 2017-01-12 13:54:02 +01:00
Timo Smit a14f5f1b32 Copyright update 2017-01-04 10:38:25 +01:00
Timo Smit 2e26cbc257 Fixed !finger command executing on wrong client 2016-12-15 16:26:39 +01:00