Devlin
-
Posts
1,643 -
Credits
0 -
Joined
-
Last visited
-
Days Won
5 -
Feedback
100%
Community Answers
-
Devlin's post in Clan Privs bug l2jacis was marked as the answer
At Clan.java
find LOAD_PRIVILEDGES and update it with the following line ->
private static final String LOAD_PRIVILEDGES = "SELECT `privs`,`rank` FROM `clan_privs` WHERE `clan_id`=?";
-
Devlin's post in disarm was marked as the answer
I made a skill like this back in 2014. I have only the skill handler, you have to complete it and adapt it.
https://pastebin.com/Hv5mc57z
As far I can see from the code, you have to add only 1 method in L2PcInstance (Player in newer version).
setWeaponRestricted
-
Devlin's post in Void Useitem [While Clan Is Allready Level 8] was marked as the answer
after this,
else if (player.isInOlympiadMode())
{
player.sendPacket(new SystemMessage(SystemMessageId.S1_CANNOT_BE_USED).addItemName(item));
return;
}
add
else if (player.getClan().getLevel() == 8 )
{
player.sendPacket(new SystemMessage(SystemMessageId.S1_CANNOT_BE_USED).addItemName(item));
return;
}
-
Devlin's post in Custom Weapon Prob was marked as the answer
I think it's item's ID. It's too high number, try a lower one.
-
Devlin's post in Item Delevel After Enchant Fail was marked as the answer
Nah dude.
Do it like this.
item.setEnchantLevel(item.getEnchantLevel() - 1);
-
Devlin's post in Need L2J Good Developer Help!. was marked as the answer
You probably did a wipe and you forgot augmentations table.
1) Close the server.
2) Open navicat.
3) Right click on table "augmentation".
4) Empty table.
5) Check if problem still exists.
-
Devlin's post in Error Code was marked as the answer
http://pastebin.com/MTACLPtD
και για grandboss μαζί
-
Devlin's post in Getknownplayers Acis 3Xx was marked as the answer
for (L2PcInstance player : getKnownList().getKnownType(L2PcInstance.class))
-
Devlin's post in Character Name Color was marked as the answer
http://pastebin.com/xdKpMMu3
I guess.
Replace nameColor with your color.
-
Devlin's post in Cb Open On First Talk With Npc was marked as the answer
http://pastebin.com/4eEvXMR5 Tested on aCis and works.
-
Devlin's post in [Question]How To Make A Npc Untargetable? was marked as the answer
onTarget method, if npcId equals to target do return?
-
Devlin's post in One Small Error was marked as the answer
replace true with 0
also, at the first error after -3472 add ,0
-
Devlin's post in Error In Compile. was marked as the answer
The problem has been solved by me, topic locked.
-
Devlin's post in Mana Potions was marked as the answer
Formulas.java
Search for calcMpRegen method.
For my project, exist a config for mana regeneration multiplier but the method is mpRegenMultiplier.
-
Devlin's post in Help Please ! was marked as the answer
<!-- Archer's Will -->
<item>
<ingredient id="14721" count="5">
should be
<!-- Archer's Will -->
<item>
<ingredient id="14721" count="5"/>
you forgot the /
-
Devlin's post in Weird Bug About Killing Spree System On Emu Pack was marked as the answer
I see this quakeSystem++; 2 times.