Alex King
643ee56433
[Code] PlayerEventLogs Global to Singleton Cleanup ( #4928 )
...
* [Code] PlayerEventLogs Global to Singleton Cleanup
* Fix
---------
Co-authored-by: Chris Miles <akkadius1@gmail.com>
2025-06-25 15:05:33 -05:00
Chris Miles
947795f1d1
[Code] EQEmuLogSys Global to Singleton Cleanup ( #4925 )
...
* [Code] EQEmuLogSys Global to Singleton Cleanup
* Post merge fix
2025-06-25 14:05:49 -05:00
Alex King
2e760d6397
[Code] ZoneStore Global to Singleton Cleanup ( #4934 )
2025-06-23 06:45:06 -04:00
Chris Miles
df86ad371b
[Code] PathManager Global to Singleton Cleanup ( #4924 )
2025-06-22 13:50:52 -04:00
Chris Miles
1a48add20e
[Loginserver] Modernize codebase ( #4647 )
...
* Beginning of cleanup
* More cleanup
* More cleanup
* Enc cleanup
* client manager cleanup
* client cleanup
* More cleanup
* More cleanup
* Cleanup
* More cleanup, account context, account management
* Remove positional fmt bindings
* Use LoginAccountContext
* Update loginserver_webserver.cpp
* Remove comments
* Port CreateLoginServerAccount to repositories
* More cleanup
* More cleanup
* More cleanup
* More cleanup
* Remove a ton of functions
* More cleanup
* More cleanup
* More cleanup
* Cleanup SendClientAuthToWorld
* Consolidate world server logic
* Update login_accounts_repository.h
* Update login_accounts_repository.h
* Move api tokens to repositories
* Cleanup options
* Move everything else to repositories
* Update account_management.cpp
* uint64 account
* Update login_schema.sql
* Fix
* Update world_server.cpp
* auto
2025-02-06 12:47:02 -06:00
Chris Miles
ce1472db1e
[MySQL] Add keepalives to UCS and Loginserver ( #2953 )
2023-02-18 05:40:51 -06:00
Aeadoin
03a27b02ff
[Hotfix] Login Server failing to compile on Windows. ( #2758 )
2023-01-18 21:21:36 -05:00
Chris Miles
40d1c33351
[Logging] Logging Improvements ( #2755 )
...
* Console logging improvements
* stderr handling
* Add origination information
* Formatting
* Update zoneserver.cpp
* Update eqemu_logsys.cpp
* Remove semicolon from MySQLQuery log output
* Remove IsRfc5424LogCategory
* Remove no longer used functions
* Remove definition BUILD_LOGGING
* Deprecate categories UCSServer & WorldServer
* Deprecate UCS / World Server / Zone Server categories
* Deprecate Status, QSServer, Normal
* Update login_server.cpp
* Deprecate Emergency, Alert, Critical, Notice
* Deprecate Alert
* Fix terminal color resetting
* Deprecate headless client
* Move LogAIModerate to Detail
* Deprecate moderate logging level for detail
* Update logs.cpp
* Logs list simplify
* Update logs.cpp
* Add discord to log command
* Remove unused headers
* Windows fix
* Error in world when zones fail to load
* Show warning color properly
* Keep loginserver thread log from colliding with other logs during startup
* Deprecate Loginserver category
2023-01-17 21:18:40 -06:00
Alex
77c3841a49
[Process Management] Change all executables to use the default event loop run ( #2471 )
...
* Loginserver change to event loop run.
* eqlaunch, loginserver, queryserv, world
2022-10-10 22:55:39 -05:00
Chris Miles
f8e7576ae7
[File Paths] Implement Path Manager ( #2440 )
...
* Push up branch for testing
* Path manager
* Tweaks
* Changes
* More path work
* Update paths for eqemu_server.pl
* More path work
* Import and export client files
* Path remove
* More path work
* Update eqemu_config.h
* Fix tests
* Tests disable temp
* Update eqemu_config.h
* Update .drone.yml
* Hook tests back up
* Update main.cpp
* Platform tests
* Fix include
* Use std::filesystem on windows
* Fix IPCMutex name on windows
* std::filesystem changes
* Update path_manager.cpp
* Explicit string cast
* Explicit string cast
* Update path_manager.cpp
* Windows fixes
* Mapped files
* Relative fixes
* Use relative paths off of cwd
* Update Debian image to Debian 11 (updates GCC)
Co-authored-by: hg <4683435+hgtw@users.noreply.github.com>
2022-09-28 04:08:59 -05:00
Chris Miles
19791195e5
[Logging] Netcode Logging Unify ( #2443 )
...
* [Logging] Unify netcode logging
* More tweaks, generator
* Exclude OP_SpecialMesg at callback level
* Consolidate packet loggers
* Log at EQStream level instead of proxy
* Fix C->S
* Server to server logging
* C-S for Loginserver
* Hook UCS for C->S
* Update eqemu_logsys.h
* World C->S logging
* Translate opcodes through patch system for client to server
* Additional logging requests
* Add detailed opcode translation logging
* vStringFormat resiliency
* Translate loginserver C->S
* Simplify out message string (reduce copies) and ignore legacy formats
* Update eqemu_logsys.cpp
* Log file format
* Handle deprecated categories
2022-09-28 03:42:09 -05:00
neckkola
3b409def2c
[Login] Added OP_ExpansionPacketData for RoF2 and update payload for Titanium ( #2186 )
...
* Fix for GENERIC_9_STRINGS
* Update .gitignore
* OP_ExpansionPacketData for Titanium and RoF2
* Update for login_opcodes_sod.conf
* Add OP_LoginExpansionPacketData for Titanium and RoF2
* Few expansion fixes
* Update client.h
* Update client.h
* l
* Updates based on PR feedback.
Moved configuration to login.json
Set Titanium limits to constants
* Update login.json
Added the two configurations to login.json
display_expansions - true/false to display on the server select screen
max_expansions - the bitmask of expansions enabled (http://spire.akkadius.com/calculators#expansions-bitmask-calculator )
* Further cleanup based on feedback.
* Further cleanup and refactor max_expansions to max_expansions_mask to better reflect its purpose
* Missed rename of max_expansions corrected.
2022-07-14 02:22:50 -05:00
Chris Miles
dfd8f84cac
[Strings] Refactor Strings Usage ( #2305 )
...
* Initial commit checkpoint
* More functions converted
* Commify
* More functions
* Fin
* Sort declarations
* Split functions between files
* Bots
* Update strings.h
* Split
* Revert find replaces
* Repository template
* Money
* Misc function
* Update CMakeLists.txt
* Saylink
* Update strings.cpp
* Swap Strings::Saylink for Saylink::Create since saylink is coupled to zone database
* API casings
2022-07-14 02:10:52 -05:00
Chris Miles
a9d1034298
[Loginserver] Worldserver Name Sanitization ( #1739 )
...
* Sanitize bad words in server names
* Add config options and enforcement for dev/test servers and servers starting with a special character
* Refine bad word logic
* Add installer to dev/test servers
* Change server prefixes
* Special char prefix
* Formatting
* Remove multi words
* Add server types enum
* Add error constants
* Remove sanitize from world level
* Use strn0cpy
2021-11-12 23:02:05 -06:00
Chris Miles
a6c85babfc
[Loginserver] Add config option to display player count ( #1738 )
...
* [Loginserver] Add config option to display player count
* Update name
2021-11-11 22:38:41 -06:00
Chris Miles
6e26e8953c
[Loginserver] Health Checks ( #1665 )
...
* Health checks stash
* Healthcheck work
2021-11-03 14:39:51 -05:00
Chris Miles
d87db648c3
[Loginserver] Code Cleanup and Tweaks ( #1653 )
...
* if for whatever reason the world server is not sending an address, use the local address it sends
* Log when world is sending loginserver info
* Force legacy mode when login host is login.eqemulator.net to avoid misconfigurations at least until things change
* Add human IP translation to log messages
* Sanitize world server name
* Code cleanup and renaming member variables
* More cleanup
* Remove this->
* Validation constants
* Key worldserver lookups by both longname and shortname both
* Update allowed character list
* Fix short_name API response field; add world_id to response
* Shorten receiver verbosity
* Remove unnecessary member variables from database and rename database to m_database
* Adjust MAX_SERVER_VERSION_LENGTH
* Fix indents
2021-10-30 19:09:42 -05:00
Chris Miles
7139530787
[Library] Update httplib ( #1401 )
...
* Update httplib
* Update syntax for new httplib and run on own thread
* Only log if path is set in request
2021-06-13 21:42:30 -05:00
Akkadius
22333ee40b
Fix Loginserver log setting db load init
2021-06-13 20:04:03 -05:00
Chris Miles
bcb0e43d13
[Logging] Simplify Log Settings Initialization ( #1394 )
...
* Simplify logging loading
* Fix log injections and reduce verbosity
2021-06-13 18:06:43 -05:00
Akkadius
4fa14e44aa
Update loginserver commands to use the new and more proper argument format
2019-12-23 01:57:34 -06:00
Akkadius
bc4e09cea4
Code cleanup
2019-12-23 00:38:58 -06:00
Akkadius
b2526ff6d6
Make sure loginserver is writing to file log [skip ci]
2019-09-08 02:01:10 -05:00
Akkadius
d3803045bc
Add log aliases to make logging much easier to use (All FMT driven)
2019-09-01 20:47:26 -05:00
Akkadius
66ee0dc9bd
Update DefaultLoginServerName
2019-08-10 06:59:45 -05:00
Akkadius
ba6009730b
Add CLI and Web endpoints to change local login account password
2019-08-04 05:04:34 -05:00
Akkadius
4498819fad
Abstracted CLI command handling interface, streamlined more logging
2019-08-04 02:58:26 -05:00
Akkadius
25c119b843
Add new default login.json
2019-07-14 22:23:51 -05:00
Akkadius
ce09aad28a
Move rest of logging to FMT and move config options into more finite categories
2019-07-14 22:16:26 -05:00
Akkadius
949e7adff8
init vars [skip ci]
2019-07-11 01:23:55 -05:00
Akkadius
8eaeda5ec5
Tweaks
2019-07-09 02:10:10 -05:00
Akkadius
c2917a9004
Take in API requests via json payload instead of params
2019-07-07 19:57:05 -05:00
Akkadius
4bc6493718
Add cli command create-loginserver-account --username=* --password=*
2019-07-07 03:39:44 -05:00
Akkadius
78d8b909be
Add standalone web api server, cli handler, authorization, commands
2019-07-07 03:13:04 -05:00
Akkadius
b2ed5fe479
Add RFC 5424 logging
2019-07-05 18:16:09 -05:00
Akkadius
86f9a205e5
Remove eqemu_logsys_fmt.h header, more log tweaks
2019-07-05 17:20:20 -05:00
Akkadius
ffd652a643
Load log settings from the database
2019-07-05 03:50:01 -05:00
Akkadius
feea52f79e
Make loginserver intelligently determine if the client is requesting from a RFC 1918 network instead of using a config string match
2019-07-05 03:38:12 -05:00
Akkadius
2c922876a9
More loginserver refactorings and cleanup
2019-07-05 02:49:55 -05:00
Akkadius
b41e58fd10
More loginserver refactorings and cleanup
2019-07-05 02:33:31 -05:00
Akkadius
bd2836db61
DatabaseMySQL -> Database
2019-07-03 21:58:39 -05:00
Akkadius
eea3965d02
Add DatabaseMySQL::DoesLoginServerAccountExist
2019-07-03 21:35:36 -05:00
Akkadius
cdfd473476
Add more logging
2019-07-03 16:01:44 -05:00
Akkadius
daec42c4d9
Migrate quite a few database calls to dbcore and fmt
2019-07-03 04:03:54 -05:00
Akkadius
217c9751a8
Tons of cleanup / formatting
2019-07-03 02:50:16 -05:00
Akkadius
6638b9ade5
Cleanup
2019-07-03 02:16:16 -05:00
KimLS
f16faae964
Fix for bug in config reading tables
2018-01-20 21:26:52 -08:00
KimLS
7a778c549f
convert login.ini to login.json, stole jumber's idea about auto-updating old passwords (wip still)
2017-12-16 23:08:21 -08:00
KimLS
3ee5730890
Auto link ls accounts plus auto-create
2017-12-14 18:41:10 -08:00
KimLS
5bbeec626c
Heavy wip on login changes to get it to actually work like we want
2017-12-10 23:35:25 -08:00