Framework icon indicating copy to clipboard operation
Framework copied to clipboard

Containers variable return null object

Open Jimz71 opened this issue 5 years ago • 4 comments

Expected behaviour

Containers check should not count null object.

Actual behaviour

If player place container and relog containers var will return some null object until reboot, so the count of containers will be false .

Steps to reproduce the behaviour

  1. (Add,Delete) Container.
  2. Disconnect.
  3. Reconnect.
  4. Check the containers vars : return null object until reboot.

RPT and/or extDB3 logs (if applicable)

N/A


Mission version: 5.0

Launcher version: 1.5

Game version: 1.96

Branch: main / beta branch not specified

Jimz71 avatar Jan 07 '20 13:01 Jimz71

Seems you've omitted important parts of the issue template, could you please correct that?

BoGuu avatar Jan 07 '20 16:01 BoGuu

@Jimz71 Hi, sorry for the delay in responding, can I just clarify, are you saying that the variable "containers" which is set on the house is returning objNull, or is it an array containing objNull's? Also is this after adding then removing a container?

DomT602 avatar Apr 29 '20 21:04 DomT602

Hi @Jimz71, above you can see 2 PR's to resolve this issue. #652 for the 5.x.x branch, and #653 for master branch. Please could you confirm if this resolves your issue?

DomT602 avatar Apr 30 '20 09:04 DomT602

As already noted: #653 fixes the dup-bug for current master branch. I didn't checkecd #652 for 5.x.x branch.

ghost avatar May 21 '20 10:05 ghost