Commit Graph

140 Commits

Author SHA1 Message Date
in1tiate
1a7c23f404 simplify /afk to just set is_afk to true
previously it would toggle is_afk, but because
sending the command sends a CT packet, you could
never toggle AFK off with /afk because it would have
been toggled off due to activity immediately prior to
using it
2021-04-15 06:49:09 -05:00
in1tiate
f0412e0e05 add AFK system 2021-04-15 06:34:31 -05:00
in1tiate
461c4f9d6e add iniswap toggle command 2021-04-14 16:38:38 -05:00
in1tiate
6ed4909088 add ability to force immediate text processing 2021-04-14 16:32:24 -05:00
scatterflower
853e6e3ff4
Merge pull request #60 from Salanto/Testimony-Playback
Add testimony playback
2021-04-14 14:11:10 -05:00
Salanto
d197f5d619 Fix compile error for real this time. 2021-04-14 18:00:20 +02:00
Salanto
2b04075d33
Try to fix compile error with Github Editor
I hate this.
2021-04-14 09:57:11 +02:00
MangosArentLiterature
8e4f8c31c7 Add /shake
- also adds /unshake
2021-04-14 02:09:58 -05:00
Salanto
fb7ad8c25f
Merge branch 'master' into Testimony-Playback 2021-04-14 09:03:28 +02:00
Salanto
529a14bf1b
Allow delete without examination 2021-04-14 08:54:20 +02:00
MangosArentLiterature
9b54a44a52 Add /disemvowel 2021-04-14 01:45:26 -05:00
MangosArentLiterature
7d7f25f4cb Merge branch 'master' into joke-mod-commands 2021-04-14 00:47:27 -05:00
scatterflower
e51fc8de37
Merge pull request #68 from AttorneyOnline/8ball
Minor fix to /8ball
2021-04-14 00:30:44 -05:00
MangosArentLiterature
5f0cc8537f Add /reload
Ceraptor helped me figure this out.

- Adds /reload to reload values from config.ini, command config files, and recontact the master server
- Adds Server::requestReload and Advertiser::reloadRequested
- Adds QString server_desc and some minor changes to config loading.
2021-04-13 16:43:50 -05:00
MangosArentLiterature
c2d1286e27 Merge branch 'master' into config-loading 2021-04-13 15:53:24 -05:00
Salanto
c61f578b40 Add some documentation + add sample config
Also removes some redundant functions and adds the respective commands.
2021-04-13 21:15:33 +02:00
Salanto
7eaf129b8b Fix compile error 2021-04-12 22:47:02 +02:00
Salanto
4bc53ab61c Make basic system functionality actually work
Reminder to add docs
2021-04-12 22:42:02 +02:00
Salanto
15d4deebd3 At least make the intro message work 2021-04-12 00:20:10 +02:00
scatterflower
3ef7901b6d
Merge pull request #63 from AttorneyOnline/mod-commands
Add /judgelog and /baninfo commands
2021-04-10 00:44:59 -05:00
MangosArentLiterature
a2013aa32e Cleanup getBanInfo and cmdJudgeLog
- Removes unneeded parentheses from AOClient::cmdJudgeLog()
- Removes duplicate code in DBManager::getBanInfo()
2021-04-10 00:43:08 -05:00
scatterflower
8a5be8bc2c fix timer 2021-04-09 22:51:00 -05:00
MangosArentLiterature
86c25555b2 Add a new method of loading values from config.ini
- Centralizes the loading of values from config.ini, loading them all in at server start and holding them in memory.
- Removes all other methods of loading config.ini values and replaces them with references to these central values.
- Removes getServerName() and getDiceValue()
2021-04-09 19:18:46 -05:00
scatterflower
2a2171dc42 clean up timer command, fix crash 2021-04-09 15:32:17 -05:00
MangosArentLiterature
43ce86ff12 Add /ungimp 2021-04-09 15:07:09 -05:00
MangosArentLiterature
9c4a1a99a5 Minor tweak to /8ball
clean up that code and fix the index
2021-04-09 03:24:54 -05:00
MangosArentLiterature
23d50b9216 Add /gimp
- Also adds some documentation of other joke mod commands to aoclient.h.
2021-04-09 03:18:10 -05:00
MangosArentLiterature
cff51674bb Update /8ball and AOClient::getReprimands to use the new command config loader 2021-04-08 22:51:51 -05:00
MangosArentLiterature
bd0efe40f6 Merge branch 'master' into mod-commands 2021-04-07 15:30:45 -05:00
MangosArentLiterature
2d793f4a99 Add /baninfo command
- Adds getBanInfo() to db_manager, which queries bans by banid, hdid, or ipid
2021-04-07 15:26:14 -05:00
MangosArentLiterature
ea0df75a88 Merge branch 'master' into mod-commands 2021-04-07 00:45:56 -05:00
MangosArentLiterature
735f886d15 Fix filtering out IPIDs for CM users 2021-04-06 15:22:36 -05:00
MangosArentLiterature
d73a7292fc Add a check to /judgelog to only send IPIDs to users with appropriate permissions 2021-04-06 13:50:06 -05:00
MangosArentLiterature
d98eedd6e9 Add /judgelog command
Adds a judgelog to each area and a helper function to update it. Adds /judgelog to retrieve it.
2021-04-06 00:41:28 -05:00
Salanto
c841f74196 Add allow_blankposting-command
+ update sample config
2021-04-05 23:18:08 +02:00
MangosArentLiterature
0f4173bcea
Merge branch 'master' into 8ball 2021-04-05 12:18:43 -05:00
Salanto
e1c578b8ee Add lm-command
Mango was disappointed when they learned I already did this several days ago and forgot about it.
2021-04-05 03:02:38 +02:00
MangosArentLiterature
272719f245 Fix /8ball output 2021-04-04 17:31:02 -05:00
MangosArentLiterature
b1c00cb46f Add /8ball 2021-04-04 16:16:37 -05:00
in1tiate
dfcc68817a
Merge branch 'master' into notecards 2021-04-04 02:04:42 -05:00
scatterflower
428053934a
Merge pull request #37 from Salanto/evidence_swap
Add /evidence_swap
2021-04-03 17:18:00 -05:00
MangosArentLiterature
f09adf4901 check for valid auth_type
Actually check if auth_type is set to advanced, otherwise warn about invalid settings
2021-04-03 16:24:34 -05:00
Salanto
026c9e778e Add missing bracket
That closing bracket is kinda important
2021-04-03 17:11:58 +02:00
Salanto
013a7ecfa1
Merge branch 'master' into evidence_swap 2021-04-03 17:05:54 +02:00
Salanto
173e9b3f7b Add check for older Qt versions 2021-03-31 15:30:01 +02:00
Salanto
1ed233b26a Add guard statements 2021-03-31 15:30:01 +02:00
Salanto
6b4a19ca66 English is hard 2021-03-31 15:30:01 +02:00
Salanto
a2153e58a5 Remove empty line 2021-03-31 15:30:01 +02:00
Salanto
27103e9620 Fix crash on empty evidence list 2021-03-31 15:30:01 +02:00
Salanto
f18c8733d0 Negative numbers not needed. 2021-03-31 15:30:00 +02:00