Commit Graph

279 Commits

Author SHA1 Message Date
MangosArentLiterature
8416232ff9 Log commands and OOC messages separately
Now every OOC message won't be treated as if it were a command, only commands will be sent to the command logger.
Also, much needed .gitignore update
2021-06-12 12:05:47 -05:00
MangosArentLiterature
a561d3eb47 Mirror isIPBanned() changes to isHDIDBanned()
this also removes getBanReason and getBanDuration as they are now no longer needed

also minor clean up this websocket ip ban or whatever
2021-06-09 23:32:55 -05:00
MangosArentLiterature
555b4a0cbf Implement remote banning
- Use IPID for IP bans instead of remote IP.
- Remove 2 extraneous DB queries by altering isIPBanned()
- Allow banning unconnected clients
2021-06-09 23:15:06 -05:00
MangosArentLiterature
dc497a55f6 Add the ability to ignore the BG list per area
- Adds the "ignore_bglist" option to areas, which toggles whether the BG list is enforced or ignored in an area.
- Adds a moderator permission "IGNORE_BGLIST" to give moderators the permission to toggle this setting.
- Adds a moderator command `/ignorebglist` to toggle this for an area.
2021-06-08 09:12:04 -05:00
scatterflower
4c32cf86cc
Merge pull request #128 from AttorneyOnline/password-requirements
Add password requirements
2021-06-06 14:08:33 -05:00
scatterflower
1a0cb3c6ef
Merge pull request #125 from AttorneyOnline/ban-updating
Add /updateban
2021-06-06 14:07:57 -05:00
MangosArentLiterature
526ebcf635 Fix testimony recorder
Fixes the entirely broken testimony recorder and makes it work like intended.

Co-Authored-By: Cerapter <43446478+Cerapter@users.noreply.github.com>
Co-Authored-By: Salanto <62221668+Salanto@users.noreply.github.com>
2021-06-03 16:10:28 -05:00
MangosArentLiterature
17cd92bc5b Fix character being considered taken upon changing areas
Fixes a bug that would cause the server to consider your character taken when switching to a new area, booting you to char select and preventing your original character from being reselected.
2021-06-03 14:16:52 -05:00
MangosArentLiterature
65467df4ba Merge branch 'master' into password-requirements 2021-06-03 11:56:27 -05:00
MangosArentLiterature
6cf9f2dd23 Merge branch 'master' into ban-updating 2021-06-03 11:44:07 -05:00
MangosArentLiterature
44519c0db3 Fix character selection
- Fix an issue allowing you to select taken characters
- Fix a regression of #64

Co-Authored-By: Cerapter <43446478+Cerapter@users.noreply.github.com>
2021-06-02 16:17:07 -05:00
MangosArentLiterature
17ab971e85 Fix command UID crash
Fix several commands targeting clients by UID crashing the server by not properly checking if the client they want exists.
2021-05-31 20:50:46 -05:00
Salanto
d52c069df2 Merge branch 'master' into discord_content 2021-05-15 16:53:05 +02:00
Cerapter
e6b00575d8 Merge remote-tracking branch 'refs/remotes/scatter/master' 2021-05-13 07:15:18 +02:00
Cerapter
de085461d9 Fix testimony problems, simplify statement hops, add tests for testimony 2021-05-09 18:02:50 +02:00
Cerapter
0655294ae4 Add static config for Windows 2021-05-09 16:58:01 +02:00
Cerapter
ba3d20186d Merge remote-tracking branch 'refs/remotes/scatter/master'
Conflicts:
	akashi.pro
	core/src/aoclient.cpp
	core/src/commands/authentication.cpp
	core/src/packets.cpp
	src/aoclient.cpp
	src/commands/authentication.cpp
	src/packets.cpp
2021-05-09 15:11:02 +02:00
Cerapter
f12567cd07 Document remaining AreaData functions 2021-05-09 14:25:30 +02:00
Cerapter
e435470952 Fix Doxygen looking in nonexisting directory, add more documentation 2021-05-05 23:07:43 +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
a42281c2c7 Fix clazy-writing-to-temporary issues
TODO still:
- Evidence
- Judgelog
2021-05-02 18:32:39 +02: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
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
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
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