Cod: Selectaţi tot
def SetEvent(self, func, *args) :
result = self.eventFunc.has_key(args[0])
if result :
self.eventFunc[args[0]] = func
self.eventArgs[args[0]] = args
else :
print "[ERROR] ui.py SetEvent, Can`t Find has_key : %s" % args[0]*Resursă folosită: sursa/event-manager-dracarys-last-full-t107075.html
*ServerFiles utilizat:
*Syserr:
Cod: Selectaţi tot
1223 20:48:24812 :: Traceback (most recent call last):
1223 20:48:24812 :: File "game.py", line 1217, in OnKeyDown
1223 20:48:24812 :: File "game.py", line 339, in <lambda>
1223 20:48:24813 :: File "interfaceModule.py", line 1757, in OpenEventCalendar
1223 20:48:24813 :: File "interfaceModule.py", line 1755, in MakeEventCalendar
1223 20:48:24813 :: File "uiEventCalendar.py", line 275, in __init__
1223 20:48:24813 :: File "uiEventCalendar.py", line 306, in __LoadWindow
1223 20:48:24814 :: File "uiEventCalendar.py", line 159, in SetBackgroundImage
1223 20:48:24814 :: File "uiEventCalendar.py", line 258, in SetEvent
1223 20:48:24814 :: AttributeError
1223 20:48:24814 :: :
1223 20:48:24814 :: 'ImageBoxSpecial' object has no attribute 'eventFunc'
1223 20:48:24814 ::
None
Sus*Detalii suplimentare:

