Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Wing Boots + Binocular

Junior Spellweaver
Joined
Jun 25, 2008
Messages
166
Reaction score
0
Re: [RELEASE]Wing Boots + Binocular

no no you did it wrong.. here you need this one..
Code:
/*
	This file is part of the OdinMS Maple Story Server
    Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc> 
                       Matthias Butz <matze@odinms.de>
                       Jan Christian Meyer <vimes@odinms.de>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License version 3
    as published by the Free Software Foundation. You may not use, modify
    or distribute this program under any other version of the
    GNU Affero General Public License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

package net.sf.odinms.net.channel.handler;

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

import net.sf.odinms.client.MapleCharacter;
import net.sf.odinms.client.MapleClient;
import net.sf.odinms.client.MapleInventoryType;
import net.sf.odinms.server.MapleInventoryManipulator;
import net.sf.odinms.server.maps.MapleMapItem;
import net.sf.odinms.server.maps.MapleMapObject;
import net.sf.odinms.server.maps.MapleMapObjectType;
import net.sf.odinms.server.movement.LifeMovementFragment;
import net.sf.odinms.tools.MaplePacketCreator;
import net.sf.odinms.tools.data.input.SeekableLittleEndianAccessor;
import net.sf.odinms.tools.data.input.StreamUtil;

public class MovePetHandler extends AbstractMovementPacketHandler {

	//private static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(MovePetHandler.class);
    
	@Override
	public void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
		int petId = slea.readInt();
		slea.readInt();
		@SuppressWarnings("Unused")
		Point startPos = StreamUtil.readShortPoint(slea);
		List<LifeMovementFragment> res = parseMovement(slea);

		MapleCharacter player = c.getPlayer();
		player.getMap().broadcastMessage(player, MaplePacketCreator.movePet(player.getId(), petId, res), false);
                
                Boolean meso = false;
                Boolean item = false;
                Boolean boots = false;
                 Boolean bino = false;
                if (c.getPlayer().getInventory(MapleInventoryType.EQUIPPED).findById(1812001) != null) 
                        item = true;
                if (c.getPlayer().getInventory(MapleInventoryType.EQUIPPED).findById(1812000) != null)
                        meso = true;
                 if (c.getPlayer().getInventory(MapleInventoryType.EQUIPPED).findById(1812004) != null)
                        boots = true;
                  if (c.getPlayer().getInventory(MapleInventoryType.EQUIPPED).findById(1812005) != null)
                        bino = true;
                if (meso || item) {
                        List<MapleMapObject> objects = player.getMap().getMapObjectsInRange(player.getPosition(), MapleCharacter.MAX_VIEW_RANGE_SQ, Arrays.asList(MapleMapObjectType.ITEM));

                        for (LifeMovementFragment move : res) {
                                Point petPos = move.findPosition();
                                double petX = petPos.getX();
                                double petY = petPos.getY();
                                for (MapleMapObject map_object : objects) {
                                        Point objectPos = map_object.getPosition();
                                        double objectX = objectPos.getX();
                                        double objectY = objectPos.getY();
                                        if (Math.abs(petX - objectX) <= 30 || Math.abs(objectX - petX) <= 30) {
                                                if (Math.abs(petY - objectY) <= 30 || Math.abs(objectY - petY) <= 30) {
                                                        if (map_object instanceof MapleMapItem) {
                                                                MapleMapItem mapitem = (MapleMapItem)map_object;
                                                                synchronized (mapitem) {
                                                                        if (mapitem.isPickedUp() || mapitem.getOwner().getId() != player.getId()) {
                                                                                continue;
                                                                        }
                                                                        if (mapitem.getMeso() > 0 && meso) {
                                                                                c.getPlayer().gainMeso(mapitem.getMeso(), true, true);
                                                                                c.getPlayer().getMap().broadcastMessage(
                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
                                                                                        mapitem.getPosition());
                                                                                c.getPlayer().getMap().removeMapObject(map_object);
                                                                                mapitem.setPickedUp(true);
                                                                        } 
                                                                        else {
                                                                                if (item) {
                                                                                        StringBuilder logInfo = new StringBuilder("Picked up by ");
                                                                                        logInfo.append(c.getPlayer().getName());
                                                                                        if (MapleInventoryManipulator.addFromDrop(c, mapitem.getItem(), logInfo.toString())) {
                                                                                                c.getPlayer().getMap().broadcastMessage(
                                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
                                                                                                        mapitem.getPosition());
                                                                                                c.getPlayer().getMap().removeMapObject(map_object);
                                                                                                mapitem.setPickedUp(true);
                                                                                        } 
                                                                                }
                                                                        }
                                                                }
                                                        }                                         
                                                }
                                        }
                                }                        
                        }
                } if (boots && meso && item) {
                    List<MapleMapObject> objects = player.getMap().getMapObjectsInRange(player.getPosition(), MapleCharacter.MAX_VIEW_RANGE_SQ, Arrays.asList(MapleMapObjectType.ITEM));

                        for (LifeMovementFragment move : res) {
                                Point petPos = move.findPosition();
                                double petX = petPos.getX();
                                double petY = petPos.getY();
                                for (MapleMapObject map_object : objects) {
                                        Point objectPos = map_object.getPosition();
                                        double objectX = objectPos.getX();
                                        double objectY = objectPos.getY();
                                        if (Math.abs(petX - objectX) <= 200 || Math.abs(objectX - petX) <= 200) {
                                                if (Math.abs(petY - objectY) <= 200 || Math.abs(objectY - petY) <= 200) {
                                                        if (map_object instanceof MapleMapItem) {
                                                                MapleMapItem mapitem = (MapleMapItem)map_object;
                                                                synchronized (mapitem) {
                                                                        if (mapitem.isPickedUp() || mapitem.getOwner().getId() != player.getId()) {
                                                                                continue;
                                                                        }
                                                                        if (mapitem.getMeso() > 0 && meso) {
                                                                                c.getPlayer().gainMeso(mapitem.getMeso(), true, true);
                                                                                c.getPlayer().getMap().broadcastMessage(
                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
                                                                                        mapitem.getPosition());
                                                                                c.getPlayer().getMap().removeMapObject(map_object);
                                                                                mapitem.setPickedUp(true);
                                                                        } 
                                                                        else {
                                                                                if (item) {
                                                                                        StringBuilder logInfo = new StringBuilder("Picked up by ");
                                                                                        logInfo.append(c.getPlayer().getName());
                                                                                        if (MapleInventoryManipulator.addFromDrop(c, mapitem.getItem(), logInfo.toString())) {
                                                                                                c.getPlayer().getMap().broadcastMessage(
                                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
                                                                                                        mapitem.getPosition());
                                                                                                c.getPlayer().getMap().removeMapObject(map_object);
                                                                                                mapitem.setPickedUp(true);
                                                                                        } 
                                                                                }
                                                                        }
                                                                }
                                                        }                                         
                                                }
                                        }
                                }                        
                        } 
                } if (bino && boots && meso && item) {
                    List<MapleMapObject> objects = player.getMap().getMapObjectsInRange(player.getPosition(), MapleCharacter.MAX_VIEW_RANGE_SQ, Arrays.asList(MapleMapObjectType.ITEM));

                        for (LifeMovementFragment move : res) {
                                Point petPos = move.findPosition();
                                double petX = petPos.getX();
                                double petY = petPos.getY();
                                for (MapleMapObject map_object : objects) {
                                        Point objectPos = map_object.getPosition();
                                        double objectX = objectPos.getX();
                                        double objectY = objectPos.getY();
                                        if (Math.abs(petX - objectX) <= 270 || Math.abs(objectX - petX) <= 270) {
                                                if (Math.abs(petY - objectY) <= 270 || Math.abs(objectY - petY) <= 270) {
                                                        if (map_object instanceof MapleMapItem) {
                                                                MapleMapItem mapitem = (MapleMapItem)map_object;
                                                                synchronized (mapitem) {
                                                                        if (mapitem.isPickedUp() || mapitem.getOwner().getId() != player.getId()) {
                                                                                continue;
                                                                        }
                                                                        if (mapitem.getMeso() > 0 && meso) {
                                                                                c.getPlayer().gainMeso(mapitem.getMeso(), true, true);
                                                                                c.getPlayer().getMap().broadcastMessage(
                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
                                                                                        mapitem.getPosition());
                                                                                c.getPlayer().getMap().removeMapObject(map_object);
                                                                                mapitem.setPickedUp(true);
                                                                        } 
                                                                        else {
                                                                                if (item) {
                                                                                        StringBuilder logInfo = new StringBuilder("Picked up by ");
                                                                                        logInfo.append(c.getPlayer().getName());
                                                                                        if (MapleInventoryManipulator.addFromDrop(c, mapitem.getItem(), logInfo.toString())) {
                                                                                                c.getPlayer().getMap().broadcastMessage(
                                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
                                                                                                        mapitem.getPosition());
                                                                                                c.getPlayer().getMap().removeMapObject(map_object);
                                                                                                mapitem.setPickedUp(true);
                                                                                        } 
                                                                                }
                                                                        }
                                                                }
                                                        }                                         
                                                }
                                        }
                                }                        
                        } 
                }
	}
}
 
Banned
Banned
Joined
Jun 21, 2008
Messages
143
Reaction score
0
Re: [RELEASE]Wing Boots + Binocular

Eh nice release but I wished it was actually like GMS.

Also there's a bug in your release.

If you have the pet out with the boots attached, and you drop an item from your invt, the pet will automatically loot it back.
 
Junior Spellweaver
Joined
Jun 25, 2008
Messages
166
Reaction score
0
Re: [RELEASE]Wing Boots + Binocular

can someone help me with the hp?
this is what i want to do:
if your hp is below 50%
you will get +1500 to your hp..
because i dunno how to make the a command to use the potion..
if someone can help me and tell me where is the potion action..
or how i define 50% o.o...

EDIT: yes i know, you'll have that bug if you'll use meso magnet and drop money or itam puch and drop item groat did something wrong... -.-
 
Experienced Elementalist
Joined
Jun 25, 2008
Messages
260
Reaction score
0
Re: [RELEASE]Wing Boots + Binocular

no no you did it wrong.. here you need this one..
Code:
/*
	This file is part of the OdinMS Maple Story Server
    Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc> 
                       Matthias Butz <matze@odinms.de>
                       Jan Christian Meyer <vimes@odinms.de>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License version 3
    as published by the Free Software Foundation. You may not use, modify
    or distribute this program under any other version of the
    GNU Affero General Public License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

package net.sf.odinms.net.channel.handler;

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

import net.sf.odinms.client.MapleCharacter;
import net.sf.odinms.client.MapleClient;
import net.sf.odinms.client.MapleInventoryType;
import net.sf.odinms.server.MapleInventoryManipulator;
import net.sf.odinms.server.maps.MapleMapItem;
import net.sf.odinms.server.maps.MapleMapObject;
import net.sf.odinms.server.maps.MapleMapObjectType;
import net.sf.odinms.server.movement.LifeMovementFragment;
import net.sf.odinms.tools.MaplePacketCreator;
import net.sf.odinms.tools.data.input.SeekableLittleEndianAccessor;
import net.sf.odinms.tools.data.input.StreamUtil;

public class MovePetHandler extends AbstractMovementPacketHandler {

	//private static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(MovePetHandler.class);
    
	@Override
	public void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
		int petId = slea.readInt();
		slea.readInt();
		@SuppressWarnings("Unused")
		Point startPos = StreamUtil.readShortPoint(slea);
		List<LifeMovementFragment> res = parseMovement(slea);

		MapleCharacter player = c.getPlayer();
		player.getMap().broadcastMessage(player, MaplePacketCreator.movePet(player.getId(), petId, res), false);
                
                Boolean meso = false;
                Boolean item = false;
                Boolean boots = false;
                 Boolean bino = false;
                if (c.getPlayer().getInventory(MapleInventoryType.EQUIPPED).findById(1812001) != null) 
                        item = true;
                if (c.getPlayer().getInventory(MapleInventoryType.EQUIPPED).findById(1812000) != null)
                        meso = true;
                 if (c.getPlayer().getInventory(MapleInventoryType.EQUIPPED).findById(1812004) != null)
                        boots = true;
                  if (c.getPlayer().getInventory(MapleInventoryType.EQUIPPED).findById(1812005) != null)
                        bino = true;
                if (meso || item) {
                        List<MapleMapObject> objects = player.getMap().getMapObjectsInRange(player.getPosition(), MapleCharacter.MAX_VIEW_RANGE_SQ, Arrays.asList(MapleMapObjectType.ITEM));

                        for (LifeMovementFragment move : res) {
                                Point petPos = move.findPosition();
                                double petX = petPos.getX();
                                double petY = petPos.getY();
                                for (MapleMapObject map_object : objects) {
                                        Point objectPos = map_object.getPosition();
                                        double objectX = objectPos.getX();
                                        double objectY = objectPos.getY();
                                        if (Math.abs(petX - objectX) <= 30 || Math.abs(objectX - petX) <= 30) {
                                                if (Math.abs(petY - objectY) <= 30 || Math.abs(objectY - petY) <= 30) {
                                                        if (map_object instanceof MapleMapItem) {
                                                                MapleMapItem mapitem = (MapleMapItem)map_object;
                                                                synchronized (mapitem) {
                                                                        if (mapitem.isPickedUp() || mapitem.getOwner().getId() != player.getId()) {
                                                                                continue;
                                                                        }
                                                                        if (mapitem.getMeso() > 0 && meso) {
                                                                                c.getPlayer().gainMeso(mapitem.getMeso(), true, true);
                                                                                c.getPlayer().getMap().broadcastMessage(
                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
                                                                                        mapitem.getPosition());
                                                                                c.getPlayer().getMap().removeMapObject(map_object);
                                                                                mapitem.setPickedUp(true);
                                                                        } 
                                                                        else {
                                                                                if (item) {
                                                                                        StringBuilder logInfo = new StringBuilder("Picked up by ");
                                                                                        logInfo.append(c.getPlayer().getName());
                                                                                        if (MapleInventoryManipulator.addFromDrop(c, mapitem.getItem(), logInfo.toString())) {
                                                                                                c.getPlayer().getMap().broadcastMessage(
                                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
                                                                                                        mapitem.getPosition());
                                                                                                c.getPlayer().getMap().removeMapObject(map_object);
                                                                                                mapitem.setPickedUp(true);
                                                                                        } 
                                                                                }
                                                                        }
                                                                }
                                                        }                                         
                                                }
                                        }
                                }                        
                        }
                } if (boots && meso && item) {
                    List<MapleMapObject> objects = player.getMap().getMapObjectsInRange(player.getPosition(), MapleCharacter.MAX_VIEW_RANGE_SQ, Arrays.asList(MapleMapObjectType.ITEM));

                        for (LifeMovementFragment move : res) {
                                Point petPos = move.findPosition();
                                double petX = petPos.getX();
                                double petY = petPos.getY();
                                for (MapleMapObject map_object : objects) {
                                        Point objectPos = map_object.getPosition();
                                        double objectX = objectPos.getX();
                                        double objectY = objectPos.getY();
                                        if (Math.abs(petX - objectX) <= 200 || Math.abs(objectX - petX) <= 200) {
                                                if (Math.abs(petY - objectY) <= 200 || Math.abs(objectY - petY) <= 200) {
                                                        if (map_object instanceof MapleMapItem) {
                                                                MapleMapItem mapitem = (MapleMapItem)map_object;
                                                                synchronized (mapitem) {
                                                                        if (mapitem.isPickedUp() || mapitem.getOwner().getId() != player.getId()) {
                                                                                continue;
                                                                        }
                                                                        if (mapitem.getMeso() > 0 && meso) {
                                                                                c.getPlayer().gainMeso(mapitem.getMeso(), true, true);
                                                                                c.getPlayer().getMap().broadcastMessage(
                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
                                                                                        mapitem.getPosition());
                                                                                c.getPlayer().getMap().removeMapObject(map_object);
                                                                                mapitem.setPickedUp(true);
                                                                        } 
                                                                        else {
                                                                                if (item) {
                                                                                        StringBuilder logInfo = new StringBuilder("Picked up by ");
                                                                                        logInfo.append(c.getPlayer().getName());
                                                                                        if (MapleInventoryManipulator.addFromDrop(c, mapitem.getItem(), logInfo.toString())) {
                                                                                                c.getPlayer().getMap().broadcastMessage(
                                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
                                                                                                        mapitem.getPosition());
                                                                                                c.getPlayer().getMap().removeMapObject(map_object);
                                                                                                mapitem.setPickedUp(true);
                                                                                        } 
                                                                                }
                                                                        }
                                                                }
                                                        }                                         
                                                }
                                        }
                                }                        
                        } 
                } if (bino && boots && meso && item) {
                    List<MapleMapObject> objects = player.getMap().getMapObjectsInRange(player.getPosition(), MapleCharacter.MAX_VIEW_RANGE_SQ, Arrays.asList(MapleMapObjectType.ITEM));

                        for (LifeMovementFragment move : res) {
                                Point petPos = move.findPosition();
                                double petX = petPos.getX();
                                double petY = petPos.getY();
                                for (MapleMapObject map_object : objects) {
                                        Point objectPos = map_object.getPosition();
                                        double objectX = objectPos.getX();
                                        double objectY = objectPos.getY();
                                        if (Math.abs(petX - objectX) <= 270 || Math.abs(objectX - petX) <= 270) {
                                                if (Math.abs(petY - objectY) <= 270 || Math.abs(objectY - petY) <= 270) {
                                                        if (map_object instanceof MapleMapItem) {
                                                                MapleMapItem mapitem = (MapleMapItem)map_object;
                                                                synchronized (mapitem) {
                                                                        if (mapitem.isPickedUp() || mapitem.getOwner().getId() != player.getId()) {
                                                                                continue;
                                                                        }
                                                                        if (mapitem.getMeso() > 0 && meso) {
                                                                                c.getPlayer().gainMeso(mapitem.getMeso(), true, true);
                                                                                c.getPlayer().getMap().broadcastMessage(
                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
                                                                                        mapitem.getPosition());
                                                                                c.getPlayer().getMap().removeMapObject(map_object);
                                                                                mapitem.setPickedUp(true);
                                                                        } 
                                                                        else {
                                                                                if (item) {
                                                                                        StringBuilder logInfo = new StringBuilder("Picked up by ");
                                                                                        logInfo.append(c.getPlayer().getName());
                                                                                        if (MapleInventoryManipulator.addFromDrop(c, mapitem.getItem(), logInfo.toString())) {
                                                                                                c.getPlayer().getMap().broadcastMessage(
                                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
                                                                                                        mapitem.getPosition());
                                                                                                c.getPlayer().getMap().removeMapObject(map_object);
                                                                                                mapitem.setPickedUp(true);
                                                                                        } 
                                                                                }
                                                                        }
                                                                }
                                                        }                                         
                                                }
                                        }
                                }                        
                        } 
                }
	}
}

ok thanks danigod that one works lol
u really are a god
 
Junior Spellweaver
Joined
Jul 14, 2008
Messages
130
Reaction score
2
Re: [RELEASE]Wing Boots + Binocular

its not really a bug.. its just that ure pet is supposed to be within range of you... so with the extra distance, itll pick it up.
 
Banned
Banned
Joined
Jun 21, 2008
Messages
143
Reaction score
0
Re: [RELEASE]Wing Boots + Binocular

its not really a bug.. its just that ure pet is supposed to be within range of you... so with the extra distance, itll pick it up.

Yea beat it's not even giving it chance to let the item drop. Since the pet is right next to you, the item will just get vacced in D:
 
Junior Spellweaver
Joined
Jun 25, 2008
Messages
166
Reaction score
0
Re: [RELEASE]Wing Boots + Binocular

"its not really a bug.. its just that ure pet is supposed to be within range of you... so with the extra distance, itll pick it up."

yes but if your pet will be close enough to the item it'll pickup.

"Yea beat it's not even giving it chance to let the item drop. Since the pet is right next to you, the item will just get vacced in D:"

lol i dont know really know how to fix it.. :p if you want to drop item just get your pet in :D

anyway someone can help me with the mp/hp pouch?
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [RELEASE]Wing Boots + Binocular

Nice release! Trying it
 
Junior Spellweaver
Joined
Apr 29, 2008
Messages
199
Reaction score
0
Re: [RELEASE]Wing Boots + Binocular

can someone help me with the hp?
this is what i want to do:
if your hp is below 50%
you will get +1500 to your hp..
because i dunno how to make the a command to use the potion..
if someone can help me and tell me where is the potion action..
or how i define 50% o.o...

EDIT: yes i know, you'll have that bug if you'll use meso magnet and drop money or itam puch and drop item groat did something wrong... -.-

in MapleCharacter.java there is MHp and Hp so if Hp < Maxhp/2 it does the action?
and npc can take items if u have so maybe look at the code in Npcconversationmanager.java?

im noob so dun be mean :p
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [RELEASE]Wing Boots + Binocular

Yo robin you can't have your site in the signature...
 
LeviathanStory
Joined
Apr 21, 2007
Messages
251
Reaction score
0
Re: [RELEASE]Wing Boots + Binocular

I got an error when compiling:
PHP:
init:
deps-jar:
Compiling 2 source files to C:\Documents and Settings\user\Desktop\SeanSource V.5.9\build\classes
C:\Documents and Settings\user\Desktop\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\MovePetHandler.java:71: cannot find symbol
symbol  : method findPosition()
location: interface net.sf.odinms.server.movement.LifeMovementFragment
                                Point petPos = move.findPosition();
C:\Documents and Settings\user\Desktop\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\MovePetHandler.java:89: removeItemFromMap(int,int,int) in net.sf.odinms.tools.MaplePacketCreator cannot be applied to (int,int,int,boolean)
                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
C:\Documents and Settings\user\Desktop\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\MovePetHandler.java:100: removeItemFromMap(int,int,int) in net.sf.odinms.tools.MaplePacketCreator cannot be applied to (int,int,int,boolean)
                                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
C:\Documents and Settings\user\Desktop\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\MovePetHandler.java:117: cannot find symbol
symbol  : method findPosition()
location: interface net.sf.odinms.server.movement.LifeMovementFragment
                                Point petPos = move.findPosition();
C:\Documents and Settings\user\Desktop\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\MovePetHandler.java:135: removeItemFromMap(int,int,int) in net.sf.odinms.tools.MaplePacketCreator cannot be applied to (int,int,int,boolean)
                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
C:\Documents and Settings\user\Desktop\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\MovePetHandler.java:146: removeItemFromMap(int,int,int) in net.sf.odinms.tools.MaplePacketCreator cannot be applied to (int,int,int,boolean)
                                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
C:\Documents and Settings\user\Desktop\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\MovePetHandler.java:163: cannot find symbol
symbol  : method findPosition()
location: interface net.sf.odinms.server.movement.LifeMovementFragment
                                Point petPos = move.findPosition();
C:\Documents and Settings\user\Desktop\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\MovePetHandler.java:181: removeItemFromMap(int,int,int) in net.sf.odinms.tools.MaplePacketCreator cannot be applied to (int,int,int,boolean)
                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
C:\Documents and Settings\user\Desktop\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\MovePetHandler.java:192: removeItemFromMap(int,int,int) in net.sf.odinms.tools.MaplePacketCreator cannot be applied to (int,int,int,boolean)
                                                                                                        MaplePacketCreator.removeItemFromMap(mapitem.getObjectId(), 5, c.getPlayer().getId(), true),
9 errors
BUILD FAILED (total time: 1 second)
Any help??
 
Junior Spellweaver
Joined
Jun 25, 2008
Messages
166
Reaction score
0
Re: [RELEASE]Wing Boots + Binocular

power you dont have pet loot... o.o
i said if you want to use it you need pet loot release...
and i cant do mp and hp... o.o i dont know how :)
 
Junior Spellweaver
Joined
Jul 29, 2008
Messages
111
Reaction score
0
Re: [RELEASE]Wing Boots + Binocular

I got
C:\Documents and Settings\Thuan\Desktop\RainStruck\src\net\sf\odinms\net\channel\handler\MovePetHandler.java:120: incompatible types
found : java.lang.Object
required: net.sf.odinms.server.maps.MapleMapObject
for (MapleMapObject map_object : objects) {
C:\Documents and Settings\Thuan\Desktop\RainStruck\src\net\sf\odinms\net\channel\handler\MovePetHandler.java:166: incompatible types
found : java.lang.Object
required: net.sf.odinms.server.maps.MapleMapObject
for (MapleMapObject map_object : objects) {

-edit nevermind fixed =]
thanks
 
LeviathanStory
Joined
Apr 21, 2007
Messages
251
Reaction score
0
Re: [RELEASE]Wing Boots + Binocular

power you dont have pet loot... o.o
i said if you want to use it you need pet loot release...
and i cant do mp and hp... o.o i dont know how :)
I just added pet loot though..
 
Junior Spellweaver
Joined
Jun 25, 2008
Messages
166
Reaction score
0
Re: [RELEASE]Wing Boots + Binocular

so you forgot to add something... you forgot to add findposition..
 
Junior Spellweaver
Joined
Jun 25, 2008
Messages
166
Reaction score
0
Re: [RELEASE]Wing Boots + Binocular

pet loot....
 
Junior Spellweaver
Joined
Apr 29, 2008
Messages
199
Reaction score
0
Re: [RELEASE]Wing Boots + Binocular

Wow awsome :p
looks cool with all equipped XD
 
Back
Top