Source v18 [Compile] Environment.h

Results 1 to 13 of 13
  1. #1
    Member ll Chris ll is offline
    MemberRank
    Jan 2012 Join Date
    Saint MorningLocation
    53Posts

    Source v18 [Compile] Environment.h

    I compiled Everything exept world server.. I get like 10 errors but they are all the same..

    Spoiler:
    1st Error :
    Build :
    Code:
    ..\_Common\Environment.h(30) : error C2065: 'LANG_SUB_MAX' : undeclared identifier
    Environment.h
    Code:
    #ifdef __WORLDSERVER
    	int		m_aEnvironmentEffect[LANG_MAX][LANG_SUB_MAX][12];
    2nd Error :

    Build
    Code:
    \**** FlyFF Database\***** Source\_Common\Environment.cpp(118) : error C3861: 'LANG_SUB_MAX': identifier not found, even with argument-dependent lookup
    Environment.cpp
    Code:
    	int nLang = scanner.GetNumber();
    	while( scanner.tok != FINISHED )
    	{
    		if( nLang < 0 || nLang >= LANG_MAX )




    I tryed with another Environments but nope same :P


  2. #2
    ~FlyFF DeV~ Jomex is offline
    MemberRank
    Mar 2009 Join Date
    PolandLocation
    588Posts

    Re: Source v18 [Compile] Environment.h

    Google:
    undeclared identifier

  3. #3
    Account Upgraded | Title Enabled! CatDMG is offline
    MemberRank
    May 2005 Join Date
    UALocation
    202Posts

    Re: Source v18 [Compile] Environment.h

    Check if LANG_SUB_MAX declared somewhere.

  4. #4
    Member ll Chris ll is offline
    MemberRank
    Jan 2012 Join Date
    Saint MorningLocation
    53Posts

    Re: Source v18 [Compile] Environment.h

    Quote Originally Posted by CatDMG View Post
    Check if LANG_SUB_MAX declared somewhere.

    More details please...

    Quote Originally Posted by Jomex View Post
    Google:
    undeclared identifier
    Tried ... Even youtube and ragezone but nope didnt find anything witch would help me

  5. #5
    One word! Im Fawkin Pro! Xakzi is offline
    MemberRank
    Jul 2010 Join Date
    SwedenLocation
    1,356Posts

    Re: Source v18 [Compile] Environment.h

    ..\_Common\Environment.h(30) : error C2065: 'LANG_SUB_MAX' : undeclared identifier

    This codes is saying that it did not find any "LANG_SUB_MAX" declared..

    which means, you dont have that ID Identified.
    Either add it, or change LANG_SUB_MAX

  6. #6
    The baddest. Max98 is offline
    MemberRank
    Nov 2011 Join Date
    284Posts

    Re: Source v18 [Compile] Environment.h

    got to lang.h in your resource T.T
    and define it
    no one will help you in rz because they want you to do it by your self so you can learn x)

  7. #7
    Account Upgraded | Title Enabled! CatDMG is offline
    MemberRank
    May 2005 Join Date
    UALocation
    202Posts

    Re: Source v18 [Compile] Environment.h

    Quote Originally Posted by Max98 View Post
    got to lang.h in your resource T.T
    and define it
    no one will help you in rz because they want you to do it by your self so you can learn x)
    Really? that is the real reason? no wonder I don't get any help with my threads, rz is just too kind and let me do everything by myself - how cute

  8. #8
    One word! Im Fawkin Pro! Xakzi is offline
    MemberRank
    Jul 2010 Join Date
    SwedenLocation
    1,356Posts

    Re: Source v18 [Compile] Environment.h

    Quote Originally Posted by CatDMG View Post
    Really? that is the real reason? no wonder I don't get any help with my threads, rz is just too kind and let me do everything by myself - how cute
    so you prefer to be spoonfed and never be able to do anything urself?

  9. #9
    Account Upgraded | Title Enabled! CatDMG is offline
    MemberRank
    May 2005 Join Date
    UALocation
    202Posts

    Re: Source v18 [Compile] Environment.h

    Quote Originally Posted by Xakzi View Post
    so you prefer to be spoonfed and never be able to do anything urself?
    Well my help threads have no spoonfeeding requests, just some trouble, that people faced before but were ignored. Despite that, I don't really ask for a fix, just some lead where to search for it. How can that be considered as spoonfeeding?
    Besides, we aren't talking here about developing a client from zero. We are talking here about mining that big lump of code in order to change a few things here and there. But in some cases spoon feeding is necessary we aren't living in Sparta epoch and we don't have King Leonas around here. So everyone here are noobies the only difference is that ones are advanced and ones are at the introductory stage.
    Last edited by CatDMG; 25-01-12 at 03:01 PM.

  10. #10
    xFutureB
    Guest

    Re: Source v18 [Compile] Environment.h

    Quote Originally Posted by CatDMG View Post
    Really? that is the real reason? no wonder I don't get any help with my threads, rz is just too kind and let me do everything by myself - how cute
    You could use forum search. Also spoonfeeding this kind of "errors" is waste. People have asked for them over 10x times. Also coping eFlyFF v18 header files without knowing the difference will cause you them.

    Edit:
    http://forums.civfanatics.com/showthread.php?t=233760 . Also i bet you were too lazy to read.~Google search~

  11. #11
    Member ll Chris ll is offline
    MemberRank
    Jan 2012 Join Date
    Saint MorningLocation
    53Posts

    Re: Source v18 [Compile] Environment.h

    Quote Originally Posted by Max98 View Post
    got to lang.h in your resource T.T
    and define it
    no one will help you in rz because they want you to do it by your self so you can learn x)

    Well in lang.h its defined

    Code:
    // #define LANG_SUB_MAX	      4
    Quote Originally Posted by Xakzi View Post
    ..\_Common\Environment.h(30) : error C2065: 'LANG_SUB_MAX' : undeclared identifier

    This codes is saying that it did not find any "LANG_SUB_MAX" declared..

    which means, you dont have that ID Identified.
    Either add it, or change LANG_SUB_MAX

    Where can i add the LANG_SUB_MAX and where can i get it from.. Its my 1st source trip almost

  12. #12
    Account Upgraded | Title Enabled! CatDMG is offline
    MemberRank
    May 2005 Join Date
    UALocation
    202Posts

    Re: Source v18 [Compile] Environment.h

    remove the //

  13. #13
    One word! Im Fawkin Pro! Xakzi is offline
    MemberRank
    Jul 2010 Join Date
    SwedenLocation
    1,356Posts

    Re: Source v18 [Compile] Environment.h

    you should really read the basic of c++.. you didnt know that // pretty much is used for comments did you? well,

    My tip for you, Atleast go read basic c++.. =)



Advertisement