L2JMobius

Recent Posts

1
Bug Reports / Re: Wrong Mob (NPC)
« Last post by shifu on Today at 11:33:04 AM »
Innadril folder is check!
Code: [Select]
spawns\Innadril\FieldOfSilence.xml(name from Interlude)
21638 - Dread Wolf
21639 - Tasaba Lizardman
21640 - Tasaba Lizardman Shaman
21641 - Ogre
21642 - Tasaba Lizardman Sniper
21643 - Tasaba Lizardman Sniper
21644 - Lienrik
21645 - Lienrik Lad

These ID raise questions. Maybe they're just superfluous...
It is also necessary to check other territories
2
General Discussion / Re: !IsInOlympiadMode
« Last post by dramaa on Today at 10:49:07 AM »
i know its look like spam, but it's not, i will try to dont such questions after that, i mean when i wrote this post and then in 10 seconds i found where i should put this code... close the post and this is where you can block some skills outside olympiad or inside olympiad games
Code: [Select]
@Override
public boolean checkDoCastConditions(Skill skill)
{
if (!super.checkDoCastConditions(skill) || _observerMode)
{
return false;
}

if (_inOlympiadMode && skill.isBlockedInOlympiad())
{
sendPacket(SystemMessageId.YOU_CANNOT_USE_THAT_SKILL_IN_A_GRAND_OLYMPIAD_GAMES_MATCH);
return false;
}

if ((!_inOlympiadMode && (skill.getId() == 1056)) || (skill.getId() == 406) || (skill.getId() == 341) || (skill.getId() == 342))
{
sendPacket(SystemMessageId.SKILL_AVAILABLE_IN_OLYMPIAD);
return false;
}
// Check if the spell using charges.
if (_charges.get() < skill.getChargeConsume())
{
final SystemMessage sm = new SystemMessage(SystemMessageId.S1_CANNOT_BE_USED_DUE_TO_UNSUITABLE_TERMS);
sm.addSkillName(skill);
sendPacket(sm);
return false;
}
return true;
}
3
General Discussion / CT0 !IsInOlympiadMode
« Last post by dramaa on Today at 09:56:21 AM »
Code: [Select]
@Override
public void doCast(Skill skill)
{
if ((skill.getId() == 60) && isFakeDeath())
{
standUp();
return;
}

if (!isInOlympiadMode() && ((skill.getId() == 1056) || (skill.getId() == 406) || (skill.getId() == 341) || (skill.getId() == 342)))
{
sendPacket(new SystemMessage(SystemMessageId.SKILL_AVAILABLE_IN_OLYMPIAD));
return;
}

if ((_currentSkill != null) && !checkUseMagicConditions(skill, _currentSkill.isCtrlPressed(), _currentSkill.isShiftPressed()))
{
setCastingNow(false);
setCastingSimultaneouslyNow(false);
return;
}
super.doCast(skill);
setRecentFakeDeath(false);
}

can you tell me what mistake i did ? when i am trying to use those skills, i am freezing.
4
Bug Reports / Re: Wrong Mob (NPC)
« Last post by Mobius on Today at 09:53:21 AM »
Make a list and we will see.

Check if Classic uses these ids for something else by searching that id in scripts and spawns.
5
Bug Reports / Classic Interlude Wrong Mob (NPC)
« Last post by shifu on Today at 07:36:09 AM »
Unworldly Overseer id=21642

maybe there should be a Tasaba Lizardman Sniper here?

P.S. There are probably too many of them to write about each one?
6
Bug Reports / Re: Treasure Chest
« Last post by Mobius on Today at 05:59:35 AM »
Are these the same one NPCs on the server side? id=18265 and id=21801 ?
the server will output drop NPC id 21801 instead of 18625
Read Chest.java
7
Bug Reports / Re: Treasure Chest
« Last post by shifu on Today at 05:00:45 AM »
Are these the same one NPCs on the server side? id=18265 and id=21801 ?
the server will output drop NPC id 21801 instead of 18625
8
General Discussion / Re: buff order
« Last post by Mobius on September 17, 2024, 01:23:43 PM »
server packet
[c] client packet
9
General Discussion / Re: buff order
« Last post by dramaa on September 17, 2024, 12:34:28 PM »
10
General Discussion / Re: Newbie Helper
« Last post by Sioth on September 17, 2024, 12:14:48 PM »
OK. I figured it out. I can't delete the post so I might as well tell where it is if anyone comes looking for the same thing.
There's no config to modify this, so only way, I think, is in source: dist/game/data/scripts/handlers.bypasshandlers/supportmagic.java