Jump to content

2.5.2.17559.377@openbeta:MP:DeSync client side crates don't remove when destroy()


Drexx

Recommended Posts

Project: DeSync client side crates don't remove when destroy()

Type: Crates are not properly removed when staticObjectCrate:destroy() is called on them

Status: not sure

Reported: not sure

Priority: High

Summary: Crates are not properly removed when staticObjectCrate:destroy() is called on them

 

Description: Crates are not properly removed when staticObjectCrate:destroy() is called on them, the server shows them removed and they disappear off the server but NOT on the client, they are left there.

 

This crates a massive mess on the client.

 

To reproduce you need TWO MACHINES, 1 to host and 1 to act as a client. you'll notice the host PC removes the crate properly but all the clients the crate stays around even though it doesn't exist on the server, creating a massive mess

 

Example, loot at the huge amounts of left over crates because they dont dissappear on the clients (they dont exist on the server), https://clips.twitch.tv/ResoluteSuaveCobraANELE


Edited by Drexx

Developer of DDCS MP Engine, dynamicdcs.com

https://forums.eagle.ru/showthread.php?t=208608

Link to comment
Share on other sites

can confirm this and also weirdness like floating crates in MP

 

such a PITA

METAR weather for DCS World missions

 

Guide to help out new DCS MOOSE Users -> HERE

Havoc Company Dedicated server info Connect IP: 94.23.215.203

SRS enabled - freqs - Main = 243, A2A = 244, A2G = 245

Please contact me HERE if you have any server feedback or METAR issues/requests

Link to comment
Share on other sites

2.5.2.18307@openbeta:MP:DeSync client side crates don't remove when destroy()

 

Project: DeSync client side crates don't remove when destroy()

Type: Crates are not properly removed when staticObjectCrate:destroy() is called on them

Status: not sure

Reported: not sure

Priority: High

Summary: Crates are not properly removed when staticObjectCrate:destroy() is called on them

 

Description: Crates are not properly removed when staticObjectCrate:destroy() is called on them, the server shows them removed and they disappear off the server but NOT on the client, they are left there.

 

This crates a massive mess on the client.

 

To reproduce you need TWO MACHINES, 1 to host and 1 to act as a client. you'll notice the host PC removes the crate properly but all the clients the crate stays around even though it doesn't exist on the server, creating a massive mess

 

Example, loot at the huge amounts of left over crates because they don't disappear on the clients (they dont exist on the server)

 

I included a picture of what the landscape looks like (its silly)

Screen_180606_225719.thumb.png.3f8f327b62e1a4a21a8119d4b1e7b368.png

Developer of DDCS MP Engine, dynamicdcs.com

https://forums.eagle.ru/showthread.php?t=208608

Link to comment
Share on other sites

  • 5 months later...

The bug is still here. Client side crates will not despawn.

 

```if request.action == "REMOVEOBJECT" then

--env.info('REMOVE OBJECT')

local removeObj = Unit.getByName(request.removeObject)

local removeObjStat = StaticObject.getByName(request.removeObject)

if removeObj ~= nil then

--env.info('Destroying '..request.removeObject)

removeObj:destroy()

elseif removeObjStat ~= nil then

--env.info('Destroying Static '..request.removeObject)

removeObjStat:destroy()

end

end```

 

I send in the unit name into that. thats run on the lua side. one of the few lua commands called remotely. it tries to grab unit name first. if no unit, must be a static. then runs the static destroy command


Edited by Skarp
Link to comment
Share on other sites

So I ran some more tests and what happens is while the client is connected to the server the client will not see the crates despawn but the server host will. If the client reconnects the crates will appear despawned. So the issue is despawning the crates client side while connected.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...
  • 1 year later...
  • ED Team
Bump. Desync floating crates are still there

 

We are aware of the issue and it is reported.

 

It is however low priority for the dev in charge as he has other tasks with higher priorities.

 

Thanks

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, HP Reverb G2

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...