Filigrani / SkyCoop

Multiplayer for The Long Dark game
MIT License
158 stars 25 forks source link

Joiners meat spoils more or less instantly. #11

Closed Lussian-A closed 2 years ago

Lussian-A commented 2 years ago

This is for 6.1 Beta 1 Obviously.

Just noticed after last nights sessions that my friend who joins me, has his meat spoiled almost instantly.

After some more keen eyed session, we noticed that the host suffers no problems, but clients seems to generally have their items degrade 2-4 times faster than the host, sometimes instantly in the case of meat, as he remarked when I entered the building he was in while he was in his inventory and he saw his meat drop from 50'ish to ruined in the blink of an eye.

So definitely somethin goin on here. Cloths degraded faster as well.

Animals seem to multiply now and then if we shoot at them and sometimes seem to soak up wayyy too many bullets, like 15 revolver bullets for one wolf at the worst :D

Fascinating stuff. Anyways, keep up the good work.

Lussian-A commented 2 years ago

Just main post update and change.

Oh and research books don't seem to spawn at all for clients for some reason .

Filigrani commented 2 years ago

Yes, we still trying to find why this happends, but looks like a when host change scene during loading time host does not sends time, and it makes client use his own time that different due of skiping time problems, and it makes it work wrong. I entered the building he was in while he was in his inventory and he saw his meat drop from 50'ish to ruined in the blink of an eye. this your note will help a lot thank you, we will keep search how we can fix this.

Lussian-A commented 2 years ago

Just adding this here, as there's currently no way to aquire rabbit in the game. Snare can catch them, but if you try to interact with the corpse the log spams this in the log

[23:00:49.778] [ERROR] Exception in Harmony patch of method bool PlayerManager::ProcessBodyHarvestInteraction(BodyHarvest bh, bool playBookEndAnim): System.NullReferenceException: Object reference not set to an instance of an object at SkyCoop.Pathes+BodyHarvest_OutOfSomeoneAlready.Prefix (BodyHarvest bh, System.Boolean playBookEndAnim) [0x00038] in :0 at (wrapper dynamic-method) PlayerManager.DMD(PlayerManager,BodyHarvest,bool) at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.DMD_il2cpp(intptr,intptr,bool)

And if you enter and exit the map, the corpse disappears

Alexsys commented 2 years ago

Just adding this here, as there's currently no way to aquire rabbit in the game. Snare can catch them, but if you try to interact with the corpse the log spams this in the log

[23:00:49.778] [ERROR] Exception in Harmony patch of method bool PlayerManager::ProcessBodyHarvestInteraction(BodyHarvest bh, bool playBookEndAnim): System.NullReferenceException: Object reference not set to an instance of an object at SkyCoop.Pathes+BodyHarvest_OutOfSomeoneAlready.Prefix (BodyHarvest bh, System.Boolean playBookEndAnim) [0x00038] in :0 at (wrapper dynamic-method) PlayerManager.DMDPlayerManager::ProcessBodyHarvestInteraction(PlayerManager,BodyHarvest,bool) at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.DMDPlayerManager::ProcessBodyHarvestInteraction_il2cpp(intptr,intptr,bool)

And if you enter and exit the map, the corpse disappears

Rabbits were removed as of the latest releases. So forcibly spawning them with snares will inevitably and certainly cause the game to spasm and try to remove it

Lussian-A commented 2 years ago

Ah, I knew wild rabbits were removed due to crazy slow down of the game. Didn't know the snare rabbits was gone too.