Vice City: Multiplayer

VC:MP Discussion => Bugs and Crashes => Support => Closed Bug Reports => Topic started by: EK.IceFlake on Mar 02, 2017, 03:22 PM

Title: Game crashes on disconnect when you have an active Listbox
Post by: EK.IceFlake on Mar 02, 2017, 03:22 PM
Description
When I have an active (as in not =null-ed) listbox and I get disconnected from the server, even without the game actually closing (for example, /disconnect), I get a crash.
=null-ing on Script::ScriptUnload doesn't work.

Reproducible
Always

What you were doing when the bug happened
Trying to make a spawnwep GUI system

What you think caused the bug
Forgetting to clean up references to listboxes on exit
Title: Re: Game crashes on disconnect when you have an active Listbox
Post by: vito on Mar 02, 2017, 04:00 PM
There is alot of GUI elements has same problems. I hope it will be rewritten.
Title: Re: Game crashes on disconnect when you have an active Listbox
Post by: Murdock on Mar 02, 2017, 07:14 PM
Already reported several times.
http://forum.vc-mp.org/?topic=3429.0
Title: Re: Game crashes on disconnect when you have an active Listbox
Post by: EK.IceFlake on Mar 04, 2017, 06:05 PM
Quote from: Murdock on Mar 02, 2017, 07:14 PMAlready reported several times.
http://forum.vc-mp.org/?topic=3429.0
That report is of a different issue of it crashing for no apparent reason. However, this report is about it crashing due to a Listbox
Title: Re: Game crashes on disconnect when you have an active Listbox
Post by: Murdock on Mar 06, 2017, 10:19 AM
Quote from: EK.IceFlake on Mar 04, 2017, 06:05 PMThat report is of a different issue of it crashing for no apparent reason. However, this report is about it crashing due to a Listbox

No, all the reports are the same. The game crashes because the game does not clean up GUI elements