HeroEngine Forums

HeroEngine Support => GUI Creation => Topic started by: nocake on Sep 22, 16, 09:38:14 PM

Title: Opening the "GUI editor" tab crashes HE Client
Post by: nocake on Sep 22, 16, 09:38:14 PM
I have tried this on other machines, reinstalled, everything.

Please log into my world and see if you can load the GUI Editor Tab.

When HE crashes it does not prompt me with a report window.

I would assume this is something I need to fix in one of my files or clear something out in another file that is causing this to fail but I have 0 insight into why it is happening.
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: Amarak on Sep 23, 16, 09:05:30 PM
I have tried to log in to your world, but it never even gets to the splash screen.
This is what the console shows:
18:59:54: SYSTEM:System:Windows version: 6
18:59:54: SYSTEM:system:Game Scale set to: 10.00
18:59:54: SYSTEM:System:Initializing HeroBlade DLL
18:59:54: SYSTEM:System:SelectionManager::Startup()
18:59:54: SYSTEM:System:GUIControl::SetupScreen()
18:59:54: SYSTEM:System:Audio plugin [FMOD] initialized successfully
18:59:54: SYSTEM:System:Audio plugin [FMOD Studio] initialized successfully
18:59:54: SYSTEM:System:DebugVisualizer Setup
18:59:54: System:HeroEngine Client DLL told version is: 2.6.7.33263
18:59:55: SYSTEM:firestorm:BaseApplication::initialize   Service_Directory_Client   1474682394623   8
19:00:18: SYSTEM:firestorm:BaseApplication::initialize   Service_Directory_Client   1474682397888   8
19:01:16: SYSTEM:firestorm:BaseApplication::initialize   Service_Directory_Client   1474682475510   8
19:01:18: BillingChannelCallback:Message:

And I let it sit there for over an hour, but nothing changed.
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: Amarak on Sep 24, 16, 10:18:28 AM
Ok, so I let it sit there overnight and it may have just been downloading assets. I just managed to get into the world, and I crashed when I opened the GUI Editor tab. This at least confirms it's not just you. :)
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: FI-ScottZ on Sep 24, 16, 02:27:42 PM
I would investigate the timestamps on changes to xml scripts via the Script Editor.  Look at changes since this problem began and maybe you'll gain some insight.
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: nocake on Nov 02, 16, 03:21:32 PM
I would investigate the timestamps on changes to xml scripts via the Script Editor.  Look at changes since this problem began and maybe you'll gain some insight.

I spent some time doing this when the problem existed.

I spent some more time last night looking but no luck.

The frustration really is that the HeroEngine error catcher doesnt even catch this.

HE just instantly crashes so I have no insight into watch script or why this might be happening.

Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: nocake on Nov 02, 16, 03:32:17 PM
Just a head up, even creating a new GUI through HEScript crashes HE in the same fashion, no error catching.
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: ToY-Krun on Nov 02, 16, 04:32:28 PM
Just a heads up:

If the blade crashes with the GUI Editor open, it will STILL be open when you restart...
look up at the top and see if the GUI editors tool bar is there, if so, click on the close button.


If its open like this, and you try to open it again, it WILL crash.

Also, closing the blade with the gui editor open will usually have the same result.
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: nocake on Nov 02, 16, 04:59:53 PM
This has nothing to do with the GUI editor that opens once you select a GUI you wish to edit, this is only the GUI Editor list tab.

Selecting HeroScript->Gui Editor will close and open the tab I am talking about. In this case when I open that tab my HE crashed.

Amarak has access to my world, downloaded a fresh install and clicked to open the GUI editor tab and his Client crashed as well.

I assume this is something to do with the GUI i edited but I have no insight into what it could be and I have tried reverting the files I thought were changed around the time this error occurred.

Apparently you have logged into my world as well, can you load a clean area and open the GUI Editor Tab?

Thanks :)
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: ToY-Krun on Nov 02, 16, 05:01:54 PM
I was monitoring via shared screen , i don't have personal access to it.

If you want to add me I can take a look.  toy.krun@gmail.com
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: nocake on Nov 02, 16, 06:06:29 PM
added.
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: ToY-Krun on Nov 02, 16, 06:18:29 PM
gotcha, as soon as its finished downloading ill take a look.

I'll let you know.
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: ToY-Krun on Nov 02, 16, 06:56:52 PM
I can't make any changes to test any of it, but here is the log from the crash:

