
Cum pot rezolva ? :)
E o porcarie sa le pui permanente.
Uite aici cea mai eficientă metodă facuta de Eugen pentru a stopa bugul la critice, roua, etc:
Daca folositi scripturile de mai jos, nu veti putea folosi tastele 1, 2, 3, 4, F1, F2, F3, F4 si inventarul in primele secunde de la intrarea in joc. Am folosit aceasta metoda pe mai multe servere si a functionat perfect.

Uite aici cea mai eficientă metodă facuta de Eugen pentru a stopa bugul la critice, roua, etc:
Daca folositi scripturile de mai jos, nu veti putea folosi tastele 1, 2, 3, 4, F1, F2, F3, F4 si inventarul in primele secunde de la intrarea in joc. Am folosit aceasta metoda pe mai multe servere si a functionat perfect.
[ Mesaj scris via Android ]
Deschideti game.py si adaugati la inceput:
Cod: Selectaţi tot
# BUG_ROUA_EUGEN_PRO_AREA import time # FINAL_BUG_ROUA_EUGEN_PRO_AREA
Sub player.SetGameWindow(self) din __init__ adaugati:
Cod: Selectaţi tot
# BUG_ROUA_EUGEN_PRO_AREA self.utilizareTaste = time.clock() + 4 # FINAL_BUG_ROUA_EUGEN_PRO_AREA
Cautati __PressNumKey si inlocuiti tot def-ul cu:
Cod: Selectaţi tot
# BUG_ROUA_EUGEN_PRO_AREA def __PressNumKey(self,num): if time.clock() >= self.utilizareTaste: if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL): if num >= 1 and num <= 9: if(chrmgr.IsPossibleEmoticon(-1)): chrmgr.SetEmoticon(-1,int(num)-1) net.SendEmoticon(int(num)-1) else: if num >= 1 and num <= 4: self.pressNumber(num-1) else: chat.AppendChat(chat.CHAT_TYPE_INFO, "Mai asteapta cateva secunde pentru a putea folosi comanda.") # FINAL_BUG_ROUA_EUGEN_PRO_AREA
Procedati la fel si pentru __PressQuickSlot
Cod: Selectaţi tot
# BUG_ROUA_EUGEN_PRO_AREA def __PressQuickSlot(self, localSlotIndex): if time.clock() >= self.utilizareTaste: player.RequestUseLocalQuickSlot(localSlotIndex) else: chat.AppendChat(chat.CHAT_TYPE_INFO, "Mai asteapta cateva secunde pentru a putea folosi comanda.") # FINAL_BUG_ROUA_EUGEN_PRO_AREA
Bun, am rezolvat cu tastele. Acum trebuie sa ne ocupam de inventar.
Deschideti interfacemodule.py din root si adaugati la inceput:
Cod: Selectaţi tot
# BUG_ROUA_EUGEN_PRO_AREA import time # FINAL_BUG_ROUA_EUGEN_PRO_AREA
Sub self.bigBoard = None din __init__ adaugati:
Cod: Selectaţi tot
# BUG_ROUA_EUGEN_PRO_AREA self.utilizareInventar = time.clock() + 4 # FINAL_BUG_ROUA_EUGEN_PRO_AREA
Inlocutiti tot def-ul ToggleInventoryWindow(self): cu:
Cod: Selectaţi tot
# BUG_ROUA_EUGEN_PRO_AREA def ToggleInventoryWindow(self): if time.clock() >= self.utilizareInventar: if FALSE == player.IsObserverMode(): if FALSE == self.wndInventory.IsShow(): self.wndInventory.Show() self.wndInventory.SetTop() else: self.wndInventory.OverOutItem() self.wndInventory.Close() else: chat.AppendChat(chat.CHAT_TYPE_INFO, "Mai asteapta cateva secunde pentru a putea folosi inventarul.") # FINAL_BUG_ROUA_EUGEN_PRO_AREA

