Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 13:38

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

Advertisement



Undeclared identifier HELP

Discussion on Undeclared identifier HELP within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2014
Posts: 69
Received Thanks: 12
Undeclared identifier HELP

Hello everyone, I have a problem that takes my head for more than 2 hours
I fixed the undeclarer problem to identify, now I have to fix this:

d: \ v15 \ Flyff Repack (v15) (rev3.1) \ Source \ SRC \ _Common \ Mover.h (1804): fatal error C1070: mismatched #if / # endif peer in file d: \ v15 \ flyff repack (v15) (rev3.1) \ source \ src \ _common \ mover.h '

there are the yew endif at the beginning and at the end i do not understand where it can come from ..
Can you help me on this one? I'm going v15 in v16, so I add the 3rd class

But line in mover:

Code:
#ifdef __3RD_LEGEND16
#define MAX_SKILL_JOB	( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL + MAX_MASTER_SKILL + MAX_HERO_SKILL + MAX_LEGEND_HERO_SKILL )
#else // __3RD_LEGEND16
#if __VER >= 10 // __LEGEND	//	10차 전승시스템	Neuz, World, Trans
#define MAX_SKILL_JOB	( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL + MAX_MASTER_SKILL + MAX_HERO_SKILL )
#else //__LEGEND	//	10차 전승시스템	Neuz, World, Trans
#define MAX_SKILL_JOB	( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL )
#endif	//__LEGEND	//	10차 전승시스템	Neuz, World, Trans
#endif // __3RD_LEGEND16
Code:
#ifdef __3RD_LEGEND16
#define LEGEND_CLASS_LEGENDHERO	3
#endif // __3RD_LEGEND16
Code:
#if	__VER >= 16 //__3RD_LEGEND16
	BOOL			IsLegendHero();
#endif // __3RD_LEGEND16
I'm stuck, guys I'm looking for, I do not see ...
Ryandiffer9575 is offline  
Old 04/03/2019, 08:12   #2
 
elite*gold: 0
Join Date: Jun 2016
Posts: 35
Received Thanks: 7
Don't quote me on this but if you're working on a V15 source why are you pulling a greater than or equal to v16 function?

#if __VER >= 16 //__3RD_LEGEND16
BOOL IsLegendHero();
#endif // __3RD_LEGEND16

shouldn't this be

#ifdef __3RD_LEGEND16
BOOL IsLegendHero();
#endif

Edit
Yeah, I know you could simply change the working version but I also gather from the error you're re-declaring a #if not a #ifdef but do keep in mind I'm No C++'er Just pulling **** out of my ***...
Timelimits is offline  
Old 04/03/2019, 08:17   #3
 
elite*gold: 0
Join Date: Nov 2016
Posts: 31
Received Thanks: 9
#ifdef __3RD_LEGEND16
#define MAX_SKILL_JOB ( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL + MAX_MASTER_SKILL + MAX_HERO_SKILL + MAX_LEGEND_HERO_SKILL )
#else // __3RD_LEGEND16
#if __VER >= 10 // __LEGEND // 10차 전승시스템 Neuz, World, Trans
#define MAX_SKILL_JOB ( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL + MAX_MASTER_SKILL + MAX_HERO_SKILL )
#else //__LEGEND // 10차 전승시스템 Neuz, World, Trans
#define MAX_SKILL_JOB ( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL )
#endif //__LEGEND // 10차 전승시스템 Neuz, World, Trans
#endif // __3RD_LEGEND16

exactly the same problem here, with #if
yasukomoonflyff is offline  
Old 04/03/2019, 08:21   #4
 
elite*gold: 0
Join Date: Jun 2016
Posts: 35
Received Thanks: 7
Quote:
Originally Posted by yasukomoonflyff View Post
#ifdef __3RD_LEGEND16
#define MAX_SKILL_JOB ( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL + MAX_MASTER_SKILL + MAX_HERO_SKILL + MAX_LEGEND_HERO_SKILL )
#else // __3RD_LEGEND16
#if __VER >= 10 // __LEGEND // 10차 전승시스템 Neuz, World, Trans
#define MAX_SKILL_JOB ( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL + MAX_MASTER_SKILL + MAX_HERO_SKILL )
#else //__LEGEND // 10차 전승시스템 Neuz, World, Trans
#define MAX_SKILL_JOB ( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL )
#endif //__LEGEND // 10차 전승시스템 Neuz, World, Trans
#endif // __3RD_LEGEND16

exactly the same problem here, with #if
That one should be fine.... even if it's not... #else won't allow that to run anyhow, but hell if I know.....
Timelimits is offline  
Old 04/03/2019, 13:25   #5
 
elite*gold: 0
Join Date: Jan 2014
Posts: 69
Received Thanks: 12
Hello again, it still does not work, I have the same problem, what to do
Ryandiffer9575 is offline  
Old 04/03/2019, 19:20   #6
 
elite*gold: 0
Join Date: Jun 2016
Posts: 35
Received Thanks: 7
well if you're still having errors either re look over everything you've added or read the error code, look to see what line is pulling the error and check it out? did you provide us with the error line or just the parts you added?
Timelimits is offline  
Reply


Similar Threads Similar Threads
Undeclared Identifier problem
04/09/2017 - Flyff Private Server - 4 Replies
Hello again:handsdown: i need help with this error, it says its undeclared although i already declared it on DefineAttribute.h i dont understand why its still undeclared? http://i.epvpimg.com/Jaijfab.png
II_SYS_SYS_SCR_PRO_AWATRANS' : undeclared identifier
05/28/2014 - Flyff Private Server - 6 Replies
Hi elitepvpers, I have an problem where c++ is telling me that II_SYS_SYS_SCR_PRO_AWATRANS is not defined. However its defined inside defineItem.h Also i included the defineItem.h inside WndTransAwake.cpp/h also included it into stdfax.h inside the Neuz folder. Still its saying undeclared identifier. When i use the define number instead of the ID Name its working but i dont want it to be source controlled. It must be resource controlled. What is the cause of this? Also when i right...
undeclared identifier
09/27/2013 - Flyff Private Server - 3 Replies
Hallo leute, Ich wollte meine Sourcen neu Kompilieren und dann sind die fehler aufgetreten! C:\Users\Administrator\Desktop\Server\GoH-Source\ Source\_Database\DbManager.cpp(5280): error C2065: 'szNo' : undeclared identifier In der DbManager.cpp der void void CDbManager::SetPlayerName( CQuery* pQueryChar, CQuery* pQueryLog, LPDB_OVERLAPPED_PLUS lpDbOverlappedPlus )



All times are GMT +1. The time now is 13:40.


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.