Ich wollte grade das ItemBoard von DaRealFreak einfügen. Habe es auch gemacht wie es dort beschrieben wurde. Dennoch habe ich folgendes Problem. Wenn ich mich einloggen will, komme ich bis zum Ende des Ladenbalkens. Doch ab dann geht es nicht weiter. Wäre echt HAMMA wenn mir einer helfen könnte.
Habe in der Syserr mal nach geguckt da steht folgendes:
PHP Code:
0112 14:31:01041 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/etc/dropitem/dropitem.mse) Error
0112 14:31:02846 :: Traceback (most recent call last):
0112 14:31:02846 :: File "ui.py", line 618, in OnSetFocus
0112 14:31:02846 :: AttributeError
0112 14:31:02846 :: :
0112 14:31:02846 :: 'module' object has no attribute 'EnableCaptureInput'
0112 14:31:02846 ::
0112 14:32:05765 :: Traceback (most recent call last):
0112 14:32:05765 :: File "ui.py", line 629, in OnKillFocus
0112 14:32:05765 :: AttributeError
0112 14:32:05765 :: :
0112 14:32:05765 :: 'module' object has no attribute 'DisableIME'
0112 14:32:05765 ::
0112 14:32:05766 :: Traceback (most recent call last):
0112 14:32:05766 :: File "ui.py", line 618, in OnSetFocus
0112 14:32:05766 :: AttributeError
0112 14:32:05766 :: :
0112 14:32:05766 :: 'module' object has no attribute 'EnableCaptureInput'
0112 14:32:05766 ::
0112 14:32:07729 :: Traceback (most recent call last):
0112 14:32:07729 :: File "ui.py", line 629, in OnKillFocus
0112 14:32:07729 :: AttributeError
0112 14:32:07729 :: :
0112 14:32:07729 :: 'module' object has no attribute 'DisableIME'
0112 14:32:07729 ::
0112 14:32:10682 :: Traceback (most recent call last):
0112 14:32:10682 :: File "ui.py", line 618, in OnSetFocus
0112 14:32:10682 :: AttributeError
0112 14:32:10682 :: :
0112 14:32:10682 :: 'module' object has no attribute 'EnableCaptureInput'
0112 14:32:10682 ::
0112 14:32:10683 :: Traceback (most recent call last):
0112 14:32:10683 :: File "ui.py", line 629, in OnKillFocus
0112 14:32:10683 :: AttributeError
0112 14:32:10683 :: :
0112 14:32:10683 :: 'module' object has no attribute 'DisableIME'
0112 14:32:10683 ::
0112 14:32:10683 :: Traceback (most recent call last):
0112 14:32:10684 :: File "ui.py", line 618, in OnSetFocus
0112 14:32:10684 :: AttributeError
0112 14:32:10684 :: :
0112 14:32:10684 :: 'module' object has no attribute 'EnableCaptureInput'
0112 14:32:10684 ::
0112 14:32:11395 :: granny_shared_vbs:
0112 14:32:11395 :: 0: 40
0112 14:32:11396 :: 1: 20
0112 14:32:11396 :: 2: 20
0112 14:32:11396 :: 3: 40
0112 14:32:11396 :: 4: 0
0112 14:32:11396 :: 5: 20
0112 14:32:11396 :: 6: 0
0112 14:32:11396 :: 7: 0
0112 14:32:11396 :: 8: 0
Habe nicht wirklich begriffen was das heißt. Außer das in der ui.py in Zeile 629 und 618 was falsch sein soll. Hier ist der Abteil mit Zeite 618 und 629
PHP Code:
else:
ime.SetStringMode()
ime.EnableCaptureInput()
if self.useIME:<-----618
ime.EnableIME()
else:
ime.DisableIME()
wndMgr.ShowCursor(self.hWnd, TRUE)
def OnKillFocus(self):
self.SetText(ime.GetText(self.bCodePage))
self.OnIMECloseCandidateList()
self.OnIMECloseReadingWnd()
ime.DisableIME()<------629
ime.DisableCaptureInput()
wndMgr.HideCursor(self.hWnd)
Habe noch was vergessen. Hier ist das Stück wo ich sachen in die game.py eingefügt habe. (Falls es jmd nicht weiß, habe die root datei entpackt dafür)
PHP Code:
onPressKeyDict[app.DIK_F11] = lambda : self.__PressF11Key()<---Wurde eingefügt
# CUBE_TEST
#onPressKeyDict[app.DIK_K] = lambda : self.interface.OpenCubeWindow()
# CUBE_TEST_END
self.onPressKeyDict = onPressKeyDict
onClickKeyDict = {}
onClickKeyDict[app.DIK_UP] = lambda : self.StopUp()
onClickKeyDict[app.DIK_DOWN] = lambda : self.StopDown()
onClickKeyDict[app.DIK_LEFT] = lambda : self.StopLeft()
onClickKeyDict[app.DIK_RIGHT] = lambda : self.StopRight()
onClickKeyDict[app.DIK_SPACE] = lambda : self.EndAttack()
onClickKeyDict[app.DIK_W] = lambda : self.StopUp()
onClickKeyDict[app.DIK_S] = lambda : self.StopDown()
onClickKeyDict[app.DIK_A] = lambda : self.StopLeft()
onClickKeyDict[app.DIK_D] = lambda : self.StopRight()
onClickKeyDict[app.DIK_Q] = lambda: app.RotateCamera(app.CAMERA_STOP)
onClickKeyDict[app.DIK_E] = lambda: app.RotateCamera(app.CAMERA_STOP)
onClickKeyDict[app.DIK_R] = lambda: app.ZoomCamera(app.CAMERA_STOP)
onClickKeyDict[app.DIK_F] = lambda: app.ZoomCamera(app.CAMERA_STOP)
onClickKeyDict[app.DIK_T] = lambda: app.PitchCamera(app.CAMERA_STOP)
onClickKeyDict[app.DIK_G] = lambda: self.__ReleaseGKey()
onClickKeyDict[app.DIK_NUMPAD4] = lambda: app.MovieRotateCamera(app.CAMERA_STOP)
onClickKeyDict[app.DIK_NUMPAD6] = lambda: app.MovieRotateCamera(app.CAMERA_STOP)
onClickKeyDict[app.DIK_PGUP] = lambda: app.MovieZoomCamera(app.CAMERA_STOP)
onClickKeyDict[app.DIK_PGDN] = lambda: app.MovieZoomCamera(app.CAMERA_STOP)
onClickKeyDict[app.DIK_NUMPAD8] = lambda: app.MoviePitchCamera(app.CAMERA_STOP)
onClickKeyDict[app.DIK_NUMPAD2] = lambda: app.MoviePitchCamera(app.CAMERA_STOP)
onClickKeyDict[app.DIK_LALT] = lambda: self.HideName()
onClickKeyDict[app.DIK_LCONTROL] = lambda: self.HideMouseImage()
onClickKeyDict[app.DIK_LSHIFT] = lambda: self.__SetQuickSlotMode()
#if constInfo.PVPMODE_ACCELKEY_ENABLE:
# onClickKeyDict[app.DIK_B] = lambda: self.ChangePKMode()
self.onClickKeyDict=onClickKeyDict
def __PressF11Key(self):<------Das wurde eingefügt bis....
import itemboard
self.itemboard1 = itemboard.ItemBoardDialog()
self.itemboard1.Show() <-----bis hier.
def __PressNumKey(self,num):
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)
Mit verzweifelten Grüßen
Kirze ;(
Hallo??? Bauche immer noch Hilfe!!!!






