Chris Miles
fb4d003e19
[Player Events] Zone Fetch Settings from QS if Enabled ( #4915 )
...
* [Player Events] Zone Fetch Settings from QS if Enabled
* Update zonelist.cpp
* Update zoneserver.cpp
2025-06-25 12:21:35 -05:00
Alex King
c228604255
[Bug Fix] Fix Beastlord Warder Size Modifier ( #4665 )
...
* [Bug Fix] Fix Beastlord Warder Size Modifier
* Push
* Update repository-generator.pl
---------
Co-authored-by: Chris Miles <akkadius1@gmail.com>
2025-02-11 21:27:59 -06:00
Alex King
d1d6db3a09
[Feature] Implement Big Bags ( #4606 )
...
* [Feature] Implement "Big Bags"
* Update worlddb.cpp
* Update shareddb.cpp
* Cleanup
* Cleanup
* Add slot ID conversions
* Update shareddb.cpp
* Update database_update_manifest.cpp
* Update database_update_manifest.cpp
* Update database_update_manifest.cpp
* Update database_update_manifest.cpp
* Update ruletypes.h
* Update database_update_manifest.cpp
* Inventory load fix
* Wrap Handle_OP_MoveItem in a transaction, taking 200+ queries from 200ms+ to 5-20ms
* Speed up lazy loading
* [Performance] Significantly Improve Client Network Resends
* Improve resend algorithm to be exact about when to resend
* Manifest merge
* Update database_update_manifest.cpp
* Post merge
* Add forced interactive update
---------
Co-authored-by: Akkadius <akkadius1@gmail.com>
2025-02-03 16:14:41 -06:00
Mitch Freeman
64fefaebe4
[Bug Fix] GLAA fix after database.cpp updates ( #4277 )
...
* Hopefully fix glaa
* Potential Fix for GroupAA Issues
This seems to resolve the GroupAA issue. Tested with two characters joining a group. Functions the same as previous builds like 22.45, 22.46, etc.
* Fix for GLAA issue - For testing.
* Redo fix for GLAA
* Cleanup GLAA fix and move savng to repo
---------
Co-authored-by: Akkadius <akkadius1@gmail.com>
2024-04-20 20:13:17 -05:00
Alex King
523ba30d81
[Repositories] Convert database.cpp to Repositories ( #4054 )
...
* [Repositories] Convert database.cpp to Repositories
- Convert all database.cpp methods to repositories where possible.
* Final push.
* Cleanup
* Cleanup
* Update database.h
* Fix crash
* Update database.cpp
2024-03-23 19:30:56 -05:00
Chris Miles
bc59882a65
[Hotfix] Fix database loading routines ( #4030 )
2024-01-29 00:14:33 -06:00
Alex King
b89772ca91
[Pets] Convert Load of Pets Beastlord Data to Repositories ( #3995 )
...
* [Pets] Convert Load of Pets Beastlord Data to Repositories
# Notes
- Convert `GetBeastlordPetData()` to repositories.
- Add support for `unsigned` versions of `float`, `double`, and `decimal`, without this we defaulted to `std::string`, such as with `pets_beastlord_data`.
* Update repository-generator.pl
---------
Co-authored-by: Chris Miles <akkadius1@gmail.com>
2024-01-28 23:05:43 -06:00
Alex King
ce907c9519
[Bots] Convert Bot Database Methods to Repositories ( #4023 )
...
* [Bots] Convert Bot Database Methods to Repositories
* Final push.
* Cleanup.
* Cleanup.
* Update bot_database.cpp
* Update bot_database.cpp
* Update bot_database.cpp
* Update bot_database.cpp
* Update bot_database.cpp
2024-01-28 20:23:31 -06:00
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
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
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
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
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
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
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
Chris Miles
7aa5308f9c
[Scheduler] Event scheduler implementation ( #1257 )
...
* Event scheduler implementation
* Create 2021_02_17_server_scheduled_events.sql
* Tweak
* Remove unused event [skip ci]
* Cleanup [skip ci]
* PR adjustments
* Database manifest
2021-03-29 02:52:57 -05:00
Chris Miles
96b65b848b
[Repositories] Insert repository improvements ( #1236 )
...
* Insert repository improvements
* Remove no longer necessary code, remove license banner since we have a license at the repo level
* Update template comments
2021-02-08 20:56:44 -06:00
Akkadius
30e0bbb912
More conversion changes to reduce warnings [skip ci]
2020-07-12 17:33:17 -05:00
Akkadius
6a7a78af29
Static cast floats in atof usages where the datatype is actually float to avoid windows compiler warnings
2020-07-12 17:25:50 -05:00
Akkadius
ebda1cf601
Add zone store
2020-04-19 03:05:15 -05:00
Akkadius
caa0ffda00
Add Truncate repository method and purge player sold items on world bootup
2020-04-18 23:53:52 -05:00
Akkadius
5b4c4bfd66
Implement content flags
2020-04-11 05:48:41 -05:00
Akkadius
e0363a8fe1
Repository tweaks [skip ci]
2020-04-11 02:47:54 -05:00
Akkadius
be57c57029
More adjustments [skip ci[
2020-04-05 23:11:25 -05:00
Akkadius
c978ca65a4
Split repositories out between a base immutable repository (that does not change) and an extended repository of which developers can add more custom methods to
2020-04-05 22:19:36 -05:00
Akkadius
fe7e850a04
Return blank string values for string entries that return back null
2020-04-04 04:48:46 -05:00
Akkadius
15c9b64120
Add GetWhere and DeleteWhere repository methods
2020-04-04 04:44:39 -05:00
Akkadius
0552582274
Use double quotes in strings [skip ci]
2020-04-04 02:56:14 -05:00
Akkadius
376c123fa1
More table exclusions [skip ci]
2020-04-04 02:39:15 -05:00
Akkadius
80fb204f39
More repository comb-throughs [skip ci]
2020-04-04 02:34:34 -05:00
Akkadius
a824ddec44
Fix float types, remove some errant table repositories [skip ci]
2020-04-04 02:26:30 -05:00
Akkadius
9e27ffacff
Add tables to ignore list that do not follow typical table conventions
2020-04-04 02:13:47 -05:00
Akkadius
3aaa5020b1
Fix repository struct defaults for varchar | text
2020-04-04 02:04:48 -05:00
Akkadius
494811c04b
Update repository-generator.pl
2020-04-03 02:41:44 -05:00
Akkadius
cbd2336442
Update repository generator to check for schema [skip ci]
2020-04-03 02:38:37 -05:00
Akkadius
3c9fe45af5
Update repository generator
2020-04-03 01:58:06 -05:00
Akkadius
9e910ad90a
Create repository-generator.pl
2020-04-03 01:34:37 -05:00