Commit Graph

799 Commits

Author SHA1 Message Date
Salanto
ea741f07a6 Update sample config.ini 2021-05-05 00:13:19 +02:00
Salanto
5248cc718f Add asset packet + AO NetEncode 2021-05-05 00:11:37 +02:00
Cerapter
9423b25bf5 Fix remaining clazy-writing-to-temporary issues 2021-05-04 22:38:39 +02:00
Cerapter
9b081a1ce4 Forbid Windows builds from making subdirs in destdir 2021-05-04 08:40:46 +02:00
Cerapter
3ff34f8129
Iterate through the FILES inside bin_tests/
I'm starting to get the same feeling from debugging CI as I get from testing in production.

Eh, whatever.
2021-05-04 08:22:54 +02:00
Cerapter
8eaca5ab0b
Add the core library to the tests' library path 2021-05-04 08:19:14 +02:00
Cerapter
4137d1a750
Fix same syntax error in another location
Hey, look, Windows builds ain't THAT important, yeah?
2021-05-04 07:57:56 +02:00
Cerapter
07f5b265d2 Fix Github Actions yaml syntax error 2021-05-04 07:56:28 +02:00
MangosArentLiterature
7a1a41932a fix an oopsie
accidentally gave everyone kick permissions uwu
2021-05-04 00:35:59 -05:00
Denton Poss
da0d458824
Merge pull request #105 from AttorneyOnline/bans-fixes
Bans fixes
2021-05-03 18:40:15 -05:00
Denton Poss
2ee842d66b
Merge pull request #118 from AttorneyOnline/add-ic-floodguard
Set a floodguard between IC messages
2021-05-03 18:37:36 -05:00
Cerapter
a42281c2c7 Fix clazy-writing-to-temporary issues
TODO still:
- Evidence
- Judgelog
2021-05-02 18:32:39 +02:00
MangosArentLiterature
4dabc723ac Add message_floodguard to default config.ini 2021-05-01 23:06:11 -05:00
MangosArentLiterature
9b03d91396 Set a floodguard between IC messages
- Adds a timer to run between IC messages, preventing IC messages from being sent until it times out.
- The duration of this timer is configurable.
2021-05-01 23:03:29 -05:00
Denton Poss
220b9373fa
Merge pull request #106 from AttorneyOnline/login-changes
Change /login to use a "prompt" based system
2021-05-01 19:56:47 -05:00
MangosArentLiterature
fb6692d69d Merge branch 'master' into login-changes 2021-05-01 19:22:06 -05:00
Denton Poss
4117d6f3b0
Merge pull request #116 from AttorneyOnline/kicking-changes
Add /kickuid
2021-05-01 19:15:41 -05:00
Denton Poss
7ca24ae9cf
Merge pull request #115 from AttorneyOnline/disconnect-handling
Add disconnect handling
2021-05-01 19:15:25 -05:00
MangosArentLiterature
8cb4ccd847 Merge branch 'master' into kicking-changes 2021-05-01 19:08:07 -05:00
MangosArentLiterature
0862c4b717 Add disconnect handling
- Server will now attempt to reconnect to the master server when connection to it is lost.
2021-05-01 19:06:37 -05:00
Cerapter
68b4174a40 Merge remote-tracking branch 'refs/remotes/scatter/master'
Conflicts:
	akashi.pro
	core/include/logger.h
	core/src/commands/area.cpp
	core/src/packets.cpp
	include/logger.h
	src/commands/area.cpp
	src/packets.cpp