Code: [Select]
SYSTEM:System:Finished processing GUIXML directory list.
ERROR:System:GUIThunk::GetClass(): Couldn't find inherited controlType named '"ECharacterWindow" on controlType "ECharacterAbilityListWindow".
ERROR:System:GUIThunk::GetGUIControlTypes(): Couldn't determin the class of controlType: ECharacterAbilityListWindow
ERROR:System:GUIThunk::GetClass(): Couldn't find inherited controlType named '"ECharacterWindow" on controlType "ECharacterSkillListWindow".
ERROR:System:GUIThunk::GetGUIControlTypes(): Couldn't determin the class of controlType: ECharacterSkillListWindow
ERROR:System:GUIThunk::GetClass(): Couldn't find inherited controlType named '"scrollable_clientarea" on controlType "GUIFlowLayout".
ERROR:System:GUIThunk::GetGUIControlTypes(): Couldn't determin the class of controlType: GUIFlowLayout
ERROR:System:GUIThunk::GetClass(): Couldn't find inherited controlType named '"detailedItemContainer" on controlType "shopIconContainer".
ERROR:System:GUIThunk::GetGUIControlTypes(): Couldn't determin the class of controlType: shopBuyBackItemContainer
ERROR:System:GUIThunk::GetClass(): Couldn't find inherited controlType named '"detailedItemContainer" on controlType "shopIconContainer".
ERROR:System:GUIThunk::GetGUIControlTypes(): Couldn't determin the class of controlType: shopBuyItemContainer
ERROR:System:GUIThunk::GetClass(): Couldn't find inherited controlType named '"detailedItemContainer" on controlType "shopIconContainer".
ERROR:System:GUIThunk::GetGUIControlTypes(): Couldn't determin the class of controlType: shopIconContainer
ERROR:System:GUIThunk::GetClass(): Couldn't find inherited controlType named '"sleekOptionButton" on controlType "shopIdentifyButton".
ERROR:System:GUIThunk::GetGUIControlTypes(): Couldn't determin the class of controlType: shopIdentifyButton
ERROR:System:GUIThunk::GetClass(): Couldn't find inherited controlType named '"sleekOptionButton" on controlType "shopRepairAllButton".
ERROR:System:GUIThunk::GetGUIControlTypes(): Couldn't determin the class of controlType: shopRepairAllButton
ERROR:System:GUIThunk::GetClass(): Couldn't find inherited controlType named '"sleekOptionButton" on controlType "shopRepairButton".
ERROR:System:GUIThunk::GetGUIControlTypes(): Couldn't determin the class of controlType: shopRepairButton
ERROR:System:GUIThunk::GetClass(): Couldn't find inherited controlType named '"detailedItemContainer" on controlType "shopIconContainer".
ERROR:System:GUIThunk::GetGUIControlTypes(): Couldn't determin the class of controlType: shopSellItemContainer
ERROR:System:GUIThunk::GetClass(): Couldn't find inherited controlType named '"sleekOptionButton" on controlType "shopUnlockButton".
ERROR:System:GUIThunk::GetGUIControlTypes(): Couldn't determin the class of controlType: shopUnlockButton


Just an observation, as I've only seen this error a few times, and it didnt cause a crash, though it was usually a single control issue:

Check to make sure the classes that these controls are/were based on still exist.
You also might check your repo and see what recent changes were made to them,
OR
Check for any changes in their xml's.

Its a start at least.

Let me know if that doesnt turn up anything.
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: nocake on Nov 02, 16, 07:11:47 PM
I will look into those errors when I can, thanks for that.

I have also upgraded your account so you can alter the files.
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: ToY-Krun on Nov 03, 16, 06:25:56 AM
Okay I will take another look when I can, possibly later today , i have a pretty full plate this morning.


don't fret it though, as frustrating as these things can be, it's fixable.
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: nocake on Nov 03, 16, 02:50:49 PM
no fret just no solution after spending a few sessions into figuring it out.

At this time I am unable to solve it. I have tried everything I can think of!

Any additional insight would be nice or maybe a way to command line invoke the GUI editor for a specific GUI element since I am unable to access that window to edit the GUI's through the GUI Editor Tab.
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: FI-ScottZ on Nov 03, 16, 02:55:07 PM
I wonder if some gui relies on a class that has bad parents.
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: nocake on Nov 03, 16, 04:18:28 PM
I think that has more to do with how the GUI Editor Tab Loads the GUI XML list. What ever it does during that, as well when creating a new GUI from the HeroScript Editor.

Both invoke something that causes HE to instantly crash and not be caught by even the bug reporter.

You can invoke this on a newly installed client.

I do think it is something to do with a bad class or XML mark up though, just not that a GUI relies on it.
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: ToY-Krun on Nov 03, 16, 09:51:14 PM
Okay I resubmitted the files from the errors I posted, and those errors are gone.

However it still crashes.  I'll look a bit more.

Okay:

I uploaded a copy of the BaseScrollBars.xml from HJREf as one of your xmls was referenceing it (in the list I posted yesteday you can see where) 

I made a comment as to why, and deleted hte contents of shop.xml and resubmitted it to get rid of the error regarding the "sleekOptionButton" since that control doesnt exist as a class or gui control on the world.  you can copy over any needed classes etc and then just revert that xml back one version and be fine there.

I got the editor panel working, however, due to the problem, i've put it back as it was.

your guixml.lst file contains invalid xml file names etc.  I reverted that file back to its initial version and the gui panel etc worked just fine, however if you reverted that far back, you'd have to go through readding files you need that arent in there.  I tried reverting all the way back to spring 2015 and it too has the same issue so im not sure how far back the problem goes or what file name could be causing it.  anyway, you know the solution now, even if it could prove tedious :P

I have no way of knowing what files you are using/whats not used etc so you'd have to figure that out.

You can open the guixml.lst file in notepad++ to examine it.


Hope that helps some!
Title: Re: Opening the "GUI editor" tab crashes HE Client
Post by: nocake on Nov 03, 16, 11:09:58 PM
Thank you how ever I know this did not occur during 2015 so it must be something in one of the script that existed back then but has changed since.

Thanks for all the help I will try to track this down more when I have the time.