Commit graph

279 commits

Author SHA1 Message Date
Timo Smit
27986cbf7a Added autodetection of standalone mode (refs #61) 2018-02-16 12:49:00 +01:00
Timo Smit
de27a4172b Fixed shrubbot flags for other mods (refs #46, #69, #62)
* changed !greeting flag from 'Q' to 'j' to maintain consistency across mods
* changed !cointoss flag to 'Z' so we do not take up another flag
* moved flags to separate files for each mod that includes shrubbot, autoloads on game init
2018-02-16 12:20:23 +01:00
Timo Smit
6a3459d988 Fixed mutes being checked regardless of module mode (refs #61) 2018-02-16 11:59:20 +01:00
Timo Smit
30750d7062 Fix for ACL system being loaded regardless of g_standalone setting
Caused by ACL command which requires the ACL system
2018-02-16 11:33:47 +01:00
Timo Smit
6282c0e9bf Fixed help texts in mute commands 2018-02-15 11:07:08 +01:00
Timo Smit
48522b8dcf Added util.typecheck function to ensure types in certain utility functions (fixes #78) 2018-02-13 11:45:11 +01:00
Timo Smit
25af884c7e Disabled GUID and ban check when database is disabled (fixes #83). 2018-02-13 11:02:38 +01:00
Timo Smit
8ef2d13015 Fixed consistency in deploy script (refs #73) 2018-02-13 09:39:35 +01:00
Timo Smit
ddb2c6fc21 Improved deploy script (refs #73)
* Improved several error messages
* Fixed several bugs related to fs_homepath
* Ability to create and copy pk3
2018-02-12 18:27:08 +01:00
Timo Smit
d27921ea1a Merge branch 'develop/1.1.1' of https://github.com/timosmit/wolfadmin into develop/1.2.0
# Conflicts:
#	luascripts/admin/admin.lua
#	luascripts/admin/rules.lua
#	luascripts/admin/warns.lua
#	luascripts/commands/admin/dewarn.lua
#	luascripts/commands/admin/listlevels.lua
#	luascripts/commands/admin/lock.lua
#	luascripts/commands/admin/putbots.lua
#	luascripts/commands/admin/readconfig.lua
#	luascripts/commands/admin/setlevel.lua
#	luascripts/commands/admin/showwarns.lua
#	luascripts/commands/admin/sprees.lua
#	luascripts/commands/admin/stats.lua
#	luascripts/commands/admin/unlock.lua
#	luascripts/commands/admin/warn.lua
#	luascripts/commands/client/pm.lua
#	luascripts/commands/client/r.lua
#	luascripts/commands/commands.lua
#	luascripts/commands/server/csay.lua
#	luascripts/db/mysql.lua
#	luascripts/db/sqlite3.lua
#	luascripts/game/sprees.lua
#	luascripts/players/greetings.lua
#	luascripts/players/stats.lua
#	luascripts/util/settings.lua
2018-02-12 14:49:39 +01:00
Timo Smit
49fbd3a8f0 Updated copyright 2018-02-12 14:48:34 +01:00
Timo Smit
ed882c58f0 Updated copyright 2018-02-12 14:37:49 +01:00
Timo Smit
68a31b62dd First attempt at a deployment script (refs #73)
Current known flaws:
* only accepts default name for sqlite database (wolfadmin.db)
2018-02-12 13:45:05 +01:00
Timo Smit
ecdd4d96c2 Removed usage instructions from license docs 2017-03-22 11:25:37 +01:00
Timo Smit
3927788b66 Updated MySQL scripts to make use of UTF-8 2017-03-21 18:54:33 +01:00
Timo Smit
875da02712 Fixed !setlevel from console returning unknown command 2017-03-18 12:36:43 +01:00
Timo Smit
2de8a2511c Fixed minor typos 2017-03-17 16:10:06 +01:00
Timo Smit
62126f4b98 Removed empty file 2017-03-17 16:04:45 +01:00
Timo Smit
fba434cf10 Fixed connected players not being added to database on mod init (regression after merge) 2017-03-17 15:40:10 +01:00
Timo Smit
cfd494a5e0 Merge branch 'develop/1.1.1' into develop/1.2.0
# Conflicts:
#	luamods/wolfadmin/db/db.lua
#	luamods/wolfadmin/main.lua
#	luamods/wolfadmin/util/files.lua
#	luamods/wolfadmin/util/tables.lua
#	luascripts/admin/admin.lua
#	luascripts/commands/admin/listlevels.lua
#	luascripts/commands/admin/showwarns.lua
#	luascripts/db/mysql.lua
#	luascripts/db/sqlite3.lua
2017-03-17 15:32:03 +01:00
Timo Smit
65a8ca1854 Fixed GPL link in README.md 2017-03-17 15:02:24 +01:00
Timo Smit
f9609a3260 Added extra condition for empty GUIDs 2017-03-17 15:01:59 +01:00
Timo Smit
034a926bc9 Fixed a file descriptor leak 2017-03-17 14:59:10 +01:00
Timo Smit
a767d7d82a Updated database (upgrade) scripts
* removed level history
* reordering based on constraints
* fixed history
2017-03-17 14:46:19 +01:00
Timo Smit
ab5403da14 Removed !listlevels and moved functionality into !showhistory 2017-03-17 14:05:43 +01:00
Timo Smit
78213fbc78 Updated and fixed upgrade scripts from 1.1.0
* SQLite should now be in correct order
* MySQL added
2017-03-17 13:36:12 +01:00
Timo Smit
3ecbb438cd Updated upgrade scripts from 1.1.0
* renamed scripts
* sqlite should now be consistent with a new database
2017-03-17 12:44:51 +01:00
Timo Smit
db83c8f53f Fixed minor typo 2017-03-17 12:41:27 +01:00
Timo Smit
88512ebca7 Renamed SQL update scripts 2017-03-17 10:33:29 +01:00
Timo Smit
f9b141e675 Updated MySQL database script
* fixed consistency with SQLite
* added tables that were already present in SQLite
2017-03-17 10:23:41 +01:00
Timo Smit
8e45df170b Fixed small typo in MySQL module 2017-03-17 09:29:20 +01:00
Timo Smit
71949e069f Updated MySQL module 2017-03-17 09:06:41 +01:00
Timo Smit
2298864acf Database function naming consistency 2017-03-17 08:53:23 +01:00
Timo Smit
815af34004 Fixed private message logging 2017-03-16 22:35:17 +01:00
Timo Smit
fe30fe8d87 PM can now be sent to multiple recipients (refs #46) 2017-03-16 21:02:23 +01:00
Timo Smit
5898b079bf Fixed rename checker not being reset on client disconnect 2017-03-15 16:25:54 +01:00
Timo Smit
87950f36ce Fixed incorrect invokerId being used for setlevel history 2017-03-15 16:00:06 +01:00
Timo Smit
370ec98e38 Removed some redundant checks 2017-03-15 15:51:37 +01:00
Timo Smit
0cc4aefcee Fixed GPL link in README.md 2017-03-15 14:16:40 +01:00
Timo Smit
730bbbeb17 Updated license for lua-toml and dependency list 2017-03-15 14:14:56 +01:00
Timo Smit
39caf003a7 Ported greetings, rules and spree messages to TOML format 2017-03-15 13:43:16 +01:00
Timo Smit
90c5af82dc Fixed files.loadFromCFG not always returning two arguments 2017-03-15 13:04:46 +01:00
Timo Smit
8034b9ab91 Added toml parser dependency 2017-03-15 12:34:22 +01:00
Timo Smit
8d14486d61 Add support for TOML-formatted configs (refs #60)
* added lua-toml as dependency
* removed cvars.cfg
* removed wolfadmin.cfg
* added wolfadmin.toml
* created compatibility checks for old configs
2017-03-14 22:43:15 +01:00
Timo Smit
a24eefa248 Some more colouring fixes (refs 164e1a4) 2017-03-14 22:38:34 +01:00
Timo Smit
164e1a4569 Updated colouring scheme of debug module
* colours now also used in console (check non-legacymod servers whether this works correctly)
* slightly different colouring scheme for console to increase readibility
2017-03-14 22:11:42 +01:00
Timo Smit
f3eab54330 Fixed auto unmute message not being printed 2017-03-14 20:35:53 +01:00
Timo Smit
16891a37c8 Added extra condition for empty GUIDs 2017-03-14 17:32:50 +01:00
Timo Smit
0a230d592d Fixed possibility to slap/gib players not playing or alive 2017-03-13 18:24:04 +01:00
Timo Smit
d31c6ff0a0 Fixed maxspree message being printed when first spree > 5 2017-03-13 17:19:35 +01:00