Junior Spellweaver
- Joined
- Mar 21, 2008
- Messages
- 169
- Reaction score
- 0
Well this one is a little bit more complicated.
In PlayerLoggedinHandler find
and replace it with
This makes it so that it fixes that problem where it doesn't work for some idiots who can't fix it themselves and it also makes a GM say "Hide Activated" whilst logging in(Don't worry, Other Players can't see the message "Hide Activated" When logging in.)
In PlayerLoggedinHandler find
Code:
player.getMap().addPlayer(player);
and replace it with
Code:
if (c.getPlayer().isGM() != false) {
SkillFactory.getSkill(9101004).getEffect(1).applyTo(player);
}
[COLOR="Red"] player.getMap().addPlayer(player);[/COLOR]
if (c.getPlayer().isGM() == true) {
c.getSession().write(MaplePacketCreator.getChatText(c.getPlayer().getId(), "Hide Activated!", false, 0));
c.getPlayer().dropMessage("Welcome back to ItsuMS, " + c.getPlayer().getName() + " You're a GameMaster!");
}
if (c.getPlayer().isGM() == false && c.getPlayer().getMapId() == 0) {
c.getPlayer().dropMessage("Welcome to ItsuMS, " + c.getPlayer().getName() + "! Click on Sera to get started!");
}
if (c.getPlayer().isGM() == false && c.getPlayer().getMapId() != 0) {
c.getPlayer().dropMessage("Welcome back to ItsuMS, " + c.getPlayer().getName() + "! Have fun and Enjoy your stay!");
}
This makes it so that it fixes that problem where it doesn't work for some idiots who can't fix it themselves and it also makes a GM say "Hide Activated" whilst logging in(Don't worry, Other Players can't see the message "Hide Activated" When logging in.)

