VanillaPlusPlus / VPP-Admin-Tools

The complete DayZ VanillaPlusPlus Administrator tools. This repository holds both client, and server side files.
96 stars 43 forks source link

Crash to desktop #75

Open TheInfamousNA opened 3 years ago

TheInfamousNA commented 3 years ago

Any time I open the Admin Tool Menu I get the Status_Access_Violation error. As long as the admin menu doesn't open I get no issues.

Da0ne commented 3 years ago

Perhaps there are other mods that are causing such conflict with the user interface of the admin tool. If possible, could you attach script / crash logs from your client here? Preferably the latest you can get by reproducing the issue.

TheInfamousNA commented 3 years ago

sorry for the delay in responding. I did some more testing and figured I ​would be more specific on my issue. Once in the Admin Menu the only thing that causes the crash is Enabling Preview in the Item Manager. Aside from that all other options seem to work just fine. My crash log and script log have been attached.

crash_2021-04-09_19-27-05.log script_2021-04-09_19-27-05.log

GravityWolfNotAmused commented 3 years ago

Hello @TheInfamousNA,

The reason for this is because there are some objects that are packaged with the game that are not meant to be displayed. This is why we have Enable Preview toggled off by default. Personally, after seeing your crash logs, I would tell you to reach out to the creator of BetterInspect, and ask them why you receive the errors at the end of crash logs. As for the issues we can actually fix read my next response.

GravityWolfNotAmused commented 3 years ago

@Da0ne We are using the variable target before we are making sure that it is there causing a null pointer. https://github.com/VanillaPlusPlus/VPP-Admin-Tools/blob/85087ee66bce9a9bc4118899107d46f4590f06f9/5_Mission/missionGameplay.c#L134

As for the item preview, If the plan is blacklist, which has always been a not a very idea, we need to be careful with time complexity. O(NK) is not a good idea if we pass 100 in the blacklist (number Of Blacklist number of item's inside of Item category), so if we cannot avoid that time complexity I would say it is a bad.

DoD-Vistor commented 3 years ago

Hello - I messaged you earlier in the years in regards to a crash to desktop when teleporting. Sadly. I am still getting it. But it doesn't happen every time. Don't know if you got any new info in regards to this.

Dusty37 commented 3 years ago

hello Error 0x0000005 is thrown out by DayZ @CF only; VPPAdmintools Is Installed On The Server Nothing Else and the error keeps coming up possibly solving this?

GravityWolfNotAmused commented 3 years ago

When does this error happen @Dusty37 ?

GravityWolfNotAmused commented 3 years ago

@DoD-Vistor That issue is DayZ as all we are doing is relocating your player by setting coords.