Self Map Announce

icabit

New member
Messages
45
Points
0
i saw this post on rathena http://rathena.org/b...-self-announce/

i wonder why no one every released one

I was bored and i was thinking of making something

so i remembered that eamod has this feature

so i made one for us 
smile.png


i don't know how eamod did it but i just do it via script 
biggrin.png


i know theres like 123123 maps out there

but it was easy to get them all to work once you know a little bit of programming LOL

it will announce to yourself where you are currently

this will announce the map listed on mapindex in data folder 
smile.png


so it wont announce something like iz_dun01

it will announce it as undersea tunnel 
smile.png


works on every map that is enabled by default in hercules

but the script is quite simple and i suppose it will work with rathena and eathena too

note: if you will encounter errors on your map server just simply look for it in the script and comment them or delete them. if you know how to enable those maps then do so. its yours to decide what you do

note 2: i will only support major problems of the script

note 3: you may modify it but don't remove the header

check the attached picture for an example 
smile.png


screenComplexRO002.jpg

mapannounce.txt

 

Attachments

Last edited by a moderator:
Well ya.. it is also nice in SQL  but if we want to use sql. so sql will have big large mb of that? idk.. i am not experience that. 

for my opinion. to use better sql tables.

 
It's not that much of a difference if you got the variables in SQL or in your code. I would even say SQL is way better since you can reuse everything.

Though an official map database would be the best option. I read about this being developed on rA but I have no idea if there is something similiar going on in Hercules.

 
Possibly the script is saved as UTF-8 with BOM. Try to save that same script in ANSI or in UTF-8 without BOM.

 
can you update it so it only will show once the msg when by example teleports in the same map ?

 
Back
Top