SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
84 stars 18 forks source link

Bug/s found !!! #2529

Closed MihailHavenT closed 1 year ago

MihailHavenT commented 3 years ago
  1. mega.nz
SDGNelson commented 3 years ago

Hmm this should be fixed from the .2 patch, will investigate.

SDGNelson commented 3 years ago

I tried replicating this in as far as I can tell the exact same way but was unable to get it to happen. Using the Attack Heli, switching between seats in the vehicle menu or hotkeys, etc. Are there any errors in your server logs?

MihailHavenT commented 3 years ago

No, same for Fighter Jet, the same bug...

SDGNelson commented 3 years ago

I just tried with the fighter jet as well, but no duping. Since the fighter jet does not have seats to swap I wonder when you remove the ammo box does it say there is still an ammo box inside and it lets you remove it repeatedly? I tried entering and exiting the vehicle and everything worked as-expected.

MihailHavenT commented 3 years ago

really, then what is this problem about?

SDGNelson commented 3 years ago

Can you send the Server_ (id) .log file please? There may be a clue.

MihailHavenT commented 3 years ago

2. [2021-04-04 01:09:55 ERR][SDG.Unturned] Exception invoking SDG.Unturned.ZombieManager.ReceiveZombieSpark by client loopback: [2021-04-04 01:09:55 ERR][SDG.Unturned] Object reference not set to an instance of an object [2021-04-04 01:09:55 ERR][SDG.Unturned] at SDG.Unturned.Zombie.askSpark (UnityEngine.Vector3 target) [0x00009] in :0 at SDG.Unturned.ZombieManager.ReceiveZombieSpark (System.Byte reference, System.UInt16 id, UnityEngine.Vector3 target) [0x0003d] in :0 at SDG.Unturned.ZombieManager_NetMethods.ReceiveZombieSpark_Read (SDG.Unturned.ClientInvocationContext& context) [0x00023] in :0 at SDG.Unturned.ClientMethodHandle.InvokeLoopback (SDG.NetPak.NetPakWriter writer) [0x00049] in :0

SDGNelson commented 3 years ago

Thanks, warren39 reported that as well at https://github.com/SmartlyDressedGames/Unturned-3.x-Community/issues/2524#issuecomment-812811553, and it will be fixed in the next patch. Thankfully has no negative effect aside from the logs because it will still be invoked on the client properly.

MihailHavenT commented 3 years ago

Ahh ok... very good