Recent Posts

Pages: [1] 2 3 ... 10
1
Shares/Contributions / Interlude Clan_Notice vs WELCOME_HTM
« Last post by caioconc on Today at 04:27:05 PM »
when you have the welcome do not have the notice clan on screen..

Code: [Select]
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/EnterWorld.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/EnterWorld.java
index c0364aa..18600f2 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/EnterWorld.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/EnterWorld.java
@@ -172,6 +172,21 @@
  html.replace("%notice_text%", player.getClan().getNotice().replaceAll("\r\n", "<br>").replaceAll("action", "").replace("bypass", ""));
  sendPacket(html);
  }
+ else
+ {
+ if (Config.WELCOME_HTM && isValidName(player.getName()))
+ {
+ final String Welcome_Path = "data/html/welcome.htm";
+ final File mainText = new File(Config.DATAPACK_ROOT, Welcome_Path);
+ if (mainText.exists())
+ {
+ final NpcHtmlMessage html = new NpcHtmlMessage(1);
+ html.setFile(Welcome_Path);
+ html.replace("%name%", player.getName());
+ sendPacket(html);
+ }
+ }
+ }
  }
 
  if (Config.PLAYER_SPAWN_PROTECTION > 0)
@@ -631,19 +646,6 @@
  player.updateFirstLog();
  }
 
- if (Config.WELCOME_HTM && isValidName(player.getName()))
- {
- final String Welcome_Path = "data/html/welcome.htm";
- final File mainText = new File(Config.DATAPACK_ROOT, Welcome_Path);
- if (mainText.exists())
- {
- final NpcHtmlMessage html = new NpcHtmlMessage(1);
- html.setFile(Welcome_Path);
- html.replace("%name%", player.getName());
- sendPacket(html);
- }
- }
-
  if (Config.PM_MESSAGE_ON_START)
  {
  player.sendPacket(new CreatureSay(2, ChatType.HERO_VOICE, Config.PM_TEXT1, Config.PM_SERVER_NAME));
2
Announcements / Re: Future of L2jMobius
« Last post by Mobius on Today at 07:19:41 AM »
https://www.l2jbrasil.com/forums/topic/141026-l2jmobius_svn2021



At the beging I was a bit worried...
But after checking dates I saw that these files are from December 22nd 2020...
Despite the fact he shares Essence (Russians have catched up on you on that one),
he shared files with l2d geoengine, even free version is more updated than that.
3
Solved/Invalid Bug Reports / Re: Pet exp
« Last post by Strelook66 on March 04, 2021, 10:45:04 PM »
Yes I am. Found the issue. In experience.xml i increased the level from 80 to 83 for the player, but kept the pet level at 80, and this, somehow generated a confilct. Topic can be closed.
4
Solved/Invalid Bug Reports / Re: Pet exp
« Last post by emilianoify on March 04, 2021, 09:35:02 PM »
You have the last version?

I use the last free version.

https://imgur.com/leFrlY2
5
Solved/Invalid Bug Reports / Re: Pet exp
« Last post by Strelook66 on March 04, 2021, 09:30:34 PM »
Yes, I even let the pet kill it.
6
Solved/Invalid Bug Reports / Re: Pet exp
« Last post by emilianoify on March 04, 2021, 09:17:04 PM »
Your pet hit the mob?
7
Solved/Invalid Bug Reports / Interlude Pet exp
« Last post by Strelook66 on March 04, 2021, 09:11:25 PM »
Hi,

Does anyone have an issue with leveling hatchlings? When i kill the mob, the pet gets no exp at all, and in the gameserver console shows just a timestamp and the word null, nothing else.
8
General Discussion / Classic Interlude Help with code
« Last post by Drazeal on March 04, 2021, 03:56:50 PM »
can someone tell me how to wtite this on Mobius projects?--->

if (activeChar.getActiveWeaponItem() != null)
{
     return ItemGrade.values()[activeChar.getActiveWeaponItem().getItemGrade()];
}
return ItemGrade.values()[0];

i tried
ItemGrade.values()[activeChar.getActiveWeaponInstance().getItem().getId()];

no error on compile
but i get error "ArrayIndexOutOfBoundsException" on gameserver.

im trying to add autoshots code (https://pastebin.com/pHACrzYp)
9
Geodata / Re: Character stuck near stairs with l2j geo
« Last post by uchihasv on March 04, 2021, 10:00:57 AM »
Wait a sec. Can you reproduce the bug there or is the geodata simply missing there (without reproducing the bug)?
You can check it yourself, I don't know exactly why this bug is happening there.
10
Announcements / Re: Future of L2jMobius
« Last post by Mobius on March 04, 2021, 09:15:55 AM »

https://maxcheaters.com/topic/239574-some-good-l2j-pack-for-sale/

Old disk with Homunculus...
Did not even take the time to scramble the order of projects as he mentions them...
Pages: [1] 2 3 ... 10