Jump to content
  • 0

Forbidden player to hit monster.


Impala

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  12/06/11
  • Last Seen:  

Hi everyone !

 

Don't know if that request needs a source modif ...

 

I need something to forbid the player to hit/kill monster. Not ALL player, just who choose to be like that. (don't try to understand why xD).

 

If you have the solution, thanks for sharing with me ;D

Edited by Impala
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

make a new group in conf/group.conf and add the perm disable_pvm for this group

https://github.com/rathena/rathena/blob/master/doc/permissions.txt#L95

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  12/06/11
  • Last Seen:  

It works!

 

Thanks a lot /no1

 

Edit: Shit, just thinking now, it's for the all account... Need for only the char i want. Damn' >.<

Edited by Impala
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

you can play with a npc script

-	script	ihbnuio	-1,{
OnPCLoginEvent:
	if ( idonthitmob )
		atcommand "@adjgroup <group ID>";
	end;
}
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  12/06/11
  • Last Seen:  

Nice, perfect like this.

 

Thanks a lot. /lv

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