Remove NightShadow Client & DB
#11

So easy: tap search #ifdef EX_ROGUE (or EXMAGE nvm) and scroll up and u will see ns, delete lines and its done

#12


5 hours ago, rondo157 said:




So easy: tap search #ifdef EX_ROGUE (or EXMAGE nvm) and scroll up and u will see ns, delete lines and its done




I will do this too

#13


5 hours ago, Desarija said:




I'm not sure, but try this:



CharacterCreateNew.cpp



everywhere you find TOTAL_JOB in this file, make it TOTAL_JOB - 1 if you want NS disabled




I friend sent me something similar, i will post it here once i get home. Only thing is that if i click back arrow when creating a character (titan) it dosent go back it only works with forward arrow.. 

 

#14

OK guys this is the fix a friend (pwesty) gave me:

 

CharacterCreateNew::~CharacterCreateNew(void)

{

}

void CharacterCreateNew::SetJob ( int nSelIdx )

{

    if (nSelIdx < 0 )

        nSelIdx = TOTAL_JOB - 1;  //remove ns

        

    if (nSelIdx >= TOTAL_JOB - 1) //remove ns

        nSelIdx = 0;

    m_nSelectJob = nSelIdx;

    m_nSelPrevJob = nSelIdx - 1;

    m_nSelNextJob = nSelIdx + 1;

    if (m_nSelPrevJob < 0)

        m_nSelPrevJob = TOTAL_JOB - 1;  //remove ns

    if (m_nSelNextJob >= TOTAL_JOB - 1) //remove ns

        m_nSelNextJob = 0;

}

void CharacterCreateNew::Reset()

{

    m_nSelectJob = 0;

    m_nSelPrevJob = TOTAL_JOB - 1;

    m_nSelNextJob = m_nSelectJob + 1;

    m_charName = CTString("");

    m_bNSCreate= FALSE;

#15

use this function


Quote




 



void CharacterCreateNew::SetJob ( int nSelIdx )

{



#ifdef CHAR_NIGHSHADOW

    if (nSelIdx < 0 )

        nSelIdx = TOTAL_JOB - 1;

        

    if (nSelIdx >= TOTAL_JOB)

        nSelIdx = 0;



#else



    if (nSelIdx < 0 )

        nSelIdx = TOTAL_JOB - 2;  //remove ns

        

    if (nSelIdx >= TOTAL_JOB - 1) //remove ns

        nSelIdx = 0;



#endif



    m_nSelectJob = nSelIdx;

    m_nSelPrevJob = nSelIdx - 1;

    m_nSelNextJob = nSelIdx + 1;



#ifdef CHAR_NIGHTSHADOW



    if (m_nSelPrevJob < 0)

        m_nSelPrevJob = TOTAL_JOB - 1;



    if (m_nSelNextJob >= TOTAL_JOB)

        m_nSelNextJob = 0;



#else



    if (m_nSelPrevJob < 0)

        m_nSelPrevJob = TOTAL_JOB - 2;   //remove ns



    if (m_nSelNextJob >= TOTAL_JOB - 1)  //remove ns

        m_nSelNextJob = 0;



#endif

}



 




he forgot to convert the -1s that are already there in the original code into -2s^^

now, if you add #define CHAR_NIGHTSHADOW in Define_USA.h, NS will be enabled again, if you remove it/comment it out, NS will be disabled on character creation ?

#16


1 hour ago, Desarija said:




use this function



he forgot to convert the -1s that are already there in the original code into -2s^^



now, if you add #define CHAR_NIGHTSHADOW in Define_USA.h, NS will be enabled again, if you remove it/comment it out, NS will be disabled on character creation ?




So youre suggesting to add -2s where you edited them? do i need to add #define CHAR_NIGHTSHADOW in Define_USA.h, too ? 

With the code i sent was enough ns was disabled when i try to find it its not there in character creation

#17

Your code works even better lol @/index.php?/profile/18894-desarija/&do=hovercard&referrer=https%253A%252F%252Flckb.dev%252Fforum%252Findex.php%253F%252Ftopic%252F15103-remove-nightshadow-client-db%252F" href="/index.php?/profile/18894-desarija/" rel="" style="background-color:transparent;color:rgb(69,136,197);" title="Go to Desarija's profile">Desarija now if i go backwards in the character creation menu it goes from Titan to Sorcerer and it dosent stay still when i click the backwards arrow, thanks !!!! ? ? 

 

#CLOSE please

#18


6 hours ago, BayBay said:




So youre suggesting to add -2s where you edited them? do i need to add #define CHAR_NIGHTSHADOW in Define_USA.h, too ? 



With the code i sent was enough ns was disabled when i try to find it its not there in character creation




You don’t need to add it to Define_USA as long as you want to have it disabled, but you can easily add it later in case you want to add NS again ? with the define, he will appear in the character creation interface again



Forum Jump:


Users browsing this thread: 1 Guest(s)