Hey what i do wrong? all import good need get classid and if match then teleport to town.
@Override
protected void onEnter(Creature Creature)
{
Creature.setInsideZone(ZoneId.FLAG, true);
if (Creature instanceof Player)
{
Player player = Creature.getActingPlayer();
PvpFlagTaskManager.getInstance().remove(player);
noblesse.getEffects(player, player);
player.updatePvPFlag(1);
((Player) Creature).sendMessage("AUTO NOBLESS ON");
Creature.setInsideZone(ZoneId.NO_SUMMON_FRIEND, true);
// THIS ZONE WRONG
if (player.getClassId() && 83)
player.teleToLocation(Rnd.get(82833, 83000),Rnd.get(148605, 148800),-3472, 0);
player.sendMessage("Your class is not allowed in the PvP zone.");
return;
}
}
error:
Bad operand types for binary operator '&&'
[javac] if (player.getClassId() && 83)
[javac] first type: ClassId
So i started playing there like huge amount of us did. After hitting 30 i kinda started to feel the drag of it. And boy i just don’t have it to continue :D
I think after selling all items i have around 1.2kk in stash. I would sell it for 10€ per 100k and 100€ for entire deal. Paypal would be preferrable, unless you live in Baltics so normal bank transfer would be fine too.
You could pm me here and perhaps i could add you on facebook to take it further.
Scammers don’t try. Played this game for a long long and long time.
I wouldn't be so quick to dismiss a claim, especially as strongly worded as mine because I might not be talking nonsense afterall. But I suggest you check for yourself, first.
Line 195 looks pretty crucial to me:
https://github.com/sdrak94/inertiax/blob/main/src/controller/InertiaController.java#L195
Yet, I don't see the L2PcInstance on the Github repo. Either I'm blind, or it is missing, and if I had to choose one or the other, I'd bet my life on the latter. 😄
Here's another example - the method below (Line 161), as crucial as it seems, looks empty to me:
https://github.com/sdrak94/inertiax/blob/main/src/model/InertiaAct.java#L161
Hello, Adena is for sale in the r33team.com store
L2classic.club Talking island x3 - 5€/bil
L2classic.club Dion x3 - 27.00€/100mil
l2reborn.com Origin x1 - 0,25€/1mil
L2Reborn.org - x15 Forever - 0.05€/1mil
L2Reborn.org - x1 Signature -0.11€/1k
elmorelab.com x2 - 0.46€/1mil
elmorelab.com x3 - 0.15€/1mil
elmorelab.com x1 - 2.06€/1mil
Scryde.net x2 - 9.18€/100mil
Payment method:
Paypal
Visa/Mastercard
Crypto
You can find out more information on our website: https://r33team.com/
Question
martuxas1
Hey what i do wrong? all import good need get classid and if match then teleport to town.
@Override protected void onEnter(Creature Creature) { Creature.setInsideZone(ZoneId.FLAG, true); if (Creature instanceof Player) { Player player = Creature.getActingPlayer(); PvpFlagTaskManager.getInstance().remove(player); noblesse.getEffects(player, player); player.updatePvPFlag(1); ((Player) Creature).sendMessage("AUTO NOBLESS ON"); Creature.setInsideZone(ZoneId.NO_SUMMON_FRIEND, true); // THIS ZONE WRONG if (player.getClassId() && 83) player.teleToLocation(Rnd.get(82833, 83000),Rnd.get(148605, 148800),-3472, 0); player.sendMessage("Your class is not allowed in the PvP zone."); return; } }
error:
Bad operand types for binary operator '&&' [javac] if (player.getClassId() && 83) [javac] first type: ClassId
7 answers to this question
Recommended Posts