- Joined
- Jul 19, 2008
- Messages
- 100
- Reaction score
- 0
FIRST FOR gainNX; go to
net.sf.odinms.client.MapleCharacter;
ctrl+find
change this into
Secondly ctrl+find
Under it Add
NOW FOR ModiftyNx Statment
Credits To iGoofy..
NPCConversationManager, before the last '}' bracket: add this
SOME SS ..TAKEN FROM Marcuschai (which he really need the release)
CREDITS TO :iGoofy
IDEEKAY
HOPE I HELPED I AM JUST A NOOB >< :juggle:
net.sf.odinms.client.MapleCharacter;
ctrl+find
PHP:
ret.nxcash = 0;
ret.gifttokens = 0;
ret.maplepoints = 0;
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;
}
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)

CREDITS TO :iGoofy
IDEEKAY
HOPE I HELPED I AM JUST A NOOB >< :juggle: