Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 19:31

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Client Crash on level 15

Discussion on Client Crash on level 15 within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #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.
theunrealz is offline  
Old 07/11/2020, 12:50   #2
ベトナム警察




 
Lumi's Avatar
 
elite*gold: 0
The Black Market: 517/0/0
Join Date: Jan 2012
Posts: 16,496
Received Thanks: 3,517
Do you have any error logs in your client?
Lumi is offline  
Old 07/11/2020, 12:55   #3
 
Steffen Tequila's Avatar
 
elite*gold: 51
Join Date: May 2009
Posts: 338
Received Thanks: 76
Quote:
Originally Posted by theunrealz View Post
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.
Steffen Tequila is offline  
Old 07/11/2020, 13:07   #4
 
elite*gold: 0
Join Date: May 2014
Posts: 17
Received Thanks: 0
Quote:
Originally Posted by Lumi View Post
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 View Post
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
theunrealz is offline  
Old 07/11/2020, 13:11   #5
 
Steffen Tequila's Avatar
 
elite*gold: 51
Join Date: May 2009
Posts: 338
Received Thanks: 76
Quote:
Originally Posted by theunrealz View Post
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 View Post
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.
Steffen Tequila is offline  
Old 07/11/2020, 14:34   #6
ベトナム警察




 
Lumi's Avatar
 
elite*gold: 0
The Black Market: 517/0/0
Join Date: Jan 2012
Posts: 16,496
Received Thanks: 3,517
Quote:
Originally Posted by theunrealz View Post
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.
Lumi is offline  
Old 07/11/2020, 21:03   #7
 
elite*gold: 0
Join Date: May 2014
Posts: 17
Received Thanks: 0
Quote:
Originally Posted by Steffen Tequila View Post
just PM me and i will solve the problem for you.
Sent.

Quote:
Originally Posted by Lumi View Post
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.
theunrealz is offline  
Old 07/11/2020, 22:29   #8
 
cookie69's Avatar
 
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.
cookie69 is offline  
Thanks
1 User
Old 07/12/2020, 08:15   #9
 
elite*gold: 0
Join Date: May 2014
Posts: 17
Received Thanks: 0
Quote:
Originally Posted by cookie69 View Post
@ 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?
theunrealz is offline  
Old 07/15/2020, 20:59   #10
 
Offspringfan1234's Avatar
 
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
Offspringfan1234 is offline  
Thanks
1 User
Reply


Similar Threads 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.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.