Chris Miles
3e50427bb7
[Repositories] Add rank to reserved words ( #3982 )
...
* [Repositories] Add `rank` to reserved words
* Update zonedb.cpp
* Guild Ranks
---------
Co-authored-by: Kinglykrab <kinglykrab@gmail.com>
2024-01-14 20:58:03 -05:00
Akkadius
906879ce2e
[Repositories] Revert #3976 - fix character corpses
2024-01-14 03:30:00 -06:00
Chris Miles
14509fcc4e
[Repositories] Fix datetime zero-value save behavior ( #3976 )
2024-01-14 00:10:13 -06:00
Alex King
238c9fe667
[Global Loot] Convert Global Loot to Repositories ( #3962 )
...
* [Global Loot] Convert Global Loot to Repositories
# Notes
- Convert `LoadGlobalLoot()` to repositories.
* Update repository-generator.pl
* Final push.
* Update loottables.cpp
---------
Co-authored-by: Akkadius <akkadius1@gmail.com>
2024-01-12 23:37:26 -06:00
Chris Miles
818f833d04
[Repository] Add null integer column support, instance_list notes migration, regenerate repositories ( #3969 )
2024-01-12 22:23:55 -06:00
Chris Miles
4c7016bd7b
[Repositories] Protected extended repositories from being overwritten if exists ( #3815 )
2023-12-30 22:14:46 -06:00
dependabot[bot]
0194aedc92
Bump golang.org/x/crypto in /utils/scripts/build/should-release ( #3790 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 18:10:48 -06:00
Chris Miles
21ec832ca6
[CI] Switch to use clang for Linux builds (speed) ( #3777 )
2023-12-17 15:17:29 -06:00
JJ
226cc3d6cb
[Scripts] Revert database engine change from #3702 . ( #3736 )
...
InnoDB doesn't like the lengths. Will need to address that in the future.
2023-12-03 14:17:58 -05:00
JJ
d8953c5156
[Scripts] Import items into items_new table instead of writing directly to the existing items table. ( #3725 )
2023-11-30 17:21:00 -05:00
JJ
3a49d851ca
[Scripts] Update 13th Floor Import Tool ( #3702 )
2023-11-26 00:20:10 -05:00
Chris Miles
a5a51fbe44
[Linux] Add symbols to release builds ( #3660 )
...
* [Linux] Add symbols to release builds
* Update linux-build.sh
2023-10-29 18:45:11 -05:00
Akkadius
2a91f08845
[22.28.1] Perl Linux build fix
2023-10-20 15:25:25 -05:00
JJ
4bbb1aa92f
[Scripts] Update 13th Floor importer ( #3630 )
...
* [Scripts] Update 13th Floor importer
Overhaul to script.
- Now uses `eqemu_config.json`
- More descriptive during the process
- Accounts for adjustments (`idfile`, `prockunk1`)
- No longer needs to adjust `UNK132`
* [DB] Adjust `items` structure for import (#3629 )
Our `items` table has 5 fields that need to adjust in order to pull data from 13th Floor.
* [DB] Update `version.h`
2023-10-15 20:45:50 -04:00
JJ
ad0b5d6a1c
[Scripts] Update 13th Floor script for legacy research tome bagtypes ( #3621 )
...
Legacy research tomes have the wrong bagtype (BACKPACK) blocking the clients from showing the combine button.
2023-10-13 20:10:35 -05:00
dependabot[bot]
2fb72e5729
Bump golang.org/x/net in /utils/scripts/build/should-release ( #3619 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.7.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 19:52:58 -05:00
Akkadius
f053cd3b56
[Hotfix] Ensure Linux builds report failures
2023-10-03 11:59:50 -05:00
Alex King
a75648f73f
[Data Buckets] Distributed Databucket Caching ( #3500 )
...
* [Data Buckets] Zone-Based Data Bucket Caching
# Notes
- Adds a data bucket cache so we're not needlessly hitting the database every time we need to read a data bucket value.
* Cleanup and unify GetData access patterns
* Cache work
* Push
* Add to cache when we fetch and do a db hit
* Handle bucket misses in cache
* Formatting
* Logging
* [Data Buckets] Zone-Based Data Bucket Caching
- Adds a data bucket cache so we're not needlessly hitting the database every time we need to read a data bucket value.
* Cleanup and unify GetData access patterns
* Cache work
* Push
* Add to cache when we fetch and do a db hit
* Handle bucket misses in cache
* Formatting
* Remove redundant fetches from cache since GetData does the same thing
* Push progress
* Distributed cache work
* Logging
* Fix issue with scoping where same named keys could return overlapping results
* Misses cache tweak, logging, comments
* Add bot, client, and NPC bucket methods to Lua.
---------
Co-authored-by: Akkadius <akkadius1@gmail.com>
2023-07-24 12:22:50 -05:00
Alex King
42a2e19e73
[Commands] Consolidate #findX commands to a singular #find Command ( #3452 )
...
* Push up example for Kingly
* Update aa.cpp
* Update find.cpp
* Bulk push.
* Update aa.cpp
* Cleanup
* Repository method.
* Static aliasing
* Aliases
* Fix alias error.
* Update zone.cpp
* Update command.cpp
* Update find.cpp
---------
Co-authored-by: Akkadius <akkadius1@gmail.com>
2023-06-27 21:53:20 -05:00
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
2a176835b1
[CI] Build static linux binaries ( #3419 )
...
* [CI] Build static linux binaries
* Fix tests
* Update linux-build.sh
2023-06-18 15:19:25 -05:00
Chris Miles
95b306599f
[Maps] Update download with faster releases link ( #3321 )
2023-04-29 19:39:24 -05:00
Aeadoin
59ad91a140
[Feature] Add Data Bucket support for scaling of Heroic Stats. ( #3058 )
...
* [Feature] Add Data Bucket support for scaling of Heroic Stats.
* update
* fixes, still reworking logic
* fixes, still reworking logic
* logic done
* logic done
* fixes
* Cleanup
* Cleanup
* Cleanup naming, verify behaviors
* formatting
* formatting
* fix issue with endurance and mana.
* update rule desc
* cleanup
* DataBucket Struct
* Cleanup data_bucket.cpp and add constants
* cleanup
* changes
* formatting
* fix from merge
* escape keyword `key`
* Add `key` to generator, run repository-generator.pl
* fix for change to key
* cleanup
* formatting
* formatting
* typo
2023-03-23 21:42:13 -04:00
dependabot[bot]
5d7a7bb4b2
Bump golang.org/x/crypto in /utils/scripts/build/should-release ( #3024 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.0.0-20210817164053-32db794688a5 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-03 17:37:58 -06:00
dependabot[bot]
00f82f43a6
Bump golang.org/x/net in /utils/scripts/build/should-release ( #3023 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20210226172049-e18ecbb05110 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-03 17:23:13 -06:00
Akkadius
6a6045a21c
[Release] Update should-release
2023-02-16 13:23:53 -06:00
Chris Miles
02302802b8
[CI] Fix Windows stderr not bubbling properly ( #2925 )
...
* [CI] Fix Windows stderr not bubbling properly
* Update windows-build.ps1
2023-02-13 21:41:29 -06:00
Chris Miles
158396937a
[Release] 22.3.0 ( #2842 )
...
* [Release] 22.3.0
* Update version.h
* Redirect stderr
* Update should-release to filter non-master
* Update should-release
2023-02-06 20:12:04 -06: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
Chris Miles
08c8393988
[CI/CD] Build / Release Pipeline Changes ( #2788 )
...
* Test
* Test
* Update windows-build.ps1
* Update windows-build.ps1
* Update windows-build.ps1
* Kill excessive warnings
* Split
* Remove 7z from build scripts
* Linux
* Update .drone.yml
* Update .drone.yml
* Update .drone.yml
* Update .drone.yml
* Test
* Update .drone.yml
* Naming
* Test upload
* Update .drone.yml
* Update .drone.yml
* Update .drone.yml
* Yolo
* Yolo
* Update .drone.yml
* Update .drone.yml
* Copy
* Yolo
* Release without bots
* Update .drone.yml
* Update .drone.yml
* Test pipeline
* Remove debug
* Update .drone.yml
* Filter pipeline stage
* Update .drone.yml
* Test
* Bots release 22.0.5 (Test)
* Release bot test #2
* Check if release
* Update .drone.yml
* Update .drone.yml
* exit 78
* Update .drone.yml
* Update .drone.yml
* Add version checks
* Update .drone.yml
* Update .drone.yml
* Test
* Update build-release.bat
* Update .drone.yml
* Update .drone.yml
* Update .drone.yml
* Update build-release.bat
* Update build-release.bat
* Test pipeline
* Update CHANGELOG.md
* Bump
* Update build-release.bat
* Update build-release.bat
* Shuffle
* Take #45354
* Update windows-build.ps1
* Update windows-build.ps1
* Update windows-build.ps1
* F
* Update windows-build.ps1
* Consolidate
* Run it
* Pop cache back in
* Update linux-build.sh
* Another release test
* Update linux-build.sh
* Update linux-build.sh
* Update CMakeLists.txt
* Trim windows assets
* Update windows-build.ps1
* Update windows-build.ps1
* Update windows-build.ps1
* Update windows-build.ps1
* [22.1.0] Release
* Crash reporting
* Add version tag injection in the build pipeline
* Update windows-build.ps1
* Test
* Test
* Update windows-build.ps1
* Update windows-build.ps1
* Update windows-build.ps1
* Kill excessive warnings
* Split
* Remove 7z from build scripts
* Linux
* Update .drone.yml
* Update .drone.yml
* Update .drone.yml
* Update .drone.yml
* Test
* Update .drone.yml
* Naming
* Test upload
* Update .drone.yml
* Update .drone.yml
* Update .drone.yml
* Yolo
* Yolo
* Update .drone.yml
* Update .drone.yml
* Copy
* Yolo
* Release without bots
* Update .drone.yml
* Update .drone.yml
* Test pipeline
* Remove debug
* Update .drone.yml
* Filter pipeline stage
* Update .drone.yml
* Test
* Bots release 22.0.5 (Test)
* Release bot test #2
* Check if release
* Update .drone.yml
* Update .drone.yml
* exit 78
* Update .drone.yml
* Update .drone.yml
* Add version checks
* Update .drone.yml
* Update .drone.yml
* Test
* Update build-release.bat
* Update .drone.yml
* Update .drone.yml
* Update .drone.yml
* Update build-release.bat
* Update build-release.bat
* Test pipeline
* Update CHANGELOG.md
* Bump
* Update build-release.bat
* Update build-release.bat
* Shuffle
* Take #45354
* Update windows-build.ps1
* Update windows-build.ps1
* Update windows-build.ps1
* F
* Update windows-build.ps1
* Consolidate
* Run it
* Pop cache back in
* Update linux-build.sh
* Another release test
* Update linux-build.sh
* Update linux-build.sh
* Update CMakeLists.txt
* Trim windows assets
* Update windows-build.ps1
* Update windows-build.ps1
* Update windows-build.ps1
* Update windows-build.ps1
* [22.1.0] Release
* Crash reporting
* Add version tag injection in the build pipeline
* Update windows-build.ps1
* Full crash report on windows.
* Update endpoint
* [22.1.1] Release
* [skip ci] update .drone.yml
* Filter
* Update .drone.yml
* Update .drone.yml
* Update .drone.yml
* Update .drone.yml
* Update .drone.yml
* Update CHANGELOG.md
Co-authored-by: KimLS <KimLS@peqtgc.com>
2023-01-24 16:37:04 -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
0d1fa9e96e
[Repositories] Add Cereal support to repository generator ( #2660 )
...
* [Repositories] Add Cereal support to repository generator
* Update base_repository.template
2022-12-20 13:12:44 -06:00
Kinglykrab
6ff52f94c4
[Repositories] Add Bot Repositories. ( #2529 )
...
* [Repositories] Add Bot Repositories.
* Remove unnecessary table.
* Add back table.
2022-11-16 07:15:48 -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
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
c826d3b4e9
[eqemu_server.pl] Remove non-working fetch_latest_windows_binaries() ( #2445 )
2022-09-25 13:00:33 -04:00
Michael Cook (mackal)
6f7fa98996
[Repositories] Add more precise types to repository generator ( #2391 )
...
* Make utils/scripts/generators/repository-generator.pl aware of more
datatypes
This adds support for unsigned and more integer types. It also avoids
using parsing functions that require casting (still needed in some
cases)
Having the data types in the Repository structs better map to the types
in the database will allow us to avoid casting when we pull data out of
them. And as a benefit, assume something is wrong if we do :)
Hopefully clean up some warnings due to casting too.
Co-authored-by: Akkadius <akkadius1@gmail.com>
2022-08-31 00:04:27 -05:00
Chris Miles
893d53425a
[Repository] Modernize character recipe list ( #2385 )
2022-08-21 19:06:57 -05:00
Chris Miles
79285b1002
[Repositories] Add GetMaxId, Count ( #2371 )
...
* [Repositories] Add GetMaxId, Count
* Update cmake with repositories, regenerate extended repos
* Remove license from files
* Simplify receivers
* Receiver simplify remaining
* Simplify receivers final
* Pass params by const reference
* Modernize grid tables
* Remove guild members since it doesn't conform as a generatable table
* PR comment
2022-08-13 18:40:56 -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
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
titanium-forever
25addc3bd9
Create user directory during account creation to ensure default files are copied to profile from /etc/skel ( #2176 )
...
Co-authored-by: Kieren Hinch <khinch-github@nylonmoon.com>
2022-05-27 00:22:31 -05:00
Paul Coene
2a5ddde78a
[Feature] Client Checksum Verification (Resubmit old 1678) ( #1922 )
...
* [Feature] Client Checksum Verification (Resubmit old 1678)
* Updated db version
* Add new updatechecksum to CmakeLists.txt
* Removed magic number and used constant
* Fix new command to have access to worldserver
* spacing, more venbose desc and remove unneeded check
* Cleanup, refactoring
Co-authored-by: Akkadius <akkadius1@gmail.com>
2022-03-06 20:26:29 -06:00
Chris Miles
ee1f0ea91f
[Maintenance Script] Pull from different maps mirror for now
2022-02-05 00:34:28 -06:00
Chris Miles
94c1a50cc8
[GM Command] Door Manipulation Command Port ( #1524 )
...
* Initial commit
* Push latest
* Update door_manipulation.cpp
* More door work
* More doors work
* Upload notes
* Finalize changes
* Remove comment
* Add missing chat line
* Swapped URI parser with something not using deprecated C++ functions
2021-09-12 22:08:04 -05:00
Chris Miles
06890f695a
[Repositories] Add datetime support to repositories ( #1503 )
2021-08-31 00:34:10 -05:00
Chris Miles
b68607a6ef
[Repository Generator] Add int64/bigint support, add support for reserved words ( #1439 )
2021-07-08 11:43:35 -05:00
hg
1f896d05ed
[Repository Generator] Fix repository generator on windows ( #1353 )
...
Remove hardcoded port
2021-05-12 19:16:29 -05:00