Jump to content
  • 0

how's GM Cant Use Command if WOE is Begun


Green

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  61
  • Reputation:   0
  • Joined:  04/28/13
  • Last Seen:  

how's GM Cant Use Command if WOE is Begun

 

for example .. if woe has begun.. all GM cant Use Command Or Cant Warp To CAstle or kick or etc 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  07/22/13
  • Last Seen:  

i think it's impossible because

 

1. try to set mapflag nocommand player can't use command in this map too and must make sure your gm level not bypass this mapflag

2. set mapflag to nowarpto must make sure too about gm level by pass

3. kick player or monster it's not possible if you gm level can do that but if you change gm level to lower when woe start you can't kick or everything but make sure your gm level can use what command

 

so i think not have npc script to do like this auto must change by your self

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  182
  • Reputation:   22
  • Joined:  12/30/12
  • Last Seen:  

You can use bindatcmd script command to every command you want to be disabled (e.g. @warp, @recall) and have these two script command checks within it:

  • agitcheck(), checks if the server is on WoE mode.
  • getgroupid(), checks the group id of the GM that will not be able to use the command (example. getgroupid() <= 60)

If those two will conditions are met, the binded command will return false or will not initiate.

Edited by Elekid
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  181
  • Reputation:   53
  • Joined:  04/07/13
  • Last Seen:  

The question you should ask yourself is: does this even make sense?

You should get uncorrupted GMs rather than taking away their privileges. Here's an example: Player X uses some cheat/bot tool to spam skills or to get some other unfair advantage. Your GMs couldn't do anything about it, because they can't warp to the player, nor kick/ban him.

You should log commands to see if a player was kicked unjustifiably and remove the GM from your team if it happens too often :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  182
  • Reputation:   22
  • Joined:  12/30/12
  • Last Seen:  

The question you should ask yourself is: does this even make sense?

...

You should log commands to see if a player was kicked unjustifiably and remove the GM from your team if it happens too often :)

 

Yeah, just check the command logs or just disable the command on their group id. Different GM groups should have different restrictions depending on how you trust them. Trial Game Masters shouldn't have @recall and @kick commands, since those commands are for Enforcements GMs/Managers.

 

He asked though. I hope my suggestion helps in any way. /ok

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

how's GM Cant Use Command if WOE is Begun

 

for example .. if woe has begun.. all GM cant Use Command Or Cant Warp To CAstle or kick or etc 

 

-	script	nocmd	-1,{
OnAgitStart:
	while(set(.@a,.@a+1)<=.len)
		while(set(.@h,.@h+1)<=5)
			setmapflag(.maps$[.@a]+"_cas0"+.@h,mf_nocommand);
	end;
OnAgitEnd:
	while(set(.@a,.@a+1)<=.len)
		while(set(.@h,.@h+1)<=5)
			removemapflag(.maps$[.@a]+"_cas0"+.@h,mf_nocommand);
	end;
	
OnInit:
	setarray .maps$[1], "aldeg", "arug", "gefg", "payg", "prtg", "schg";
	set .len, getarraysize(.maps$);
}

Don't edit the map array sould work as is.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  61
  • Reputation:   0
  • Joined:  04/28/13
  • Last Seen:  

Thx Skorm

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