Commit graph

25 commits

Author SHA1 Message Date
FlaggAC
7f1b58ab24
Change static readonly fields to const fields. (#4211)
This will at least somewhat improve performance, as confirmed through microbenchmark testing.

const fields are replaced with literal values in the Assembly's IL code, while static readonly fields may be optimized by the JIT, and is not guaranteed to happen. const fields may also lend themselves to stronger optimizations at runtime.
2024-08-24 14:32:35 +00:00
Ty Conner
47f23e2014
Switch to net8 (#4059)
* Switch to net8

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Create AppVeyorInit.ps1

* Update appveyor.yml

* Delete AppVeyorInit.ps1

* Create AppVeyorInstall.ps1

* Update appveyor.yml

* Update Dockerfile.arm64

* Update Dockerfile

* Update appveyor.yml

* Update ACE.Adapter.csproj

* Update ACE.Common.csproj

* Update ACE.Database.csproj

* Update ACE.DatLoader.csproj

* Update ACE.Server.csproj

* Update copyrights

* Update DeveloperContentCommands.cs

* Update DeveloperFixCommands.cs

* Update ACE.Database.csproj

* Update ACE.Database.csproj

* Update ACE.Common.csproj

* Update ACE.DatLoader.csproj

* Update ACE.Common.csproj

* Update ACE.Server.csproj

* Update ACE.Server.csproj

* Update ACE.DatLoader.csproj

* Update ACE.Server.csproj

* Update ACE.DatLoader.csproj
2024-04-24 13:24:41 -04:00
Ty Conner
94c5673634
Add verify-beneficial-enchantments command (#4139)
* Add verify-beneficial-enchantments command

Verifies enchantment registry has correct StatModType flags for Beneficial spells and optionally fixes

* Update DeveloperFixCommands.cs
2024-04-05 13:03:38 -04:00
gmriggs
ca950c3805
upgrading legacy fix commands to latest ef (#4119) 2024-03-13 13:51:39 -04:00
Ty Conner
39aea8cf0c
Add verify-melee-rares command (#4009)
* Add verify-melee-rares command

This command allows server operators to fix existing melee rares in the database to their correct End of Retail WCID values.

It also replaces "illegally" swapped melee rares that were obtained from the Melee Rare Vendor with a newly generated, valid rare at random.

* Update DeveloperFixCommands.cs

* Update DeveloperFixCommands.cs

* Update DeveloperFixCommands.cs

Remove Rare Coins

* Update DeveloperFixCommands.cs
2023-06-06 02:38:42 -04:00
Alissa
799fd886f0
Fix: Attributes able to be augmented above 100 innate (#3902)
* potential opt-in style fix for attributes being able to be augmented above 100 innate

* Fix valid attribute query to target valid attributes

* Fix debug message

* Cleanup messages

* more message cleanup

* target attribute must have points distributed to it

* when redistributing attributes, reset the free attribute reset timer

* Clean up message for verify-attributes augmentation fix

* opt-in attribute exploit fix; cleaned up query, comments, debug messages

* opt-in attribute exploit fix; line format debug messages

* Opt-in style fix for attribute augmentation exploit; remove unnecessary file

* Update Source/ACE.Server/Managers/PropertyManager.cs

flip boolean per suggestion and previous discussion

Co-authored-by: Ty Conner <tyconner@itcproductions.com>

Co-authored-by: Ty Conner <tyconner@itcproductions.com>
2022-09-23 20:54:26 -04:00
Ty Conner
dfc20bd6ba
Adjust verify-skill-credits (#3667)
* Adjust verify-skill-credits

Fix some issues with the verify command in addition to accurately using the DAT file and storing total on character as well

* Update DeveloperFixCommands.cs

* Update Player_Skills.cs

* Update DeveloperFixCommands.cs

* Update Player_Skills.cs
2021-08-31 00:30:55 -04:00
OptimShi
6274d404e0
Chasing Oswald - Requires Content Update (#3652)
* Update to Chasing Oswald completion quest stamp to match Contract

* Added newline to SQL update

* Blank new line...
2021-08-29 21:21:12 -04:00
gmriggs
31106ccd59
remove CD/CDR from lootgen shields (#3545)
* remove CD/CDR from lootgen shields

* adjust spacing
2021-05-18 18:20:27 -04:00
gmriggs
f1708fca12
legendary cantrips do not add level 180 requirement to items that don't already have a level req (#3399) 2020-12-27 20:36:10 -05:00
gmriggs
f88e94ac3c
ensure minimum wield level requirement 180 for items w/ legendary cantrips (#3390)
* ensure minimum wield level requirement 180 for items w/ legendary cantrips

* adding verify-legendary-wield-level fix command
2020-12-18 07:10:43 -05:00
Mag-nus
43c9300b10
.NET Entity Framework Core 3.1 support (attempt #2) (#3356)
* packages updated, fix compiler errors/warnings

* scaffold

* fix ShardDatabaseOfflineTools

* WorldDatabase fix performance

* ShardDatabase fix GetCharacters

* move comment

stuff

* extend UseMySQL statements

* fix character creation linq parsing

* fix exception

* fix references
2020-12-07 20:59:40 -06:00
gmriggs
e913a7de8a
add missing level requirement for t7 / t8 clothing in updated loot system (#3337)
* add missing level requirement for t7 / t8 clothing in updated loot system

* adding fix command

* small optimization
2020-10-29 08:32:51 -04:00
Ty Conner
c3d286b1ef
Adjust Arcane Lore handling in GetTotalSpecializedCredits (#3243)
* Exclude Arcane Lore in GetTotalSpecializedCredits

* Update SkillAlterationDevice.cs

* Update DeveloperFixCommands.cs
2020-09-20 00:43:29 -04:00
Ty Conner
929c307dbe
Add support for Enlightenment (#3094)
* Add support for Enlightenment

* Update Enlightenment.cs

* Update Enlightenment.cs

* comments

* Update Enlightenment.cs

* Update Enlightenment.cs

* Update Specialization rules

If skill is specialized via augmentation gem and is tinkering skill, it can be removed/refunded. If retrained, it will go back to specialized.

If skill is Salvaging, it will refund xp spent only, and remain specialized.

* Update Enlightenment.cs

* Update Enlightenment.cs

* Update Player_Skills.cs

* Update appveyor.yml
2020-07-29 00:46:55 -04:00
Ty Conner
f4ac60de26
Fix issue with spent xp verification (#3055)
* Fix issue with spent xp verification

* Update PropertyDataId.cs

* Update DeveloperFixCommands.cs

* Update DeveloperFixCommands.cs

* Update DeveloperFixCommands.cs

* Update DeveloperFixCommands.cs
2020-07-03 23:15:28 -04:00
Ty Conner
05522aba83
Fix issues with Specialized Skills (#3040)
* Fix issue with Aug Spec Skills

* Fix issue with specialized skill credit limit

* Update PropertyBool.cs

* Update appveyor.yml
2020-06-27 02:54:14 -04:00
Ty Conner
404cc98b5e
Fix issue with character creation skills bonuses (#2973)
* Update skill handling

- Update TrainSkill
   - Spec: init level bonus
   - Trained: xp bonus only at creation
- Update PlayerFactory for xp bonus of trained skill

* Update Player_Skills.cs

* Update Player_Skills.cs

* Update Player_Skills.cs

* Update Player_Skills.cs

* Update Player_Skills.cs

* Update AugmentationDevice.cs

* Update DeveloperFixCommands.cs

* Update DeveloperFixCommands.cs

* Update DeveloperFixCommands.cs

* Update DeveloperFixCommands.cs

* Update Player_Skills.cs

* Update DeveloperFixCommands.cs

* Update Source/ACE.Server/Command/Handlers/DeveloperFixCommands.cs

Co-authored-by: gmriggs <gmriggs@gmail.com>

* Update appveyor.yml

Co-authored-by: gmriggs <gmriggs@gmail.com>
2020-05-31 20:47:09 -04:00
Mag-nus
75fc1ce23c
Step 3. Convert ShardDatabase/WorldObjects biota from the ACE.Database model to the new ACE.Entity model (#2731)
* Step 1. Add new adapter classes and models

All classes and objects added are in new namespaces.

This add has 0 interraction on existing ACE code.

This sets the groundwork for Step 2. Moving World DB caching to the new models

* first part of the world entity usage

* almost there

* final part

* update WeenieExtensions

* fix

* merge fixes and improvements

* ACE.Database new code

* it compiles

* InitializePropertyDictionaries

* WOrldDatabaseWithEntityCache cleanup

* ShardDatabaseWithCaching

* ShardDatabase Cleanup

* todo

* cache counts reported in serverstatus

* House InitializePropertyDictionaries

* improve ServerStatus

* BiotaModel change HousePermissions to Dictionary<uint, bool>

* PropertiesAllegiance to dictionary

* BiotaUpdater improvements

* Shard Database Cache Reporting

* More code ported from Step 3

* Remove stub CharacterCache

* Update WorldDatabaseWithEntityCache.cs

* build fixes

* code audit

* Remove non-callback functions from SerializedShardDatabase

* BiotaUpdater progress.. only emote left

* Emotes done... now need to test

* fix

* Burden/Value fix for containers

* fat fingered EncumbranceVal

* add some safety

* Don't cache player biotas for initial PlayerManager load

* fix null spellbook

* Add another null check

This is redundant as the check is also upstream.

This is to prevent an exception in the future if this function is called from another source.
2020-04-02 22:40:27 -05:00
gmriggs
9fbaa0b37f
update verify-armor-levels (#2788) 2020-03-07 23:38:29 -05:00
gmriggs
dd1f046750
adding verify-armor-levels admin command (#2757)
* adding verify-armor-levels admin command

* .

* .

* update comment

* ensuring rng formula doesn't get applied more than once on multiple re-runs
2020-03-06 22:38:08 -05:00
Mag-nus
c1d480a01a
Step 2. Convert WorldDatabase Weenie Cache from the ACE.Database model to the new ACE.Entity model (#2702)
* Step 1. Add new adapter classes and models

All classes and objects added are in new namespaces.

This add has 0 interraction on existing ACE code.

This sets the groundwork for Step 2. Moving World DB caching to the new models

* first part of the world entity usage

* almost there

* final part

* update WeenieExtensions

* fix

* merge fixes and improvements

* More code ported from Step 3

* Update WorldDatabaseWithEntityCache.cs

* GetCachedCookbooks(recpieId) -> GetCookbooksByRecipeId(recpieId)

* build fix

* changelog
2020-03-02 08:03:50 -06:00
gmriggs
239fd57ed2
additional check for verify-skill (#2502) 2019-12-05 17:58:00 -05:00
gmriggs
d5c8aba015
adding verify* console commands for admins (#2485)
* cleanup playscript

* refactoring raise attribute/vital/skill, fixing security issues with them

* initial checkin

* pass 2

* adding comma

* adding missing file

* .

* fixing some issues with proficiency xp
2019-12-05 03:02:56 -05:00
gmriggs
3d316bf16d
adding fix-biota-emote-delay server console command (#2462)
* adding fix-biota-emote-delay server console command

* .

* adding counts
2019-11-26 16:28:55 -05:00