NEWS Heritage Server being upgraded from .NET Framework to .NET5

Dan

Staff Member
Administrator
Game Master
Over the past few weeks I've been working on upgrading the Heritage server and the https://github.com/TrueUO/TrueUO shard hosting package to .NET5 (used to be know as .NET Core)

Both currently require the .NET Framework, which we are trying to move away from.
(https://docs.microsoft.com/en-us/dotnet/standard/choosing-core-framework-server)**link explaining the difference between the two**

There are a ton of benefits to upgrading but there had always been one thing stopping us. Save times increased by 2x when originally upgrading. Parts of the save strategy in use are so old that while they work fine in a framework setting they don't work as fast on .NET.

I believe I've mitigated the longer save times just enough to now make it viable for production, but it will need some time being used on a active server to truly see if it is working as intended.
  • Save times under framework - 1.2 through 1.8 seconds.
  • Save times under .NET5 using the older save strategy - 3.0 through 3.5 seconds.
  • Save times under .NET5 with custom save strategy - 1.3 to 2.5 seconds

Due to the stress required to test I'll be deploying the .NET5 server upgrade to Heritage over the next 24 hours. During this time there could potentially be some save file corruption while the new save strategy is tested with multiple items/mobiles being added or removed from the world. If immediate issues or save issues are discovered I've built in a little switch to simply put us back on Framework.

There could some interruptions to game play during this migration.

I also know this community has some talented programmers out there. If anyone is familiar with .NET5 or playing around with ServUO/RunUO save strategies and has some pointers I'm all ears.

Link to the PR that will upgrade the TrueUO shard hosting package from Framework to .NET5 https://github.com/TrueUO/TrueUO/pull/1062

Link to the PR that changed how game saves have to be performed in .NET5 to get lower save times vs framework https://github.com/TrueUO/TrueUO/pull/1063/files
 

spezio

Newbie
Well, first feedback: im using classicuo, my dress hotkeys are shooting that i have to wait to do another action, everytime i have to execute hotkeys 2 or 3 times to change my gear, and my ping is increased by 10ms.
1630369902087.png
Secondary/Primary seems to acting as an action and counting delay for it. I have this simple macro that runs in loop and keeps secondary active, when im running this one, i cant use dress...

SetQuietMode(True)
if not ActiveAbility():
SetAbility("secondary", "on")
Pause(500)

A guildie using steam+2d client reports that his char is not unequiping shield to drink pots, need to insist another 2-3 times to make it drink

Thats all for now
 
Last edited:

XxXBarbieXxX

Neophyte III
Supporter
I've been converting some of my old system to .net5 recently. I am finding it much easier to work with, spending so long in Laravel recently the syntax is so similar and just enables rollout of API dev so quickly.

I might convert all my Laravel systems to .net5 as well : )

Good Luck Dan
 

PLAY NOW

Heritage

Address
play.trueuo.com
Port
2593
Players Online
19
Houses
1175
Vendors
258
Gold
2,844,846,208gp

Test Center

Address
test.trueuo.com
Port
2593
Players Online
0
Top Bottom