Jump to content
  • 0

Problem with NOSHIFT when Attack other player


joey93

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  02/12/18
  • Last Seen:  

 

I am using this AnnieRuru function attached above to consider PvP between factions. But I can't attack other players without holding SHIFT. / noshift does not work for this case. Does anyone have any light?

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  6
  • Reputation:   0
  • Joined:  12/06/15
  • Last Seen:  

I've been looking for this answer for many weeks (not found)

found in "clif.cpp"

"clif_map_property"

Quote

((mapdata->flag[MF_NOLOCKON] || mapdata_flag_vs(mapdata) ? 1 : 0) << 4) | // DISABLE_LOCKON - Only allow attacks on other players with shift key or /ns active

in it (set true)

example (mapdata->flag[MF_FVF]  = true)

Quote

((mapdata->flag[MF_FVF] || mapdata->flag[MF_NOLOCKON] || mapdata_flag_vs(mapdata) ? 1 : 0) << 4) |

but this applies to the whole map. how to define only one player and disable / ns for him I did not find

 

maybe someone has ideas where to look?

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