2021-05-01 23:33:00 +02:00
Cerapter
025d8e0d1b Add status tests 2021-05-01 23:12:40 +02:00
Cerapter
0a87f30287 Corrected every error in the build
TODO: Documentation, test writing still.
2021-05-01 22:51:51 +02:00
Cerapter
08fd5896ba More work on AreaData rework 2021-05-01 17:45:59 +02:00
Denton Poss
04862c3757
Merge pull request #107 from MangosArentLiterature/discord
Add Discord Webhook for Modcall + Optional Buffer Log Upload
2021-05-01 10:08:50 -05:00
Denton Poss
984de65c7f
Merge pull request #112 from AttorneyOnline/fix-zalgo
Fix Dezalgo
2021-05-01 10:07:41 -05:00
Denton Poss
6d31a28325
Merge pull request #113 from AttorneyOnline/fix-force-immediate
Fix force_immediate
2021-05-01 10:06:58 -05:00
Denton Poss
c9ed23024c
Merge pull request #114 from AttorneyOnline/firstperson
Add first person mode
2021-05-01 10:06:40 -05:00
Cerapter
85cc9af73a Change all accesses to getters 2021-05-01 16:05:50 +02:00
Cerapter
5a0c291825 AreaData acccess rework, from direct to through getters
Literal hell.
2021-05-01 15:29:58 +02:00
in1tiate
05201ac82d woops, thats not how that works 2021-04-30 23:05:18 -05:00
in1tiate
b6f4982643 validate ic packets with a cid of -1 2021-04-30 23:01:52 -05:00
in1tiate
0e05ed63f2 add firstperson cid check 2021-04-30 23:01:12 -05:00
in1tiate
69f77548a8 add firstperson variable and command toggle 2021-04-30 22:58:04 -05:00
MangosArentLiterature
f98df4e0b7 Add /kickuid
I keep being pestered to add this and it's a useful command. Let's you kick a specific UID, instead of all clients belonging to one IPID.
2021-04-29 23:34:13 -05:00
MangosArentLiterature
b48ac1873c Fix force_immediate 2021-04-29 22:54:54 -05:00
MangosArentLiterature
8ef6a3526b Purge zalgo_tolerance 2021-04-29 22:19:30 -05:00
MangosArentLiterature
4ca54e8761 Fix dezalgo
Changes how dezalgo works. Still filters zalgo text without breaking languages. Removes zalgo tolerance because it's not really necessary with this system.
2021-04-29 22:13:06 -05:00
Salanto
f166a6f4fc Slight improvement 2021-04-29 01:07:08 +02:00
Salanto
96396d3404 Apply some suggested changes 2021-04-29 01:02:47 +02:00
Salanto
b689c71533 Revert "Apply code suggestions"
This reverts commit e00e7b571d.
2021-04-28 23:53:03 +02:00
Salanto
e00e7b571d Apply code suggestions
Non-functional as of now.
2021-04-28 23:32:48 +02:00
Salanto
32e88d6be1 Merge remote-tracking branch 'upstream/master' into discord 2021-04-27 23:42:14 +02:00
Salanto
8aed2989f2 Add file upload if modcall logging is used
+ Configurable option if no log should be send
+ Fix  logger not flushing to file if modcall is used
+ Update sample\config.ini
2021-04-27 23:28:45 +02:00
MangosArentLiterature
dc5375fff2 Update /login documentation 2021-04-26 16:33:13 -05:00
MangosArentLiterature
a5386ddc77 Change /login to use a "prompt" based system
This commit changes /login to no longer take command arguments. Instead, upon sending /login, you will enter an interactive "prompt", where your next OOC message will be interpreted as your login attempt (and will not be shown to other users). This prevents a typo from accidentally broadcasting your credentials to the entire area.

- Changes /login to take no command arguments, /login now sets a client state "is_logging_in".
- pktOocChat will now intercept a client's OOC message if they have this client state, and will interpret that as a moderator login.
- Adds the helper function loginAttempt() for handling moderator logins.
2021-04-26 16:29:56 -05:00
Cerapter
3aeff2d72d Merge remote-tracking branch 'refs/remotes/scatter/master' 2021-04-26 21:23:51 +02:00
Cerapter
f5cc137b40 Rename lib to core.
On Linux, the resulting shared library would have been called `liblib`, which is just dumb.
2021-04-26 21:14:25 +02:00
Cerapter
8d384d7d85 Relocate test output to bin/.
The executables couldn't be run without the libraries next to them.
2021-04-26 21:12:13 +02:00
scatterflower
aba007a5fc fix /bans 2021-04-26 02:43:38 -05:00