Jump to content

Disable skill/atk on mob/pc for GM ID


GHul

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   4
  • Joined:  11/10/11
  • Last Seen:  

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

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

can give guide how to add this?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  414
  • Reputation:   102
  • Joined:  11/13/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

aww

i cant understand

hurmm

hope someone can make like a source guide

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

this mod reads on txt file from conf folder?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

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

  • 1 month later...

  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

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

  • 1 month later...

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

Great Snippet here!

Useful for Anti-Corrupt GMs.

Thanks I'll give it a try. :)

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

@Ghul Thanks for the Update, didn't notice you updated it :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

is there a manual way?.. cuz i don't know how to patch it.. :)

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