Jump to content
  • 0

Monster Chase Range


Fou-lu

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   1
  • Joined:  10/07/13
  • Last Seen:  

Please someone could point me to what part of the source can I modify it so that the monster can chase a player all over the map and not only when it is on the screen?

 

 

Even though putting the value "1000" on the monster's ChaseRange on mob_db.conf it still does not chase the player away.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  806
  • Reputation:   233
  • Joined:  01/30/13
  • Last Seen:  

There's no mob_db.conf in rAthena. If you are using Hercules, you better ask at herc.ws.

Generally, you can't make monsters chase you for that far, because calculating the walkpath at that length has a too high complexity which the client won't handle. You'll have to rewrite a lot of the movement code to somehow emulate longer chase paths (turning them into many shorter paths with waypoints).

Some things you can do that could help you server-side are disabling OFFICIAL_WALKPATH (that limits complex walkpaths to 14 cells) and raising range3 in mob_db. Not sure how the client will behave here, though.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   1
  • Joined:  10/07/13
  • Last Seen:  

 

Did not work. =/

 

I'm using hercules emulator...

 

What amazes me is that I have an old emulator that works, just put the value "1000" in the monster's ChaseRange.

Edited by Pedrooo
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...