Commit Graph

89 Commits

Author SHA1 Message Date
Mamanyonyo
c26cd95b4e dejar de loggear el contenido de los dms 2025-06-25 04:49:53 -03:00
f161f67a2c AHORA BANCANDO FULLCHAIN Y CURVA ELIPTICA 2025-06-23 19:05:11 -03:00
3cfe9461cc hecho 2025-06-22 03:54:40 -03:00
16388f3760 JIJOOOOOOOOOOO 2025-06-19 13:29:19 -03:00
0a0bd116d5 algo ngigers 2025-06-19 13:21:16 -03:00
04c8829732 asd 2025-06-19 03:41:39 -03:00
7ff52549f7 detrooncordificado
Some checks are pending
CI / build-windows (push) Blocked by required conditions
CI / build-linux (push) Blocked by required conditions
CI / check-clang-format (push) Waiting to run
2025-03-09 05:25:55 -03:00
b0658cd000 save evidence
Some checks are pending
CI / build-windows (push) Blocked by required conditions
CI / build-linux (push) Blocked by required conditions
CI / check-clang-format (push) Waiting to run
2025-03-02 08:15:36 -03:00
fcc5fc37c0 autoload inventory .ini files on storage/inventory/[areaname].ini
Some checks are pending
CI / build-windows (push) Blocked by required conditions
CI / build-linux (push) Blocked by required conditions
CI / check-clang-format (push) Waiting to run
2025-03-02 07:17:34 -03:00
Salanto
24baeafc9f
Fix configs being applied to the wrong area (#374) 2024-08-25 14:21:05 -05:00
Salanto
5fc33872dc Remove uptime webhook
It was a silly idea for Brando, not really useful anymore at this point.
2024-08-04 18:03:12 +02:00
Salanto
d8ec4ccdf5
[Cleanup] Overhaul Server Advertiser/Publisher (#369)
* Overhaul advertiser to suck less

* Remove stray QDebug
2024-07-20 09:07:55 -05:00
Leifa
47c971fac1
Dropped Qt5, drop backward compatibility/feature list (#362)
* Dropped Qt5, ...

Resolve #360, resolve #361

* Dropped Qt5
  * Now targets Qt6.5
* Dropped backward compatibility/feature list

* Updated AOPacket tests

* Update RT to guarantee two parameters

* Format changes

* Missing include

* Resolved failed RT packet test
2024-07-14 15:48:13 +02:00
Leifa
27ef14fa78
Client list support (#365)
* Boilerplate structure for playerlist

* Change id, character and area to private with get/set

* WIP push

* Restructured the project entirely

* Implemented player list

* Build against project-akashi.pro

* Updated coverage location

* Copy gcov files from the proper path

* Update coverage to copy files

* Coverage update.

* Update main.yml

* Disabled coverage for the time being

* Reworked player list implementation, ...

* Reworked player list implementation
  * No longer rely on JSON
* Introduced moderation packets: ban, kick
  * A kick is a duration of 0
  * A ban is a duration between -1 (permanent) and anything above 0
* Packet ZZ has been modified and now include a client id field for client-specific reports
* Ban duration is now explicit.

* Tweak to ban duration calculation

* Resolve failing ZZ test

---------

Co-authored-by: Salanto <62221668+Salanto@users.noreply.github.com>
2024-07-14 15:47:58 +02:00
Leifa
1edc80a0bc
Removed TCP server entry point (#364)
* Removed TCP server

Resolve AttorneyOnline/AO2-Client#987, resolve AttorneyOnline/AO2-Client#1007

* Remove ini key, remove obsolete test

---------

Co-authored-by: Salanto <62221668+Salanto@users.noreply.github.com>
2024-07-14 10:18:45 +02:00
Leifa
040f5a3216
Playerlist and repository structure changes (#358) 2024-06-23 18:57:56 +02:00
Cerapter
b740f5a3cd Relocate akashi into a subdirectory.
Will be used to make space for tests as well.
2021-04-23 18:29:33 +02:00
MangosArentLiterature
9c3cd12202 Add a size limit to packets and a configurable maximum character limit for messages
- Limits packets to under 16KB
- Adds a configurable option to config.ini for setting the maximum amount of characters in an IC/OOC message
- Limits the size of OOC names to 30 chars
   - The client already limits this, but this is an added precaution.
- Limits the length of shownames to 30 chars
- Implements shownames_allowed for areas, for toggling whether shownames are allowed for messages in that area
2021-04-19 19:44:46 -05:00
scatterflower
e252ed04e9 make it configurable 2021-04-19 02:09:24 -05:00
scatterflower
e8a99eb35a implement multiclient limit 2021-04-19 01:54:22 -05:00
scatterflower
08ba6ef278 change curse list to int list, marked unavailable chars as taken 2021-04-18 18:57:33 -05:00
in1tiate
93c4f19bfb
Merge branch 'master' into afk 2021-04-15 14:30:20 -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
f0412e0e05 add AFK system 2021-04-15 06:34:31 -05:00
scatterflower
853e6e3ff4
Merge pull request #60 from Salanto/Testimony-Playback
Add testimony playback
2021-04-14 14:11:10 -05:00
Salanto
fb7ad8c25f
Merge branch 'master' into Testimony-Playback 2021-04-14 09:03:28 +02:00
MangosArentLiterature
7d7f25f4cb Merge branch 'master' into joke-mod-commands 2021-04-14 00:47:27 -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
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
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
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
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
953e9a50c7 fix ipids not being generated 2021-04-03 03:10:06 -05:00
Cerapter
c13a2d06f9 Merge branch 'master' into feature/docs 2021-03-24 21:02:21 +01:00
Cerapter
0612494277
Document Server 2021-03-15 18:05:26 +01:00
in1tiate
2a8ed66c4f rework getClient into getClientsByIpid, alter /ban and /kick to report number of clients affected 2021-03-14 12:11:18 -05:00
in1tiate
a62b12fb7a fix area config reading based on sanitized name 2021-03-12 05:01:31 -06:00
in1tiate
32c2d6a5e2
Merge branch 'master' into motd 2021-03-11 21:45:49 -06:00
in1tiate
ee9ae6d7c6 rework characters_taken to be a QList<int> 2021-03-11 20:09:04 -06:00
Salanto
06864e115a Make MODT editable - Part 1 2021-03-12 00:44:27 +01:00
Salanto
3e1f9825ca motd. Can't get simpler than that. 2021-03-11 22:42:47 +01:00
scatterflower
eba21d9108
Merge pull request #22 from AttorneyOnline/fix/area-sort
Fix areas being sorted lexicographically by storing a numerical position in the area name and sorting numerically
2021-03-11 13:42:58 -06:00
in1tiate
9d10431da7 store a position in area config and sort areas numerically 2021-03-11 09:57:41 -06:00
in1tiate
d1918e50a9 add area_kick, switch, randomchar 2021-03-09 18:09:28 -06:00
in1tiate
9985b7daf8 fix bounds checking, add /play 2021-03-09 17:43:20 -06:00
in1tiate
e65caf2a59 probably initializing the timers would be a good idea 2021-03-06 00:00:50 -06:00
in1tiate
f46eeeb94f
Merge branch 'master' into in1tiate/cming 2021-03-04 05:24:06 -06:00
Salanto
f2fe5227d6 Formatting if-else, Minor Nitpick 2021-03-03 18:36:20 +01:00
in1tiate
954e64831c fix some config shenanigans 2021-03-03 01:44:41 -06:00