Jump to content

0flee

Members
  • Posts

    485
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by 0flee

  1. Hello, i am looking for a good java dev. Why? Because i want to change from HI5 ( L2jSunrise ) the statuses based on (int) (double) etc to BigInteger. I would like to change this with a serious person. Because i don;t need bugs/errors! Thank You!
  2. And what about this? This npc do something special?
  3. Kaboom! very nice work! Just try to click on the button and the magic appear!
  4. The loading of page it's murder! Try to improve if you know!
  5. Za problem it's this site. Where all codes can broke server ! And ok, i put here the class `DecayTaskManager`. Maybe i get some help. https://pastebin.com/eKEhjjPR
  6. Ok, so next time when i post something, i will expect anything else ! Thank you. Zake can you close topic?
  7. If i post something and i don't specify what pack i use, all guys speak with me like i do first post for first time. Now i say, why you don't tell me exactly what i have to check/to do?
  8. Hello folks, like title say, i have small issue for mobs. And player should restart his client. I use l2jsunrise/High five client and if player farm more in 1 zone, after x time, mobs don't disappear.. But as i said, if player restart his client, all good. Here as you see in this pic u see error. https://prnt.sc/24mgvj9 P.S. - Mobs it's respawned after x time, but dead don;t disappear. Thank you for understanding and for reading !
  9. Well, thank's to @melronand @lucabruns i fixed all my problems. Thank you too for replyes!
  10. Hello, i need a good java developer. I have to fix 2 types of errors. Please if you are one of them, feel free to give me message here. Thank you !
  11. /* * Copyright (C) 2004-2015 L2J Server * * This file is part of L2J Server. * * L2J Server is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * L2J Server is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package l2r.gameserver.network.serverpackets; import java.util.ArrayList; import java.util.List; import l2r.gameserver.model.base.AcquireSkillType; /** * Acquire Skill List server packet implementation. */ public final class AcquireSkillList extends L2GameServerPacket { private final List<Skill> _skills; private final AcquireSkillType _skillType; /** * Private class containing learning skill information. */ private static class Skill { public int id; public int nextLevel; public int maxLevel; public int spCost; public int requirements; public Skill(int pId, int pNextLevel, int pMaxLevel, int pSpCost, int pRequirements) { id = pId; nextLevel = pNextLevel; maxLevel = pMaxLevel; spCost = pSpCost; requirements = pRequirements; } } public AcquireSkillList(AcquireSkillType type) { _skillType = type; _skills = new ArrayList<>(); } public void addSkill(int id, int nextLevel, int maxLevel, int spCost, int requirements) { _skills.add(new Skill(id, nextLevel, maxLevel, spCost, requirements)); } @Override protected void writeImpl() { if (_skills.isEmpty()) { return; } writeC(0x90); writeD(_skillType.ordinal()); writeD(_skills.size()); for (Skill temp : _skills) { writeD(temp.id); writeD(temp.nextLevel); writeD(temp.maxLevel); writeD(temp.spCost); writeD(temp.requirements); if (_skillType == AcquireSkillType.SUBPLEDGE) { writeD(0); // TODO: ? } } } } Fixed. ( thank's to @Psygrammator ) Close topic !
  12. public static final void showPledgeSkillList(L2PcInstance player) { if (!player.isClanLeader()) { final NpcHtmlMessage html = new NpcHtmlMessage(); html.setFile(player, player.getHtmlPrefix(), "data/html/villagemaster/NotClanLeader.htm"); player.sendPacket(html); player.sendPacket(ActionFailed.STATIC_PACKET); return; } final List<L2SkillLearn> skills = SkillTreesData.getInstance().getAvailablePledgeSkills(player.getClan()); final AcquireSkillList asl = new AcquireSkillList(AcquireSkillType.PLEDGE); int counts = 0; for (L2SkillLearn s : skills) { asl.addSkill(s.getSkillId(), s.getSkillLevel(), s.getSkillLevel(), s.getLevelUpSp(), s.getSocialClass().ordinal()); counts++; } if (counts == 0) { if (player.getClan().getLevel() < 8) { SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.DO_NOT_HAVE_FURTHER_SKILLS_TO_LEARN_S1); if (player.getClan().getLevel() < 5) { sm.addInt(5); } else { sm.addInt(player.getClan().getLevel() + 1); } player.sendPacket(sm); } else { final NpcHtmlMessage html = new NpcHtmlMessage(); html.setFile(player, player.getHtmlPrefix(), "data/html/villagemaster/NoMoreSkills.htm"); player.sendPacket(html); } } else { player.sendPacket(asl); } player.sendPacket(ActionFailed.STATIC_PACKET); }
  13. What i have to display here? showPledgeSkillList?
  14. This it's edited: public L2SkillLearn getClassSkill(int id, int lvl, ClassId classId, L2PcInstance player) { L2SkillLearn skillLearn = null; if (player.isPremium()) { for (ClassId classx : ClassId.values()) { L2SkillLearn s = getCompleteClassSkillTree(classx).get(SkillData.getSkillHashCode(id, lvl)); if (s != null) { skillLearn = s; break; } } } else { skillLearn = getCompleteClassSkillTree(classId).get(SkillData.getSkillHashCode(id, lvl)); } return skillLearn; And this retail public L2SkillLearn getClassSkill(int id, int lvl, ClassId classId) { return getCompleteClassSkillTree(classId).get(SkillData.getSkillHashCode(id, lvl)); } But nothing here to say something about pledgeSkillTree. It's L2ServiceManagerInstance.java The method to display skilllist it's this else if (actualCommand.equalsIgnoreCase("learnclanskills")) { if (!checkLeaderConditions(player)) { return; } L2VillageMasterInstance.showPledgeSkillList(player); }
  15. @melronofc. Just tell me what class and i will upload to pastebin
  16. I don't mixed up. I decrease just clan members requirements to increase levels of clan
  17. Hello, i try to learn clan skills, but i get error on skillList. Where can be the problem. I use L2jSunrise. https://prnt.sc/22xruqy In what package can be the problem? Thank you !
  18. I am looking for Giran Town Christmas textures/If anyone has, please share. I don;t find on whole Google Thank you !
  19. Fixed. Thank you all for answer! Can close topic !
  20. Pack: L2jSunrise ( high Five ) Hello to everyone. I want help in what i did. I don;t find any error in game or in console. I raise the max BaseStat from 99 ( retail ) to 200. And i do changes in next packages: BaseStat.Java protected static final class CON implements BaseStat { @Override public final double calcBonus(L2Character actor) { return CONbonus[Math.min(actor.getCON(), BaseStats.MAX_STAT_VALUE - 1)]; } } ... public static final int MAX_STAT_VALUE = 201; UserInfo.Java writeD(Math.min(_activeChar.getCON(), BaseStats.MAX_STAT_VALUE - 1)); statBonus.xsd <xs:element name="CON" minOccurs="1" maxOccurs="1"> <xs:complexType> <xs:sequence minOccurs="1" maxOccurs="1"> <xs:element name="stat" minOccurs="1" maxOccurs="201"> <xs:complexType> <xs:attribute name="bonus" type="xs:decimal" use="required" /> <xs:attribute name="value" type="xs:integer" use="required" /> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> skill xml <add stat="CON" val="#stats" /> <!--<add stat="STR" val="#stats" /> <add stat="DEX" val="#stats" /> <add stat="INT" val="#stats" /> <add stat="WIT" val="#stats" /> <add stat="MEN" val="#stats" /> <mul stat="maxHp" val="#status" />--> ( I comment to see if just on CON i meet problems. And yes. Only on CON i have problems. Video See what's happend!
  21. Hello, how i can increase more glow as image say? https://prnt.sc/20xegv7 I want to be on whole weapon. It is possible? I use High Five client. This is weapon for what i want to do this. 0 30002 1 1 7 10 0 LineageWeapons.dragon_Slayer_m00_wp LineageWeapons.dragon_slayer_m00_wp LineageWeaponsTex.dragon_slayer_t00_wp LineageWeaponsTex.dragon_slayer_t00_wp 0 0 0 0 0 1 0 0 icon.weapon_dual_sword_i00 icon.weapon_dragon_slayer_i00 icon.weapon_dragon_slayer_i00 -1 1520 47 0 0 0 1 7 3 2 LineageWeapons.dragon_slayer_m00_wp LineageWeapons.dragon_slayer_m00_wp 1 1 2 LineageWeaponsTex.dragon_slayer_t00_wp LineageWeaponsTex.dragon_slayer_t00_wp 1 ItemSound.itemdrop_sword ItemSound.itemequip_sword 10 1576 1276 8 7 8 0 0 0 0 325 0 1 1 1000 0 1 0 LineageEffect.w_vari_r4_000_a LineageEffect.w_vari_b4_000_a 1.00000000 0.00000000 0.00000000 1.00000000 0.00000000 0.00000000 2.00000000 2.00000000 2.00000000 2.00000000 LineageWeapons.rangesample LineageWeapons.rangesample 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0 -1 -1 -1 -1 -1 Thank you!
  22. Fixed, thanks to @Psygrammator. Topic can be closed!
  23. Guys, please help me to move this html window into Community Board https://prnt.sc/1zjcs9t I use L2j-Sunrise ( High Five ). Thank you guys!
×
×
  • Create New...