Chris Miles
5fcc83b4b6
[Database] Implement native database migrations in server ( #2857 )
...
* [Database] Implement native database updates in server
* Cleanup
* Delete db_update_manifest.txt
* Bots updates
* Final tweaks
* Revert manifest
* Tweaks
* Remove code from eqemu_server.pl
* Update database_update.cpp
* Add user prompt update skipping with timeouts
* Add termcolor IS_TTY is check
* Update database_conversions.cpp
* Remove large migrations
* Push
* fix headers.
* Remove last of non-bot large migrations
* Update database_update_manifest.cpp
* More purging
* Tweaks
* Bot migrations
* More work
* Tweaks
* Implement multi-statement query execution only for migrations
* Add CLI database:updates
* Add bootstrap commands
* Upload bootstrap sql's
* Update bot_tables_bootstrap.sql
* Update bot_tables_bootstrap.sql
* Add mercs:bootstrap and bots:bootstrap
* Update bot_tables_bootstrap.sql
* Update database.cpp
* Update bot_tables_bootstrap.sql
* More cleanup
* Add mercs:disable and bots:disable
* Update eqemu_server.pl
* Update eqemu_server.pl
* Update eqemu_server.pl
* Test cases
* Update eqemu_server.pl
* Delete 2023_05_08_character_tribute_primary_key.sql
* Post rebase fixes
* Post rebase tweaks
* Delete errant files
* Rebase files from master
* More adjustments
* Delete files no longer used
* Add missing migrations
* bots:bootstrap is now bots:enable
---------
Co-authored-by: Aeadoin <109764533+Aeadoin@users.noreply.github.com>
2023-06-19 01:31:07 -05:00
Chris Miles
ecf2a369cc
[Discord] Add Discord webhook callback processing to world ( #3322 )
2023-04-29 20:49:06 -04:00
Aeadoin
31ede355a8
[Cleanup] Cleanup excessive type casting: string -> char * -> string ( #3169 )
...
* [Cleanup] Cleanup excessive type casting: string -> char * -> string
* [Cleanup] Cleanup excessive type casting: string -> char * -> string
2023-04-01 12:45:16 -04:00
Alex
de2dfc1a7e
[Bug Fix] Fix for undefined MySQL library behavior. ( #2834 )
...
* MYSQL objects cannot be copied in a well defined way, this removes the copy and replaces it with another connection
* Change to share underlying pointers.
* Push up mutex changes
* Post rebase
* Formatting
---------
Co-authored-by: KimLS <KimLS@peqtgc.com>
Co-authored-by: Akkadius <akkadius1@gmail.com>
2023-02-24 20:14:55 -06:00
Chris Miles
2b224d42ad
[Rules] Fix rule updates that affected bot booting checks ( #2841 )
2023-02-06 17:31:50 -06:00
Alex King
3335cacac1
[Bots] Cleanup and remove preprocessors. ( #2757 )
...
* [Bots] Cleanup and remove preprocessors.
- Removes every `#ifdef BOTS` we have and locks bots behind `Bots:AllowBots` rule.
- Bot updates are now done by default similar to regular database updates.
- Modify `CMakeLists.txt`, `.drone.yml`, and `BUILD.md` to match the removal of `EQEMU_ENABLE_BOTS`.
* Cleanup
- Add SQL for enabling bots for servers with bots.
- Add message that tells players/operators bots are disabled.
* Suggested changes.
* Bot injection stuff
* Change SQL to bot SQL.
* Tweaks
* Remove `is_bot`
* Update version.h
* Update main.cpp
* Update database.cpp
* Fix name availability crash
* Remove bots from update script
Co-authored-by: Akkadius <akkadius1@gmail.com>
2023-01-20 12:35:33 -06:00
Chris Miles
900837f633
[Logging] Improvements to GM Say Logging ( #2765 )
2023-01-19 22:24:57 -06:00
Chris Miles
d3e756287e
[Logging] Remove function prefixes ( #2766 )
2023-01-19 22:24:50 -06: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
Akkadius
cb08c02537
[Hotfix] Fix path load ordering for CLI commands
2022-10-15 22:26:12 -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
Chris Miles
9d766bf5dc
[World CLI] Refactor world CLI to be easier to reason about ( #2441 )
2022-09-28 03:04:09 -05:00
Chris Miles
89fdd842e1
[Code Cleanup] Zone Data Loading Refactor ( #2388 )
...
* [Code Cleanup] Zone data loading refactor
* Update client_packet.cpp
* strcpy adjustments
* Ensure safe points get reloaded properly
* Simplify GetPEQZone and getZoneShutDownDelay
* Bring in zone_store where needed
* Update client.cpp
* Signature
* Signature
* Convert helpers to using pointers
* PR comment
* Update worlddb.cpp
* Fix loading for instances
* Fix zoning with fallback as well
* Another place for instance fallback
2022-09-01 18:48:28 -05:00
hg
53b599518a
[Dynamic Zones] Implement dz templates ( #2345 )
...
This allows shared tasks to create dz instances automatically through
the `dz_template_id` field instead of using quest scripts. Quest apis
were also added to create expeditions from template ids.
2022-07-30 21:25:43 -05:00
Chris Miles
c8b3ca53fe
[World] World Bootup Consolidation ( #2294 )
2022-07-14 02:39:01 -05:00