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
95b306599f
[Maps] Update download with faster releases link ( #3321 )
2023-04-29 19:39:24 -05:00
Chris Miles
25b4b97c41
[DB Updates] Add Windows MySQL path auto detection for users where the path is not found ( #2836 )
2023-02-06 17:25:34 -06:00
Akkadius
0ccb18d017
[Hotfix] Remove appveyor fetch bots
2023-01-20 20:56:19 -06:00
Akkadius
e8ca3f6942
[eqemu_server.pl Swap out binary source
2023-01-20 12:56:37 -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
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
c826d3b4e9
[eqemu_server.pl] Remove non-working fetch_latest_windows_binaries() ( #2445 )
2022-09-25 13:00:33 -04:00
Chris Miles
f4904d00d2
[Backups] Use World CLI for Database Backups ( #2286 )
...
* Use world backup utility instead of db_dumper.pl
* Delete database_dumper.pl
* Delete db_dumper.pl
* Tweak script
2022-07-06 22:02:28 -05:00
Chris Miles
ee1f0ea91f
[Maintenance Script] Pull from different maps mirror for now
2022-02-05 00:34:28 -06:00
JeffyW
0758250ad1
[Installer] $ENV support, formatting, and optimizations ( #1340 )
...
* [Installer] $ENV support
Add support for passing in installation variables instead of install_variables.txt.
In particular:
- EQEMU_SERVER_SKIP_UPDATE
- EQEMU_SERVER_SKIP_MAPS_UPDATE
Both work the same as files with the same name.
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
All get read into the same $installation_variables collection, and are still overridden by any values found in installation_variables.txt
- MYSQL_HOST
Added to the list of $installation_variables, supported in installation_variables.txt, and overrides the default host for where the database lives (allowing it to be a separate container)
- MYSQL_ROOT_PASSWORD
If set, will use "root" as the user for DROP/CREATE DATABASE calls, to prevent requiring the "eq" user requiring more permission than is given by default with the MySql/MariaDB containers.
* [Installer] new_server_with_bots
Enabling bots requires both updated binaries and some database scripts. Fetching source and compiling the code is the longest part of setting up a new server. If you know you want bots, rather than having to do it twice, we can just accept an option to do it all at the same time.
* [Installer] Git/Source/Build optimizations
Source code is the same for bot/non-bot, so switch to a common directory for source and separate directories for build.
If the source directory already exists with a .git subfolder, rather than attempt to re-clone, instead do a git pull to still get the latest code. Helps when using a shared volume but rebuilding containers.
* [Installer] Formatting / Cleanup
Fixed some indentation, added an existing option to the utility script output, removed some excess newlines, and moved a debug output to help identifying errors.
2021-05-10 01:15:11 -05:00
Akkadius
ba64d6f494
[Installer] Swap unstable powershell download for Perl LWP::Simple call
2021-03-28 20:04:34 -05:00
Ali
6896ef650e
[ci skip] Updated installer to support powershell older than 3.0
2020-05-25 16:19:33 +03:00
Akkadius
86ef1b12e2
Strawberry Perl OOB has issue with getstore so lets use something else [skip ci]
2020-05-23 16:50:09 -05:00
Akkadius
b585d9b062
Use wget again for windows [skip ci]
2020-05-23 16:29:04 -05:00
Ali
2c2c09531f
[ci skip] Revert back to using wget.exe for windows installs
2020-05-21 15:16:50 +03:00
Chris Miles
852a8e1617
Update eqemu_server.pl [skip ci]
2020-05-19 01:17:02 -05:00
Chris Miles
4180ef58ef
Update eqemu_server.pl [skip ci]
2020-05-19 00:58:19 -05:00
Chris Miles
5dbd2c38ed
Update script [skip ci]
2020-05-11 04:51:59 -05:00
Chris Miles
f785dc232b
More tweaks [skip ci]
2020-05-11 03:37:09 -05:00
Chris Miles
d534d345d5
More tweaks [skip ci]
2020-05-11 03:35:16 -05:00
Chris Miles
51b98ec724
Lots of tweaks for overhauls [skip ci]
2020-05-11 03:21:46 -05:00
Chris Miles
2c13f2e928
Update server script [skip ci]
2020-05-11 01:13:59 -05:00
Chris Miles
496a958def
Update eqemu_server.pl
2020-05-11 00:28:24 -05:00
Chris Miles
39cd5bb9a8
Fix issue where powershell progress output was dramatically slowing down requests [skip ci]
2020-05-10 23:07:48 -05:00
Ali
6c3ae4580f
[skip ci] Win64 eqemu_server.pl
...
Changed binaries to x64 and got rid of wget.exe for windows, switched to
native WebClient
2020-04-17 18:53:35 +03:00
Uleat
3a7908b1de
Fix for bots database updates not running when invoked from world.exe [skip ci]
2020-03-30 16:45:50 -04:00
Ali
7f25f8a235
Modified eqemu_server.pl to pull latest PEQ
...
* Also added an escape to skip pulling Maps (tighter feedback loop if
developing)
2020-03-11 17:28:56 +03:00
Uleat
fdc38315d3
Updated eqemu_server.pl console messages for Applying/Has update messages [skip ci]
2020-02-19 07:52:10 -05:00
Uleat
916c88939c
Added missing 'return'
2020-02-05 21:05:51 -05:00
Uleat
86b6f543b9
Reworked the update cycle of eqemu_server.pl to process each update cumulatively [skip ci]
2020-02-04 19:07:55 -05:00
Uleat
00f118cfb4
Removed bot rule and command update code from setup because of auto-injection/removal feature added to server code [skip ci]
2020-02-03 08:36:14 -05:00
Uleat
a7633f4ddf
Massaged database update code [skip ci]
2020-02-03 08:18:55 -05:00
Akkadius
c6ba29f2e5
Revert commit until further testing [skip ci]
2020-01-25 18:41:15 -06:00
Akkadius
6514ccc41c
Bot updates are killing running regular updates afterwards [skip ci]
2020-01-25 18:30:52 -06:00
Akkadius
2f49266d08
Fix bots db updates when bins are in bin folder [skip ci]
2020-01-25 18:26:59 -06:00
Uleat
a9ef2474d4
Updated eqemu_server.pl to use the appveyor archive when setting up bots [skip ci]
2020-01-16 20:49:03 -05:00
Akkadius
a9e4d1212e
Update download URL for weekly dump [skip ci]
2019-12-30 05:48:42 -06:00
Akkadius
07fd803d41
Fix db updates for binaries in ./bin/ path
2019-12-25 02:21:10 -06:00
Uleat
e050534378
Added BARD to available class Bot stop_melee_level criteria
2019-12-17 21:02:36 -05:00
Uleat
2c8b51fcda
Delete 'staged_updates' after updating quests [skip ci]
2019-12-15 23:40:20 -05:00
Ali
af749cf07a
Updated do_install_config_login_json to pull from EQEmu repo [ci skip]
2019-10-01 23:14:01 +03:00
Ali
bf45e8b491
Fix missing ;s [ci skip]
2019-10-01 21:31:22 +03:00
Ali
2e4868d3eb
Added automated initialization of login.json [ci skip]
2019-09-30 08:39:41 +03:00
Ali
1f3287759a
Modified eqemu_server.pl to use new login server schema
2019-09-28 10:20:05 +03:00
MIchael Bastian
891944a1ba
git submodule init/update must be executed from the top level working tree
...
Build is failing as the submodules are not installed.
2019-09-07 23:23:08 +02:00
Akkadius
de38440c4f
Update eqemu_server.pl to use the bin folder if the binaries are being ran from them [skip ci]
2019-09-05 19:53:19 -05:00
Uleat
537e3931ef
Don't need the zlib1.ilk file... [skip ci]
2019-08-15 22:20:58 -04:00
Uleat
65c05f227b
Added zlib1.dll debug symbols to eqemu_server.pl download [skip ci]
2019-08-15 21:10:51 -04:00
Uleat
0d76e224fd
Updated eqemu_server.pl login server config example to json standard [skip ci]
2019-08-09 21:28:07 -04:00