Alex King
fcbf5cae47
[Commands] Add #show special_abilities ( #4043 )
...
* [Commands] Add #show special_abilities
# Notes
- Allows operators to see what special abilities an NPC has.
- Move special ability values to `common/emu_constants.h`.
- Add `EQ::constants::GetSpecialAbilityMap()` and `EQ::constants::GetSpecialAbilityName()`.
- Add `NPC::DescribeSpecialAbilities(client)` to describe special abilities to a specified client.
# Images
* Update npc.cpp
2024-02-05 14:34:10 -06:00
Alex King
297e358c02
[Factions] Remove from shared memory and simplify ( #3999 )
...
* [Factions] Remove from shared memory and simplify
- Removes factions from shared memory and moves to zone based storage of repositories and changes the NPC `faction_list` to also use repositories.
- This affects NPC Factions and Faction Associations.
* Bug fixes.
* Update client.cpp
* Update client.cpp
* Update client.cpp
* Cleanup
* Update client.cpp
* Update client.cpp
* Update client.cpp
* Final push
* Update CMakeLists.txt
* Consolidate reloading.
* [Cleanup] PR # 3999 (#4039 )
* [Fixes for PR # 3999
* [Reload actual in game factions, not just the umbrella data.
* syntax
* Fix typo
* Foix bug where primary_faction not filled in when no hits
* Fix typos
* Fix splash factions for kills.
* Fix typo
* Fix more variable names to be accurate
* Fix Loads to load new ones as they come in.
* Load npc_factions without primary (tasks) and support old task faction
* Rename to make way for new LoadFactionAssocition (by faction_id)
* Fix some review comments
* Add code to load factions for splash tasks and quests.
* Fix issue with sign and RewardFaction, fix Log Message
---------
Co-authored-by: Paul Coene <noudess@gmail.com>
2024-02-04 10:38:38 -05:00
Alex King
71f47dbcef
[Objects] Add fix_z column to ground spawns ( #3992 )
...
* [Objects] Add is_floating column to objects/ground spawns
# Notes
- Allows ground spawns/objects to float without having `FixZ()` called.
* Remove from object.
* Database version
* Fix
* Change to fix_z
2024-02-01 04:42:51 -06:00
Alex King
7c982df0e3
[Release] 22.43.3 ( #4034 )
...
### API
* Add lock_status method to world API ([#4028 ](https://github.com/EQEmu/Server/pull/4028 )) @Akkadius 2024-01-29
### Alternate Currency
* Convert Load of Alternate Currencies to Repositories ([#3993 ](https://github.com/EQEmu/Server/pull/3993 )) @Kinglykrab 2024-01-29
### Beacon
* Cleanup Beacons Code ([#4024 ](https://github.com/EQEmu/Server/pull/4024 )) @Kinglykrab 2024-01-29
### Bots
* Convert Bot Database Methods to Repositories ([#4023 ](https://github.com/EQEmu/Server/pull/4023 )) @Kinglykrab 2024-01-29
* Missing boolean returns on DeletePetStats and SaveInspectMessage ([#4031 ](https://github.com/EQEmu/Server/pull/4031 )) @joligario 2024-01-30
### Code
* Add Raid Loot Type Constants ([#4022 ](https://github.com/EQEmu/Server/pull/4022 )) @Kinglykrab 2024-01-29
* Cleanup cross-zone/world-wide OPCode handling ([#4003 ](https://github.com/EQEmu/Server/pull/4003 )) @Kinglykrab 2024-01-29
### Commands
* Cleanup #petitems Command ([#4005 ](https://github.com/EQEmu/Server/pull/4005 )) @Kinglykrab 2024-01-29
### Crash Fix
* Fix Possible Crash in HateList::Find ([#4027 ](https://github.com/EQEmu/Server/pull/4027 )) @Kinglykrab 2024-01-28
### Fixes
* Fix NPC After Death Emotes ([#4021 ](https://github.com/EQEmu/Server/pull/4021 )) @Kinglykrab 2024-01-29
* Fix database loading routines ([#4030 ](https://github.com/EQEmu/Server/pull/4030 )) @Akkadius 2024-01-29
* Fix issue in character_corpses Repository Query ([#4029 ](https://github.com/EQEmu/Server/pull/4029 )) @Kinglykrab 2024-01-29
* Limit Pet Taunt Distance ([#4018 ](https://github.com/EQEmu/Server/pull/4018 )) @fryguy503 2024-01-26
* Limit Player Taunt Distance ([#4019 ](https://github.com/EQEmu/Server/pull/4019 )) @fryguy503 2024-01-26
* Patch for recent change to DEATH ([#4032 ](https://github.com/EQEmu/Server/pull/4032 )) @noudess 2024-01-30
* spawn_conditions map was being emptied by mistake ([#4033 ](https://github.com/EQEmu/Server/pull/4033 )) @noudess 2024-01-30
### Grids
* Convert Grid/Grid Entries to Repositories ([#4011 ](https://github.com/EQEmu/Server/pull/4011 )) @Kinglykrab 2024-01-29
### Mercenaries
* Add expansion settings update to Mercs:Enable ([#4001 ](https://github.com/EQEmu/Server/pull/4001 )) @Kinglykrab 2024-01-29
### Merchants
* Convert Merchant Load to Repositories ([#4007 ](https://github.com/EQEmu/Server/pull/4007 )) @Kinglykrab 2024-01-29
### Pets
* Convert Load of Pets Beastlord Data to Repositories ([#3995 ](https://github.com/EQEmu/Server/pull/3995 )) @Kinglykrab 2024-01-29
### Quests
* Use separate variable for quest idle override. ([#4026 ](https://github.com/EQEmu/Server/pull/4026 )) @noudess 2024-01-27
### Rules
* Add rules for cross-zone/world-wide casts to affect Bots/Mercenaries/Pets ([#4002 ](https://github.com/EQEmu/Server/pull/4002 )) @Kinglykrab 2024-01-29
### Spawn2
* Convert Spawn2 Methods to Repositories ([#4014 ](https://github.com/EQEmu/Server/pull/4014 )) @Kinglykrab 2024-01-29
### Traps
* Convert Load/Set of Traps to Repositories ([#3994 ](https://github.com/EQEmu/Server/pull/3994 )) @Kinglykrab 2024-01-29
### Zone
* Convert Fishing/Foraging to Repositories ([#4008 ](https://github.com/EQEmu/Server/pull/4008 )) @Kinglykrab 2024-01-30
2024-01-30 19:26:50 -05:00
Chris Miles
bc59882a65
[Hotfix] Fix database loading routines ( #4030 )
2024-01-29 00:14:33 -06:00
Alex King
2e0ed82986
[Grids] Convert Grid/Grid Entries to Repositories ( #4011 )
...
* [Grids] Convert Grid/Grid Entries to Repositories
- Convert `AddWaypoint()`, `AddWaypointForSpawn()`, `DeleteWaypoint()`, `GetHighestWaypoint()`, `GetRandomWaypointFromGrid()`, `GridExistsInZone()`, and `ModifyGrid()` to repositories.
* Update grid.cpp
* Update questmgr.cpp
* Update waypoints.cpp
* Update waypoints.cpp
2024-01-28 23:37:34 -06:00
Alex King
9276966418
[Rules] Add rules for cross-zone/world-wide casts to affect Bots/Mercenaries/Pets ( #4002 )
...
* [Rules] Add rules for cross-zone/world-wide casts to affect bots/mercenaries/pets
# Notes
- These rules allow operators to have cross-zone/world-wide casts/removals of spells affect bots, mercenaries, and/or pets.
- Adds `World:AllowWorldWideSpellsOnBots`.
- Adds `World:AllowWorldWideSpellsOnMercs`.
- Adds `World:AllowWorldWideSpellsOnPets`.
- Adds `Zone:AllowCrossZoneSpellsOnBots`.
- Adds `Zone:AllowCrossZoneSpellsOnMercs`.
- Adds `Zone:AllowCrossZoneSpellsOnPets`.
* Consolidate to 3 rules
2024-01-28 23:06:21 -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
e640e3cad3
[Cleanup] Add Raid Loot Type Constants ( #4022 )
...
* [Cleanup] Add Raid Loot Type Constants
# Notes
- Add constants for Raid loot types.
* [Cleanup] Add Raid Loot Type Constants
# Notes
- Add constants for Raid loot types.
2024-01-28 21:45:32 -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
Alex King
ff2e56abc7
[Bug Fix] Fix issue in character_corpses Repository Query ( #4029 )
...
* [Bug Fix] Fix issue in character_corpses Repository Query
# Notes
- Query had an extra ` inside of it, causing it to fail.
* Update character_corpses_repository.h
2024-01-28 20:18:24 -06:00
Fryguy
4c769c46b3
[Bug Fix] Limit Player Taunt Distance ( #4019 )
...
* [Bug Fix] Player Taunt Distance
Previously this was not regulated on the server side and allowed players to exploit situations where the client did not enforce Z distance checks.
Rule Name: MaximumTauntDistance
Rule Default: 150
Calculation is Rule Squared
* remove `this`
2024-01-26 15:44:05 -05:00
Fryguy
8a87e00b66
[Bug Fix] Limit Pet Taunt Distance ( #4018 )
...
* [Bug Fix] Limit pet taunt distance
Previously this was not regulated and allowed players to exploit unlimited taunt distance.
Rule Name: PetTauntRange
Rule Default: 150
Calculation is Rule Squared.
* Remove `this`
2024-01-26 15:43:20 -05:00
Alex King
0ebc7f9bb6
[Release] 22.43.2 ( #4017 )
...
### Bots
* ^mez command spell list fix ([#3998 ](https://github.com/EQEmu/Server/pull/3998 )) @dariusuknuis 2024-01-19
### Code
* Cleanup position methods ([#4015 ](https://github.com/EQEmu/Server/pull/4015 )) @Kinglykrab 2024-01-25
### Commands
* Add `#npcedit set_grid [Grid ID]` to `#npcedit` ([#4004 ](https://github.com/EQEmu/Server/pull/4004 )) @Kinglykrab 2024-01-22
### Crash Fix
* Fix crash when creating Frogloks/Drakkin ([#4016 ](https://github.com/EQEmu/Server/pull/4016 )) @Kinglykrab 2024-01-25
* Reverting PR #3877 ([#3997 ](https://github.com/EQEmu/Server/pull/3997 )) @fryguy503 2024-01-17
### Database
* Drop deprecated item_tick table ([#3977 ](https://github.com/EQEmu/Server/pull/3977 )) @Akkadius 2024-01-14
* Drop item_tick if exists tweak in manifest ([#3985 ](https://github.com/EQEmu/Server/pull/3985 )) @Akkadius 2024-01-15
* Increase max spawngroup name from 50 to 200 ([#3991 ](https://github.com/EQEmu/Server/pull/3991 )) @Akkadius 2024-01-22
### Fixes
* Fix Mercenaries Buffs/Zoning Issues ([#4000 ](https://github.com/EQEmu/Server/pull/4000 )) @Kinglykrab 2024-01-22
* Fix zone database update manifest ([#3972 ](https://github.com/EQEmu/Server/pull/3972 )) @Kinglykrab 2024-01-13
* Fixes to zone idle while empty changes. ([#4006 ](https://github.com/EQEmu/Server/pull/4006 )) @noudess 2024-01-23
* Reversed logic on InLiquid ([#3979 ](https://github.com/EQEmu/Server/pull/3979 )) @fryguy503 2024-01-14
### Instances
* Convert Instance Quest Methods to Repositories ([#4012 ](https://github.com/EQEmu/Server/pull/4012 )) @Kinglykrab 2024-01-25
### Logging
* Force Info category to be always on in file/console logs ([#3990 ](https://github.com/EQEmu/Server/pull/3990 )) @Akkadius 2024-01-22
### Merchants
* Change database structure for merchant slots ([#3974 ](https://github.com/EQEmu/Server/pull/3974 )) @joligario 2024-01-14
### Messages
* Fix disciple message added by previous patch. ([#3986 ](https://github.com/EQEmu/Server/pull/3986 )) @noudess 2024-01-15
### Quest API
* QuestReward should now summon item to the inventory instead of the cursor. ([#3996 ](https://github.com/EQEmu/Server/pull/3996 )) @regneq 2024-01-22
### Repositories
* Add `rank` to reserved words ([#3982 ](https://github.com/EQEmu/Server/pull/3982 )) @Akkadius 2024-01-15
* Fix datetime zero-value save behavior ([#3976 ](https://github.com/EQEmu/Server/pull/3976 )) @Akkadius 2024-01-14
### Spawn2
* Spawn condition value should default spawn_conditions value ([#3980 ](https://github.com/EQEmu/Server/pull/3980 )) @noudess 2024-01-14
### Zoning
* Additional logs for zoning under instance checks ([#3989 ](https://github.com/EQEmu/Server/pull/3989 )) @Akkadius 2024-01-22
2024-01-25 16:30:50 -06:00
Alex King
9ac25338bb
[Crash Fix] Fix crash when creating Frogloks/Drakkin ( #4016 )
...
* [Crash Fix] Fix crash when creating Frogloks/Drakkin
# Notes
- https://github.com/EQEmu/Server/pull/3920 introduced an issue where we were using `uchar` for `race_selection` and `class_selection` which was not functioning properly within `IsPlayerRace()`.
* Update client.cpp
2024-01-25 06:19:59 -05:00
Alex King
e9285fd2ca
[Instances] Convert Instance Quest Methods to Repositories ( #4012 )
...
* [Instances] Convert Instance Quest Methods to Repositories
# Notes
- Convert `UpdateInstanceTimer()` and `GetInstanceTimerByID()` to repositories.
- Cleanup other instance methods.
* Update questmgr.cpp
2024-01-25 05:50:10 -05:00
Chris Miles
ca1299bf1d
[Database] Increase max spawngroup name from 50 to 200 ( #3991 )
2024-01-22 17:34:54 -05:00
Chris Miles
3fb24dc0a3
[Logging] Force Info category to be always on in file/console logs ( #3990 )
2024-01-22 17:34:48 -05:00
Chris Miles
59cbe1a152
[Database] Drop item_tick if exists tweak in manifest ( #3985 )
2024-01-14 23:14:15 -05: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
8b7aba2769
[Release] 22.43.0 ( #3978 )
2024-01-14 00:12:26 -06:00
Chris Miles
9303255caa
[Database] Drop deprecated item_tick table ( #3977 )
2024-01-14 00:10:21 -06:00
Chris Miles
14509fcc4e
[Repositories] Fix datetime zero-value save behavior ( #3976 )
2024-01-14 00:10:13 -06:00
JJ
e40267b9b8
[Merchants] Change database structure for merchant slots ( #3974 )
...
* [Merchants] Change database structure for merchant slots
The `slot` field should be unsigned int. The temp slot is currently limited to 127. The client will limit the visible slots.
* Update version.h
2024-01-13 20:58:46 -05:00
Alex King
f3073b463f
[Release] 22.42.1 ( #3973 )
...
### Fixes
* Fix zone database update manifest ([#3972 ](https://github.com/EQEmu/Server/pull/3972 )) @Kinglykrab 2024-01-13
* quest::processmobswhilezoneempty() fix. ([#3971 ](https://github.com/EQEmu/Server/pull/3971 )) @noudess 2024-01-13
2024-01-13 20:09:01 -05:00
Alex King
5ad4129312
[Bug Fix] Fix zone database update manifest ( #3972 )
...
* [Bug Fix] Fix zone database update manifest
# Notes
- Missing comma.
* Update database_update_manifest.cpp
2024-01-13 18:15:01 -05:00
Alex King
3b7a138de4
[Release] 22.42.0 ( #3970 )
...
### AAs
* Convert Loading of AAs to Repositories ([#3963 ](https://github.com/EQEmu/Server/pull/3963 )) @Kinglykrab 2024-01-13
### Auras
* Convert Get of Auras to Repositories ([#3964 ](https://github.com/EQEmu/Server/pull/3964 )) @Kinglykrab 2024-01-13
### Character
* Character EXP Modifiers in Memory ([#3934 ](https://github.com/EQEmu/Server/pull/3934 )) @Kinglykrab 2024-01-13
* Convert Character Corpses to Repositories ([#3941 ](https://github.com/EQEmu/Server/pull/3941 )) @Kinglykrab 2024-01-13
* Convert Save of Character Languages to Repositories ([#3948 ](https://github.com/EQEmu/Server/pull/3948 )) @Kinglykrab 2024-01-12
### Code
* Cleanup AddCash() and RemoveCash() NPC Methods ([#3957 ](https://github.com/EQEmu/Server/pull/3957 )) @Kinglykrab 2024-01-12
* Cleanup ChangeSize() ([#3959 ](https://github.com/EQEmu/Server/pull/3959 )) @Kinglykrab 2024-01-12
* Cleanup Owner Related Mob Methods ([#3960 ](https://github.com/EQEmu/Server/pull/3960 )) @Kinglykrab 2024-01-13
* Cleanup RandomizeFeatures() ([#3958 ](https://github.com/EQEmu/Server/pull/3958 )) @Kinglykrab 2024-01-12
* Remove GroupCount() and RaidGroupCount() ([#3943 ](https://github.com/EQEmu/Server/pull/3943 )) @Kinglykrab 2024-01-13
* Remove unused Grid methods ([#3944 ](https://github.com/EQEmu/Server/pull/3944 )) @Kinglykrab 2024-01-13
### Commands
* Convert NPC Spawn Methods to Repositories ([#3956 ](https://github.com/EQEmu/Server/pull/3956 )) @Kinglykrab 2024-01-13
### Crash Fix
* Character Creation Class/Race out of Range. ([#3920 ](https://github.com/EQEmu/Server/pull/3920 )) @fryguy503 2024-01-09
### Feat
* Alt Sinister Strike Formula ([#3921 ](https://github.com/EQEmu/Server/pull/3921 )) @fryguy503 2024-01-09
### Feature
* Add Lore Item Trade Error ([#3932 ](https://github.com/EQEmu/Server/pull/3932 )) @fryguy503 2024-01-13
* Rule: UseLiveBlockedMessage Bard Spam ([#3933 ](https://github.com/EQEmu/Server/pull/3933 )) @fryguy503 2024-01-09
### Fixes
* Attack Corpse Skill Up Fix ([#3924 ](https://github.com/EQEmu/Server/pull/3924 )) @fryguy503 2024-01-09
* Fix Issue with SetFlyMode() ([#3961 ](https://github.com/EQEmu/Server/pull/3961 )) @Kinglykrab 2024-01-12
* Harm Touch Critical Ratio ([#3915 ](https://github.com/EQEmu/Server/pull/3915 )) @fryguy503 2024-01-09
* Increase Precision in CheckDoubleAttack ([#3928 ](https://github.com/EQEmu/Server/pull/3928 )) @fryguy503 2024-01-09
* IsOfClientBotMerc() for Discipline Messages ([#3940 ](https://github.com/EQEmu/Server/pull/3940 )) @fryguy503 2024-01-09
* Limit MeleeMitigationEffect to defender if only client. ([#3918 ](https://github.com/EQEmu/Server/pull/3918 )) @fryguy503 2024-01-09
* Rampage Number of Hits Limit ([#3929 ](https://github.com/EQEmu/Server/pull/3929 )) @fryguy503 2024-01-09
* Remove duplicate character_data repository in zonedb.cpp ([#3935 ](https://github.com/EQEmu/Server/pull/3935 )) @Kinglykrab 2024-01-09
* Undead Should Never Flee ([#3926 ](https://github.com/EQEmu/Server/pull/3926 )) @fryguy503 2024-01-09
### Global Loot
* Convert Global Loot to Repositories ([#3962 ](https://github.com/EQEmu/Server/pull/3962 )) @Kinglykrab 2024-01-13
### Ground Spawns
* Convert Ground Spawns to Repositories ([#3967 ](https://github.com/EQEmu/Server/pull/3967 )) @Kinglykrab 2024-01-13
### Horses
* Convert Horses to Repositories ([#3965 ](https://github.com/EQEmu/Server/pull/3965 )) @Kinglykrab 2024-01-13
### Item Ticks
* Remove Item Ticks Code ([#3955 ](https://github.com/EQEmu/Server/pull/3955 )) @Kinglykrab 2024-01-13
### Mercenaries
* Convert Mercenaries to Repositories ([#3947 ](https://github.com/EQEmu/Server/pull/3947 )) @Kinglykrab 2024-01-13
### Merchants
* Convert Clear/Delete/Save of Temporary Merchant Lists to Repositories ([#3945 ](https://github.com/EQEmu/Server/pull/3945 )) @Kinglykrab 2024-01-13
### NPCs
* Convert Load of NPC Emotes to Repositories ([#3954 ](https://github.com/EQEmu/Server/pull/3954 )) @Kinglykrab 2024-01-13
### Objects
* Convert Add/Delete/Update of Objects to Repositories ([#3966 ](https://github.com/EQEmu/Server/pull/3966 )) @Kinglykrab 2024-01-13
* Convert World Containers to Repositories ([#3951 ](https://github.com/EQEmu/Server/pull/3951 )) @Kinglykrab 2024-01-13
### Pets
* Convert Pets to Repositories ([#3968 ](https://github.com/EQEmu/Server/pull/3968 )) @Kinglykrab 2024-01-13
### Repositories
* Add null integer column support, instance_list notes migration, regenerate repositories ([#3969 ](https://github.com/EQEmu/Server/pull/3969 )) @Akkadius 2024-01-13
### Respawns
* Convert Respawn Times to Repositories ([#3949 ](https://github.com/EQEmu/Server/pull/3949 )) @Kinglykrab 2024-01-13
### Rules
* Add rule for bard aggro cap ([#3909 ](https://github.com/EQEmu/Server/pull/3909 )) @fryguy503 2024-01-09
* Allow GMs to silently summon ([#3910 ](https://github.com/EQEmu/Server/pull/3910 )) @fryguy503 2024-01-09
* Bash Two Hander use Shoulders ([#3925 ](https://github.com/EQEmu/Server/pull/3925 )) @fryguy503 2024-01-09
* Classic Spell Data SPA Calc variability ([#3931 ](https://github.com/EQEmu/Server/pull/3931 )) @fryguy503 2024-01-09
* Classic Tracking Skillups ([#3923 ](https://github.com/EQEmu/Server/pull/3923 )) @fryguy503 2024-01-09
* Separate Tradeskill Max Train from Research. ([#3916 ](https://github.com/EQEmu/Server/pull/3916 )) @fryguy503 2024-01-09
### Tasks
* Add Support for Task Window Element Groups ([#3902 ](https://github.com/EQEmu/Server/pull/3902 )) @hgtw 2024-01-09
### Traps
* Convert Load of LDoN Traps/Trap Entries to Repositories ([#3953 ](https://github.com/EQEmu/Server/pull/3953 )) @Kinglykrab 2024-01-13
### Zones
* Convert Get/Set of Zone Timezone to Repositories ([#3946 ](https://github.com/EQEmu/Server/pull/3946 )) @Kinglykrab 2024-01-13
* Convert IDLE_WHEN_EMPTY to a Zone Column ([#3891 ](https://github.com/EQEmu/Server/pull/3891 )) @Kinglykrab 2024-01-13
* Convert SaveZoneCFG to Repositories ([#3950 ](https://github.com/EQEmu/Server/pull/3950 )) @Kinglykrab 2024-01-13
2024-01-13 01:31:56 -06:00
Alex King
742b437f2c
[Zones] Convert IDLE_WHEN_EMPTY to a Zone Column ( #3891 )
...
* [Rules] Convert IDLE_WHEN_EMPTY to a rule
# Notes
- Converts `IDLE_WHEN_EMPTY` to `Zone:ZonesIdleWhenEmpty` so that we can change this on the fly or on a zone-by-zone basis instead of having to recompile to do this.
- Especially helpful for those using release binaries that do not compile their own source.
* Convert to zone column.
* Update ruletypes.h
* Update ruletypes.h
* Update entity.cpp
* Update entity.cpp
* Rename.
* Update database_update_manifest.cpp
* Update base_zone_repository.h
* Update zone.cpp
* seconds_before_idle
* Update database_update_manifest.cpp
* Getter/Setters/Private
* Update base_zone_repository.h
* IsIdle()/SetIsIdle()
* Update entity.cpp
2024-01-13 01:21:40 -06:00
Alex King
d41bd8f963
[Zones] Convert Get/Set of Zone Timezone to Repositories ( #3946 )
...
* [Zones] Convert Get/Set of Zone Timezone to Repositories
- Convert `GetZoneTimezone()` and `SetZoneTimeZone()` to repositories.
* Update time_zone.cpp
2024-01-13 00:10:14 -06:00
Alex King
73a099c5ea
[Character] Character EXP Modifiers in Memory ( #3934 )
...
* Cleanup
* Final push.
* Update zonedb.cpp
* Update zone.h
* Update exp.cpp
* Update zonedb.cpp
---------
Co-authored-by: Chris Miles <akkadius1@gmail.com>
2024-01-13 00:03:36 -06:00
Alex King
77c0eb3998
[Character] Convert Character Corpses to Repositories ( #3941 )
...
* asdsa
* Final push
* Update character_corpses_repository.h
* Update character_corpses_repository.h
* Update zonedb.cpp
* Update zonedb.cpp
* Final push
* Update character_corpses_repository.h
2024-01-13 00:02:44 -06:00
Alex King
5d1c59c95f
[Merchants] Convert Clear/Delete/Save of Temporary Merchant Lists to Repositories ( #3945 )
...
* [Merchants] Convert Clear/Delete/Save of Temporary Merchant Lists to Repositories
- Convert `ClearMerchantTemp()`, `DeleteMerchantTemp()`, and `SaveMerchantTemp()` to repositories.
* Update merchantlist_temp_repository.h
2024-01-12 23:47:25 -06:00
Fryguy
1d7f39c13b
[Feature] Add Lore Item Trade Error ( #3932 )
...
* DRAFT: [Feature] Add Lore Item Trade Error
I had lots of feedback from players to add feedback when doing player to player trades to include what items were causing the trade block.
I quickly added this check, however if multiple lore items are being traded, this will only output the first. So far it has worked well, but not sure if we want to:
- Expand this to list all lore items in the trade.
- Enable this by default and do not provide a rule?
* Credit to @KinglyKrab for the assist on making this output a list.
Ruled this off but enabled by default.
2024-01-12 23:43:57 -06:00
Alex King
d7dc717249
[Mercenaries] Convert Mercenaries to Repositories ( #3947 )
...
* [Mercenaries] Convert Mercenaries to Repositories
- Convert all Mercenary methods to repositories aside from inner join queries that cannot be converted.
* Update base_merc_subtypes_repository.h
* Update base_merc_subtypes_repository.h
* Regenerate repositories
2024-01-12 23:40:26 -06:00
Alex King
32659426ba
[AAs] Convert Loading of AAs to Repositories ( #3963 )
...
* [AAs] Convert Loading of AAs to Repositories
- Convert `LoadAlternateAdvancementAbilities()` to repositories.
- Regenerate repositories since a column was added to `aa_ability`.
* Update aa.cpp
* Update aa.cpp
2024-01-12 23:38: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
Alex King
11e2a252e5
[Objects] Convert World Containers to Repositories ( #3951 )
...
* [Objects] Convert World Containers to Repositories
- Convert world containers to repositories.
* Update zonedb.cpp
2024-01-12 23:33:37 -06:00
Alex King
fc627ed52d
[NPCs] Convert Load of NPC Emotes to Repositories ( #3954 )
...
* [NPCs] Convert Load of NPC Emotes to Repositories
- Convert `LoadNPCEmotes()` to repositories.
* Cleanup
2024-01-12 23:33:11 -06:00
Alex King
f1d5e3eedf
[Zones] Convert SaveZoneCFG to Repositories ( #3950 )
...
* [Zones] Convert SaveZoneCFG to Repositories
# Notes
- Convert `SaveZoneCFG()` to repositories.
* Comment
* safe_heading
* Update zone_data.cpp
2024-01-12 23:28:16 -06:00
Alex King
d59531b16f
[Item Ticks] Remove Item Ticks Code ( #3955 )
...
* [Items] Convert Load of Item Ticks to Repositories
- Convert `LoadItemTicks()` to repositories.
* Remove item tick code.
* Remove repository references.
* Update zone.h
2024-01-12 23:17:00 -06:00
Alex King
e182d685d3
[Commands] Convert NPC Spawn Methods to Repositories ( #3956 )
...
* [Commands] Convert NPC Spawn Methods to Repositories
# Notes
- Convert `AddNewNPCSpawnGroupCommand()`, `AddNPCTypes()`, `AddSpawnFromSpawnGroup()`, `CreateNewNPCCommand()`, `DeleteSpawnLeaveInNPCTypeTable()`, `DeleteSpawnRemoveFromNPCTypeTable()`, `NPCSpawnDB()`, and `UpdateNPCTypeAppearance()`.
* Regenerate.
* Cleanup.
2024-01-12 23:02:19 -06:00
Alex King
eb33e5a064
[Ground Spawns] Convert Ground Spawns to Repositories ( #3967 )
...
# Notes
- Convert `LoadGroundSpawns()` to repositories.
2024-01-12 22:41:08 -06:00
Alex King
71f78b757e
[Respawns] Convert Respawn Times to Repositories ( #3949 )
...
* [Respawns] Convert Respawn Times to Repositories
- Convert `respawn_times` based methods to repositories.
* Missed some.
* Comments
2024-01-12 22:38:31 -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
Alex King
4afc1efb38
[Character] Convert Save of Character Languages to Repositories ( #3948 )
...
# Notes
- Convert `SaveCharacterLanguage()` to repositories.
- Was missed in the other languages changes.
2024-01-12 03:30:42 -06:00
Fryguy
62b5f8a488
[Rules] Classic Spell Data SPA Calc variability ( #3931 )
...
* [Rules] Classic Spell Data SPA Calc variability
When using lucy imports of older more classic data, they lack the limit values which provides Focus Random Effectiveness.
Example:
Bazu Plauge (6472) went from a 40 limit to 0 limit on the 2006 lucy import.
Lucy does have limit value data, but it appears the affected SPAs sony handled in source vs in spell data.
* Requested Changes
2024-01-09 05:49:10 -05:00
Fryguy
1b5b22eeca
[Rule] Classic Tracking Skillups ( #3923 )
...
* [Rule] Classic Tracking Skillups
Rule: TrackingAutoRefreshSkillUps
Default: True
Disable rule to prevent skillups from happening on auto refresh of tracking window.
* typo
2024-01-09 05:48:35 -05:00
Fryguy
f12c87a04a
[Feat] Alt Sinister Strike Formula ( #3921 )
...
I have been informed that this was proven to be false, but the AA is pretty useless without some adjustment.
Adding this as a rule to allow server owners to adjust as needed.
Update Sinister Strikes
tapatalk.com/groups/monklybusiness43508/leksikon-s-half-assed-guide-to-monkly-aas-oow-incl-t510-s20.html?sid=a9c7745f287f3e89301c960c20f33248
Sinister Strikes:
19 Delay weapon -- Gives a 5 damage bonus to all hits
20 Delay weapon -- Gives a 6 damage bonus to all hits
24 Delay weapon -- Gives a 7 damage bonus to all hits
Given Quarm hammer with maxed non-GoD AAs:
0.7 HPS offhand = 4.9 DPS increase.
2024-01-08 22:31:04 -06:00
Fryguy
46a0cf6b02
[Rule] Separate Tradeskill Max Train from Research. ( #3916 )
...
* [Rule] Seperate Tradeskill Max Train from Research.
Different eras had different rules on the max gm trainable skill for Research.
* Phrasing
2024-01-08 22:29:57 -06:00