Scuze ca nu am respectat modelul dar am o intrebare
Cum scot nivelul din chat pe striga?
Intrebare rapida
Uite aici dacă ai pe c++
sursa/level-channel-chat-t34277.html
sau incerci tu sa scoti daca ai in python
ghiduri-tutoriale/regat-level-text-colorat-t41445.html
dute root cauta uichat.py
cauta
inlocuiteste toata functia cu asta 
sursa/level-channel-chat-t34277.html
sau incerci tu sa scoti daca ai in python
ghiduri-tutoriale/regat-level-text-colorat-t41445.html
dute root cauta uichat.py
cauta
Cod: Selectaţi tot
def __SendShoutChatPacket(self, text):Cod: Selectaţi tot
def __SendShoutChatPacket(self, text):
if 1 == len(text):
self.RunCloseEvent()
return
if app.GetTime() < self.lastShoutTime + 15:
chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_SHOUT_LIMIT)
self.__ResetChat()
return
self.__SendChatPacket(text[1:], chat.CHAT_TYPE_SHOUT)
self.__ResetChat()
self.lastShoutTime = app.GetTime()- Arakay2
-

- Mesaje: 65
- Membru din: 10 Apr 2020, 16:12
- Server: Arakay
- Regat: Jinno
- Aprecieri: 93
- Mulţumiri: 1
- Discord: Copiază ID
JustMafia scrie: ↑27 Apr 2020, 21:37 Uite aici dacă ai pe c++
sursa/level-channel-chat-t34277.html
sau incerci tu sa scoti daca ai in python
ghiduri-tutoriale/regat-level-text-colorat-t41445.html
dute root cauta uichat.py
cautainlocuiteste toata functia cu astaCod: Selectaţi tot
def __SendShoutChatPacket(self, text):
Cod: Selectaţi tot
def __SendShoutChatPacket(self, text): if 1 == len(text): self.RunCloseEvent() return if app.GetTime() < self.lastShoutTime + 15: chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_SHOUT_LIMIT) self.__ResetChat() return self.__SendChatPacket(text[1:], chat.CHAT_TYPE_SHOUT) self.__ResetChat() self.lastShoutTime = app.GetTime()
ai inteles gresit intrebare
Eu cand strig pe chat am nevoie de nivel 35 si doresc sa il fac de 15 dar nu gasesc functia
Am gasit functia in imput_main
const int SHOUT_LIMIT_LEVEL = 15;
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Google [Bot] și 121 vizitatori

