Jump to content

Fatalas

Members
  • Posts

    42
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About Fatalas

Profile Information

  • Gender
    Male
  • Location
    Lithuania

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Fatalas's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. Thx Tryskell, helped me a lot :) made what i wanted :) just one more question .. could you tell me please how to check if player already have skill? cause now it consumes item even if player already have skill ;/ i'm using aCis pack (the best of all in my opinion) :)
  2. hello guys :) i have lil problem.. got this code for selling skills>>> package custom.SkillsShop; import net.sf.l2j.gameserver.model.actor.L2Npc; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.datatables.SkillTable; import net.sf.l2j.gameserver.model.quest.Quest; import net.sf.l2j.gameserver.model.quest.QuestState; import net.sf.l2j.gameserver.util.Util; public class SkillsShop extends Quest { private final static int ITEM_ID = 9903; private final static int ITEM_COUNT = 1; private final static String qn = "SkillsShop"; private final static int NPC = 50020; private final static int[] SkillIds = { 9990, 9991, 9992, 9993, 9998, 9994, 9995, 9996, 9997, 9999 }; public SkillsShop(int questId, String name, String descr) { super(questId, name, descr); addFirstTalkId(NPC); addStartNpc(NPC); addTalkId(NPC); } @Override public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) { String htmltext = ""; player.destroyItemByItemId("Consume", ITEM_ID, ITEM_COUNT, player, true); QuestState qs = player.getQuestState(qn); int SkillId = Integer.valueOf(event); int SkillLv = 1; if (Util.contains(SkillIds, SkillId)) player.addSkill(SkillTable.getInstance().getInfo(SkillId, SkillLv), true); player.sendSkillList(); qs.exitQuest(true); htmltext = "main.htm"; return htmltext; } @Override public String onFirstTalk(L2Npc npc, L2PcInstance player) { String htmltext = ""; QuestState qs = player.getQuestState(qn); if (qs == null) qs = newQuestState(player); htmltext = "main.htm"; return htmltext; } public static void main(String[] args) { new SkillsShop(-1, qn, "custom"); System.out.println("..............! - Importing Custom: 50020: NPC SKILL SHOP.............."); } } the problem is that even if i dont have item needed i got error massage but still can learn skill.. what's wrong? and maybe someone could tell me how to make first part of skills to sell for one item and another part for another item?
  3. can someone help me with client side files for these shields >>> 1. Immortal Shield ( http://www.lineage2.com/gd/images/features/weapons/requiem/11-immortal-shield.jpg ) 2. Twilight Shield ( http://antistress.clanteam.com/wp-content/uploads/11-twilight-shield.jpg ) 3. Seraph Shield ( http://antistress.clanteam.com/wp-content/uploads/11-seraph-shield.jpg ) 4. Eternal Shield ( http://antistress.clanteam.com/wp-content/uploads/11-eternal-shield.jpg ) i was searching those for a week but hadn't found anything ;/ if you already have them give me the link please or maybe someone skillful enough could port it to interlude? thx in advance
  4. well while you still dont have a forum, i will say some things for you here :) 1st) i have vote coins but where i'm supposed to do with them? :D vote shop is empty ;) 2nd) adjust prices lil bit.. 2k farm items for blessed scroll is way too high.. for weapon +25 you need 36k farm items and still there is no guarantees that you will success and to farm so much is getting boring ;/ 3rd) hurry up with new website :) and make a forum ;) server isn't bad but still need some things to be adjusted :) thats all for now ;) cya in game :P
  5. well i'm not building a server it's just to see of what i'm capable to do :) just doing some things and looking if what i did is working or not :) and now i came over this thing that custom created skills stays in database but when i relog in game they are missing from list except if add them to classes xml and i dont understand if it's engine side thing or have i missed something ;) just it :) oh and btw, a lil bit offtopic.. i know it's not a very big problem (so i dont know if i should post this in your forum "bugs report" section) but it's still kinda strange bug i think.. if i summon another instance of baium (id 29020) and hit him (he doesn't hit me back so i dont get any damage dealt to me) i die instantly :) maybe you can fix this in your next release (dont know.. just trying to be helpful) :) ok now i'm going to try to make something new and maybe to fix this thing with skills :P P.S. thanks Tryskell your project really rocks ;D good luck to you and your team :) maybe one day i will be able to help you with you pack (cause at the moment i know only some basics and next year i'll have lot of Java programing lectures) :P
  6. does it really matters? no i haven't bought sources :) cause my budget is way too low ;/ but still i like doing some custom stuff ;) i have already implemented some npc buffer, few armors sets from god client with custom stats and sets skills, custom tattoos and dyes :P if you would like to ask why this project, well ... cause i love this project, their files are very clean, server is stable and it's easy to implement such a simple things :) oh and btw i found that if i add my custom skills to classes xml files their doesn't disappear anymore, but what i wanna do is to make a NPC shop where you can learn those skills for some special items ;D so i'm asking again if anyone can help me to solve this little problem :)
  7. what do you mean? and there is no checkskillonenter ;/ the problem is that any skill i add stays in list for example "GM speed" but if add any of mine custom skill after restart it just dissapears from a list.. oh, and one more strange thing.. skill id stays in database "character_skills" and even if i do "remove all skills" via admin panel it still stays in database so i don't know what is the problem.. have i missed something while creating those custom skills or do i need to add them somewhere in engine itself?
  8. Hi all :) i have one problem with skills.. so i made some custom skills, add them through admin command (add_skill xxxx x) to test and their are working well but everytime as i restart game i need to add them again cause they dissapears from list and it only happens with skills i made ;/ anyone can help me with this ? its realy anoying :s Edit: oh.. and if i add it second time after restart i get this error in console: Error could not store char skills: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrit yConstraintViolationException: Duplicate entry '268476767-9993-0' for key 'PRIMA RY' but skill apears in list againt till next restart and is working fine, so don't get it .. what is wrong ? :/
  9. well try to rechek id in multisell maybe some mistake there :) one wrong number and icons might gone black because of non existing id :)
  10. so everything is fine, you copy/paste one item and changed its id so now you just need to edit corect grp file (in this case i guess it is etcitems.grp) and add you newly created item here (id, wanted icon etc.)and then you will see everything is ok ;]
  11. it seem's like items wich you want to exchange for armor doesn't have their icons set client side. try to edit etcitems.grp (as i guess it's some custom currency you want to exchange for that armor) :)
  12. Open etcitem.grp file (if it's enchants for example) and in stackable column edit from 0 to 2 :) thats all
  13. Hi mxs users :) i have little question here. can somebody tell me how to import skills animations from one chronicle to another, in my case i would like to import some skills from GoD to interlude (all i need is animations so i could create some custom skills with cool anim ;D ). Any help would be very appreciated :) thanks in advance ;) p.s. sorry for my english, i know it could be better :D edit: just noticed that i posted in wrong section.. should be in [Request] Client Mods Help, so sorry for that ;/ but still waiting for some smart guys to help me :)
  14. can anyone give me a working link or reupload? :o
×
×
  • Create New...