Commit graph

286 commits

Author SHA1 Message Date
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
Timo Smit
74b9490433 Fixed possible floating point error in command logging 2016-11-30 14:20:43 +01:00
Timo Smit
2275d4830f Fixed console id in command logging 2016-11-30 14:20:04 +01:00
Timo Smit
d33beade2b Fixed name retrieval of console id 2016-11-30 14:18:45 +01:00
Timo Smit
0c3f0d84ee Fixed wrong client id being logged as warn invoker 2016-11-30 14:17:27 +01:00
Timo Smit
4145dd87ba Removed dependencies on stats module (issue #63) 2016-11-15 14:41:47 +01:00
Timo Smit
02dd69efea Reworked sprees module so it doesn't make use of stats anymore (issue #63) 2016-11-15 14:33:58 +01:00
Timo Smit
de294b23d6 Fix for console GUID 2016-11-15 14:20:04 +01:00
Timo Smit
c3cb849eb1 Fixed more uninitialized variables 2016-11-15 14:05:13 +01:00
Timo Smit
01e60a5055 Fixed uninitialized variable 2016-11-15 13:58:36 +01:00
Timo Smit
d3449f847b Fixed missing module 2016-11-15 13:25:06 +01:00
Timo Smit
2fa0815a97 Removed unused table 2016-11-14 17:01:20 +01:00
Timo Smit
6facbf0a7d Further commented out rename limiter 2016-11-14 16:55:57 +01:00