Wenn ich in der uichat.py das aus dem Release ersetze ([Only registered and activated users can see links. Click Here To Register...]) bekomme ich immer einen Error und komme nicht mehr ins Spiel.
Wie füge ich es dort richtig ein? Sieht eben etwas anders aus als im release.
Wie füge ich es dort richtig ein? Sieht eben etwas anders aus als im release.
PHP Code:
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, locale.CHAT_INSULT_STRING)
else:
net.SendChatPacket(text, type)