in1tiate
b1dfeec8f5
euthanize morton, code cleanup
2021-04-15 13:58:41 -05:00
in1tiate
122e993a8b
condense some overly long code (ty marisa)
2021-04-15 13:49:27 -05:00
MangosArentLiterature
06b70a35d5
Make maximum_statements actually get loaded in
...
Also has the effect of making it changeable with /reload, hooray!
2021-04-15 11:53:20 -05:00
in1tiate
c9700f236f
more cleanly handle empty input, snip debug call
2021-04-15 10:26:46 -05:00
in1tiate
12bba40a99
implement case announcements
2021-04-15 10:25:25 -05:00
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
9c6fa22ee5
fix being told youre afk twice if you use /afk before the timer runs out
2021-04-15 06:48:07 -05:00
in1tiate
a32b33d957
even more elegant repeat afk fix
2021-04-15 06:44:14 -05:00
in1tiate
96f2204b79
more elegantly fix repeated AFKing
2021-04-15 06:42:14 -05:00
in1tiate
42ca1d2779
fix AFK message being sent repeatedly
2021-04-15 06:40:07 -05:00
in1tiate
f0412e0e05
add AFK system
2021-04-15 06:34:31 -05:00
Marisa P
4c5c40b497
Merge pull request #71 from AttorneyOnline/nonint_pres
...
Add ability to force immediate text processing (/force_noint_pres) and command to toggle iniswapping (/allow_iniswap)
2021-04-15 01:01:06 -05:00
MangosArentLiterature
78c51cad41
Fix cmdAddStatement
...
- Fix cmdAddStatement not being in the command table
- Fix add statement not correctly setting added statements to green text
2021-04-15 00:59:22 -05:00
MangosArentLiterature
7dca20efe5
Splitting commands part 1, authentication
2021-04-15 00:49:57 -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
a62e0e82a2
set pos to "wit" before sending packet during testimony playback
2021-04-13 18:40:05 -05:00
Salanto
1aa5361fe9
Simple pos filter
2021-04-14 00:58:00 +02:00
MangosArentLiterature
2a08f96386
Add >[statement] support
...
- Adds a regex to detect >[statement]
- Also puts titles on a new line like AA
2021-04-13 17:43:23 -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
Salanto
f4426fbf34
Merge branch 'master' into Testimony-Playback
2021-04-11 22:33:20 +02:00
Salanto
6639a39b0c
Butchering any sanity of the IC Packet handling one commit at a time
2021-04-11 22:32:37 +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
08a8e63d86
fix stupid crash
2021-04-10 00:42:06 -05:00
scatterflower
74f171f139
Merge pull request #67 from AttorneyOnline/tsulike-antispam
...
Use per-area antispam rather than per-client, allow for multiple subsequent blankposts
2021-04-10 00:35:29 -05:00
scatterflower
8a5be8bc2c
fix timer
2021-04-09 22:51:00 -05:00
MangosArentLiterature
e529086f21
Minor tweak of loading command configs
2021-04-09 19:48:21 -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
in1tiate
a621ae6113
alter antispam to function more like tsu3
2021-04-09 03:05:15 -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
290862c504
Add a new system of loading configuration files for commands.
...
- Adds ConfigManager::verifyCommandConfig(), which verifies the command config files found in config/text/ exist and are files.
- Adds Server::loadConfigFile(), which returns the contents of a txt file in config/text/ into a stringlist.
- Adds Server::loadCommandConfig(), which loads stringlists for commands to utilize using loadConfigFile().
2021-04-08 22:51:04 -05:00
scatterflower
c7888d777c
woops change that var name too
2021-04-08 14:09:33 -05:00
scatterflower
18597cb4a3
fix incorrectly setting char_id when argument is invalid
2021-04-08 14:06:27 -05:00
MangosArentLiterature
43d73f7b91
Fix current char being removed from the char_taken list too early
2021-04-08 14:02:59 -05:00
Salanto
07ec9f9d1c
Merge branch 'master' into Testimony-Playback
2021-04-08 00:05:12 +02:00
Salanto
5c3c92c603
Some basic layout on how to approach this
2021-04-08 00:02:30 +02:00
Salanto
cfdee9b56e
I slowly regret ever thinking I could do this Part 1
2021-04-07 23:52:45 +02: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
scatterflower
5f405c20bc
Merge pull request #57 from Salanto/allow_blankposting-command
...
Add allow_blankposting-command
2021-04-07 00:31:15 -05:00
MangosArentLiterature
ea131504e7
Prevent additive text between different characters.
2021-04-06 23:45:47 -05:00
MangosArentLiterature
eeab77c136
Add a single blankspace to the front of additive messages.
...
in1t basically wrote this code. Currently Akashi trims blankspaces, making additive text appear.like so. This remedies it by adding a single blank space to the front of additive messages.
2021-04-06 22:05:04 -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
scatterflower
9aab9f30bc
Merge pull request #53 from MangosArentLiterature/logger
...
Add configurable logging options
2021-04-04 03:20:07 -05:00
MangosArentLiterature
e3e3315da6
remove raiden
2021-04-04 03:16:19 -05:00
MangosArentLiterature
d51203e634
Add configurable logging options
2021-04-04 02:47:36 -05:00
in1tiate
dfcc68817a
Merge branch 'master' into notecards
2021-04-04 02:04:42 -05:00
scatterflower
b12cec09da
increment ver string and fix off by one out of bounds char selection
2021-04-03 23:57:45 -05:00
MangosArentLiterature
6511e13585
Save server logs to logs/ instead of config/
2021-04-03 20:35:21 -05:00
scatterflower
428053934a
Merge pull request #37 from Salanto/evidence_swap
...
Add /evidence_swap
2021-04-03 17:18:00 -05:00
scatterflower
99f8695b60
Merge pull request #52 from MangosArentLiterature/auth-type-checking
...
Add checks to ensure auth_type is set correctly in config_manager.cpp and commands.cpp
2021-04-03 17:08:14 -05:00
MangosArentLiterature
febaf21c0d
Check for correct auth_type in config.ini
...
When initializing config.ini, ensure auth_type is set to a recognzied value.
2021-04-03 17:00:45 -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
MangosArentLiterature
10745f110f
Merge pull request #4 from AttorneyOnline/fix-showname
...
fix showname being set to " " when it shouldn't
2021-04-03 13:16:46 -05:00
in1tiate
57b32819e7
fix showname being set to " " when it shouldn't
2021-04-03 13:01:34 -05:00
MangosArentLiterature
97276b993d
Merge pull request #3 from AttorneyOnline/master
...
Synch to R2
2021-04-03 10:48:30 -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
scatterflower
737f2f102e
update ver string
2021-04-03 03:49:36 -05:00
scatterflower
5e79cf3f9f
allow blank showname
2021-04-03 03:29:52 -05:00
MangosArentLiterature
76d501f7a9
Merge pull request #2 from AttorneyOnline/master
...
fix ipids not being generated
2021-04-03 03:12:57 -05:00
scatterflower
953e9a50c7
fix ipids not being generated
2021-04-03 03:10:06 -05:00
MangosArentLiterature
996fed1afb
Change log file directory
2021-04-02 18:43:09 -05:00
MangosArentLiterature
9f206584bd
Merge pull request #1 from AttorneyOnline/master
...
Synch with Akashi master
2021-04-02 12:14:24 -05:00
scatterflower
7f3d077710
Merge pull request #41 from AttorneyOnline/muties-for-cuties
...
Add various mute commands, plus a system for gently chastising users for being muted
2021-04-02 11:49:32 -05:00
scatterflower
f0926f640c
Merge branch 'master' into iniswap-pair
2021-04-02 11:48:29 -05:00
scatterflower
742983c68c
Merge pull request #44 from Salanto/Fix-ICColor
...
Fix-ICColor
2021-04-02 11:47:14 -05:00
in1tiate
ca7fe90958
check the other client's pos against ours before pairing
2021-04-01 13:14:14 -05:00
MangosArentLiterature
726fd39065
logger txt output workaround
2021-03-31 23:20:47 -05:00
MangosArentLiterature
279fe86dfa
logger txt output workaround
2021-03-31 23:19:13 -05:00
Salanto
43b12ea5aa
Update packets.cpp
...
The AO Client supports up to twelve colors by default.
2021-03-31 19:16:34 +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