;( [HILFE] Fehler beim einfügen

01/12/2012 14:50 Kirze#1
Hey liebe Com. ,

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.mseError
0112 14
:31:02846 :: Traceback (most recent call last):

0112 14:31:02846 ::   File "ui.py"line 618in 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 629in 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 618in 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 629in 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 618in 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 629in 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 618in 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 ::     040
0112 14
:32:11396 ::     120
0112 14
:32:11396 ::     220
0112 14
:32:11396 ::     340
0112 14
:32:11396 ::     40
0112 14
:32:11396 ::     520
0112 14
:32:11396 ::     60
0112 14
:32:11396 ::     70
0112 14
:32:11396 ::     8


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.hWndTRUE)

    
def OnKillFocus(self):
        
self.SetText(ime.GetText(self.bCodePage))
        
self.OnIMECloseCandidateList()
        
self.OnIMECloseReadingWnd()
        
ime.DisableIME()<------629
        ime
.DisableCaptureInput()
        
wndMgr.HideCursor(self.hWnd
#edit
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] = lambdaapp.RotateCamera(app.CAMERA_STOP)
        
onClickKeyDict[app.DIK_E] = lambdaapp.RotateCamera(app.CAMERA_STOP)
        
onClickKeyDict[app.DIK_R] = lambdaapp.ZoomCamera(app.CAMERA_STOP)
        
onClickKeyDict[app.DIK_F] = lambdaapp.ZoomCamera(app.CAMERA_STOP)
        
onClickKeyDict[app.DIK_T] = lambdaapp.PitchCamera(app.CAMERA_STOP)
        
onClickKeyDict[app.DIK_G] = lambdaself.__ReleaseGKey()
        
onClickKeyDict[app.DIK_NUMPAD4] = lambdaapp.MovieRotateCamera(app.CAMERA_STOP)
        
onClickKeyDict[app.DIK_NUMPAD6] = lambdaapp.MovieRotateCamera(app.CAMERA_STOP)
        
onClickKeyDict[app.DIK_PGUP] = lambdaapp.MovieZoomCamera(app.CAMERA_STOP)
        
onClickKeyDict[app.DIK_PGDN] = lambdaapp.MovieZoomCamera(app.CAMERA_STOP)
        
onClickKeyDict[app.DIK_NUMPAD8] = lambdaapp.MoviePitchCamera(app.CAMERA_STOP)
        
onClickKeyDict[app.DIK_NUMPAD2] = lambdaapp.MoviePitchCamera(app.CAMERA_STOP)
        
onClickKeyDict[app.DIK_LALT] = lambdaself.HideName()
        
onClickKeyDict[app.DIK_LCONTROL] = lambdaself.HideMouseImage()
        
onClickKeyDict[app.DIK_LSHIFT] = lambdaself.__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 >= and num <= 9:
                if(
chrmgr.IsPossibleEmoticon(-1)):                
                    
chrmgr.SetEmoticon(-1,int(num)-1)
                    
net.SendEmoticon(int(num)-1
Wer mehr Infos braucht, soll das hier nur reinschreiben. Wäre sehr sehr dankbar wenn mir einer helfen könnte.

Mit verzweifelten Grüßen

Kirze ;(

Hallo??? Bauche immer noch Hilfe!!!!