Jump to content

Archagnel

Members
  • Posts

    31
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Archagnel

  1. Server was good for 2-3 hours after start (except lags). Then they started "fixing" mobs several times and now it isn't for casual player but hardcore farming (for pvp server) / parties (3+) / donators.
  2. At your page there is different information than you wrote here about server features.
  3. Hi. I am looking for someone who is interested in investing in a new interlude high rate server. -I am a programmer -I used to work with some L2j packs few years ago -In last year I used to work with aCis pack for few months so I would like to set server on that pack (but on new files, would import my changes) -I have my own idea for L2j server which in my opinion may attract many people. -I would develope website and would do all things with machine -I used to play L2 since C3 for like 6 +/- years Who I am looking for ? -you have to have 20+ years (because I am looking for someone with brain, don't have time to deal with kids or ppl who can think logically) -someone who may cover all costs -someone who spent 2+ years on L2 If you are interested in PM me for more info.
  4. Lol your answer is just spam as already xdem answered.
  5. Ok, thanks for info. Anyway thats not what I wanted to hear :D, but now I know I have to write it by my own. Or maybe You know if it is possible to intercept that request for showing skill (skill list -> then u click on skill -> and this request) so I could redirect it to my own class ?
  6. I know how it works lol, but if I could get that htm it would save me a lot of work thats why I need it.
  7. In aCis pack there isnt anything like that. I want to duplicate this so I need its code. I have already checked RequestExEnchantSkill,RequestExEnchantSkillInfo, L2EnchantSkillData but there isn't that what I wanted, anyway ty for trying to help.
  8. I am talking about this window. How called is this htm ? Or is it hardcoded ? If yes then where?
  9. Ok I used addTeachInfo() and it worked, thanks. However I still need that code which is responsible for displaying that skill info, do You know which htm it is or is it hardcoded somewhere ?
  10. Hello I wanted to create custom npc which has also ability to enchant skills. I copied function from L2NpcInstance: public static void showEnchantSkillList(L2PcInstance player, L2Npc npc, ClassId classId) { if (((L2NpcInstance) npc).getClassesToTeach() == null) { NpcHtmlMessage html = new NpcHtmlMessage(npc.getObjectId()); final String sb = StringUtil.concat("<html><body>I cannot teach you. My class list is empty.<br>Ask admin to fix it. Need add my npcid and classes to skill_learn.sql.<br>NpcId:", String.valueOf(npc.getTemplate().getNpcId()), ", Your classId:", String.valueOf(player.getClassId().getId()), "<br></body></html>"); html.setHtml(sb); player.sendPacket(html); return; } if (!npc.getTemplate().canTeach(classId)) { NpcHtmlMessage html = new NpcHtmlMessage(npc.getObjectId()); html.setHtml("<html><body>I cannot teach you any skills.<br>You must find your current class teachers. </body></html>"); player.sendPacket(html); return; } if (player.getClassId().level() < 3) { NpcHtmlMessage html = new NpcHtmlMessage(npc.getObjectId()); html.setHtml("<html><body> You must have 3rd class change quest completed.</body></html>"); player.sendPacket(html); return; } ExEnchantSkillList esl = new ExEnchantSkillList(); boolean empty = true; List<L2EnchantSkillLearn> esll = SkillTreeTable.getInstance().getAvailableEnchantSkills(player); for (L2EnchantSkillLearn skill : esll) { L2Skill sk = SkillTable.getInstance().getInfo(skill.getId(), skill.getLevel()); if (sk == null) continue; L2EnchantSkillData data = SkillTreeTable.getInstance().getEnchantSkillData(skill.getEnchant()); if (data == null) continue; esl.addSkill(skill.getId(), skill.getLevel(), data.getCostSp(), data.getCostExp()); empty = false; } if (empty) { player.sendPacket(SystemMessageId.THERE_IS_NO_SKILL_THAT_ENABLES_ENCHANT); if (player.getLevel() < 74) player.sendPacket(SystemMessage.getSystemMessage( SystemMessageId.DO_NOT_HAVE_FURTHER_SKILLS_TO_LEARN_S1).addNumber(74)); else player.sendPacket(SystemMessageId.NO_MORE_SKILLS_TO_LEARN); } else player.sendPacket(esl); player.sendPacket(ActionFailed.STATIC_PACKET); } When I click on button it shows me list with all availables skill which can be enchanted, but when I click on any window dissapears. This function is called from : public void onBypassFeedback(L2PcInstance player, String command) { if (command.startsWith("SkillList")) { player.setSkillLearningClassId(player.getClassId()); showSkillList(player, player.getCurrentFolkNPC(), player.getClassId()); } else if (command.startsWith("EnchantSkillList")) showEnchantSkillList(player, player.getCurrentFolkNPC(), player.getClassId()); else if (command.startsWith("GiveBlessing")) giveBlessingSupport(player); else super.onBypassFeedback(player, command); } So I thought it is enough just to copy it, because there is nothing more called to show description after clicking on skill. Anybody knows where can I intercept that clicking on skill so I could write that code to display it?
  11. Okey, thanks for info. I have done it as sweets said and it worked.
  12. Lol, weird I didnt see your post before. Anyway thanks Tryskell, seems like there is no easier way to do that. Or maybe it is possible to compare two packs and make .diff between them ? Im using your 270 rev. so maybe am I able to compare clear rev 270 with mine to get diff ?
  13. I dont have such thing only 'apply patch' and 'share project'
  14. Another guy who dont read before posting. I dont know how to create .diff did u read my first post? Yeah it seems logic but the problem is to create SVN, because I havent done it before. Anybody has another idea than sweets?
  15. First of all how can I make .diff file in eclipse? Is it possible to get .diff from every changes that I have made since code was clear?
  16. Are u dumb or blind? Read what I have written before u post ok ? Anyway I did it, topic can be locked.
  17. I know how to write something to sql, thats not what I was asking for even I said I dont want it so u are just spamming.
  18. It doesnt matter what Instance I want... i want to know it as a global issue, but I want to do something like this http://maxcheaters.com/forum/index.php?topic=228394.0 but i dont want to hold this: rewardConsecutiveKillCount in L2Pcinstance, I want to hold this in new java file. For example I create: Rewards.java here: public class Rewards { private int rewardConsecutiveKillCount = 0; public void Increase() { rewardConsecutiveKillCount++; } public int getCounts() { return rewardConsecutiveKillCount; } } I want something like this and where should call this function to get this for every player that killed someone to hold his counts (I know something like this would hold this only until restart) ?
  19. Hello im doing one custom thing now but Im wondering how to create Instance for each player with stats that will be hold until shutdown/restart. For example im calling function DoSomething() in doDie from L2PcInstance in which I want to read or create if not exist Instance for each player(killer) with few statics for example I want hold there pvp stats, if something happens im raising it or reseting. Im thinking to do something similar like they have done in l2jFrozen: public class CustomPvpSystem{ public CustomPvpSystem(L2PcInstance killer, L2PcInstance victim){ this.setKiller(killer); this.setVictim(victim); ... Pvp pvp = PvpTable.getInstance().getPvp(killer.getObjectId(), victim.getObjectId(), systemDay); ... and in pvptable class: ... private static PvpTable _instance = null; ... public static PvpTable getInstance(){ if(_instance == null){ _instance = new PvpTable(); } return _instance; } Will something like this work with this return instance ? Or can I do this easier? And the second question, how can I random array ? For example I have ex[] = {1,2,3,4} and I want to random this array but inside, NOT like to get random from this array.
  20. nunu + kog is good but try panth + rengar, its even better
×
×
  • Create New...