-
Posts
20 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by FunKermaN
-
-
Somethink like this is not shared..
and from where i can take it ?
-
got it you need smth like L2Damage
You mean startup system like l2damage have
yes that
-
no , Those looking does not allow you to do any action "move camera/player" and gives you one window to select first weapon then armor and class "step by step" and when finish teleport you to main town
-
Hello, i'm search for starting tutorial when you log for first time in game to show you the npc's, gives you to select weapon/armor and only Third class and teleport you to main town... i watch that in many servers but i cant found it
-
Lock topic thanks for help !!!
-
My friend, there is a code "Daggers/archers can't use heavy". In your frozen pack on UseItem.java
just stole and modify these lines..
dont have anything about heavy at useitem.java
hmm here is a problem... so only in useitem.java you can disable via class
but again have problem because you need block 3 class number like the human
fisrt is 0 after is like 20 and after 92 you need block all this. or you can do my option
like if player use dagger and is archer the tattoo he
down stats atk.spd,accurasy,evasion,speed and i think i can make it via class
give me one example!i use that at the item and does dont do anything<add order="0x40" stat="pAtk" val="1737"> <using kind="Bow"/> </add>
-
May i ask what is the point of doing this?
if you cant help me dont spam at this topic !!!
-
i can help you send me pm
or you can make tattoo give stats only in a wep non all weapon
like this
<add order="0x40" stat="pAtk" val="1737"><using kind="Bow"/></add>and how i can prevent with this method the healers to don't use the tattoo for mages ?
lul
&& item.getItemType() == L2WeaponType.NONE &&
what ?
that method does not work at interlude ?
<cond msgId="1518"> <!-- mdgId is showing in client to player why he cant use this item--> <and> <player level="81" /> <!-- here you put from what lvl you can use this item--> <player class_id_restriction="93, 101, 108, 117" /> <!-- Here you put all classes you want to use that item --> </and> </cond>
-
My friend, there is a code "Daggers/archers can't use heavy". In your frozen pack on UseItem.java
just stole and modify these lines..
I have write that but does not work :/ "its a test code"
if (activeChar.getClassId().getId() == 92 && item.getItemType() == L2WeaponType.NONE && item.getItemId() == 15036 && item.getItemId() == 15046 && item.getItemId() != 15056 && !activeChar.isGM()) { activeChar.sendMessage("That tattoo is not allowed to wearing at your class."); return; }
-
Useitem.java put a check with item id and classes you want to dissable it..
i have write that ... this is correct ?
if (Config.TATTOO_CHECKER) { if (player.getClassId().getId() == 92) //archer { if(activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_FACE.getId()) == 8530) { setPaperdollItem(PAPERDOLL_FACE, 8530); } else { setPaperdollItem(PAPERDOLL_FACE, null); activeChar.sendMessage("That tattoo is not allowed to wearing at your class."); } } else if (player.getClassId().getId() == 93) // dagger { if(activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_FACE) == 8531) { setPaperdollItem(PAPERDOLL_FACE, 8531); } else { setPaperdollItem(PAPERDOLL_FACE, null); activeChar.sendMessage("That tattoo is not allowed to wearing at your class."); } } }
-
Hello guys Merry Christmas, maybe someone can help me to create one code, to wearing each class his own tattoo ?For Example: The Archer can wearing tattoo for archer if worn at dagger to get penalty "low stats" or even better to don't allow to wear.Thanks in advance!!!
-
And what's the point taking it from db? What are you trying to do.. Normally to get pvp kills you use player.getPvPKills();
i want to use at the community board top 15 pvp
-
What? What are you exactly searching for?
i want to take the kills from the table characters in database but i don't know the link ...
-
Hello guys i cant found from where get the commands the characters table ...
example for access_levels table is "com.l2jfrozen.gameserver.datatables.AccessLevel.java"
-
Δεν λειτουργεί τίποτα απο τα δυο...
-
Τι Project χρησιμοποιείς αμα εχεις L2jfrozen
πήγαινε Εδω και καντο True
Config/head/altsettings.properties
# Allows Players to Shift-click Mobs and view their Stats and DroplistAltGameViewNpc = FalseΣοβαρά τώρα δεν ήξερες τι να κάνεις και είπες να "κάνω spam να περάσει η ώρα" ?
-
-
- if (isAutoAttackable(player))
+ if (target instanceof L2Attackable)
-
Καλησπέρα παιδία μηπως μπορεί κάποιος να μου πει πως μπορώ να κάνω όταν κάποιος πατάει shift+click για να δει τα drop να γινεται μονο σε attackable npc ? πχ mob - boss klp
else if (Config.ALT_GAME_VIEWNPC) { // Set the target of the L2PcInstance player player.setTarget(this); // Send a Server->Client packet MyTargetSelected to the L2PcInstance player // The player.getLevel() - getLevel() permit to display the correct color in the select window MyTargetSelected my = new MyTargetSelected(getObjectId(), player.getLevel() - getLevel()); player.sendPacket(my); my = null; // Check if the player is attackable (without a forced attack) if (isAutoAttackable(player)) { // Send a Server->Client packet StatusUpdate of the L2NpcInstance to the L2PcInstance to update its HP bar StatusUpdate su = new StatusUpdate(getObjectId()); su.addAttribute(StatusUpdate.CUR_HP, (int) getCurrentHp()); su.addAttribute(StatusUpdate.MAX_HP, getMaxHp()); player.sendPacket(su); su = null; } NpcHtmlMessage html = new NpcHtmlMessage(0); TextBuilder html1 = new TextBuilder("<html><body>"); html1.append("<br><center><font color=\"LEVEL\">[Combat Stats]</font></center>"); html1.append("<table border=0 width=\"100%\">"); html1.append("<tr><td>Max.HP</td><td>" + (int) (getMaxHp() / getStat().calcStat(Stats.MAX_HP, 1, this, null)) + "*" + (int) getStat().calcStat(Stats.MAX_HP, 1, this, null) + "</td><td>Max.MP</td><td>" + getMaxMp() + "</td></tr>"); html1.append("<tr><td>P.Atk.</td><td>" + getPAtk(null) + "</td><td>M.Atk.</td><td>" + getMAtk(null, null) + "</td></tr>"); html1.append("<tr><td>P.Def.</td><td>" + getPDef(null) + "</td><td>M.Def.</td><td>" + getMDef(null, null) + "</td></tr>"); html1.append("<tr><td>Accuracy</td><td>" + getAccuracy() + "</td><td>Evasion</td><td>" + getEvasionRate(null) + "</td></tr>"); html1.append("<tr><td>Critical</td><td>" + getCriticalHit(null, null) + "</td><td>Speed</td><td>" + getRunSpeed() + "</td></tr>"); html1.append("<tr><td>Atk.Speed</td><td>" + getPAtkSpd() + "</td><td>Cast.Speed</td><td>" + getMAtkSpd() + "</td></tr>"); html1.append("<tr><td>Race</td><td>" + getTemplate().race + "</td><td></td><td></td></tr>"); html1.append("</table>"); html1.append("<br><center><font color=\"LEVEL\">[Basic Stats]</font></center>"); html1.append("<table border=0 width=\"100%\">"); html1.append("<tr><td>STR</td><td>" + getSTR() + "</td><td>DEX</td><td>" + getDEX() + "</td><td>CON</td><td>" + getCON() + "</td></tr>"); html1.append("<tr><td>INT</td><td>" + getINT() + "</td><td>WIT</td><td>" + getWIT() + "</td><td>MEN</td><td>" + getMEN() + "</td></tr>"); html1.append("</table>"); html1.append("<br><center><font color=\"LEVEL\">[Drop Info]</font></center>"); html1.append("Rates legend: <font color=\"ff0000\">50%+</font> <font color=\"00ff00\">30%+</font> <font color=\"0000ff\">less than 30%</font>"); html1.append("<table border=0 width=\"100%\">"); for (final L2DropCategory cat : getTemplate().getDropData()) { final FastList<L2DropData> drops = cat.getAllDrops(); if (drops != null) for (final L2DropData drop : drops) { if (drop == null || ItemTable.getInstance().getTemplate(drop.getItemId()) == null) { continue; } final String name = ItemTable.getInstance().getTemplate(drop.getItemId()).getName(); if (drop.getChance() >= 600000) { html1.append("<tr><td><font color=\"ff0000\">" + name + "</font></td><td>" + (drop.isQuestDrop() ? "Quest" : cat.isSweep() ? "Sweep" : "Drop") + "</td></tr>"); } else if (drop.getChance() >= 300000) { html1.append("<tr><td><font color=\"00ff00\">" + name + "</font></td><td>" + (drop.isQuestDrop() ? "Quest" : cat.isSweep() ? "Sweep" : "Drop") + "</td></tr>"); } else { html1.append("<tr><td><font color=\"0000ff\">" + name + "</font></td><td>" + (drop.isQuestDrop() ? "Quest" : cat.isSweep() ? "Sweep" : "Drop") + "</td></tr>"); } } } html1.append("</table>"); html1.append("</body></html>"); html.setHtml(html1.toString()); player.sendPacket(html); html = null; html1 = null; }
Starting Tutorial
in Request Server Development Help [L2J]
Posted
Lock topic !