- Joined
- Jun 27, 2008
- Messages
- 148
- Reaction score
- 0
OPEN net.sf.odinms.client.MapleCharacter.java
FIND
ADD UNDER
OPEN net.sf.odinms.scripting.npc.NPCConversationManager.java
FIND
ADD UNDER
Compile and you're done. Credits to me. D:
This is for adding NX via NPCs. Use it however you want.
I have an NPC I can paste on request for the Nexon Game Card 100/250.
Or I can make one that sells NX for Mesos, instead of using a php. :3
[IMG]https://forum.ragezone.com/ima...forum.ragezone.com/images/404_image.png[/IMG]
FIND
Code:
public void setBuddyCapacity(int capacity) {
buddylist.setCapacity(capacity);
client.getSession().write(MaplePacketCreator.updateBuddyCapacity(capacity));
}
Code:
public void gainNX(int nxchange) {
this.nxcash += nxchange;
}
OPEN net.sf.odinms.scripting.npc.NPCConversationManager.java
FIND
Code:
public int getBuddyCapacity() {
return getPlayer().getBuddyCapacity();
}
ADD UNDER
Code:
public void gainNX(int nxcash) {
getPlayer().gainNX(nxcash);
}
Compile and you're done. Credits to me. D:
This is for adding NX via NPCs. Use it however you want.
I have an NPC I can paste on request for the Nexon Game Card 100/250.
Or I can make one that sells NX for Mesos, instead of using a php. :3
[IMG]https://forum.ragezone.com/ima...forum.ragezone.com/images/404_image.png[/IMG]

