i do all, and at screen loading it, don't log..
Screen
Syserr :
PHP Code:
0426 00:52:21958 :: File "networkModule.py", line 231, in SetGamePhase
0426 00:52:21958 :: File "system.py", line 130, in __pack_import
0426 00:52:21959 :: File "system.py", line 110, in _process_result
0426 00:52:21959 :: File "game.py", line 77, in ?
0426 00:52:21959 :: File "game.py", line 530, in GameWindow
0426 00:52:21959 :: NameError
0426 00:52:21959 :: :
0426 00:52:21959 :: name 'uiEvo2Board' is not defined
0426 00:52:21959 ::
PHP Code:
def __KontaktBoard(self):
import uievo2board
snd.PlaySound("sound/ui/money.wav")
self.evo2boardDlg = uiEvo2Board.MenuDialog()
self.evo2boardDlg.Show()
PHP Code:
import ui
import snd
import systemSetting
import net
import chat
import app
import locale
import constInfo
import chrmgr
import player
#Evo2-Board © passy305, 2011
class MenuDialog(ui.ScriptWindow):
def __init__(self):
ui.ScriptWindow.__init__(self)
self.__Initialize()
self.__Load()
self.lastcontact = 0
def __del__(self):
ui.ScriptWindow.__del__(self)
def __Initialize(self):
self.contactsaimina = 0
self.contactgreenlegend = 0
def Destroy(self):
self.contactsaimina = 0
self.contactgreenlegend = 0
self.ClearDictionary()
self.__Initialize()
def __Load_LoadScript(self, fileName):
try:
pyScriptLoader = ui.PythonScriptLoader()
pyScriptLoader.LoadScriptFile(self, fileName)
except:
import exception
exception.Abort("Evo2Board.__Load_LoadScript")
def __Load_BindObject(self):
try:
self.contactsaimina = self.GetChild("contact_saimina_button")
self.contactgreenlegend = self.GetChild("contact_greenlegend_button")
except:
import exception
exception.Abort("Evo2Board.__Load_BindObject")
def __Load(self):
self.__Load_LoadScript("uiscript/evo2board.py")
self.__Load_BindObject()
self.SetCenterPosition()
self.contactsaimina.SetEvent(ui.__mem_func__(self.OnContactSaimina))
self.contactgreenlegend.SetEvent(ui.__mem_func__(self.OnContactGreenLegend))
def OnContactSaimina(self):
if app.GetTime() < self.lastcontact + 30:
chat.AppendChat(chat.CHAT_TYPE_INFO, "Overwatcher: Warte bitte 30 Sekunden, bevor du Saimina nochmal anschreiben lässt!")
self.__ResetChat()
return
else:
chat.CreateWhisper("[GM]Saimina")
chat.SetWhisperBoxSize("[GM]Saimina", self.GetWidth() - 60, self.GetHeight() - 90)
net.SendWhisperPacket("[GM]Saimina", "Diese Nachricht wurde auto. vom Evo2 Board gesendet!")
chat.AppendChat(chat.CHAT_TYPE_INFO, "[GM]Saimina: Warte einen Moment :D!")
self.lastcontact = app.GetTime()
def OnContactGreenLegend(self):
if app.GetTime() < self.lastcontact + 5:
chat.AppendChat(chat.CHAT_TYPE_INFO, "Overwatcher: Warte bitte ein paar Sekunden, bevor du den GM nochmal anschreiben lässt!")
self.__ResetChat()
return
else:
chat.CreateWhisper("[GM]GreenLegend")
chat.SetWhisperBoxSize("[GM]GreenLegend", self.GetWidth() - 60, self.GetHeight() - 90)
net.SendWhisperPacket("[GM]GreenLegend", "Diese Nachricht wurde auto. vom Evo2 Board gesendet!")
chat.AppendChat(chat.CHAT_TYPE_INFO, "[GM]GreenLegend: Warte einen Moment :P")
self.lastcontact = app.GetTime()
def Show(self):
ui.ScriptWindow.Show(self)
def OnPressEscapeKey(self):
self.Close()
return TRUE
def __OnCloseButtonClick(self):
self.Close()
return TRUE
def Close(self):
self.Hide()