Sphereserver / Source-X

Ultima Online server emulator
Apache License 2.0
58 stars 47 forks source link

Github action compiler set build#1 and cause bug on timer #1051

Closed Jhobean closed 1 year ago

Jhobean commented 1 year ago

Sometime on boot we get this warning. image

It's a patch to fix a weird bug and we don't know why it happen. Today I found the cause because I have these fucking long timer happen on my layer 30 item on my char!! unfortunately the fixweirdeness patch dont fix this layer.

here the problem: 1-Timer are save in ms on the save image

2- When booting the shard, timer set on item are on second and save again in ms... So timer increase each boot image

3- on next boot we get fix weirderness again. image

Jhobean commented 1 year ago

After testing more here the cause: .EXE compiled by github action = Glitch .exe compiled by appveyor or VS in local are ok

if you load a clean save with the bad server it will work. If you save and close the server, data will have correct value on the sphereworld. After a save with the Bad server, any server version will load the value with the *1000.... but in sphereworld save seem correct.

Jhobean commented 1 year ago

Drk found the cause: image

The problem is Github Compilation set build #1

Jhobean commented 1 year ago

Fix here: https://github.com/Sphereserver/Source-X/pull/1053