Jump to content

KaLeDoR

Members
  • Posts

    53
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by KaLeDoR

  1. Hi everyone i need a graphix designer to create a logo for my server, to addapt and make one nice background which will be used in my website and maybe 2-3 images i could use in my client. If anyone is interested to do the job inform me via pm here. I can pay with paypall
  2. I dont have the knowledge to do this thats why i made a topic if theres anyone willing to help but i can pay for cause i didnt receive any help Only tryskel gave me some info about pagination on acis but i use frozen and i cant understand the use of list arrays and bookmarks even if i tried is so hard for my skills
  3. I haven't the knowledge to do this to you want to do the job and get paid?
  4. i tried that but i have to move something else. i tried even change WriteC to writeD and bring me an error yea i tried copy/paste this on the line you already mention but cause i'm newbie in java i dont know what to move to make the ice cream go to ice cream and car to car :)
  5. hi i tried to change spawn protection effect on l2jacis 382 version editing userinfo.java i want to change teamtype to abnormal effect IMPRISION 2 can anyone help me a bit cause i'm too newbie on coding and any help would be most welcome! Thank you!
  6. Still i cant make the lists anyone willing to fix the code and get paid?
  7. Hi guys i created a NPC using source code i use frozen pack. NPC works fine if you're near to him bypass for each faction he use works fine but my problem is that when the character is way from npc and click on it dont go near NPC. Is there any tip to fix this?
  8. Hi guys i try to add more starting items for every characters. i created the tables in sql but i cant find which source file .java i need to edit . I use frozen pack ,Any ideas? i tried charactercreate.java and chartemplate.java already
  9. yes the mob exists. i tried an instance of sailren and it works fine. i can spawn them manually but when i restart the removed again
  10. Guys i use an old pack but when i go to primeval i cant see any of the tyrannosaurus there i tried to find if there is a config disable them but there is none i think is core problem and i cant find the .java file responsible for this. Tyranosaurus dont spawned even added them in database ion sql dont work anyone have something in mind?
  11. Thank you very much mate for your help! i found them! Topic lock!
  12. i try even with decrupted one but i got critical error when launching this in unreal engine
  13. Guys do you know what is the character menu icons path? for example what is the path for the Icon of Character stats/ Clan/ Quests /Skill icons above the list. I need these icons for a html in my server
  14. If anyone can make the work done i could pay him a small fee by paypall. I already tried to add pagination like stinkymadness did in his code but not working sth i do wrong propably.
  15. Then i could pay a small fee by paypall just only for adding lists code implented on my code.
  16. can i have a preview cause i'm a newbie java coder? in my code i posted above? thank you very much
  17. Hi guys once again i need your help. I added a shift + click droplist panel on my server works fine except one missfaction. When the droplist is too big for example grandbosses the html page crashes. "Your html is too long use database for this action" So i need to seperate the droplist data in pages [1,2,3] or adding a next page button. Looking for someone to help me! Thank you! My java code is here i use only requestbypasstoserver.java : else if (_command.startsWith("DropListNpc")) { final L2Object object = activeChar.getTarget(); if (object instanceof L2NpcInstance) { NpcHtmlMessage html = new NpcHtmlMessage(0); StringBuilder html1 = new StringBuilder("<html>"); html1.append("<title>Npc Name: " + object.getName() + "</title>"); html1.append("<body>"); html1.append("<br>"); html1.append("<table cellspacing=2 cellpadding=1 width=\"280\">"); if (((L2NpcInstance) object).getTemplate().getDropData() != null) { for (L2DropCategory cat : ((L2NpcInstance) object).getTemplate().getDropData()) { for (L2DropData drop : cat.getAllDrops()) { final L2Item item = ItemTable.getInstance().getTemplate(drop.getItemId()); if (item == null) continue; int mind = 0, maxd = 0; String smind = null, smaxd = null; String name = item.getName(); if (cat.isSweep()) { mind = (int) (Config.RATE_DROP_SPOIL * drop.getMinDrop()); maxd = (int) (Config.RATE_DROP_SPOIL * drop.getMaxDrop()); } else if (drop.getItemId() == 57) { mind = 300 * drop.getMinDrop(); maxd = 300 * drop.getMaxDrop(); } else { mind = (int) (Config.RATE_DROP_ITEMS * drop.getMinDrop()); maxd = (int) (Config.RATE_DROP_ITEMS * drop.getMaxDrop()); } if (mind > 999999) { DecimalFormat df = new DecimalFormat("###.#"); smind = df.format(((double) (mind)) / 1000000) + " KK"; smaxd = df.format(((double) (maxd)) / 1000000) + " KK"; } else if (mind > 999) { smind = ((mind / 1000)) + " K"; smaxd = ((maxd / 1000)) + " K"; } else { smind = Integer.toString(mind); smaxd = Integer.toString(maxd); } if (name.startsWith("Common Item - ")) { name = "(CI)" + name.substring(14); } if (name.length() >= 34) { name = name.substring(0, 30) + "..."; } html1.append("<tr>"); html1.append("<td valign=top align=center height=38 width=40><img src=\"" + getIcon(item.getItemId()) + "\" height=32 width=32></td>"); html1.append("<td>"); html1.append("<table cellpadding=0 cellspacing=1 width=260>"); html1.append("<tr>"); html1.append("<td><font color=fff600>" + name + "</font> " + (maxd == 1 ? "[1]" : "[" + smind + " - " + smaxd + "]") + "</td>"); html1.append("</tr>"); html1.append("<tr>"); html1.append("<td><font color=00ff00>Chance: </font>" + (drop.getChance() >= 10000 ? (double) drop.getChance() / 10000 : drop.getChance() < 10000 ? (double) drop.getChance() / 10000 : "N/A") + "% "+ "</td>"); html1.append("</tr>"); html1.append("<tr>"); html1.append("<td><font color=00b3b3>Drop Type:</font> " + (drop.isQuestDrop() ? "<font color=00b3b3>[Quest]</font>" : (cat.isSweep() ? "<font color=ff00ff>[Spoil]</font> " : "<font color=00b3b3>[Drop]</font>")) + "</td>"); html1.append("</tr>"); html1.append("</table><img src=L2UI.SquareGray width=260 height=1>"); html1.append("</td>"); } } } html1.append("</tr></table>"); html1.append("</body>"); html1.append("</html>"); html.setHtml(html1.toString()); activeChar.sendPacket(html); html1 = null; html = null; } } }
  18. Thank you @Rootware but i found a sql statement to adapt my chances easier and leaving some mobs i dont wanna change retail. ty very much for your time! if anyone need it here it is: Update `droplist` SET `chance` = `chance`*8 Where NOT `mobId` IN ('1','2','3',...) Lock this topic!
  19. thank you for your reply but i'm thinking, if i make a config in l2attackable wont be easier than writing every id i want to increase the chance?
  20. Hi guys is there any easy way to adapt the chance of droplist? For example crafted leather dropchance 15% to edit it to x3 chance? [45% chance] i'm asking if there is an easy way adapting all dropchances of all mobs without editing l2attackable. Or i should make a new config for the chances ?
  21. nope mate only the npc dont work i think that's a html missing or java code dont call on showfirsthtml method i think
×
×
  • Create New...