|
You last visited: Today at 19:31
Advertisement
Client Crash on level 15
Discussion on Client Crash on level 15 within the Flyff Private Server forum part of the Flyff category.
07/11/2020, 12:34
|
#1
|
elite*gold: 0
Join Date: May 2014
Posts: 17
Received Thanks: 0
|
Client Crash on level 15
Hi,
I have tried to copy
PHP Code:
#define __FASTJOBCHANGE //ระบบเปลี่ยนอาชีพออโต้
from another source, and I ended up with a crashing client on lv.15.
Any idea how I can debug client crashes and see what's missing?
I think it's about this code:
PHP Code:
#ifdef __FASTJOBCHANGE
if (GetLevel() == MAX_JOB_LEVEL || GetLevel() == (MAX_JOB_LEVEL + MAX_EXP_LEVEL) || GetLevel() == MAX_LEGEND_LEVEL)
{
SAFE_DELETE(g_WndMng.m_pJobChangeEx);
g_WndMng.m_pJobChangeEx = new CWndJobChangeEx;
g_WndMng.m_pJobChangeEx->Initialize();
}
#endif//__FASTJOBCHANGE
But not sure why it crashes if compilation success.
|
|
|
07/11/2020, 12:50
|
#2
|
ベトナム警察
elite*gold: 0
Join Date: Jan 2012
Posts: 16,496
Received Thanks: 3,517
|
Do you have any error logs in your client?
|
|
|
07/11/2020, 12:55
|
#3
|
elite*gold: 51
Join Date: May 2009
Posts: 338
Received Thanks: 76
|
Quote:
Originally Posted by theunrealz
if (GetLevel() == MAX_JOB_LEVEL || GetLevel() == (MAX_JOB_LEVEL + MAX_EXP_LEVEL) || GetLevel() == MAX_LEGEND_LEVEL)
{
SAFE_DELETE(g_WndMng.m_pJobChangeEx);
g_WndMng.m_pJobChangeEx = new CWndJobChangeEx;
g_WndMng.m_pJobChangeEx->Initialize();
}
#endif//__FASTJOBCHANGE[/php]
But not sure why it crashes if compilation success.
|
he tries to get the window if it doesn't have the right functions then he crashed.
make sure that you have the right resdata otherwise check your code again.
|
|
|
07/11/2020, 13:07
|
#4
|
elite*gold: 0
Join Date: May 2014
Posts: 17
Received Thanks: 0
|
Quote:
Originally Posted by Lumi
Do you have any error logs in your client?
|
I don't see any ( Checked in the Log folder, only old once)
Quote:
Originally Posted by Steffen Tequila
he tries to get the window if it doesn't have the right functions then he crashed.
make sure that you have the right resdata otherwise check your code again.
|
Thanks, when you say the right resdata, what do you mean exactly?
What I did is compiled the source, activated merge2.exe then moved the res files to the client.
Not sure if I missed something. Hard to shoot without a log that says why clien crashes
|
|
|
07/11/2020, 13:11
|
#5
|
elite*gold: 51
Join Date: May 2009
Posts: 338
Received Thanks: 76
|
Quote:
Originally Posted by theunrealz
Hi,
I have tried to copy
PHP Code:
#define __FASTJOBCHANGE //ระบบเปลี่ยนอาชีพออโต้
from another source, and I ended up with a crashing client on lv.15.
Any idea how I can debug client crashes and see what's missing?
I think it's about this code:
PHP Code:
#ifdef __FASTJOBCHANGE
if (GetLevel() == MAX_JOB_LEVEL || GetLevel() == (MAX_JOB_LEVEL + MAX_EXP_LEVEL) || GetLevel() == MAX_LEGEND_LEVEL)
{
SAFE_DELETE(g_WndMng.m_pJobChangeEx);
g_WndMng.m_pJobChangeEx = new CWndJobChangeEx;
g_WndMng.m_pJobChangeEx->Initialize();
}
#endif//__FASTJOBCHANGE
But not sure why it crashes if compilation success.
|
Quote:
Originally Posted by theunrealz
I don't see any ( Checked in the Log folder, only old once)
Thanks, when you say the right resdata, what do you mean exactly?
What I did is compiled the source, activated merge2.exe then moved the res files to the client.
Not sure if I missed something. Hard to shoot without a log that says why clien crashes 
|
just PM me and i will solve the problem for you.
|
|
|
07/11/2020, 14:34
|
#6
|
ベトナム警察
elite*gold: 0
Join Date: Jan 2012
Posts: 16,496
Received Thanks: 3,517
|
Quote:
Originally Posted by theunrealz
I don't see any ( Checked in the Log folder, only old once)
Thanks, when you say the right resdata, what do you mean exactly?
What I did is compiled the source, activated merge2.exe then moved the res files to the client.
Not sure if I missed something. Hard to shoot without a log that says why clien crashes 
|
Another question: what did you change in your resource? You will also need some resource entries to get it works.
|
|
|
07/11/2020, 21:03
|
#7
|
elite*gold: 0
Join Date: May 2014
Posts: 17
Received Thanks: 0
|
Quote:
Originally Posted by Steffen Tequila
just PM me and i will solve the problem for you.
|
Sent.
Quote:
Originally Posted by Lumi
Another question: what did you change in your resource? You will also need some resource entries to get it works.
|
Hi Lumi,
I have tried to copy all
PHP Code:
#ifdef __FASTJOBCHANGE
related code from another source to a clean V18 source.
I bet I missed something else, I tried to verify everything is in and I don't see anything strange. All in place.
|
|
|
07/11/2020, 22:29
|
#8
|
elite*gold: 0
Join Date: Nov 2009
Posts: 627
Received Thanks: 688
|
@  just debug your Neuz with Visual Studio and you will break at the source code that generates the crash.
|
|
|
07/12/2020, 08:15
|
#9
|
elite*gold: 0
Join Date: May 2014
Posts: 17
Received Thanks: 0
|
Quote:
Originally Posted by cookie69
@  just debug your Neuz with Visual Studio and you will break at the source code that generates the crash.
|
Hey thanks!
Can you please describe how to "debug the neuz with VS"?if I do right click on Neuz in Solution Explorer --> Debug, it shows errors (I bet because it's not placed in the folder..)
PHP Code:
'Neuz.exe' (Win32): Loaded '\Source\Source\Neuz\NeuzD.dll'. Module was built without symbols.
'Neuz.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dbghelp.dll'. Cannot find or open the PDB file.
'Neuz.exe' (Win32): Loaded '\Source\Source\Neuz\mss32.dll'. Cannot find or open the PDB file.
Can you share the steps?
|
|
|
07/15/2020, 20:59
|
#10
|
elite*gold: 0
Join Date: Jan 2012
Posts: 147
Received Thanks: 24
|
Hi there,
to debug your files - you are correct - you have to setup your debug location. In solution explorer rightclick any of the projects->Properties->Debugging->Working Directory
Use browse to setup the correct path of you output .exe's
|
|
|
Similar Threads
|
Crash, crash, and more crash trying to log in
07/28/2010 - SRO Private Server - 3 Replies
When i try to log in i always put something heavy pressing the enter key but i get a crash after 10-15 min of trying to log in
|
Crash Crash Crash
07/27/2010 - SRO Private Server - 3 Replies
When i try to log in with bot, after i log in, instant CRASH.
It is because of the traffic on ZSZC ? What should i do ?
|
Crash. Crash. Crash. Help?
10/30/2009 - Dekaron - 10 Replies
Okay EPVPr's, I have a question for you.
Is anyone else having the 2moons/dekaron client crash on them as much as it is for me? I'll explain my full situation unlike alot of people on here(I'm sure most of you guy's know what i'm referring to :p)
Situation:
I start 2Moons, login.
Usually on char select i'll open CE 5.5 from my "Up To Date" .CT file. Other times it will be "in map" depends on the situation as you all know. With as little as only one script activated(or even all) which most...
|
All times are GMT +1. The time now is 19:31.
|
|