Jump to content

Bug /purge metin2


xabugas123
 Share

Recommended Posts

Verifique seu root->uichat.py, talvez você tenha o sistema de bloquear comandos de GMs.

Exemplo:

commands = ("/set", "/sex", "/dick", "/big", "/uuu", "/purge")
def __SendChatPacket(self, text, type):
		# Block other command in function chat
		import stringCommander
		get_table = stringCommander.commands
		if text in get_table:
			return

		if net.IsChatInsultIn(text):
			chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_INSULT_STRING)
		else:
			net.SendChatPacket(text, type)

 

Link to comment
Share on other sites

3 horas atrás, xkillmt2 disse:

Verifique seu root->uichat.py, talvez você tenha o sistema de bloquear comandos de GMs.

Exemplo:


commands = ("/set", "/sex", "/dick", "/big", "/uuu", "/purge")
def __SendChatPacket(self, text, type):
		# Block other command in function chat
		import stringCommander
		get_table = stringCommander.commands
		if text in get_table:
			return

		if net.IsChatInsultIn(text):
			chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_INSULT_STRING)
		else:
			net.SendChatPacket(text, type)

 

O meu encontra-se assim

 

    def __SendChatPacket(self, text, type):
#        if text[0] == '/':
#            if ENABLE_CHAT_COMMAND or constInfo.CONSOLE_ENABLE:
#                pass
#            else:
#                return

        if net.IsChatInsultIn(text):
            chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_INSULT_STRING)
        else:
            net.SendChatPacket(text, type)

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...