icabit 4 Posted September 5, 2013 (edited) 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 i don't know how eamod did it but i just do it via script 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 so it wont announce something like iz_dun01 it will announce it as undersea tunnel 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 mapannounce.txt Edited February 20, 2014 by AnnieRuru 2 hsombini and xienne15 reacted to this Quote Share this post Link to post Share on other sites
schwierig 3 Posted September 12, 2013 Nice! Would be so much easier with all maps in the SQL tables though :/ Quote Share this post Link to post Share on other sites
Dramosith 4 Posted September 12, 2013 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. Quote Share this post Link to post Share on other sites
schwierig 3 Posted September 12, 2013 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. Quote Share this post Link to post Share on other sites
mrlongshen 22 Posted September 17, 2013 i try use this script. but nothing appears. Quote Share this post Link to post Share on other sites
mrlongshen 22 Posted November 8, 2013 (edited) @icabit please explain... [Error]: npc_parsesrcfile: Unknown map '-' in file 'npc/syokro/mapannounce.txt', line '1'. Skipping line... Edited November 8, 2013 by mrlongshen Quote Share this post Link to post Share on other sites
jaBote 438 Posted November 8, 2013 Possibly the script is saved as UTF-8 with BOM. Try to save that same script in ANSI or in UTF-8 without BOM. Quote Share this post Link to post Share on other sites
mrlongshen 22 Posted November 8, 2013 Possibly the script is saved as UTF-8 with BOM. Try to save that same script in ANSI or in UTF-8 without BOM. Befor this, this script are save as UTF-8 After that, I change to ANSI like what you said. and its working ! More power for you sir +1 !! hahaha :lol: Quote Share this post Link to post Share on other sites
Zezicla 2 Posted November 11, 2013 can you update it so it only will show once the msg when by example teleports in the same map ? Quote Share this post Link to post Share on other sites