Newbie Spellweaver
- Joined
- Aug 10, 2024
- Messages
- 70
- Reaction score
- 22
Hi can someone help me i tried to apply FL_BATTLEPASS but i got this log when i tried to open the battlepass in game, also neuz crash after clicking the battlepass. how to fix it?
can you help me hot to fix it? i already created the battlepass windowThe error log is giving you a lot of pointers to work from. It's something about the stylation and font of the function that creates a crash.
Check CWndBattlePass::OnDraw()View attachment 278455
Hi can someone help me i tried to apply FL_BATTLEPASS but i got this log when i tried to open the battlepass in game, also neuz crash after clicking the battlepass. how to fix it?
i compare the function they are same i open battlepass in game but the neuz still crash with same error logCheck CWndBattlePass::OnDraw()
Function GetTextExtent() is used somewhere there
Something with the text, empty or some other errori compare the function they are same i open battlepass in game but the neuz still crash with same error log
i tried to create the window again and try but same issueThe issue seems to be in Resdata. Try checking it again to find the problem.
Hi.
You will have to debug it yourself with Visual Studio.
Here is how you can do it :
- Open your solution on Visual Studio.
- Right click on your Neuz project.
- Select "Properties".
- Go to "Configuration Properties" -> "Debugging".
- Set "Command Arguments" to "sunkist" (if your neuz uses sunkist parameter).
- Change "Working Directory" to your client path.
- Change "Debugger Type" to "Native Only".
- Right-click again and select "Debug" -> "Start new Instance".
Show the callstack pleaseView attachment 278548
Hi after i debug i encounter this exception what should i change?
Double click in 3 line (CWndBattlePass)View attachment 278550
Here is the Callstack
Double click in 3 line (CWndBattlePass)
And send screeenshot with code
Probably some static or other element is missing in the windowView attachment 278553
here is the code for (CWndBattlePass) and the error point in that "p2DRender->TextOut(GetWndCtrl(nStaticSlot)->rect.right - size.cx - 2, GetWndCtrl(nStaticSlot)->rect.bottom - size.cy, str, 0xffeaebdd);"
From this screenshot I see that you have not loaded some font that the battlepass uses (this(font) -> null), that's why you get a crashView attachment 278548
Hi after i debug i encounter this exception what should i change?