Recent Posts

Pages: [1] 2 3 ... 10
1
General Discussion / Classic Interlude help with Classic-Interlude
« Last post by Canibal14 on Today at 12:32:37 AM »
Hi! how are they?? I would like to know if anyone is also testing the classic-interlude. To exchange knowledge or processes. Besides needing help, if someone is working with that project, could you give me some help? Thanks!!!
2
Bug Reports / Re: Rebirth does not return Status
« Last post by junin00 on August 11, 2020, 10:51:46 PM »
I made the modification you asked for, now the character's status has returned, it will allow the player to go and kill monsters without fear of dying.

Thank you very much.

3
Bug Reports / Re: Rebirth does not return Status
« Last post by Mobius on August 11, 2020, 07:44:37 PM »
Up to level 26 you will have the same stats because you are essentialy a 3rd class character - 80 levels.

Try this.
Code: [Select]
Index: java/org/l2jmobius/gameserver/model/skills/Formulas.java
===================================================================
--- java/org/l2jmobius/gameserver/model/skills/Formulas.java (revision 7463)
+++ java/org/l2jmobius/gameserver/model/skills/Formulas.java (working copy)
@@ -707,7 +707,7 @@
  public void calc(Env env)
  {
  final PlayerTemplate t = (PlayerTemplate) env.player.getTemplate();
- final int lvl = env.player.getLevel() - t.getClassBaseLevel();
+ final int lvl = Math.max(env.player.getLevel() - t.getClassBaseLevel(), -50);
  final double hpmod = t.getLevelHpMod() * lvl;
  final double hpmax = (t.getLevelHpAdd() + hpmod) * lvl;
  final double hpmin = (t.getLevelHpAdd() * lvl) + hpmod;
@@ -754,7 +754,7 @@
  public void calc(Env env)
  {
  final PlayerTemplate t = (PlayerTemplate) env.player.getTemplate();
- final int lvl = env.player.getLevel() - t.getClassBaseLevel();
+ final int lvl = Math.max(env.player.getLevel() - t.getClassBaseLevel(), -50);
  final double cpmod = t.getLevelCpMod() * lvl;
  final double cpmax = (t.getLevelCpAdd() + cpmod) * lvl;
  final double cpmin = (t.getLevelCpAdd() * lvl) + cpmod;
@@ -801,7 +801,7 @@
  public void calc(Env env)
  {
  final PlayerTemplate t = (PlayerTemplate) env.player.getTemplate();
- final int lvl = env.player.getLevel() - t.getClassBaseLevel();
+ final int lvl = Math.max(env.player.getLevel() - t.getClassBaseLevel(), -50);
  final double mpmod = t.getLevelMpMod() * lvl;
  final double mpmax = (t.getLevelMpAdd() + mpmod) * lvl;
  final double mpmin = (t.getLevelMpAdd() * lvl) + mpmod;

This will limit the gap to -50 levels.
Up to 26 you will still have the same stats, but they will not be 1.

If you set to -30 you will have the same, but greater, stats until level 46.
I would stick with -50.

You can further mess with formulas, but this is the simplest solution.
4
Bug Reports / Re: Death penalty
« Last post by G-hamsteR on August 11, 2020, 07:40:13 PM »
I haven't received any reports for death penalty. It's fixed :)
5
Bug Reports / Interlude Rebirth does not return Status
« Last post by junin00 on August 11, 2020, 07:00:28 PM »
There's still a problem with Rebirth. The character, as he passes the level does not change the status HP, MP, CP, gets 1.

6
General Discussion / The Kamael Q:Vip system - classic, main version, edit?
« Last post by madpsy on August 11, 2020, 05:11:47 PM »
Hello, Have a question, about a VIP system.
Where I can find an information menu VIP which include information about 1-10 lvl VIP. I'll try to found in Data - but didnt find , maybe in .dat files. Someone can help me )
7
Bug Reports / Re: Death penalty
« Last post by Mobius on August 11, 2020, 10:04:47 AM »
Try
Code: [Select]
Index: java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
===================================================================
--- java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java (revision 7474)
+++ java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java (working copy)
@@ -14814,7 +14814,7 @@
  */
  public void calculateDeathPenaltyBuffLevel(Creature killer)
  {
- if ((Rnd.get(100) <= Config.DEATH_PENALTY_CHANCE) && !(killer instanceof PlayerInstance) && !isGM() && (!getCharmOfLuck() || (!(killer instanceof GrandBossInstance) && !(killer instanceof RaidBossInstance))) && (!isInsideZone(ZoneId.PVP) && !isInsideZone(ZoneId.SIEGE)))
+ if ((Config.DEATH_PENALTY_CHANCE > 0) && (Rnd.get(100) < Config.DEATH_PENALTY_CHANCE) && !killer.isPlayer() && !isGM() && !getCharmOfLuck() && !(killer instanceof GrandBossInstance) && !(killer instanceof RaidBossInstance) && !isInsideZone(ZoneId.PVP) && !isInsideZone(ZoneId.SIEGE))
  {
  increaseDeathPenaltyBuffLevel();
  }

Any news on this?
9
General Discussion / Re: private development
« Last post by l2eternals on August 11, 2020, 12:24:18 AM »
And how to become a subscriber?
10
General Discussion / Interlude I'm looking for Opinions, am I still?
« Last post by Dagger on August 11, 2020, 12:22:26 AM »
 ;)




Since already in java 14 !!!
Pages: [1] 2 3 ... 10