Jump to content
  • 0

Changing the jail map/Kyrie Eleison


prism

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   1
  • Joined:  04/28/12
  • Last Seen:  

How would I go about doing this? I want to change the jail map to lhz_in03 259 259.

Also, how can I make it where Kyrie can be used on mobs again? My understanding is the ability to do this was removed long ago.

Edited by prism
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   52
  • Joined:  11/15/11
  • Last Seen:  

1. Jail is hard coded, meaning in src/common/mapindex.h

Find, #define MAP_JAIL "sec_pri" and change the stuff inside the quote to what ever you want and recompile, should however possibly consider the x and y coordinates which are as well hard coded in atcommand.c

2. Try pressing shift before you click the monster, to my understanding that should make it work.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   1
  • Joined:  04/28/12
  • Last Seen:  

Thanks ^^

Also, it was changed in the source apparently where you cannot cast it on mobs anymore.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

In status.c

search this:

case SC_KYRIE:
 if (bl->type == BL_MOB)
  return 0;

and change to

/* case SC_KYRIE:
 if (bl->type == BL_MOB)
  return 0;*/

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   1
  • Joined:  04/28/12
  • Last Seen:  

Thanks, that helped Lilith.

My next question is, if i change the jail map, how do i set where it spawns players? I saw the map in the mapindex.h but didn't see where it tells players to appear when warped.

Edit: nevermind, i found it in map/atcommand.c

Edited by prism
  • Upvote 1
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
Answer this question...

×   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...