Re: Login Welcome Message :D
Re: Login Welcome Message :D
i wouldn't need that :P
(i got it already)
but great one for nub servers
Re: Login Welcome Message :D
Lmao, most of the people that checked this thread probably thought you meant the "[Welcome]" thing.
Thanks I guess.
Re: Login Welcome Message :D
You might also add it under
PHP Code:
if (player.getMap().getId() == 1 || player.getMap().getId() == 2) {
c.getSession().write(MaplePacketCreator.showApple());
}
is that right?
Correct me if im wrong :):
Edit, Also this is my way
PHP Code:
if (player.getMap().getId() == 0){
c.getSession().write(MaplePacketCreator.sendHint("YOUR SERVER WELCOME MESSAGE !"));
}
Re: Login Welcome Message :D
Added Valhalla TUT :):
Good luck
Re: Login Welcome Message :D
I can't find player.changeMap(player.getMap(), player.getMap().findClosestSpawnpoint(player.getPosition())); on thepackll. ;o. Or it doesn't work on the pack ll?
Re: Login Welcome Message :D
Quote:
Originally Posted by
nayR
I can't find player.changeMap(player.getMap(), player.getMap().findClosestSpawnpoint(player.getPosition())); on thepackll. ;o. Or it doesn't work on the pack ll?
Use the Valhalla tut , thepack is based on valhalla ;D
EDIT :
I just explain what this do , when you enter map 0 (After creating a new char or so)
It shows the Message over your Head.
HF
Re: Login Welcome Message :D
Well Good Job, But is my way correct?
PHP Code:
if (player.getMap().getId() == 0){
c.getSession().write(MaplePacketCreator.sendHint("YOUR SERVER WELCOME MESSAGE !"));
}
Re: Login Welcome Message :D
Quote:
Originally Posted by
Ehab
Well Good Job, But is my way correct?
PHP Code:
if (player.getMap().getId() == 0){
c.getSession().write(MaplePacketCreator.sendHint("YOUR SERVER WELCOME MESSAGE !"));
}
You could make it shorter and drop the getid ,and replace the getmap function with the getmapid function .
But yours should work too :):
Re: Login Welcome Message :D
so both should work, great.
but is there ANY difference in the RESULT ?
Re: Login Welcome Message :D
Doesn't look like there will be a difference.
Re: Login Welcome Message :D
Quote:
Originally Posted by
Ehab
so both should work, great.
but is there ANY difference in the RESULT ?
i dont think so , you are just using a little different way to get the map.
Re: Login Welcome Message :D
does this welcome message only pop-up when u first make your character (1 time) or every time you log in
Re: Login Welcome Message :D
Quote:
Originally Posted by
grbnike2
does this welcome message only pop-up when u first make your character (1 time) or every time you log in
You could bind it to a map or change it so it popup every login.