Solved.

Re: MapleSolaxia MysticDoor

I believe the problem is in MapleDoor.java

Change:
PHP:
    public void sendSpawnData(MapleClient client) {
        if (target.getId() == client.getPlayer().getMapId() || owner == client.getPlayer() && owner.getParty() == null) {
            client.announce(MaplePacketCreator.spawnDoor(owner.getId(), town.getId() == client.getPlayer().getMapId() ? townPortal.getPosition() : targetPosition, true));
            if (owner.getParty() != null && (owner == client.getPlayer() || owner.getParty().containsMembers(client.getPlayer().getMPC()))) {
                client.announce(MaplePacketCreator.partyPortal(town.getId(), target.getId(), targetPosition));
            }
        }
        if (owner.getId() != client.getPlayer().getId()) {
        	client.announce(MaplePacketCreator.spawnPortal(town.getId(), target.getId(), targetPosition));
        }
    }


To:

PHP:
    public void sendSpawnData(MapleClient client) {
        if (target.getId() == client.getPlayer().getMapId() || owner == client.getPlayer() && owner.getParty() == null) {
            client.announce(MaplePacketCreator.spawnDoor(owner.getId(), town.getId() == client.getPlayer().getMapId() ? townPortal.getPosition() : targetPosition, true));
            if (owner.getParty() != null && (owner == client.getPlayer() || owner.getParty().containsMembers(client.getPlayer().getMPC()))) {
                client.announce(MaplePacketCreator.partyPortal(town.getId(), target.getId(), targetPosition));
            }
        }
        if (owner.getId() != client.getPlayer().getId()) {
        	client.announce(MaplePacketCreator.spawnDoor(owner.getId(), town.getId() == client.getPlayer().getMapId() ? townPortal.getPosition() : targetPosition, true));
        	client.announce(MaplePacketCreator.spawnPortal(town.getId(), target.getId(), targetPosition));
        }
    }
 
Upvote 0
Re: MapleSolaxia MysticDoor

I tried your method, the party members are able to see the door in town now but the caster isn't able to. Then again, the door is still not working in town even though it can be seen, it cant bring you back to the training ground.

Thanks for helping
 
Upvote 0
Re: MapleSolaxia MysticDoor

You could try changing it to this then:

PHP:
public void sendSpawnData(MapleClient client) { 
	client.announce(MaplePacketCreator.spawnDoor(owner.getId(), town.getId() == client.getPlayer().getMapId() ? townPortal.getPosition() : targetPosition, true)); 
    if (target.getId() == client.getPlayer().getMapId() || owner == client.getPlayer() && owner.getParty() == null) { 
        if (owner.getParty() != null && (owner == client.getPlayer() || owner.getParty().containsMembers(client.getPlayer().getMPC()))) { 
            client.announce(MaplePacketCreator.partyPortal(town.getId(), target.getId(), targetPosition)); 
        } 
    } 
    if (owner.getId() != client.getPlayer().getId()) { 
        client.announce(MaplePacketCreator.spawnPortal(town.getId(), target.getId(), targetPosition)); 
    }		
}
 
Upvote 0
Back