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!

Fixing NX bug

Status
Not open for further replies.
Newbie Spellweaver
Joined
May 24, 2008
Messages
85
Reaction score
5
This is in net.sf.odinms.client.MapleCharacter;

Goto
Code:
                ret.nxcash = 0;
                ret.gifttokens = 0;
                ret.maplepoints = 0;

Change them into
Code:
                ret.nxcash = client.getPlayer().getNX();
                ret.gifttokens = client.getPlayer().getGiftTokens();
                ret.maplepoints = client.getPlayer().getMaplePoints();

Go to

Code:
        public int getNX() {
                return nxcash;
        }

Add this after it

Code:
        public int getGiftTokens(){
            return gifttokens;
        }

        public int getMaplePoints(){
            return maplepoints;
        }
 
Experienced Elementalist
Joined
Jun 22, 2008
Messages
264
Reaction score
0
Re: [Rls]Fixing NX bug

What? another thread about this?

and another opportunity to advertise your server >_>

anyways, next time use the 'Search' button before you post ;)

~dXm

EDIT - *no offense*
 
Newbie Spellweaver
Joined
May 24, 2008
Messages
85
Reaction score
5
Re: [Rls]Fixing NX bug

What? another thread about this?

and another opportunity to advertise your ms >_>

anyways, next time use the 'Search' button before you post ;)

~dXm

Idiot, the last one doesn't work. Well it does but it can be glitched.

I'm not advertising I'm just simply writing my server's ip. No harm in that o_O
 
Experienced Elementalist
Joined
Jun 22, 2008
Messages
264
Reaction score
0
Re: [Rls]Fixing NX bug

Idiot, the last one doesn't work. Well it does but it can be glitched.

I'm not advertising I'm just simply writing my server's ip. No harm in that o_O

hmm, i was only complimenting D: ~
anyways, if that's what you say, then
we'll go for what you say @_@

~dXm
 
Newbie Spellweaver
Joined
Mar 14, 2008
Messages
89
Reaction score
0
Re: [Rls]Fixing NX bug

Lol, mike stop trying to advertise.
I'm just simply writing my server's ip.
That makes you sound like an idiot, because your server doesn't have a domain and your just trying to advertise it.
 
Newbie Spellweaver
Joined
May 24, 2008
Messages
85
Reaction score
5
Re: [Rls]Fixing NX bug

Lol, mike stop trying to advertise.

That makes you sound like an idiot, because your server doesn't have a domain and your just trying to advertise it.

Hah with the donations we received we can make hundreds of domains if we wanted to. Are you mad because we denied you when you ask for a merge? Awww, its ok.
 
Experienced Elementalist
Joined
Jun 22, 2008
Messages
264
Reaction score
0
Re: [Rls]Fixing NX bug

woops, i read the other threads about fixing the bug,

and this. was. the. one. that. looked. to. work. the. most : P

Two words:
Awesome Release : D

~dXm
 
Experienced Elementalist
Joined
Jun 8, 2008
Messages
275
Reaction score
4
Re: [Rls]Fixing NX bug

if you don't have the whole
public int get nxcash etc, just find this

public int getBuffSource (MapleBuffStat stat) {
MapleBuffStatValueHolder mbsvh = effects.get(stat);
if (mbsvh == null) {
return -1;
}
return mbsvh.effect.getSourceId();
}

skip a line and under it put this

public int getNX() {
return nxcash;
}

public int getGiftTokens(){
return gifttokens;
}

public int getMaplePoints(){
return maplepoints;
}
 
Experienced Elementalist
Joined
Jun 8, 2008
Messages
275
Reaction score
4
Re: [Rls]Fixing NX bug

when you make a new character it deletes the nx you had on account.
 
Elite Diviner
Joined
Jul 13, 2008
Messages
419
Reaction score
217
Re: [Rls]Fixing NX bug

Idiot, the last one doesn't work. Well it does but it can be glitched.

I'm not advertising I'm just simply writing my server's ip. No harm in that o_O

there are 2
my one didn't work but another one did work, yours is the 3rd... so there's already one which is working

but well, another version... good job :)
 
Elite Diviner
Joined
Jul 13, 2008
Messages
419
Reaction score
217
Re: [Rls]Fixing NX bug

there's no reason to bump it
do you want to bump it your whole life?
it won't be ever on top, you have to accpet that o_O
if people ask for it you could bump it or give them the link to it

well, w/e...
 
Newbie Spellweaver
Joined
May 24, 2008
Messages
85
Reaction score
5
Re: [Rls]Fixing NX bug

Arrogant is the keyword in the situation.
 
Newbie Spellweaver
Joined
May 28, 2008
Messages
5
Reaction score
0
Re: [Rls]Fixing NX bug

I having a problem that cannot create character in my server after applied your fix nx bug.

How to solve that?
 
Newbie Spellweaver
Joined
Jul 9, 2008
Messages
30
Reaction score
0
Re: [Rls]Fixing NX bug

[message deleted]
 
Last edited:
Status
Not open for further replies.
Back
Top