L2JMobius

Fafurion Ramona raid and MP Controller issue

Mechagon3k · 4 · 4468

Offline Mechagon3k

  • Knight
  • ***
    • Posts: 67
Hi, I don't know what's going on with the MP Controller but there is a problem I think..
It happens on Fafurion and Prelude of War.
For Ramona are required min. 7 players to enter, right? (see Grandboss.ini) so I entered with 7 or more characters from different IP addresses and when I hit that MP Controller we get the message "WHAT_S_UP_WITH_YOUR_EYES_YOU_NEED_MORE_ENERGY"

My question is .. What is missing or what I'm doing wrong or possible bugs somewhere? Is there any different mechanics for this raid?


Ramona.java
--
Code: [Select]
@Override
public String onAttack(Npc npc, PlayerInstance attacker, int damage, boolean isSummon, Skill skill)
{
switch (npc.getId())
{
case MP_CONTROL:
{
if (ZONE.getCharactersInside().size() < Config.RAMONA_MIN_PLAYER)
{
npc.broadcastSay(ChatType.NPC_GENERAL, NpcStringId.WHAT_S_UP_WITH_YOUR_EYES_YOU_NEED_MORE_ENERGY);
}
break;
}
case RAMONA_1:
{
_lastAction = System.currentTimeMillis();
break;
}
case RAMONA_2:
{
_lastAction = System.currentTimeMillis();
break;
}
case RAMONA_3:
{
_lastAction = System.currentTimeMillis();
break;
}
}


 Thank you in advance and any help is much appreciated...



Online Mobius

  • Distinguished King
  • *****
    • Posts: 16009
if (ZONE.getCharactersInside().size() < Config.RAMONA_MIN_PLAYER)

You need more players. (Config.RAMONA_MIN_PLAYER)

Use zone check to see in what zones you are in.
Maybe zone coords have changed.


Offline Mechagon3k

  • Knight
  • ***
    • Posts: 67
Hi, yes I saw that min. req. players.. but how many players? (the min, req. number is configurable in Grandboss.ini which is min. 7)
So I'll need to try with 14 or more?

Grandboss.ini
--
# ---------------------------------------------------------------------------
# Ramona
# ---------------------------------------------------------------------------

# Interval time of Ramona. Value is hour. Range 1-480
IntervalOfRamonaSpawn = 72

# Random interval. Range 1-192
RandomOfRamonaSpawn = 48

# Minimal count of players for enter to Ramona. Retail: 7
RamonaMinPlayers = 7



Offline Mechagon3k

  • Knight
  • ***
    • Posts: 67


MapRegion: x22, y23
ZoneRegion: 22_23

// Locations
   private static final Location DEFAULT_LOC = new Location(86338, 172099, -10602, 16383);
   private static final Location RAMONA_SPAWN_LOC = new Location(86327, 169759, -10465, 16383);
   // Other
   private static final int ROOM_CONTROL_DOOR = 22230711;
   private static final NoSummonFriendZone ZONE = ZoneManager.getInstance().getZoneById(210108, NoSummonFriendZone.class);
   private static final EffectZone ZONE_ATTACK = ZoneManager.getInstance().getZoneById(200109, EffectZone.class);
   private static final EffectZone ZONE_DEFENCE = ZoneManager.getInstance().getZoneById(200110, EffectZone.class);
   private static final EffectZone ZONE_HP = ZoneManager.getInstance().getZoneById(200111, EffectZone.class);
   private static final EffectZone ZONE_ERADICATION = ZoneManager.getInstance().getZoneById(200112, EffectZone.class);