Jump to content

0flee

Members
  • Posts

    487
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by 0flee

  1. @BadStealth Scammer, i pay for each service ! You can ask eachother form maxcheaters. ou scam customers, not myself developers.
  2. As title say, i am looking for a dev which can fix this 2 things. 1: I maked new skill seller npc and if i press to learn skill, skill isn't learned; 2: I maked new instance and teleport doesn;t work when i press on link. For project L2j-Mobius. Message me if you're one of that guy who can fix this and we can talk about price. Greetings !
  3. Yea, that's good, Okay, Thank you !
  4. Yes. I have setted on 12:00 and 00:00, auto restarts. But restart from 12:00 isn;t applied. Just on 00:00. Another issue on Mobius # Scheduled restart schedule. # You can put more than one value separated by commas (,). # Example: 12:00, 00:00 ServerRestartSchedule = 00:00, 12:00 # Specify days that the restart will occur. Values separated by commas (,). # Example: 1,2,3,4,5,6,7 (SUNDAY,MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY) # Default: 4 (WEDNESDAY) ServerRestartDays = 1,2,3,4,5,6,7
  5. Also, if i will have 3 k players, how will be? Should be something for auto-destroy when time it's finished.
  6. But item still will stay on inventory untill player rr char. Doesn;t disappear instantly. I think i have to make admin panel to delete from inventory items.
  7. I understand, someone tell me the same shit. I can fix this somehow?
  8. It is 180. But sometimes, i don;t know how, i dont; know what player do, time it's finished, and doesn;t disappear. I will post here the xml. <item id="17405" type="EtcItem" name="Maphi's Bonus Drop"> <!-- Amount 100%--> <set name="icon" val="icon.etc_ancient_tablet_i00" /> <set name="etcitem_type" val="RUNE_SELECT" /> <set name="immediate_effect" val="true" /> <set name="material" val="PAPER" /> <set name="weight" val="120" /> <set name="is_tradable" val="false" /> <set name="is_dropable" val="false" /> <set name="is_sellable" val="false" /> <set name="is_premium" val="true" /> <set name="time" val="180" /> <!-- 3 hours --> <set name="dropBonusAmount" val="2.00" /> <set name="for_npc" val="true" /> </item> I want to do something on endoflife method to force delete item when time it's over.
  9. With that @expll0, the limited time it is 7 days, not 3 hours
  10. Someone can tell me why sometimes rune doesn't disappear when time it's over for some items? https://imgur.com/RLWkLVm P.S-Pack L2j-Mobius ( High Five ) Greetings !
  11. *L2-inC * * Stacksub Server ( Main +2 ) * Exp: x5 / Sp: x5 / Drop: x1 ( + Boosters )!! * Custom Community Skills !! * Custom clan skills !! * Safe +40/Max +80 ( Normal Rates 100% Blesseds 80%) Fail -2 * Custom Community Board * Custom Items ( GoD )! * Custom Skills * Custom Clan Skills * Retail Heroes *Retail Sieges * All Classes can play!! * Buffs 2 Hs * Custom Boosters for Drop/Spoil Rates !!!! * Auto-Create Acounts 1. VISIT OFFICIAL WEBSITE http://l2-inc.com 2. JOIN DISCORD TO PREVIEW YOUR FAV SERVER https://discord.gg/PtK3xCsE Clean High Five Client L2-inC Patch ( For All Windows )
  12. Good for your heart, I'm trying to do something and I don't know how. I put the method for drop / spoil runes in NpcTemplate.java and it doesn't work in the party. How can I make her go to the party? Now, what is the code, if the player spends, he loses the bonus offered by the drop / spoil rune. What line is missing from the method? P.S. For L2jMobius-Hi5 Regards
  13. Fixed, thank's to @lucabruns Thanks buddy!
  14. Send me yours. My discord it's edited and ou will not find me
  15. Hello, as title say, i want a item which give specify skills for that class. For exemple. If player buy Titan Coin and double click on it, to learn all skills from Titan class. And i want to make to all classes. ofc, skills sould be stackable. But i do this myself. Please PM with price !
  16. WTB Stacksub System for Hi5. For project based on L2j-Mobius.
  17. This is method available to restore player skills. An here should be a check for all subclasses available. And for that available subclasses to give their skills. And rest of skills to be deleted private void restoreSkills() { try (Connection con = DatabaseFactory.getConnection(); PreparedStatement ps = con.prepareStatement(RESTORE_SKILLS_FOR_CHAR)) { // Retrieve all skills of this PlayerInstance from the database ps.setInt(1, getObjectId()); try (ResultSet rs = ps.executeQuery()) { while (rs.next()) { final int id = rs.getInt("skill_id"); final int level = rs.getInt("skill_level"); // Create a Skill object for each record final Skill skill = SkillData.getInstance().getSkill(id, level); if (skill == null) { LOGGER.warning("Skipped null skill Id: " + id + " Level: " + level + " while restoring player skills for playerObjId: " + getObjectId()); continue; } // Add the Skill object to the Creature _skills and its Func objects to the calculator set of the Creature addSkill(skill); if (Config.SKILL_CHECK_ENABLE && (!canOverrideCond(PlayerCondOverride.SKILL_CONDITIONS) || Config.SKILL_CHECK_GM) && !SkillTreeData.getInstance().isSkillAllowed(this, skill)) { Util.handleIllegalPlayerAction(this, "Player " + getName() + " has invalid skill " + skill.getName() + " (" + skill.getId() + "/" + skill.getLevel() + "), class:" + ClassListData.getInstance().getClass(getClassId()).getClassName(), IllegalActionPunishmentType.BROADCAST); if (Config.SKILL_CHECK_REMOVE) { removeSkill(skill); } } } } } catch (Exception e) { LOGGER.log(Level.WARNING, "Could not restore character " + this + " skills: " + e.getMessage(), e); } }
  18. Be more specify please. In what package? VillageMaster.java?
  19. Hello fooooolks, i have one and big problem. I have stacksub server based on l2j-mobius. And i have npc Maximilian where player can add/change/cancel a subclass. All good. But, when player cancel a subclass to do another instead, skills from canceled subclass are retained. How i can make this to disappear one with cancel? Thank you !
  20. What levels @HyperBlown?
  21. Hello, why if i edit skill from L2j-Mobius from default i still get effect from default one? Default might add 55 p atk, and i set mul 1.50 for 50%. Why doesn;t have effect with mul? It;s coded somewhere on core this? Retail <skill id="3241" levels="10" name="Item Skill: Empower"> <!-- Passive: Increases M. Atk. when equipped. --> <table name="#magicLevel">46 49 52 55 58 61 64 67 70 75</table> <set name="icon" val="icon.skill3238" /> <set name="magicLevel" val="#magicLevel" /> <set name="operateType" val="P" /> <set name="targetType" val="SELF" /> <for> <effect name="Buff"> <add stat="mAtk" val="55" /> </effect> </for> </skill> Edited <skill id="3241" levels="10" name="Item Skill: Empower"> <!-- Passive: Increases M. Atk. when equipped. --> <table name="#magicLevel"> 46 49 52 55 58 61 64 67 70 75 </table> <table name="#mAtk"> 1.05 1.10 1.15 1.20 1.25 1.30 1.35 1.40 1.45 1.50 </table> <set name="icon" val="icon.skill3238" /> <set name="magicLevel" val="#magicLevel" /> <set name="operateType" val="P" /> <set name="targetType" val="SELF" /> <for> <effect name="Buff"> <mul stat="mAtk" val="#mAtk" /> </effect> </for> </skill>
  22. private void storeSkill(Skill newSkill, Skill oldSkill, int newClassIndex) { final int classIndex = (newClassIndex > -1) ? newClassIndex : _classIndex; try (Connection con = DatabaseFactory.getConnection()) { if ((oldSkill != null) && (newSkill != null)) { try (PreparedStatement ps = con.prepareStatement(UPDATE_CHARACTER_SKILL_LEVEL)) { ps.setInt(1, newSkill.getLevel()); ps.setInt(2, oldSkill.getId()); ps.setInt(3, getObjectId()); ps.setInt(4, classIndex); ps.execute(); } } else if (newSkill != null) { try (PreparedStatement ps = con.prepareStatement(ADD_NEW_SKILLS)) { ps.setInt(1, getObjectId()); ps.setInt(2, newSkill.getId()); ps.setInt(3, newSkill.getLevel()); ps.setInt(4, classIndex); ps.execute(); } } // else // { // LOGGER.warning("Could not store new skill, it's null!"); // } } catch (Exception e) { LOGGER.log(Level.WARNING, "Error could not store char skills: " + e.getMessage(), e); } } All this? What i have to change here? I have to delete from here ps.setInt(4, classIndex); ?
  23. U right Zake. I have find this on FishermanInstance.java public static void showFishSkillList(PlayerInstance player) { final List<SkillLearn> skills = SkillTreeData.getInstance().getAvailableFishingSkills(player); final AcquireSkillList asl = new AcquireSkillList(AcquireSkillType.FISHING); int count = 0; for (SkillLearn s : skills) { final Skill sk = SkillData.getInstance().getSkill(s.getSkillId(), s.getSkillLevel()); if (sk == null) { continue; } count++; asl.addSkill(s.getSkillId(), s.getSkillLevel(), s.getSkillLevel(), s.getLevelUpSp(), 1); } if (count == 0) { final int minlLevel = SkillTreeData.getInstance().getMinLevelForNewSkill(player, SkillTreeData.getInstance().getFishingSkillTree()); if (minlLevel > 0) { final SystemMessage sm = new SystemMessage(SystemMessageId.YOU_DO_NOT_HAVE_ANY_FURTHER_SKILLS_TO_LEARN_COME_BACK_WHEN_YOU_HAVE_REACHED_LEVEL_S1); sm.addInt(minlLevel); player.sendPacket(sm); } else { player.sendPacket(SystemMessageId.THERE_ARE_NO_OTHER_SKILLS_TO_LEARN); } } else { player.sendPacket(asl); } } here, isn;t specified anything about subclass. How i can make this?
  24. I have like this: Original - private static final String RESTORE_SKILLS_FOR_CHAR = "SELECT skill_id,skill_level FROM character_skills WHERE charId=? AND class_index=?"; try (Connection con = DatabaseFactory.getConnection(); PreparedStatement ps = con.prepareStatement(RESTORE_SKILLS_FOR_CHAR)) { // Retrieve all skills of this PlayerInstance from the database ps.setInt(1, getObjectId()); ps.setInt(2, _classIndex); My private static final String RESTORE_SKILLS_FOR_CHAR = "SELECT skill_id,skill_level FROM character_skills WHERE charId=?"; try (Connection con = DatabaseFactory.getConnection(); PreparedStatement ps = con.prepareStatement(RESTORE_SKILLS_FOR_CHAR)) { // Retrieve all skills of this PlayerInstance from the database ps.setInt(1, getObjectId()); All this i do for stack sub. Idk if it's ok. But i get help here. Also, VillageMasterInstance.java if (player.modifySubClass(paramOne, paramTwo)) { player.abortCast(); player.stopAllEffectsExceptThoseThatLastThroughDeath(); // all effects from old subclass stopped! player.stopAllEffectsNotStayOnSubclassChange(); player.stopCubics(); player.setActiveClass(paramOne); html.setFile(player, "data/html/villagemaster/SubClass_ModifyOk.htm"); html.replace("%name%", ClassListData.getInstance().getClass(paramTwo).getClientCode()); player.sendPacket(SystemMessageId.THE_NEW_SUBCLASS_HAS_BEEN_ADDED); // Subclass added. } i have to do something here?
  25. I do not know from where, what class, i don't know
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock