kokkinidisjim Posted May 21, 2012 Posted May 21, 2012 Otan kapios kani enan newchar ston server exi stis bares tou (shortcut) to attack(f1),to pick up(f4),to sit/stand(f11),k to newbe guide(f12) ego tora thelo na balo k ena skill sto bar 1 shortcut 6 (f6) pos ginete na to kano afto? ((dld thelo opios kani new char ston server opos exi to attack sto f1 na balo k ego sto f6 ena skill)) nomizo oti to eksigisa kalitera :) ty!
0 Zake Posted May 21, 2012 Posted May 21, 2012 Εξήγησε το κάπως καλύτερα, και βάλε σαν tag στο title του τοπικ [Help]
0 kokkinidisjim Posted May 22, 2012 Author Posted May 22, 2012 nomizo to eksigisa kapos kalitera tora :)
0 l22expert Posted May 22, 2012 Posted May 22, 2012 Παιζει να καταλαβες τι εγραψες? kai ego den katalaba alla malon zitai stous new char na exoun ena custom skill opios ftiaxni new char kai na efxanizete stin bara.ontopic afto exi sxesi me java file pou thelis na kanis
0 Rizlaaa Posted May 22, 2012 Posted May 22, 2012 CharacterCreate.java Ψαξε και δες πως δουλευουν τα shortcuts , θα βρεις κατι τετοιο. L2ShortCut shortcut; //add attack shortcut shortcut = new L2ShortCut(0,0,3,2,-1,1); newChar.registerShortCut(shortcut); //add take shortcut shortcut = new L2ShortCut(3,0,3,5,-1,1); newChar.registerShortCut(shortcut); //add sit shortcut shortcut = new L2ShortCut(10,0,3,0,-1,1); newChar.registerShortCut(shortcut);
0 kokkinidisjim Posted May 22, 2012 Author Posted May 22, 2012 to brika tora pos tha balo to skill? :D
0 kokkinidisjim Posted May 24, 2012 Author Posted May 24, 2012 gt aplos m ipan p ine meta dn mporo na bro ti prepi na balo ekana ena try monos m alla @@@ // Shortcuts newChar.registerShortCut(new L2ShortCut(0, 0, 3, 2, -1, 1)); // Attack newChar.registerShortCut(new L2ShortCut(3, 0, 3, 5, -1, 1)); // Take newChar.registerShortCut(new L2ShortCut(10, 0, 3, 0, -1, 1)); // Sit ItemTable itemTable = ItemTable.getInstance(); L2Item[] items = template.getItems(); for (L2Item item2 : items) { L2ItemInstance item = newChar.getInventory().addItem("Init", item2.getItemId(), 1, newChar, null); if (item.getItemId() == 5588) newChar.registerShortCut(new L2ShortCut(11, 0, 1, item.getObjectId(), -1, 1)); // Tutorial Book shortcut if (item.isEquipable()) if(newChar.getActiveWeaponItem() == null || !(item.getItem().getType2() != L2Item.TYPE2_WEAPON)) newChar.getInventory().equipItemAndRecord(item); } L2SkillLearn[] startSkills = SkillTreeTable.getInstance().getAvailableSkills(newChar, newChar.getClassId()); for(L2SkillLearn startSkill : startSkills) { newChar.addSkill(SkillTable.getInstance().getInfo(startSkill.getId(), startSkill.getLevel()), true); if(startSkill.getId() == 1001 || startSkill.getId() == 1177) newChar.registerShortCut(new L2ShortCut(1, 0, 2, startSkill.getId(), 1, 1)); if(startSkill.getId() == 1216) newChar.registerShortCut(new L2ShortCut(10, 0, 2, startSkill.getId(), 1, 1)); if(startSkill.getId() == 7400) newChar.registerShortCut(new L2ShortCut(6, 0, 2, startSkill.getId(), 1, 1)); if(Config.DEBUG) _log.fine("DEBUG "+getType()+": Adding starter skill:" + startSkill.getId() + " / " + startSkill.getLevel()); } edo pera malon theli na addaro kati :)
Question
kokkinidisjim
Otan kapios kani enan newchar ston server exi stis bares tou (shortcut) to attack(f1),to pick up(f4),to sit/stand(f11),k to newbe guide(f12)
ego tora thelo na balo k ena skill sto bar 1 shortcut 6 (f6) pos ginete na to kano afto?
((dld thelo opios kani new char ston server opos exi to attack sto f1 na balo k ego sto f6 ena skill))
nomizo oti to eksigisa kalitera :)
ty!
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now