degeaba pui acea prootectie s anu se foloseasca butoanele deoarece este un autoclicker care daca il folosesti da automat pe critice si toate cele .. si deci este degaba acea protectie... nus ce ati testat voi dar daca vrea cineva sa faca bugu se poate face si cu protectia aia .. cea mai buna metoda este ori sa le scoti detot dupa server ori permanente.C0olmonkey scrie:E o porcarie sa le pui permanente.
Uite aici cea mai eficientă metodă facuta de Eugen pentru a stopa bugul la critice, roua, etc:
Daca folositi scripturile de mai jos, nu veti putea folosi tastele 1, 2, 3, 4, F1, F2, F3, F4 si inventarul in primele secunde de la intrarea in joc. Am folosit aceasta metoda pe mai multe servere si a functionat perfect.
[ Mesaj scris via Android ]
Deschideti game.py si adaugati la inceput:
Cod: Selectaţi tot
# BUG_ROUA_EUGEN_PRO_AREA import time # FINAL_BUG_ROUA_EUGEN_PRO_AREA
Sub player.SetGameWindow(self) din __init__ adaugati:
Cod: Selectaţi tot
# BUG_ROUA_EUGEN_PRO_AREA self.utilizareTaste = time.clock() + 4 # FINAL_BUG_ROUA_EUGEN_PRO_AREA
Cautati __PressNumKey si inlocuiti tot def-ul cu:
Cod: Selectaţi tot
# BUG_ROUA_EUGEN_PRO_AREA def __PressNumKey(self,num): if time.clock() >= self.utilizareTaste: if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL): if num >= 1 and num <= 9: if(chrmgr.IsPossibleEmoticon(-1)): chrmgr.SetEmoticon(-1,int(num)-1) net.SendEmoticon(int(num)-1) else: if num >= 1 and num <= 4: self.pressNumber(num-1) else: chat.AppendChat(chat.CHAT_TYPE_INFO, "Mai asteapta cateva secunde pentru a putea folosi comanda.") # FINAL_BUG_ROUA_EUGEN_PRO_AREA
Procedati la fel si pentru __PressQuickSlot
Cod: Selectaţi tot
# BUG_ROUA_EUGEN_PRO_AREA def __PressQuickSlot(self, localSlotIndex): if time.clock() >= self.utilizareTaste: player.RequestUseLocalQuickSlot(localSlotIndex) else: chat.AppendChat(chat.CHAT_TYPE_INFO, "Mai asteapta cateva secunde pentru a putea folosi comanda.") # FINAL_BUG_ROUA_EUGEN_PRO_AREA
Bun, am rezolvat cu tastele. Acum trebuie sa ne ocupam de inventar.
Deschideti interfacemodule.py din root si adaugati la inceput:
Cod: Selectaţi tot
# BUG_ROUA_EUGEN_PRO_AREA import time # FINAL_BUG_ROUA_EUGEN_PRO_AREA
Sub self.bigBoard = None din __init__ adaugati:
Cod: Selectaţi tot
# BUG_ROUA_EUGEN_PRO_AREA self.utilizareInventar = time.clock() + 4 # FINAL_BUG_ROUA_EUGEN_PRO_AREA
Inlocutiti tot def-ul ToggleInventoryWindow(self): cu:
Cod: Selectaţi tot
# BUG_ROUA_EUGEN_PRO_AREA def ToggleInventoryWindow(self): if time.clock() >= self.utilizareInventar: if FALSE == player.IsObserverMode(): if FALSE == self.wndInventory.IsShow(): self.wndInventory.Show() self.wndInventory.SetTop() else: self.wndInventory.OverOutItem() self.wndInventory.Close() else: chat.AppendChat(chat.CHAT_TYPE_INFO, "Mai asteapta cateva secunde pentru a putea folosi inventarul.") # FINAL_BUG_ROUA_EUGEN_PRO_AREA
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 45 vizitatori






