Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Credits

  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. This community is so lazy to try to fix things by themselves. Look at you, you blame us that we don't help you, while you managed to fix things alone, on your own. That's how it's supposed to be, you try to do it alone. If you fail, then you come here. NONE is goin' to give you rdy things. You're not in supermarket.
  2. Yes, he is. He lined your old acc, AbsolutePower. :P
  3. L2 + random name from vocabulary. Pick your farm zones, mobs and the name will come to your head. From my pov, should have at least one common thing. :P
  4. Try to install update 1.6 instead of 1.8, maybe that's the case :o
  5. AutoLearnSkills = True ?
  6. It's clean and it's the best option? Its more like education purpose so why to break your balls with messy broken pack? Read godamn first post :)
  7. Yup, but still not good enough. And it's kinda hard to crack it directly from l2off.. :o
  8. Yup, all this is true. But ppl still prefer l2off, cuz of 'better' formulas, 'more balanced' gameplay (pvp) and blabla :P
  9. Even retail l2 isnt balanced. Generally, L2 isn't meant to be balanced :troll:
  10. Russians.. :D And this language everywhere.. I think I didin't saw a Russian server with english lang on da server, yet.. :dat:
  11. L2PcInstance.java public void setClassId(int Id) { if (!_subclassLock.tryLock()) return; try { if (getLvlJoinedAcademy() != 0 && _clan != null && PlayerClass.values()[id].getLevel() == ClassLevel.Third) { if (getLvlJoinedAcademy() <= 16) _clan.addReputationScore(400); else if (getLvlJoinedAcademy() >= 39) _clan.addReputationScore(170); else _clan.addReputationScore((400 - (getLvlJoinedAcademy() - 16) * 10)); setLvlJoinedAcademy(0);
  12. Public sources of aCis GitLab || Site Changeset 1 aCis 310 Changeset 2 aCis 320 Changeset 3 aCis 330 Changeset 4 aCis 340 Changeset 5 aCis 350 Changeset 6 aCis 360
  13. Here I am :troll: Now seriously, I think you mean 'priceless'. Also, good luck with that :)
  14. What are you trying to compile? What project or so? :P
  15. It's surely already shared. Just use search (uncle google) :) 1st result, old like sh1t :D http://trac.assembla.com/l2jroh/browser/L2JSaver/src/l2jsaver/Vago/GotoLeader.java?rev=10
  16. Import DecimalFormat. Follow Eclipse hints :D
  17. No matter what line. Open the file and you will see there is a lot of else if, somewhere between 2 of them paste it, or after last else if :P Ohh and from this code change those if to else if :D Play with it, sooner or later you will manage :D
  18. This, I have no idea how things goes on freya and l2jserver, but since it's telling you 'not handled request..' Try to paste this into RequestBypassToServer.java if (command.startsWith("drop")) { try { html.setFile(activeChar.getHtmlPrefix(), "data/html/custom/mobdrop.htm"); if (!(npc.isChampion() || npc.isMinion() || npc.getInstanceType() == InstanceType.L2GrandBossInstance || npc.isRaid() || npc.isRaidMinion() || npc.isMob())) return false; if (npc.getTemplate().getDropData().isEmpty()) { droptext = "WARNING: This Npc has no Drops!"; html.replace("%drops%", droptext); activeChar.sendPacket(html); return false; } String champ = ""; String imgsg = "<img src=\"l2ui.squaregray\" width=\"274\" height=\"1\">"; String ta_op = "<table bgcolor=333333 cellspacing=2 cellpadding=1><tr><td height=38 fixwidth=36><img src=\""; String ta_op2 = "\" height=32 width=32></td><td fixwidth=234><table VALIGN=top valing = top width=234 cellpadding=0 cellspacing=0><tr>"; final StringBuilder droptext1 = StringUtil.startAppend(9000, champ + "<br>" + imgsg); for (L2DropCategory cat : npc.getTemplate().getDropData()) { for (L2DropData drop : cat.getAllDrops()) { final L2Item item = ItemTable.getInstance().getTemplate(drop.getItemId()); if (item == null) continue; if (cat.isSweep()) continue; if (drop.isQuestDrop()) continue; String smind = null, drops = null; String name = item.getName(); double chance = ((double)drop.getChance()/10000); if (item.getCrystalType() == 0) { smind = "<img src=\"L2UI_CH3.joypad_shortcut\" width=16 height=16>"; } else if (item.getCrystalType() == 1) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_D\" width=16 height=16>"; } else if (item.getCrystalType() == 2) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_C\" width=16 height=16>"; } else if (item.getCrystalType() == 3) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_B\" width=16 height=16>"; } else if (item.getCrystalType() == 4) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_A\" width=16 height=16>"; } else if (item.getCrystalType() == 5) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_S\" width=16 height=16>"; } else if (item.getCrystalType() == 6) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_80\" width=16 height=16>"; } else if (item.getCrystalType() == 7) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_84\" width=16 height=16>"; } if (chance <= 0.001) { DecimalFormat df = new DecimalFormat("#.####"); drops = df.format(chance); } else if (chance <= 0.01) { DecimalFormat df = new DecimalFormat("#.###"); drops = df.format(chance); } else { DecimalFormat df = new DecimalFormat("##.##"); drops = df.format(chance); } if (name.startsWith("Recipe - Sealed")) name = "<font color=00FF00>(Re)</font><font color=FF00FF>(Sl)</font>" + name.substring(16); if (name.startsWith("Sealed ")) name = "<font color=FF00FF>(Sl)</font>" + name.substring(7); if (name.startsWith("Common Item - ")) name = "<font color=00FFFF>(Ci)</font>" + name.substring(14); if (name.startsWith("Recipe: ")) name = "<font color=00FF00>(Re)</font>" + name.substring(8); if (name.startsWith("Recipe -")) name = "<font color=00FF00>(Re)</font>" + name.substring(8); if (name.startsWith("Mid-Grade Life Stone")) name = "<font color=fff600>Mid-Grade LS</font>" + name.substring(20); if (name.startsWith("High-Grade Life Stone")) name = "<font color=fff600>High-Grade LS</font>" + name.substring(21); if (name.startsWith("Top-Grade Life Stone")) name = "<font color=fff600>Top-Grade LS</font>" + name.substring(20); if (name.startsWith("Forgotten Scroll - ")) name = "<font color=fff600>FS - </font>" + name.substring(19); if (name.startsWith("Greater Dye of ")) name = "<font color=fff600>G Dye of </font>" + name.substring(15); droptext1.append(ta_op + item.getIcon()+ta_op2+"<td align=left width=16>" +smind+ "</td><td align=left width=260><font color=fff600>" +name+ "</font></td></tr><tr><td align=left width=16><img src=\"L2UI_CH3.QuestWndToolTipBtn\" width=16 height=16></td><td align=left width=55><font color=E15656>" +drops+ "%</font></td></tr></table></td></tr></table>" + imgsg); } } droptext = droptext1.toString(); html.replace("%drops%", droptext); activeChar.sendPacket(html); } catch (Exception e) { activeChar.sendMessage("Something went wrong with the drop preview."); } } if (command.startsWith("spoil")) { try { html.setFile(activeChar.getHtmlPrefix(), "data/html/custom/mobspoil.htm"); if (!(npc.isChampion() || npc.isMinion() || npc.isRaid() || npc.isRaidMinion() || npc.isMob())) return false; if (npc.getTemplate().getDropData().isEmpty()) { droptext = "WARNING: This Npc has no Drops!"; html.replace("%drops%", droptext); activeChar.sendPacket(html); return false; } String champ = ""; String imgsg = "<img src=\"l2ui.squaregray\" width=\"274\" height=\"1\">"; String ta_op = "<table bgcolor=333333 cellspacing=2 cellpadding=1><tr><td height=38 fixwidth=36><img src=\""; String ta_op2 = "\" height=32 width=32></td><td fixwidth=234><table VALIGN=top valing = top width=234 cellpadding=0 cellspacing=1><tr>"; final StringBuilder droptext1 = StringUtil.startAppend(1000, champ + "<br>" + imgsg); for (L2DropCategory cat : npc.getTemplate().getDropData()) { for (L2DropData drop : cat.getAllDrops()) { final L2Item item = ItemTable.getInstance().getTemplate(drop.getItemId()); if (item == null) continue; if (!(cat.isSweep())) continue; String smind = null, drops = null; String name = item.getName(); double chance = ((double)drop.getChance()/10000); if (item.getCrystalType() == 0) { smind = "<img src=\"L2UI_CH3.joypad_shortcut\" width=16 height=16>"; } else if (item.getCrystalType() == 1) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_D\" width=16 height=16>"; } else if (item.getCrystalType() == 2) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_C\" width=16 height=16>"; } else if (item.getCrystalType() == 3) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_B\" width=16 height=16>"; } else if (item.getCrystalType() == 4) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_A\" width=16 height=16>"; } else if (item.getCrystalType() == 5) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_S\" width=16 height=16>"; } else if (item.getCrystalType() == 6) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_80\" width=16 height=16>"; } else if (item.getCrystalType() == 7) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_84\" width=16 height=16>"; } if (chance <= 0.001) { DecimalFormat df = new DecimalFormat("#.####"); drops = df.format(chance); } else if (chance <= 0.01) { DecimalFormat df = new DecimalFormat("#.###"); drops = df.format(chance); } else { DecimalFormat df = new DecimalFormat("##.##"); drops = df.format(chance); } if (name.startsWith("Recipe - Sealed")) name = "<font color=00FF00>(Re)</font><font color=FF00FF>(Sl)</font>" + name.substring(16); if (name.startsWith("Sealed ")) name = "<font color=FF00FF>(Sl)</font>" + name.substring(7); if (name.startsWith("Common Item - ")) name = "<font color=00FFFF>(Ci)</font>" + name.substring(14); if (name.startsWith("Recipe: ")) name = "<font color=00FF00>(Re)</font>" + name.substring(8); if (name.startsWith("Recipe -")) name = "<font color=00FF00>(Re)</font>" + name.substring(8); if (name.startsWith("Mid-Grade Life Stone")) name = "<font color=fff600>Mid-Grade LS</font>" + name.substring(20); if (name.startsWith("High-Grade Life Stone")) name = "<font color=fff600>High-Grade LS</font>" + name.substring(21); if (name.startsWith("Top-Grade Life Stone")) name = "<font color=fff600>Top-Grade LS</font>" + name.substring(20); if (name.startsWith("Forgotten Scroll - ")) name = "<font color=fff600>FS - </font>" + name.substring(19); if (name.startsWith("Greater Dye of ")) name = "<font color=fff600>G Dye of </font>" + name.substring(15); droptext1.append(ta_op + item.getIcon()+ta_op2+"<td align=left width=16>" +smind+ "</td><td align=left width=260><font color=fff600>" +name+ "</font></td></tr><tr><td align=left width=16><img src=\"L2UI_CH3.QuestWndToolTipBtn\" width=16 height=16></td><td align=left width=55><font color=E15656>" +drops+ "%</font></td></tr></table></td></tr></table>" + imgsg); } } droptext = droptext1.toString(); html.replace("%drops%", droptext); activeChar.sendPacket(html); } catch (Exception e) { activeChar.sendMessage("Something went wrong with the drop preview."); } } if (command.startsWith("quest")) { try { html.setFile(activeChar.getHtmlPrefix(), "data/html/custom/mobquest.htm"); if (!(npc.isChampion() || npc.isMinion() || npc.isRaid() || npc.isRaidMinion() || npc.isMob())) return false; if (npc.getTemplate().getDropData().isEmpty()) { droptext = "WARNING: This Npc has no Drops!"; html.replace("%drops%", droptext); activeChar.sendPacket(html); return false; } String champ = ""; String imgsg = "<img src=\"l2ui.squaregray\" width=\"274\" height=\"1\">"; String ta_op = "<table bgcolor=333333 cellspacing=2 cellpadding=1><tr><td height=38 fixwidth=36><img src=\""; String ta_op2 = "\" height=32 width=32></td><td fixwidth=234><table VALIGN=top valing = top width=234 cellpadding=0 cellspacing=1><tr>"; final StringBuilder droptext1 = StringUtil.startAppend(1000, champ + "<br>" + imgsg); for (L2DropCategory cat : npc.getTemplate().getDropData()) { for (L2DropData drop : cat.getAllDrops()) { final L2Item item = ItemTable.getInstance().getTemplate(drop.getItemId()); if (item == null) continue; if (!(drop.isQuestDrop())) continue; String smind = null, drops = null; String name = item.getName(); double chance = ((double)drop.getChance()/10000); if (item.getCrystalType() == 0) { smind = "<img src=\"L2UI_CH3.joypad_shortcut\" width=16 height=16>"; } else if (item.getCrystalType() == 1) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_D\" width=16 height=16>"; } else if (item.getCrystalType() == 2) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_C\" width=16 height=16>"; } else if (item.getCrystalType() == 3) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_B\" width=16 height=16>"; } else if (item.getCrystalType() == 4) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_A\" width=16 height=16>"; } else if (item.getCrystalType() == 5) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_S\" width=16 height=16>"; } else if (item.getCrystalType() == 6) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_80\" width=16 height=16>"; } else if (item.getCrystalType() == 7) { smind = "<img src=\"L2UI_CT1.Icon_DF_ItemGrade_84\" width=16 height=16>"; } if (chance <= 0.001) { DecimalFormat df = new DecimalFormat("#.####"); drops = df.format(chance); } else if (chance <= 0.01) { DecimalFormat df = new DecimalFormat("#.###"); drops = df.format(chance); } else { DecimalFormat df = new DecimalFormat("##.##"); drops = df.format(chance); } if (name.startsWith("Recipe - Sealed")) name = "<font color=00FF00>(Re)</font><font color=FF00FF>(Sl)</font>" + name.substring(16); if (name.startsWith("Sealed ")) name = "<font color=FF00FF>(Sl)</font>" + name.substring(7); if (name.startsWith("Common Item - ")) name = "<font color=00FFFF>(Ci)</font>" + name.substring(14); if (name.startsWith("Recipe: ")) name = "<font color=00FF00>(Re)</font>" + name.substring(8); if (name.startsWith("Recipe -")) name = "<font color=00FF00>(Re)</font>" + name.substring(8); if (name.startsWith("Mid-Grade Life Stone")) name = "<font color=fff600>Mid-Grade LS</font>" + name.substring(20); if (name.startsWith("High-Grade Life Stone")) name = "<font color=fff600>High-Grade LS</font>" + name.substring(21); if (name.startsWith("Top-Grade Life Stone")) name = "<font color=fff600>Top-Grade LS</font>" + name.substring(20); if (name.startsWith("Forgotten Scroll - ")) name = "<font color=fff600>FS - </font>" + name.substring(19); if (name.startsWith("Greater Dye of ")) name = "<font color=fff600>G Dye of </font>" + name.substring(15); droptext1.append(ta_op + item.getIcon()+ta_op2+"<td align=left width=16>" +smind+ "</td><td align=left width=260><font color=fff600>" +name+ "</font></td></tr><tr><td align=left width=16><img src=\"L2UI_CH3.QuestWndToolTipBtn\" width=16 height=16></td><td align=left width=55><font color=E15656>" +drops+ "%</font></td></tr></table></td></tr></table>" + imgsg); } } droptext = droptext1.toString(); html.replace("%drops%", droptext); activeChar.sendPacket(html); } catch (Exception e) { activeChar.sendMessage("Something went wrong with the drop preview."); } } Ofc there may be errors, like return false; => return; or (command => (_command and so on. Just try to fix errors and test it.
  19. Just don't say that you're not rich.. (thanks to me) :troll: Hah, misspell :D @dat chick, if you were the girl, I'd donate for new 'robe' :D
  20. The sad part of that story is, I dont get a broken cent while you become rich! And it's all thanks to me. :forever alone like a boss: I will rob you, expect me! :troll:
  21. Become a aCis customer and you will have it :troll:
  22. Maybe some aion renders :P http://www.renders-graphiques.fr/image/upload/normal/9587_render_aion.png[/img]
×
×
  • Create New...