Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: westtunger on August 25, 2015, 01:51:26 am

Title: [QUESTION:WotlK] Custom class crash : Ingame character frame
Post by: westtunger on August 25, 2015, 01:51:26 am
Hi everyone !

I've a problem, crash on the character information tab ingame with the most part of my custom class.

I've fill my dbc files / database, but still have crash, so i need your help :

(http://img15.hostingpics.net/pics/519239crash.png)

ps : The working class are the 1/4 and 7 one, the other i've tested crash, all my class from 1-20 are custom

Thanking you in advance, westtunger =)
Title: Re: [QUESTION:WotlK] Charbaseinfo.dbc number of row.
Post by: Rangorn on August 25, 2015, 04:19:21 am
What does the wow error say ingame ?
Title: Re: [QUESTION:WotlK] Charbaseinfo.dbc number of row.
Post by: westtunger on August 25, 2015, 12:20:49 pm
This part of the problem is solved, the other part is on the first message.
Title: Re: [QUESTION:WotlK] Custom class crash : Ingame character t
Post by: westtunger on August 31, 2015, 01:44:08 pm
Bump, still have this problem, this is very annoying =/
Title: Re: [QUESTION:WotlK] Custom class crash : Ingame character t
Post by: Morfium on August 31, 2015, 03:26:25 pm
This is more of a guess, but I once had a similar issue with crashes on opening char info.
It was due to too high (or wrong) values for basestats I think.
You could try this:

Code: [Select]
/console PlayerStatLeftDropDown Melee
/console PlayerStatRightDropDown Spell
/reload

If you can open the char info after this, you might have wrong values for those and your char frame crashes.
If your values are correct, maybe looking at the lua files for that frame can give you some insight.

Good luck!
Title: Re: [QUESTION:WotlK] Custom class crash : Ingame character t
Post by: westtunger on August 31, 2015, 03:30:38 pm
Edit : Ok, in fact the tab crash, with the stats hided or not.

Re-edit : Maybe i should learn to read a message completely ...

I'm looking in paperdollframe.lua, there is some interseting things, ii'll make test and come back after.

Thanks you for your answer =)
Title: Re: [QUESTION:WotlK] Custom class crash : Ingame character t
Post by: westtunger on August 31, 2015, 04:18:00 pm
So, i've modified the file to fit with my class, but it still crash with the same error.

The server doesn't show any error btw, so i don't think it's a server problem, that should come from a dbc/lua files, and i'm sure to have fill all the dbc, so ...

I'm searching in the lua files, but actually don't find anything usefull.

edit : further research conclude that it's the complete character frame who have problems, even the skill tab cause crash with the same error.

edit3 : i've find for the skill of the player, chrBaseInfo.dbc, my previous fix cause problem, well i'll found an other way, but even with skill the client still crash on any character frame.
Title: Re: [QUESTION:WotlK] Custom class crash : Ingame character t
Post by: Morfium on August 31, 2015, 07:01:59 pm
Are those attached files the only files you edited?
Because you probably have to change much more.
Especially ChrClasses.dbc and the lua files that display talent trees and character frames. I think they contain enums with all classes.
Edit:
Oh didn't see your edits...
I'm not really sure what files need edits, sorry. :/
Edit2:
SkillRaceClassInfo.dbc is probably important too. The fourth column is the class bitmask.
Title: Re: [QUESTION:WotlK] Custom class crash : Ingame character t
Post by: westtunger on August 31, 2015, 07:08:59 pm
Np, i've modified every dbc's relative to class, for talent tree it's dbc too.

If i find from where come the crash, it'll be cool, but there's nothing in characterframe.lua, and paperdoll.lua(caracteristic tab) is modified ( but i don't think this file can cause crash ).

Edit : My class have the id 2, like paladin, so skillraceclassinfo.dbc is fill for this one.
Title: Re: [QUESTION:WotlK] Custom class crash : Ingame character f
Post by: XxXGenesisXxX on September 04, 2015, 04:54:53 pm
Have you done "Step 3. Fixing the client crash when checking stats bug!" in my guide? That step is universal, not just for ArceEmu. Double check it too, it's a tedious set of DBC's.

[TUTORIAL] Creating a shell of a class! (http://modcraft.io/viewtopic.php?f=26&t=1840)
Title: Re: [QUESTION:WotlK] Custom class crash : Ingame character f
Post by: westtunger on September 04, 2015, 05:25:58 pm
Yep, done. I gave the gt dbc's in the first post.

The crash happen in any tab of the character frame, not only where the stats are shown, even if the stats are hiden.