Jump to content
  • 0

@autoattack. increase the range of detecting MOB


Onairda

Question


  • Group:  Members
  • Topic Count:  71
  • Topics Per Day:  0.03
  • Content Count:  167
  • Reputation:   8
  • Joined:  12/30/16
  • Last Seen:  

Hello 

How to modify the code and give double vision for finding a monster on the player using @autoattack.

I want the player who use @autoattack detect far monster not only in 9x9 range

@autoattack source code

 

Edited by G-RO
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  208
  • Reputation:   22
  • Joined:  01/14/13
  • Last Seen:  

You need a lot of changes for that. Specially on path.cpp take note  (as distance raises CPU time used significantly).

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  71
  • Topics Per Day:  0.03
  • Content Count:  167
  • Reputation:   8
  • Joined:  12/30/16
  • Last Seen:  

On 12/1/2020 at 10:05 PM, Cookie-rae said:

You need a lot of changes for that. Specially on path.cpp take note  (as distance raises CPU time used significantly).

wow thanks for the info, i just want to increase it to 12x12 or 13 x13 ?.

do you have any hint ? thanks in advances 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  208
  • Reputation:   22
  • Joined:  01/14/13
  • Last Seen:  

10 minutes ago, G-RO said:

wow thanks for the info, i just want to increase it to 12x12 or 13 x13 ?.

do you have any hint ? thanks in advances 

As i said you need to rework path.c the distance checker

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