Adding more channels causes an error
Hello RZ.
I recently added more channels (Previously 5, now 13) using my channel prop file
Now this shows up
http://puu.sh/9W0mi/5ff474a9ef.png
I honestly have no idea why. I went through each file it stated and nothing seemed wrong. May someone please help me with this?
- - - Updated - - -
Bump~ It has to do with PlayerNPC's
Re: Adding more channels causes an error
Check SawpnPointAreaBoss.java file (line 42). It throws a NullPointerException there. Put breakpoints and debug to see why.
Re: Adding more channels causes an error
Quote:
Originally Posted by
Fraysa
Check SawpnPointAreaBoss.java file (line 42). It throws a NullPointerException there. Put breakpoints and debug to see why.
Well nothing came up or I just did something wrong but
at line 42 its
Code:
public SpawnPointAreaBoss(final MapleMonster monster, final Point pos1, final Point pos2, final Point pos3, final int mobTime, final String msg, final boolean shouldSpawn) {
this.monster = monster.getStats(); <<< line 42
this.id = monster.getId();
this.fh = monster.getFh();
this.f = monster.getF();
this.pos1 = pos1;
this.pos2 = pos2;
this.pos3 = pos3;
this.mobTime = (mobTime < 0 ? -1 : (mobTime * 1000));
this.msg = msg;
this.nextPossibleSpawn = System.currentTimeMillis() + (shouldSpawn ? 0 : this.mobTime);
}
I'm assuming this is because of PMOB which is part of PlayerNPC.java
I have that Dynamic Channel from MapleCrystal. Maybe that could be affecting it. Not sure.
Should I try deleting all my spawns in PMOB?
- - - Updated - - -
I took out PlayerNPC from startup but now when I go to any of the new channels the screen just goes black for Mob maps (FM and towns work)
new ch's as in the ones I added (6-15)
but apparently 1-7 work ??? but the rest don't...
So wtf? LOL
Re: Adding more channels causes an error
Re: Adding more channels causes an error
Re: Adding more channels causes an error
Re: Adding more channels causes an error
Would you mind sharing how you fixed this? I have a couple ideas, but at 2:48 Am, I don't feel like digging.
Re: Adding more channels causes an error
Quote:
Originally Posted by
Sylux123
Solved. Please close.
It would be nice of you if your asking for help and figuring it out by yourself to share it here in case someone encounters the same problem.
Re: Adding more channels causes an error
I had figured it out haha.