Jump to content

Mapname Self Announce


icabit

Recommended Posts


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

i saw this post on rathena http://rathena.org/board/topic/58583-request-mapname-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

post-6186-0-91252200-1378403976_thumb.jpg

mapannounce.txt

Edited by icabit
  • Upvote 3
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   4
  • Joined:  06/23/12
  • Last Seen:  

great job . i like it /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Oh? And this works without hitting the 255char String limit? Interesting.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Brian wrote a similar script here (definitely more efficient, check it out)

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

@icabit i try use but nothing appear. T_T

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   1
  • Joined:  04/30/13
  • Last Seen:  

@icabit i try use but nothing appear. T_T

No error logs?

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

@icabit i try use but nothing appear. T_T

No error logs?

 

[Error]: npc_parsesrcfile: Unknown map '-' in file 'npc/ro/mapannounce.tx

t', line '1'. Skipping line...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   0
  • Joined:  05/09/12
  • Last Seen:  

nice bro i like it.

:)

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

its working now. thanks alot :)

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

i saw this post on rathena http://rathena.org/board/topic/58583-request-mapname-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

Can you modify this script to announce the cities only when you go out of it and come back? because if you still warping in the city it still announcing the same city each time you warp. it will be annoying in some event when you have to warp in the same city and this script spam in your chat windows saying you are in morroc town, you ar ein morroc town, you are in morroc town xDDD, i hope you understand what i mean.

Link to comment
Share on other sites

  • 8 years later...

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   2
  • Joined:  03/19/14
  • Last Seen:  

won't ad spam be a problem all the time for those who use jum or flywings?

 

 

Captura de pantalla 2022-07-24 221730.png

Edited by manuel
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...