Commit graph

518 commits

Author SHA1 Message Date
gmriggs
c420312a89
.net10 build (#4392)
* .net10 build

* update appveyor version

* update appveyor vs version

* Update appveyor.yml

* Update ACE.Server.csproj

* Update PacketHeaderOptional.cs

* Update .vsconfig

* Update ACE.Adapter.csproj

* Update ACE.Common.csproj

* Update ACE.Database.Tests.csproj

* Update ACE.Database.csproj

* Update ACE.DatLoader.Tests.csproj

* Update ACE.DatLoader.csproj

* Update ACE.Entity.csproj

* Update ACE.Server.Tests.csproj

* Update ACE.Server.csproj

* Update ACE.Database.csproj

* Update Dockerfile

* Update ACE.Common.csproj

* Update ACE.Database.Tests.csproj

* Update ACE.Database.csproj

* Update ACE.DatLoader.Tests.csproj

* Update ACE.DatLoader.csproj

* Update ACE.Server.Tests.csproj

* Update SphereTests.cs

* Update AppVeyor config

Suppress NETSDK1233 warnings for now

* Update AppVeyorBuild.bat

* Update ACE.sln

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update README.md

---------

Co-authored-by: Ty Conner <tyconner@itcproductions.com>
2026-02-15 13:41:34 -05:00
Ty Conner
b9b5c23220
Update Event Importing (#4402)
Adjusted code for event to be properly registered in EventManager for hot-loading event without restarting server
2025-11-28 14:21:18 -05:00
Coldeve-ACE
6122faa7a8
Remove Some Console Spam (#4343)
* Update PlayerCommands.cs

* Update EnchantmentManager.cs
2025-08-11 22:37:27 -04:00
OptimShi
53edc5b1c3
Added importsql/exportsql support for events. Added additional weenie info to landblock SQLWriter. (#4333)
Co-authored-by: OptimShi <26606778+OptimShi@users.noreply.github.com>
2025-07-16 00:34:45 -04:00
Ty Conner
ddf8437f42
Update AdminCommands.cs (#4331) 2025-06-30 14:26:13 -04:00
Galli
ecd6ce2b43
Remove UTF-8 BOMs across repository (#4324)
* remove bom from source files

* Remove stray BOM cleanup comments
2025-06-22 15:33:36 -04:00
Galli
c1ad4e2e41
Update AdminCommands.cs (#4323)
Correct typo in comment on line 433
2025-06-22 15:33:25 -04:00
gmriggs
f1cbf49516
deprecating legacy loot system (#4314) 2025-05-10 22:13:29 -04:00
OptimShi
7d78202ddc
Reworked Gear Plating Name functionality to fix some gaps and omissions. (#4276)
* Reworked Gear Plating Name functionality to fix some gaps and omissions, as well as added a `fix-gear-plating` dev command.

* Update DeveloperDatabaseCommands.cs

---------

Co-authored-by: OptimShi <26606778+OptimShi@users.noreply.github.com>
Co-authored-by: Ty Conner <tyconner@itcproductions.com>
2025-03-09 05:22:17 -04:00
Ty Conner
d4b278e569
Add filter support to qst command (#4257) 2025-01-14 20:55:39 -05:00
Ty Conner
989b8c6d9b
Fix morph command (#4253) 2024-12-08 19:59:27 -05:00
gmriggs
edcc7cd4cc
add encounter import/export commands for content devs (#4252) 2024-12-08 19:59:18 -05:00
OptimShi
f108bb3cd8
Better handling of export-sql functions (#4235)
* Handle empty landlocks when attempting to export-sql

* Adjusted all sqlFile output in a `using` loop to help prevent locked files on failure.

---------

Co-authored-by: OptimShi <26606778+OptimShi@users.noreply.github.com>
2024-10-24 14:00:42 -04:00
Ty Conner
b4e2334333
Update output of DateTime strings (#4224)
* Update output of DateTime strings

Define and use explicit formatting for DateTime objects used throughout source

* Update Player.cs

* Update GameActionQueryBirth.cs

* Update DateTimeExtensions.cs

* Update GameActionQueryBirth.cs

match the backpack panel output
2024-09-18 00:30:35 -04:00
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
283c27b5e5
Match Shutdown pcap text (#4198) 2024-07-08 13:19:52 -04:00
Mag-nus
2b61b28147
Cumulative updates (#4180)
* Many lb group performance related updates

* fixes

* tweak partitioner

* Implement LandblockGroupMinSpacingWhenDormant

* More threaddebug

* cleanup
2024-06-28 10:43:53 -04:00
Ty Conner
575688c222
Adjust Ethereal state on Drop (#4188)
Re-enforces expected default state of Ethereal after object is dropped by player
2024-06-06 00:59:07 -04:00
Ty Conner
dd3f1483a0
Adjust serverstatus command (#4162)
Swap out GetBiotaCount for GetEstimatedBiotaCount to explicit counting of all db records.

See https://mariadb.com/kb/en/incredibly-slow-count-on-mariadb-mysql/
2024-05-11 23:22:27 -04:00
Mag-nus
ef427aa6e5
lbgroupstats (#4165)
* lbgroupstats

Stats about landblock groups

* update formatting
2024-05-12 02:37:02 +00:00
Mag-nus
8fdd2ee9c2
ThreadDebug (#4161)
* ThreadDebug

* add more info on longest ticked lb group

* Improved thread paritioning

* RollingTimeSpanTracker
2024-05-12 02:35:32 +00:00
Ty Conner
01474c826b
Fix serverperformance command bug (#4159) 2024-04-24 22:53:31 -04: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
e7fbdab3f1
Update DeveloperCommands.cs (#4152) 2024-04-21 14:24:07 -04:00
OptimShi
6ca63be694
Display error message of POI does not exist in /telepoi admin command (#4148) 2024-04-09 00:00:10 -04:00
aquafir
918aa66d9b
Command categories and Harmony bump (#4144)
* Bump Harmony version

* Add command category support

* Switch usage to unpatch all, split register commands from patch with Harmony

* Move instantiation of command handler dictionary to declaration

* Remove deferred command registration

* Revert build output changes

* Move mod listing to end of startup
2024-04-05 13:03:49 -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
Mag-nus
9d70b48380
Improve logging overhead by fixing string interpolation (#4107)
* First batch

* Second batch

* another batch

* last batch hopefully

* fix
2024-03-13 02:38:39 +00:00
Mag-nus
0a9c9c3164
Add ThreadPool info to ServerStatus (#4106) 2024-03-13 02:38:19 +00:00
Mag-nus
8c5d81a0a3
Enable LOH Compacting on forcegc (#4101)
* Enable LOH Compacting on forcegc

Maybe this will help recover long running servers that go into GC sawtooth pattern

* This should be good for master
2024-02-03 20:47:14 +00:00
Ty Conner
e56390aabe
Adjust Barbershop handling (#4079)
* Adjust Barbershop handling

* Delete Player_Barber.cs

* Update Player_Character.cs

* Update Player_Use.cs

* Update Player_Character.cs
2023-12-31 15:18:13 -05:00
Ty Conner
12e569652f
Switch to System.Text.Json (#4002)
* Switch to System.Text.Json

Removed Newtonsoft.Json and DouglasCrockford.JsMin

* Update GameConfiguration.cs

* Update MasterConfiguration.cs

* Update ThreadConfiguration.cs

* Update StarterSpell.cs

* Update StarterGearFactory.cs

* Update Program_Setup.cs

* Update LifestonedConverter.cs

* Update Program_Setup.cs

* Update Program_Setup.cs

* Update ACE.Adaptor

Shift JSON weenie [de]serialization to System.Text.Json

* Update LifestonedConverter.cs

* Update StarterGearFactory.cs

* Update ACE.Server.csproj

* Update ACE.Server.Tests.csproj

* Update Program.cs

* Update MySqlConfiguration.cs

* Update DDDConfiguration.cs

* Update ModContainer.cs

* Update ModManager.cs

* Update ModMetadata.cs

* Update ModMetadata.cs
2023-12-21 14:15:38 -05:00
Ftuoil Xelrash
b482936d9c
Update DeveloperCommands.cs (#4051)
fix string
2023-10-22 20:16:24 -04:00
gmriggs
14e3a13c2c
improve documentation for content editor commands (#4020) 2023-07-14 19:03:31 -04:00
Ty Conner
c09bea0358
Adjust connection flow (#3974)
* Adjust connection flow

Changed connection flow to better match retail PCAPs

* Update NetworkSession.cs

* endpoint split

* Update NetworkSession.cs

* Update NetworkSession.cs

* Update DeveloperCommands.cs

* Update DeveloperCommands.cs

* Update NetworkSession.cs

* Update NetworkSession.cs

* Update SessionConnectionData.cs

* Update NetworkSession.cs

* Update DeveloperCommands.cs

* Update NetworkSession.cs

* Update ConnectionListener.cs

* Update ConnectionListener.cs
2023-06-09 12:33:04 -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
aquafir
23a7a41a04
Add mod support (#3948)
* Add mod support

* Change .NET Core 3.1 to .NET 6 for DatLoader.Tests to remove dependency.

* Add default mod path

* Attempt to create missing mod folder

* Update Source/ACE.Server/Mods/ModManager.cs

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

* Use pre-release Harmony

---------

Co-authored-by: gmriggs <gmriggs@gmail.com>
2023-05-25 22:15:41 -04:00
gmriggs
cb0d440ecb
prevent index out of range exception for some recipe developer content commands (#3933) 2022-12-06 18:21:00 -05:00
gmriggs
bc09da25df
fixes for previous checkins (#3926)
* Revert "Adjust calculation of Max Range for Spells (#3924)"

This reverts commit d1278dd31a.

* VerifySpellRange

* updating comment
2022-11-28 14:54:42 -05:00
OptimShi
2334c1bfc1
Added spells to import/export sql functions (#3925) 2022-11-24 12:52:57 -05:00
gmriggs
4f8e838d97
- modify increased spell duration aug to not affect any server-side durations, in addition to dots (#3909)
- add support for untargeted spells to /castspell dev command
2022-10-15 11:26:37 -04:00
OptimShi
a28831755e
Added import-sql-folders command (#3910)
* Added import-sql-folders, to import weenie SQL including sub-folders within the content folder

* Changed hard-coded directory separator to system defined
2022-10-12 17:04:08 -07: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
gmriggs
f721d5f1b3
add rotate-axis commands for content creators (#3900)
* add rotate-axis commands for content creators

* normalize
2022-09-15 01:44:19 -04:00
OptimShi
93e2f9f4b7
Wired up PortalStorm Events for potential future use (#3868)
* Wired up PortalStorm Events for potential future use

* Typo
2022-07-02 12:14:03 -04:00
Ty Conner
f51929ef62
Adjust UseWithTarget to support SourceContained spell casting (#3835)
* Adjust UseWithTarget to support SourceContained spell casting

* Update Player_Magic.cs

* Update RecipeManager.cs

* Update CastQueue.cs

* Update CastSpellParams.cs

* Update MagicState.cs

* Update WindupParams.cs

* Update Player_Magic.cs

* Update Player_Use.cs
2022-05-07 14:23:37 -04:00
Ty Conner
ae71c93890
Generator System Revision 4 - Profile Delays (#3650)
* Switch from Slot delay to profile only delay

* Update GeneratorProfile.cs

* Update Chest.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update DeveloperCommands.cs

* Update GeneratorProfile.cs

* Update Chest.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update GeneratorProfile.cs

* Update WorldObject_Generators.cs

* Handle GeneratorType.Relative Rotation offsets

* Update GeneratorProfile.cs

* Adjust RemoveQueue and CurrentCreate

* Update WorldObject_Generators.cs

* more gen adjustments

* apply recommended changed

Co-Authored-By: gmriggs <8909245+gmriggs@users.noreply.github.com>

* Update GeneratorProfile.cs

Co-Authored-By: gmriggs <8909245+gmriggs@users.noreply.github.com>

* Update GeneratorProfile.cs

* Update GeneratorProfile.cs

* Update GeneratorProfile.cs

* Update WorldObject_Generators.cs

* Update GeneratorProfile.cs

* Update WorldObject_Generators.cs

* revamp 2-22-22

* Add GenStopSelectProfileConditions

* some cleanup / notes

* Update GeneratorProfile.cs

* Update WorldObject_Generators.cs

* Update DeveloperCommands.cs

* Update GeneratorProfile.cs

* Update Chest.cs

* Update WorldObject_Generators.cs

* Update GeneratorProfile.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Tick.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* more cleanup

* Update DeveloperCommands.cs

* Update GeneratorProfile.cs

* Update WorldObject_Generators.cs

Co-authored-by: gmriggs <8909245+gmriggs@users.noreply.github.com>
2022-03-26 22:44:13 -04:00
Ty Conner
5af29f0175
Update qst command to support QuestBits (#3820) 2022-03-26 22:16:17 -04:00
Ty Conner
7b6d6c6c56
Update various Admin commands (#3818)
* Update various Admin commands

* Update AdminCommands.cs

* Update ServerManager.cs

* Update AdminShardCommands.cs

* Update AdminCommands.cs
2022-03-21 10:49:02 -04:00