Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

NX Statements and ModifityNx Statment (for people who need this)

Status
Not open for further replies.
Junior Spellweaver
Joined
Jul 19, 2008
Messages
100
Reaction score
0
FIRST FOR gainNX; go to
net.sf.odinms.client.MapleCharacter;
ctrl+find

PHP:
              ret.nxcash = 0;
                ret.gifttokens = 0;
                ret.maplepoints = 0;
change this into
PHP:
             ret.nxcash = client.getPlayer().getNX();
                ret.gifttokens = client.getPlayer().getGiftTokens();
                ret.maplepoints = client.getPlayer().getMaplePoints();

Secondly ctrl+find
PHP:
      public int getNX() {
                return nxcash;
        }
Under it Add
PHP:
       public int getGiftTokens(){
            return gifttokens;
        }

        public int getMaplePoints(){
            return maplepoints;
        }

NOW FOR ModiftyNx Statment
Credits To iGoofy..

NPCConversationManager, before the last '}' bracket: add this
PHP:
        public void modifyNX(int amount, int type) {
            getPlayer().modifyCSPoints(type, amount);
            if (amount > 0) {
                        getClient().getSession().write(MaplePacketCreator.serverNotice(5, "You have gained NX Cash (+" + amount +")."));
                 } else { 
                        getClient().getSession().write(MaplePacketCreator.serverNotice(5, "You have lost NX Cash (" + (amount) +")."));           
                 }
        }

SOME SS ..TAKEN FROM Marcuschai (which he really need the release)
Bangala - NX Statements and ModifityNx Statment (for people who need this) - RaGEZONE Forums

CREDITS TO :iGoofy
IDEEKAY



HOPE I HELPED I AM JUST A NOOB ><
:juggle:
 
Junior Spellweaver
Joined
Jul 19, 2008
Messages
100
Reaction score
0
Re: [RE-RELEASE]NX Statements and ModifityNx Statment (for people who need this)

hope every1 see my thread =(
 
Initiate Mage
Joined
Jul 18, 2008
Messages
87
Reaction score
0
Re: [RE-RELEASE]NX Statements and ModifityNx Statment (for people who need this)

Thank i very want :)

Good luck ~
 
Initiate Mage
Joined
Jul 16, 2008
Messages
15
Reaction score
0
Re: [RE-RELEASE]NX Statements and ModifityNx Statment (for people who need this)

Nice Release!
 
Junior Spellweaver
Joined
Jul 19, 2008
Messages
100
Reaction score
0
Re: [RE-RELEASE]NX Statements and ModifityNx Statment (for people who need this)

Thank i very want :)

Good luck ~

thanks u posted a support thread i read it too and i wanted to help
ikaos thanks too :flag_schw
 
Junior Spellweaver
Joined
Jul 19, 2008
Messages
100
Reaction score
0
Re: [RE-RELEASE]NX Statements and ModifityNx Statment (for people who need this)

BUMPy FOr my thread adding the NX npc of both modiftyNX npc and gainNX npc
both ^^
 
Initiate Mage
Joined
Jul 9, 2008
Messages
30
Reaction score
0
Re: [RE-RELEASE]NX Statements and ModifityNx Statment (for people who need this)

um when u replace the first three parts char creation doesnt work anymore so u shud try the other one
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [RE-RELEASE]NX Statements and ModifityNx Statment (for people who need this)

Hmm..question...
will this give u nx bugs when u use it? like last time i used iGoofy's or something.. and everytime i bought nx it duplicated >_>
 
Junior Spellweaver
Joined
Jun 27, 2008
Messages
148
Reaction score
0
Re: [RE-RELEASE]NX Statements and ModifityNx Statment (for people who need this)

No credits for me? O: That's my NPC.
 
Experienced Elementalist
Joined
Jun 22, 2008
Messages
264
Reaction score
0
Re: [RE-RELEASE]NX Statements and ModifityNx Statment (for people who need this)

Hmm ~ NX Cash selling NPC Script. Anyone mind sharing one? :3
 
Initiate Mage
Joined
Jun 4, 2008
Messages
51
Reaction score
0
Re: [RE-RELEASE]NX Statements and ModifityNx Statment (for people who need this)

Hmm ~ NX Cash selling NPC Script. Anyone mind sharing one? :3

i can help u if u wan and credits to the person who made it
 
Status
Not open for further replies.
Back
Top