zakum wont atk when arms are around

Newbie Spellweaver
Joined
Jul 12, 2008
Messages
55
Reaction score
0
in MapleMonster.java
find
PHP:
private MapleMap map;

add this below it
PHP:
private boolean lock;

find
PHP:
	private void initWithStats (MapleMonsterStats stats) {
		setStance(5);
		this.stats = stats;
		hp = stats.getHp();
		mp = stats.getMp();
	}

change to
PHP:
	private void initWithStats (MapleMonsterStats stats) {
		setStance(5);
		this.stats = stats;
		hp = stats.getHp();
		mp = stats.getMp();
                lock=false;
	}

find
PHP:
public void damage(MapleCharacter from, int damage, boolean updateAttackTime) {

add this below it
PHP:
if(lock)return;

find
PHP:
public void setControllerHasAggro(boolean controllerHasAggro) {

add this below it
PHP:
if(lock)return;

find
PHP:
public void setControllerKnowsAboutAggro(boolean controllerKnowsAboutAggro) {

add this below it
PHP:
if(lock)return;

find
PHP:
public MaplePacket makeBossHPBarPacket() {
		return MaplePacketCreator.showBossHP(getId(), getHp(), getMaxHp(), getTagColor(), getTagBgColor());
	}

add this above it
PHP:
        public void setLock(boolean lock)
        {
            this.lock=lock;
        }

in ReactorActionManager.java
find
PHP:
   public void createMapMonitor(int type,int pMapId,String pName,String sMobId)
   {
       switch(type)
       {
           case MapleMapMonitor.BOSS_MAP:
                createMapMonitor(type,pMapId,pName);
               break;
           case MapleMapMonitor.SBOSS_MAP:
               MapleMap pMap=getClient().getChannelServer().getMapFactory().getMap(pMapId);
               MaplePortal portal=pMap.getPortal(pName);
               String[] st=sMobId.split(",");
               int[] data=new int[st.length];
               for(int i=0;i<st.length;i++)
               {
                   data[i]=Integer.parseInt(st[i]);
               }
               SBossMapMonitor sbmm=new SBossMapMonitor(getPlayer().getMap(),pMap,portal,data,getClient().getChannelServer());
               sbmm.start();
               break;
       }
   }

replace it with
PHP:
   public void createMapMonitor(int type,int pMapId,String pName,String sMobId,short type2,int trigger)
   {
       switch(type)
       {
           case MapleMapMonitor.BOSS_MAP:
                createMapMonitor(type,pMapId,pName);
               break;
           case MapleMapMonitor.SBOSS_MAP:
               MapleMap pMap=getClient().getChannelServer().getMapFactory().getMap(pMapId);
               MaplePortal portal=pMap.getPortal(pName);
               String[] st=sMobId.split(",");
               int[] data=new int[st.length];
               for(int i=0;i<st.length;i++)
               {
                   data[i]=Integer.parseInt(st[i]);
               }
               SBossMapMonitor sbmm=new SBossMapMonitor(getPlayer().getMap(),pMap,portal,data,getClient().getChannelServer(),type2,trigger);
               sbmm.start();
               break;
       }
   }

make ur SBossMapMonitor.java to look like this
PHP:
package net.sf.odinms.server.maps;

import java.awt.Point;
import java.util.Arrays;
import java.util.List;

import net.sf.odinms.server.MaplePortal;
import net.sf.odinms.server.life.MapleMonster;
import net.sf.odinms.net.channel.ChannelServer;


/**
 *
 * @author alex_soh
 */
public class SBossMapMonitor extends BossMapMonitor {

    protected int[] mobs;
    protected boolean deadCount[];
    protected ChannelServer cserv;
    protected boolean hasHappen;
    protected short type;
    protected int trigger;
    public static final short HORNTAIL=0;
    public static final short ZAKUM=1;

    public SBossMapMonitor(MapleMap map,MapleMap pMap,MaplePortal portal,int[] mobs,ChannelServer cserv)
    {
        super(map,pMap,portal);
        this.mobs=mobs;
        this.deadCount=new boolean[mobs.length];
        this.cserv=cserv;
        for(int i=0;i<deadCount.length;i++)
        {
            deadCount[i]=type!=SBossMapMonitor.HORNTAIL;
        }
        hasHappen=false;
        type=SBossMapMonitor.HORNTAIL;
    }
    
    public SBossMapMonitor(MapleMap map,MapleMap pMap,MaplePortal portal,int[] mobs,ChannelServer cserv,short type,int trigger)
    {
        super(map,pMap,portal);
        this.mobs=mobs;
        this.deadCount=new boolean[mobs.length];
        this.cserv=cserv;
        for(int i=0;i<deadCount.length;i++)
        {
            deadCount[i]=type!=SBossMapMonitor.HORNTAIL;
        }
        hasHappen=false;
        this.type=type;
        this.trigger=trigger;
    }    

    private boolean chkDeadCount()
    {
        boolean result=true;
        for(int i=0;i<deadCount.length;i++)
        {
            if(!deadCount[i] && type==SBossMapMonitor.HORNTAIL)
            {
                result=false;
                break;
            }
            else if(deadCount[i] && type==SBossMapMonitor.ZAKUM)
            {
                result=false;
                break;
            }
        }
        return result;
    }
    
    private MapleMonster getMonster(int id)
    {
        MapleMonster m=null;
        List<MapleMapObject> list=getAllMob();
        for(int i=0;i<list.size();i++)
        {
            MapleMonster monster = (MapleMonster) list.get(i);
            if(monster.getId()==id)
            {
                m=monster;
                break;
            }
        }        
        return m;        
    }

    private List<MapleMapObject> getAllMob()
    {
      return map.getMapObjectsInRange(new Point(0,0), Double.POSITIVE_INFINITY, Arrays
                    .asList(MapleMapObjectType.MONSTER));
    }

    private boolean chkSpecialBoss()
    {
        List<MapleMapObject> list=getAllMob();
        for(int j=0;j<deadCount.length;j++)
        {
            if(!deadCount[j] && type==SBossMapMonitor.HORNTAIL)
            {
                for(int i=0;i<list.size();i++)
                {
                    MapleMonster monster = (MapleMonster) list.get(i);
                    if(monster.getId()==mobs[j])
                    {
                        deadCount[j]=true;
                        break;
                    }
                }
            }
            else if(deadCount[j] && type==SBossMapMonitor.ZAKUM)
            {
                boolean found=false;
                for(int i=0;i<list.size();i++)
                {
                    MapleMonster monster = (MapleMonster) list.get(i);
                    if(monster.getId()==mobs[j])
                    {
                        found=true;
                        break;
                    }
                }                
                deadCount[j]=found;
            }
        }
        return chkDeadCount();
    }

    @Override
    public void run()
    {
        MapleMonster triggerMob=null;
        switch(type)
        {
            case SBossMapMonitor.HORNTAIL:                    
                break;
            case SBossMapMonitor.ZAKUM:
                while(triggerMob==null)
                {
					triggerMob=getMonster(trigger);
					try
					{
						Thread.sleep(500);
					}
					catch(InterruptedException e)
					{
					}
				}
                triggerMob.setLock(true);
                break;
        }
        while(map.playerCount()>0)
        {
            if(chkSpecialBoss() && !hasHappen)
            {                
                //special event happen
                switch(type)
                {
                    case SBossMapMonitor.HORNTAIL:
                            map.killAllMonster(true);
                            cserv.broadcastPacket(net.sf.odinms.tools.MaplePacketCreator.serverNotice(6, cserv.getChannel(), "Congratulations to the crew who successfully defeated Horntail after numerous attempt, you are     the true hero of Leafre"));
                            hasHappen=true;
                            break;
                    case SBossMapMonitor.ZAKUM:
                            triggerMob.setLock(false);
                            triggerMob.setHp(triggerMob.getMaxHp());
                            triggerMob.setMp(triggerMob.getMaxMp());
                            hasHappen=true;
                            break;
                }
            }
            try
            {
                switch(type)
                {
                    case SBossMapMonitor.HORNTAIL:
                        Thread.sleep(3000);//how often it chk for the existence of deads parts,increase to reduce server lag
                        break;
                    case SBossMapMonitor.ZAKUM:
                        Thread.sleep(3000);//how often it chk for the existence of arms,increase to reduce server lag
                        break;
                }
                
            }
            catch(InterruptedException e)
            {
                //e.printStackTrace();
            }
        }
        while(map.mobCount()>0)
        {
            map.killAllMonster();
            try
            {
                Thread.sleep(5000);
            }
            catch(InterruptedException e)
            {
                //e.printStackTrace();
            }
        }
        map.resetReactors();
        pMap.resetReactors();
        portal.setPortalState(MapleMapPortal.OPEN);
    }
}

in 2401000.js
change
PHP:
rm.createMapMonitor(2,240050400,"sp","8810010,8810011,8810012,8810013,8810014,8810015,8810016,8810017");

to this
PHP:
rm.createMapMonitor(2,240050400,"sp","8810010,8810011,8810012,8810013,8810014,8810015,8810016,8810017",0,8810018);
rm.createMapMonitor(2,240050400,"sp","8810002,8810004,8810005,8810006,8810007,8810008,8810009",1,8810003);

EDIT minor typo here
in 2111001.js
change
PHP:
rm.createMapMonitor(1,211042300,"sp");

to this
PHP:
rm.createMapMonitor(2,211042300,"sp","8800003,8800004,8800005,8800006,8800007,8800008,8800009,8800010",1,8800000);
 
Last edited:
Re: [Release]zakum wont atk when arms are around

in MapleMonster.java
find
PHP:
private MapleMap map;

add this below it
PHP:
private boolean lock;

find
PHP:
	private void initWithStats (MapleMonsterStats stats) {
		setStance(5);
		this.stats = stats;
		hp = stats.getHp();
		mp = stats.getMp();
	}

change to
PHP:
	private void initWithStats (MapleMonsterStats stats) {
		setStance(5);
		this.stats = stats;
		hp = stats.getHp();
		mp = stats.getMp();
                lock=false;
	}

find
PHP:
public void damage(MapleCharacter from, int damage, boolean updateAttackTime) {

add this below it
PHP:
if(lock)return;

find
PHP:
public void setControllerHasAggro(boolean controllerHasAggro) {

add this below it
PHP:
if(lock)return;

find
PHP:
public void setControllerKnowsAboutAggro(boolean controllerKnowsAboutAggro) {

add this below it
PHP:
if(lock)return;

find
PHP:
public MaplePacket makeBossHPBarPacket() {
		return MaplePacketCreator.showBossHP(getId(), getHp(), getMaxHp(), getTagColor(), getTagBgColor());
	}

add this above it
PHP:
        public void setLock(boolean lock)
        {
            this.lock=lock;
        }

in ReactorActionManager.java
find
PHP:
   public void createMapMonitor(int type,int pMapId,String pName,String sMobId)
   {
       switch(type)
       {
           case MapleMapMonitor.BOSS_MAP:
                createMapMonitor(type,pMapId,pName);
               break;
           case MapleMapMonitor.SBOSS_MAP:
               MapleMap pMap=getClient().getChannelServer().getMapFactory().getMap(pMapId);
               MaplePortal portal=pMap.getPortal(pName);
               String[] st=sMobId.split(",");
               int[] data=new int[st.length];
               for(int i=0;i<st.length;i++)
               {
                   data[i]=Integer.parseInt(st[i]);
               }
               SBossMapMonitor sbmm=new SBossMapMonitor(getPlayer().getMap(),pMap,portal,data,getClient().getChannelServer());
               sbmm.start();
               break;
       }
   }

replace it with
PHP:
   public void createMapMonitor(int type,int pMapId,String pName,String sMobId,short type2,int trigger)
   {
       switch(type)
       {
           case MapleMapMonitor.BOSS_MAP:
                createMapMonitor(type,pMapId,pName);
               break;
           case MapleMapMonitor.SBOSS_MAP:
               MapleMap pMap=getClient().getChannelServer().getMapFactory().getMap(pMapId);
               MaplePortal portal=pMap.getPortal(pName);
               String[] st=sMobId.split(",");
               int[] data=new int[st.length];
               for(int i=0;i<st.length;i++)
               {
                   data[i]=Integer.parseInt(st[i]);
               }
               SBossMapMonitor sbmm=new SBossMapMonitor(getPlayer().getMap(),pMap,portal,data,getClient().getChannelServer(),type2,trigger);
               sbmm.start();
               break;
       }
   }

make ur SBossMapMonitor.java to look like this
PHP:
package net.sf.odinms.server.maps;

import java.awt.Point;
import java.util.Arrays;
import java.util.List;

import net.sf.odinms.server.MaplePortal;
import net.sf.odinms.server.life.MapleMonster;
import net.sf.odinms.net.channel.ChannelServer;


/**
 *
 * @author alex_soh
 */
public class SBossMapMonitor extends BossMapMonitor {

    protected int[] mobs;
    protected boolean deadCount[];
    protected ChannelServer cserv;
    protected boolean hasHappen;
    protected short type;
    protected int trigger;
    public static final short HORNTAIL=0;
    public static final short ZAKUM=1;

    public SBossMapMonitor(MapleMap map,MapleMap pMap,MaplePortal portal,int[] mobs,ChannelServer cserv)
    {
        super(map,pMap,portal);
        this.mobs=mobs;
        this.deadCount=new boolean[mobs.length];
        this.cserv=cserv;
        for(int i=0;i<deadCount.length;i++)
        {
            deadCount[i]=type!=SBossMapMonitor.HORNTAIL;
        }
        hasHappen=false;
        type=SBossMapMonitor.HORNTAIL;
    }
    
    public SBossMapMonitor(MapleMap map,MapleMap pMap,MaplePortal portal,int[] mobs,ChannelServer cserv,short type,int trigger)
    {
        super(map,pMap,portal);
        this.mobs=mobs;
        this.deadCount=new boolean[mobs.length];
        this.cserv=cserv;
        for(int i=0;i<deadCount.length;i++)
        {
            deadCount[i]=type!=SBossMapMonitor.HORNTAIL;
        }
        hasHappen=false;
        this.type=type;
        this.trigger=trigger;
    }    

    private boolean chkDeadCount()
    {
        boolean result=true;
        for(int i=0;i<deadCount.length;i++)
        {
            if(!deadCount[i] && type==SBossMapMonitor.HORNTAIL)
            {
                result=false;
                break;
            }
            else if(deadCount[i] && type==SBossMapMonitor.ZAKUM)
            {
                result=false;
                break;
            }
        }
        return result;
    }
    
    private MapleMonster getMonster(int id)
    {
        MapleMonster m=null;
        List<MapleMapObject> list=getAllMob();
        for(int i=0;i<list.size();i++)
        {
            MapleMonster monster = (MapleMonster) list.get(i);
            if(monster.getId()==id)
            {
                m=monster;
                break;
            }
        }        
        return m;        
    }

    private List<MapleMapObject> getAllMob()
    {
      return map.getMapObjectsInRange(new Point(0,0), Double.POSITIVE_INFINITY, Arrays
                    .asList(MapleMapObjectType.MONSTER));
    }

    private boolean chkSpecialBoss()
    {
        List<MapleMapObject> list=getAllMob();
        for(int j=0;j<deadCount.length;j++)
        {
            if(!deadCount[j] && type==SBossMapMonitor.HORNTAIL)
            {
                for(int i=0;i<list.size();i++)
                {
                    MapleMonster monster = (MapleMonster) list.get(i);
                    if(monster.getId()==mobs[j])
                    {
                        deadCount[j]=true;
                        break;
                    }
                }
            }
            else if(deadCount[j] && type==SBossMapMonitor.ZAKUM)
            {
                boolean found=false;
                for(int i=0;i<list.size();i++)
                {
                    MapleMonster monster = (MapleMonster) list.get(i);
                    if(monster.getId()==mobs[j])
                    {
                        found=true;
                        break;
                    }
                }                
                deadCount[j]=found;
            }
        }
        return chkDeadCount();
    }

    @Override
    public void run()
    {
        MapleMonster triggerMob=null;
        switch(type)
        {
            case SBossMapMonitor.HORNTAIL:                    
                break;
            case SBossMapMonitor.ZAKUM:
                triggerMob=getMonster(trigger);
                triggerMob.setLock(true);
                break;
        }
        while(map.playerCount()>0)
        {
            if(chkSpecialBoss() && !hasHappen)
            {                
                //special event happen
                switch(type)
                {
                    case SBossMapMonitor.HORNTAIL:
                            map.killAllMonster(true);
                            cserv.broadcastPacket(net.sf.odinms.tools.MaplePacketCreator.serverNotice(6, cserv.getChannel(), "Congratulations to the crew who successfully defeated Horntail after numerous attempt, you are     the true hero of Leafre"));
                            hasHappen=true;
                            break;
                    case SBossMapMonitor.ZAKUM:
                            triggerMob.setLock(false);
                            triggerMob.setHp(triggerMob.getMaxHp());
                            triggerMob.setMp(triggerMob.getMaxMp());
                            hasHappen=true;
                            break;
                }
            }
            try
            {
                switch(type)
                {
                    case SBossMapMonitor.HORNTAIL:
                        Thread.sleep(3000);//how often it chk for the existence of deads parts,increase to reduce server lag
                        break;
                    case SBossMapMonitor.ZAKUM:
                        Thread.sleep(3000);//how often it chk for the existence of arms,increase to reduce server lag
                        break;
                }
                
            }
            catch(InterruptedException e)
            {
                //e.printStackTrace();
            }
        }
        while(map.mobCount()>0)
        {
            map.killAllMonster();
            try
            {
                Thread.sleep(5000);
            }
            catch(InterruptedException e)
            {
                //e.printStackTrace();
            }
        }
        map.resetReactors();
        pMap.resetReactors();
        portal.setPortalState(MapleMapPortal.OPEN);
    }
}

in 2401000.js
change
PHP:
rm.createMapMonitor(2,240050400,"sp","8810010,8810011,8810012,8810013,8810014,8810015,8810016,8810017");

to this
PHP:
rm.createMapMonitor(2,240050400,"sp","8810010,8810011,8810012,8810013,8810014,8810015,8810016,8810017",0,8810018);

in 2111001.js
change
PHP:
rm.createMapMonitor(2,211042300,"sp");

to this
PHP:
rm.createMapMonitor(2,211042300,"sp","8800003,8800004,8800005,8800006,8800007,8800008,8800009,8800010",1,8800000);

first to post great!
 
Re: [Release]zakum wont atk when arms are around

Does this make it so the player can't attack Zakum while the arms are present as well? Or is it that it can't attack you, but you can attack it.
 
Re: [Release]zakum wont atk when arms are around

Can you tell me what folder sbossmapmonitor goes in because I downloaded a clean rev 988 a while before odinms shut down and it never had the a file called sbossmapmonitor
 
Re: [Release]zakum wont atk when arms are around

first to post great!

You didn't have to quote the entire thing..

Anyways nice release.

Disbebryan said:
Can you tell me what folder sbossmapmonitor goes in because I downloaded a clean rev 988 a while before odinms shut down and it never had the a file called sbossmapmonitor

net/sf/odinms/server/maps

shadowdragon said:
Does this make it so the player can't attack Zakum while the arms are present as well? Or is it that it can't attack you, but you can attack it.

In this, you cannot attack it. The one for it not attacking you is already released.
 
Re: [Release]zakum wont atk when arms are around

nice release. anyways alex, i saw your horntail drop fix and i wanan ask you if it is possible to show the horntail hp bar on the top? and also make horntail acessable only in one channel, with Keroben ( HT Warper ) checking if there are players in HT map before warping you in.
 
Re: [Release]zakum wont atk when arms are around

Can anyone post the JS files because mine doesn't have the lines required to change and i'm assuming theres more to the script.. then just adding the one line.
 
Re: [Release]zakum wont atk when arms are around

Does this make it so the player can't attack Zakum while the arms are present as well? Or is it that it can't attack you, but you can attack it.

well it still show the body take damage but actually it does not, and the body wont atk u until arms are down

nice release. anyways alex, i saw your horntail drop fix and i wanan ask you if it is possible to show the horntail hp bar on the top? and also make horntail acessable only in one channel, with Keroben ( HT Warper ) checking if there are players in HT map before warping you in.
erm i think the data in wz files says that HT has no HP bar and 8810018 is not a boss monster lol.
for 1 channel u can do a chk on reactor scripts whether the player that trigger the reactor are in the correct channel.(i have no idea wads keroben's HT warper is).
for "checking if there are players in HT map before warping you in",maybe u can try closing the portal,and kinda like in zak ur npc will chk whether there is anyone in altar(not sure HT is thru npc or portal)
 
Re: [Release]zakum wont atk when arms are around

C:\Documents and Settings\Owner\Desktop\Copy of EutopicMS\EutopicMS_986\src\net\sf\odinms\server\maps\SBossMapMonitor.java:185: killAllMonster(boolean) in net.sf.odinms.server.maps.MapleMap cannot be applied to ()
map.killAllMonster();

i got this error o.o
 
Re: [Release]zakum wont atk when arms are around

Code:
init:
deps-jar:
Compiling 3 source files to C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\dist\build\classes
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\scripting\reactor\ReactorActionManager.java:158: incompatible types
found   : void
required: int
        mObjId[i]=reactor.getMap().spawnMonsterOnGroudBelow(mob, pos);
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\scripting\reactor\ReactorActionManager.java:218: cannot find symbol
symbol  : variable CLOSE
location: interface net.sf.odinms.server.MaplePortal
       getClient().getChannelServer().getMapFactory().getMap(mapid).getPortal(pName).setPortalState(MaplePortal.CLOSE);
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\scripting\reactor\ReactorActionManager.java:223: cannot find symbol
symbol  : variable OPEN
location: interface net.sf.odinms.server.MaplePortal
       getClient().getChannelServer().getMapFactory().getMap(mapid).getPortal(pName).setPortalState(MaplePortal.OPEN);
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\scripting\reactor\ReactorActionManager.java:228: cannot find symbol
symbol  : method setReactorState()
location: class net.sf.odinms.server.maps.MapleMap
       getClient().getChannelServer().getMapFactory().getMap(mapid).setReactorState();
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\server\life\MapleMonster.java:178: cannot find symbol
symbol  : method isFfaLoot()
location: class net.sf.odinms.server.life.MapleMonsterStats
                return stats.isFfaLoot();
                            ^
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\server\maps\SBossMapMonitor.java:145: cannot find symbol
symbol  : method playerCount()
location: class net.sf.odinms.server.maps.MapleMap
        while(map.playerCount()>0)
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\server\maps\SBossMapMonitor.java:153: cannot find symbol
symbol  : method killAllMonster(boolean)
location: class net.sf.odinms.server.maps.MapleMap
                            map.killAllMonster(true);
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\server\maps\SBossMapMonitor.java:183: cannot find symbol
symbol  : method mobCount()
location: class net.sf.odinms.server.maps.MapleMap
        while(map.mobCount()>0)
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\server\maps\SBossMapMonitor.java:185: cannot find symbol
symbol  : method killAllMonster()
location: class net.sf.odinms.server.maps.MapleMap
            map.killAllMonster();
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\server\maps\SBossMapMonitor.java:197: cannot find symbol
symbol  : variable OPEN
location: class net.sf.odinms.server.maps.MapleMapPortal
        portal.setPortalState(MapleMapPortal.OPEN);
10 errors
BUILD FAILED (total time: 3 seconds)
Tried doing again for about 3 times but still doesn't work
 
Re: [Release]zakum wont atk when arms are around

C:\Documents and Settings\Owner\Desktop\Copy of EutopicMS\EutopicMS_986\src\net\sf\odinms\server\maps\SBossMapMonitor.java:185: killAllMonster(boolean) in net.sf.odinms.server.maps.MapleMap cannot be applied to ()
map.killAllMonster();

i got this error o.o

did u fix the HT drop?
if not, just leave it as killAllMonster();
 
Re: [Release]zakum wont atk when arms are around

I'm not find 2401000.js .
I'm not find rm.createMapMonitor(1,211042300,"sp"); in 2111001.js .
I'm using OD988 .
 
Re: [Release]zakum wont atk when arms are around

Code:
init:
deps-jar:
Compiling 3 source files to C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\dist\build\classes
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\scripting\reactor\ReactorActionManager.java:158: incompatible types
found   : void
required: int
        mObjId[i]=reactor.getMap().spawnMonsterOnGroudBelow(mob, pos);
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\scripting\reactor\ReactorActionManager.java:218: cannot find symbol
symbol  : variable CLOSE
location: interface net.sf.odinms.server.MaplePortal
       getClient().getChannelServer().getMapFactory().getMap(mapid).getPortal(pName).setPortalState(MaplePortal.CLOSE);
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\scripting\reactor\ReactorActionManager.java:223: cannot find symbol
symbol  : variable OPEN
location: interface net.sf.odinms.server.MaplePortal
       getClient().getChannelServer().getMapFactory().getMap(mapid).getPortal(pName).setPortalState(MaplePortal.OPEN);
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\scripting\reactor\ReactorActionManager.java:228: cannot find symbol
symbol  : method setReactorState()
location: class net.sf.odinms.server.maps.MapleMap
       getClient().getChannelServer().getMapFactory().getMap(mapid).setReactorState();
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\server\life\MapleMonster.java:178: cannot find symbol
symbol  : method isFfaLoot()
location: class net.sf.odinms.server.life.MapleMonsterStats
                return stats.isFfaLoot();
                            ^
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\server\maps\SBossMapMonitor.java:145: cannot find symbol
symbol  : method playerCount()
location: class net.sf.odinms.server.maps.MapleMap
        while(map.playerCount()>0)
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\server\maps\SBossMapMonitor.java:153: cannot find symbol
symbol  : method killAllMonster(boolean)
location: class net.sf.odinms.server.maps.MapleMap
                            map.killAllMonster(true);
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\server\maps\SBossMapMonitor.java:183: cannot find symbol
symbol  : method mobCount()
location: class net.sf.odinms.server.maps.MapleMap
        while(map.mobCount()>0)
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\server\maps\SBossMapMonitor.java:185: cannot find symbol
symbol  : method killAllMonster()
location: class net.sf.odinms.server.maps.MapleMap
            map.killAllMonster();
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\server\maps\SBossMapMonitor.java:197: cannot find symbol
symbol  : variable OPEN
location: class net.sf.odinms.server.maps.MapleMapPortal
        portal.setPortalState(MapleMapPortal.OPEN);
10 errors
BUILD FAILED (total time: 3 seconds)
Tried doing again for about 3 times but still doesn't work
does ur previous HT death animation works?
coz there are error that onli my first few version can cause
i mean the code are suppose to be there already.
tell u wad,
revert to ur previous set of code and try a clean and build on netbeans
see if there is any error.
 
Re: [Release]zakum wont atk when arms are around

Yeap there's HT death animation. And u mean revert back to the old SBossMapMonitor w/o adding anything to it ?

EDIT: Ok im using back my old SBossMapMonitor and improved from 10 errors to 6 errors
Code:
init:
deps-jar:
Compiling 2 source files to C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\dist\build\classes
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\scripting\reactor\ReactorActionManager.java:158: incompatible types
found   : void
required: int
        mObjId[i]=reactor.getMap().spawnMonsterOnGroudBelow(mob, pos);
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\scripting\reactor\ReactorActionManager.java:218: cannot find symbol
symbol  : variable CLOSE
location: interface net.sf.odinms.server.MaplePortal
       getClient().getChannelServer().getMapFactory().getMap(mapid).getPortal(pName).setPortalState(MaplePortal.CLOSE);
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\scripting\reactor\ReactorActionManager.java:223: cannot find symbol
symbol  : variable OPEN
location: interface net.sf.odinms.server.MaplePortal
       getClient().getChannelServer().getMapFactory().getMap(mapid).getPortal(pName).setPortalState(MaplePortal.OPEN);
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\scripting\reactor\ReactorActionManager.java:228: cannot find symbol
symbol  : method setReactorState()
location: class net.sf.odinms.server.maps.MapleMap
       getClient().getChannelServer().getMapFactory().getMap(mapid).setReactorState();
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\scripting\reactor\ReactorActionManager.java:252: cannot find symbol
symbol  : constructor SBossMapMonitor(net.sf.odinms.server.maps.MapleMap,net.sf.odinms.server.maps.MapleMap,net.sf.odinms.server.MaplePortal,int[],net.sf.odinms.net.channel.ChannelServer,short,int)
location: class net.sf.odinms.server.maps.SBossMapMonitor
               SBossMapMonitor sbmm=new SBossMapMonitor(getPlayer().getMap(),pMap,portal,data,getClient().getChannelServer(),type2,trigger);
C:\Documents and Settings\Kylie\Desktop\AlpheusMS V4 - Copy\AlpheusMS V2\AlpheusMS V2\src\net\sf\odinms\server\life\MapleMonster.java:178: cannot find symbol
symbol  : method isFfaLoot()
location: class net.sf.odinms.server.life.MapleMonsterStats
                return stats.isFfaLoot();
                            ^
6 errors
BUILD FAILED (total time: 3 seconds)
 
Re: [Release]zakum wont atk when arms are around

Alex , any way to change the ht down msg to show to the whole server instead of juz the channel the ht is down ? O.o
 
Back