custom map message.

Luffy

New member
Messages
303
Points
0
Location
#DDos
Emulator
hi does this script works on Hercules when you warped to the map you will get a message just like on the images. this is also just like on eAmod.

where_am_i.txt

post-1381-0-16128900-1363626546.jpg


 
currently running a server dont want to mess things up, it's from rathena they said it's not working on hercules, that why im asking here just to clarify.

 
Last edited by a moderator:
Brian said:
Brian said:
One way would be an OnPCLoadMapEvent script, that announces with a fontColor and fontSize.
Here you go:

1. edit trunk/src/map/clif.c so OnPCLoadMapEvent always triggers, even if maps do not have the 'loadevent' mapflag.
Find these lines:
 if(map[sd->bl.m].flag.loadevent) // Lance    npc_script_event(sd, NPCE_LOADMAP);

and change to look like this:
Code:
    npc_script_event(sd, NPCE_LOADMAP);
 
2. load this script: where_am_i.txt
(I commented out maps that did not have an English translation in mapnametable.txt, so there will be no announcement when you load on those maps.
Follow these steps or place loadevent mapflag in every map listed in this script.

 
fixed myself. my revision is out dated that why it's not working. it's now working.

 
Back
Top