Jump to content
GHul

Disable skill/atk on mob/pc for GM ID

Recommended Posts

Hi,

This tiny src snippet thats will help to disable any skill or normal attack damage on mob or pc for GM ID.

Its good to help control your current GM Team (especially Trainee) or if you feel obscure on your current GM Team.

This will not allow your GM to assist player (in my case Trainee GM using @hide and helping guild to kill player on WoE),helping friends "needed" or kill any MvP mob in Events.

You will need to import this on battle conf and change the value according to your server configuration.

//Minimum account group_id thats are disable any skill or normal attack damage on mobs or PC.
min_gm_lvl_cant_atk: 2
//Maximum account group_id thats are disable any skill or normal attack damage on mobs or PC.
//Change this to 0 to allow any kind of skill or nomal attack usage disregard of account group_id.
max_gm_lvl_cant_atk: 10

Update and compatible with r15816.

disable_gm_skill_atk.patch

Add @damageignore commands !

Use this code if you want to disable skill or attacks using commands. Not restricted to GM ID.

atcmd_disable_skill_atk.patch

Edited by GHul
Link to comment
Share on other sites

http://rathena.org/wiki/Diff

Using .diff/.patch files to patch your server

Windows:

  • go place the folder in the index folder
  • richt click the *.diff file and go to TortoiseSVN menu
  • click patch

Linux:

cd /path/to/your/server/folder

patch -p0 < /path/to/patch/file/filename.extension

  • Upvote 1
Link to comment
Share on other sites

Well, this is a 'GREAT' idea for everyone to stop some of the 'Corrupt' GM's out there.

I will be 'TEST' it, if it will works. thanks for the 'Code'

Regards,

Mindless M O N S T E R PRODUCTIONS

Link to comment
Share on other sites

I've been wondering if it can be made as an atcommand like @noatk/nohostile GM's can't atk/skill or do damage to a Monster or Player(PC) this would be useful if your spectating a Match if you accidentally click a Player or Monster MVP.

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
Reply to this topic...

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.