there is no array called ignores in your playersave class.
it is probably in your player/client class.
post playersave class in code brackets here
|
Should i put the whole thing?
(if (token.equals("character-shop")) {
p.playerShop[Integer.parseInt(token3[0])] = Integer.parseInt(token3[1]);
p.playerShopP[Integer.parseInt(token3[0])] = Integer.parseInt(token3[2]);
p.playerShopN[Integer.parseInt(token3[0])] = Integer.parseInt(token3[3]);
}
break;
case 2:
if (token.equals("deathMessage")) {
p.deathMessage.equals(token2);
} else if (token.equals("character-height")) {
p.heightLevel = Integer.parseInt(token2);
} else if (token.equals("character-posx")) {
p.teleportToX = (Integer.parseInt(token2) <= 0 ? 3210 : Integer.parseInt(token2));
} else if (token.equals("character-posy")) {
p.teleportToY = (Integer.parseInt(token2) <= 0 ? 3424 : Integer.parseInt(token2));
} else if (token.equals("character-rights")) {
p.playerRights = Integer.parseInt(token2);
} else if (token.equals("tutorial-progress")) {
p.tutorial = Integer.parseInt(token2);
} else if (token.equals("crystal-bow-shots")) {
p.crystalBowArrowCount = Integer.parseInt(token2);
} else if (token.equals("skull-timer")) {
p.skullTimer = Integer.parseInt(token2);
} else if (token.equals("magic-book")) {
p.playerMagicBook = Integer.parseInt(token2);
} else if (token.equals("brother-info")) {
p.barrowsNpcs[Integer.parseInt(token3[0])][1] = Integer.parseInt(token3[1]);
} else if (token.equals("special-amount")) {
p.specAmount = Double.parseDouble(token2);
} else if (token.equals("selected-coffin")) {
p.randomCoffin = Integer.parseInt(token2);
} else if (token.equals("barrows-killcount")) {
p.pkPoints = Integer.parseInt(token2);
} else if (token.equals("loyalty-rank")) {
p.loyaltyRank = Integer.parseInt(token2);
} else if (token.equals("teleblock-length")) {
p.teleBlockDelay = System.currentTimeMillis();
p.teleBlockLength = Integer.parseInt(token2);
} else if (token.equals("pc-points")) {
p.pcPoints = Integer.parseInt(token2);
} else if (token.equals("slayerTask")) {
p.slayerTask = Integer.parseInt(token2);
} else if (token.equals("taskAmount")) {
p.taskAmount = Integer.parseInt(token2);
} else if (token.equals("magePoints")) {
p.magePoints = Integer.parseInt(token2);
} else if (token.equals("don-points")) {
p.donPoints = Integer.parseInt(token2);
} else if (token.equals("autoRet")) {
p.autoRet = Integer.parseInt(token2);
} else if (token.equals("barrowskillcount")) {
p.barrowsKillCount = Integer.parseInt(token2);
} else if (token.equals("flagged")) {
p.accountFlagged = Boolean.parseBoolean(token2);
} else if (token.equals("wave")) {
p.waveId = Integer.parseInt(token2);
} else if (token.equals("void")) {
for (int j = 0; j < token3.length; j++) {
p.voidStatus[j] = Integer.parseInt(token3[j]);
}
} else if (token.equals("gwkc")) {
p.killCount = Integer.parseInt(token2);
} else if (token.equals("fightMode")) {
p.fightMode = Integer.parseInt(token2);
} else if (token.equals("tradeTimer")) {
p.tradeTimer = Integer.parseInt(token2);
} else if (token.equals("pkPoints")) {
p.pkPoints = Integer.parseInt(token2);
} else if (token.equals("memberStatus")) {
p.memberStatus = Integer.parseInt(token2);
} else if (token.equals("donatorChest")) {
p.donatorChest = Integer.parseInt(token2);
} else if (token.equals("betaPlayer")) {
p.betaPlayer = Integer.parseInt(token2);
} else if (token.equals("KC")) {
p.KC = Integer.parseInt(token2);
} else if (token.equals("DC")) {
p.DC = Integer.parseInt(token2);
} else if (token.equals("character-expLock")) {
p.expLock = Boolean.parseBoolean(token2);
} else if (token.equals("ban-marks")) {
p.BlackMarks = Integer.parseInt(token2);
} else if (token.equals("cluescroll")) {
p.cluescroll = Integer.parseInt(token2);
} else if (token.equals("vote")) {
p.vote = Integer.parseInt(token2);
} else if (token.equals("startingMessage")) {
p.startingMessage = Integer.parseInt(token2);
} else if (line.startsWith("Email")) {
p.Email = token2;
} else if (token.equals("playerShopAmt")) {
p.playerShopAmt = Integer.parseInt(token2);
p.playerShop = new int[p.playerShopAmt];
p.playerShopN = new int[p.playerShopAmt];
p.playerShopP = new int[p.playerShopAmt];
} else if (token.equals("playerShopName"))
{
p.playerShopName = Boolean.parseBoolean(token2);
} else if (token.equals("playerShopTitle"))
{
p.playerShopTitle = token2;
} else if (token.equals("shopcollect")) {
p.playerCollect = Long.parseLong(token2);
}
break;
case 3:
if (token.equals("character-equip")) {
p.playerEquipment[Integer.parseInt(token3[0])] = Integer.parseInt(token3[1]);
p.playerEquipmentN[Integer.parseInt(token3[0])] = Integer.parseInt(token3[2]);
}
break;
case 4:
if (token.equals("character-look")) {
p.playerAppearance[Integer.parseInt(token3[0])] = Integer.parseInt(token3[1]);
}
break;
case 5:
if (token.equals("character-skill")) {
p.playerLevel[Integer.parseInt(token3[0])] = Integer.parseInt(token3[1]);
p.playerXP[Integer.parseInt(token3[0])] = Integer.parseInt(token3[2]);
}
break;
case 6:
if (token.equals("character-item")) {
p.playerItems[Integer.parseInt(token3[0])] = Integer.parseInt(token3[1]);
p.playerItemsN[Integer.parseInt(token3[0])] = Integer.parseInt(token3[2]);
}
break;
case 7:
if (token.equals("character-bank")) {
p.bankItems[Integer.parseInt(token3[0])] = Integer.parseInt(token3[1]);
p.bankItemsN[Integer.parseInt(token3[0])] = Integer.parseInt(token3[2]);
}
break;
case 8:
if (token.equals("character-friend")) {
p.friends[Integer.parseInt(token3[0])] = Long.parseLong(token3[1]);
}
break;
case 9:
if (token.equals("character-ignore")) {
ignores[Integer.parseInt(token3[0])] = Long.parseLong(token3[1]);
}
break;
} )
i added it im still getting error
Screenshot by Lightshot
Screenshot by Lightshot
public long ignores[] = new long[200];
where's he going to declare it?
my guess at this point is that the ignore array is called something else in the player/client class. i don't know what source he's using and i am not really familiar with any of the modern day sources but the save/load system looks like the same one we were using from 2006 onwards.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |