Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 02:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Mijago Switchbot Problem

Discussion on Mijago Switchbot Problem within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2010
Posts: 10
Received Thanks: 0
Mijago Switchbot Problem

Hey,

ich bekomme den Switchbot einfach nicht eingefügt... das Ladefenster lädt einfach nur noch.
Ich versuche das Problem bereits seit 1 Stunde zu beheben, wäre nett wenn mir die jemand einbauen könnte.

Danke!

Der Thread:
Attached Files
File Type: rar game.rar (12.5 KB, 21 views)
[GA]Admin is offline  
Old 02/09/2015, 17:20   #2
 
xNyor's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 428
Received Thanks: 242
Bitte, ein ty wäre nicht verkehrt.

Gruß, Pascal.
Attached Files
File Type: rar game.rar (12.5 KB, 27 views)
xNyor is offline  
Old 02/09/2015, 18:14   #3
 
elite*gold: 0
Join Date: Jan 2010
Posts: 10
Received Thanks: 0
Klappt nicht..
[GA]Admin is offline  
Old 02/09/2015, 19:07   #4
 
xNyor's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 428
Received Thanks: 242
Poste doch mal deine Sys vom Clienten ja?
xNyor is offline  
Old 02/09/2015, 19:25   #5
 
elite*gold: 0
Join Date: Jan 2010
Posts: 10
Received Thanks: 0
PHP Code:
0209 19:23:13994 :: CEffectManager::RegisterEffect LoadScript(d:/ymir work/effect/hit/percent_damage1.mseError
0209 19
:23:13994 :: CInstanceBase::RegisterEffect(eEftType=264c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage1.mseisCache=1) - Error
0209 19
:23:13994 :: CEffectManager::RegisterEffect LoadScript(d:/ymir work/effect/hit/percent_damage2.mseError
0209 19
:23:13994 :: CInstanceBase::RegisterEffect(eEftType=265c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage2.mseisCache=1) - Error
0209 19
:23:13994 :: CEffectManager::RegisterEffect LoadScript(d:/ymir work/effect/hit/percent_damage3.mseError
0209 19
:23:13994 :: CInstanceBase::RegisterEffect(eEftType=266c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage3.mseisCache=1) - Error
0209 19
:23:15217 :: invalid idx 0
0209 19
:23:23233 :: GRANNYr:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000fwhich doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
0209 19:23:24298 :: CEffectManager::RegisterEffect - LoadScript(D:/ymir work/pc/common/effect/armor/armor-4-2-1.mse) Error
0209 19:23:24298 :: CInstanceBase::RegisterEffect(eEftType=248, c_szEftAttachBone=Bip01, c_szEftName=D:/ymir work/pc/common/effect/armor/armor-4-2-1.mse, isCache=0) - Error
0209 19:23:24298 :: CEffectManager::RegisterEffect - LoadScript(D:/ymir work/pc/common/effect/armor/armor-4-2-2.mse) Error
0209 19:23:24298 :: CInstanceBase::RegisterEffect(eEftType=249, c_szEftAttachBone=Bip01, c_szEftName=D:/ymir work/pc/common/effect/armor/armor-4-2-2.mse, isCache=0) - Error
0209 19:23:33988 :: Traceback (most recent call last):

0209 19:23:33989 ::   File "networkModule.py", line 231, in SetGamePhase

0209 19:23:33989 ::   File "system.py", line 130, in __pack_import

0209 19:23:33989 ::   File "system.py", line 110, in _process_result

0209 19:23:33989 ::   File "game.py", line 1, in ?

0209 19:23:33989 ::   File "system.py", line 137, in __pack_import

0209 19:23:33989 :: ImportError
0209 19:23:33989 :: : 
0209 19:23:33989 :: No module named switchbot
0209 19:23:33989 :: 
Die letzten paar Zeilen sollten nur interessant sein
[GA]Admin is offline  
Old 02/09/2015, 20:06   #6
 
[SA]Hylight's Avatar
 
elite*gold: 0
Join Date: Oct 2011
Posts: 164
Received Thanks: 34
nochmal genau lesen hast du den import eingetragen?

2.0: Voreinstellungen
Alles was wir hier ändern passiert in der game.py. Achtet auf die korrekte Einrückung.
Kopiert die switchbot.py in euren root-Ordner und packt sie. Bennent sie in switchbot.py um.

Nun zur Game.py:
Fügt oben in der Datei folgende Zeile hinzu:
Code:
from switchbot import BotJetzt sucht ihr nach folgendem:
Code:
def __init__(self, stream):und fügt irgendwo in dieser Funktion folgenden Code ein ein:
Code:
self.switchbot = Bot()
self.switchbot.Hide()
2.1: Erstellen eines neuen Tasten-Listeners
Nun zu den Tasten!
Sucht folgende Zeile in der game.py:
Code:
onPressKeyDict[app.DIK_F4]= lambda : self.__PressQuickSlot(7)Sucht euch in der Funktion eine schöne Stelle aus und fügt dort folgendes ein:
Code:
onPressKeyDict[app.DIK_F6]= lambda : self.__toggleSwitchbot()Nun würde der BOT it F6 aufgehen
2.2: Erstellen der Tasten-Listener-Funktion
Nun brauchen wir noch die Funktion!
Sucht euch dafür einen freien Platz in der game.py.

Code:
def __toggleSwitchbot(self):
if self.switchbot.bot_shown == 1:
self.switchbot.Hide()
else:
self.switchbot.Show()
[SA]Hylight is offline  
Old 02/09/2015, 20:33   #7
 
elite*gold: 0
Join Date: Jan 2010
Posts: 10
Received Thanks: 0
Hab ich bereits gemacht und der gleiche Fehler ist bestehen.
[GA]Admin is offline  
Old 02/09/2015, 20:36   #8
 
Poccix's Avatar
 
elite*gold: 44
Join Date: Dec 2009
Posts: 1,696
Received Thanks: 3,833
Dann pack die Switchbot.py mit...
Poccix is offline  
Old 02/09/2015, 20:53   #9
 
elite*gold: 0
Join Date: Jan 2010
Posts: 10
Received Thanks: 0
Hab ich gemacht und nichts hat sich getan
[GA]Admin is offline  
Old 02/09/2015, 20:57   #10
 
gerald500's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 1,049
Received Thanks: 275
was ist den der jetztige stand also was steht jetzt in deiner syserr poste mal wieder
gerald500 is offline  
Old 02/09/2015, 21:02   #11
 
.Ryuzaki™'s Avatar
 
elite*gold: 1
Join Date: Aug 2014
Posts: 1,339
Received Thanks: 875
Alter.. wie wäre es wenn du die switchbot.py mit packst bzw. die switchbot2.2 (2.3 what
ever du willst) in switchbot.py umänderst und mit in die root packst?
.Ryuzaki™ is offline  
Old 02/09/2015, 21:17   #12
 
elite*gold: 0
Join Date: Jan 2010
Posts: 10
Received Thanks: 0
Hab ich doch gemacht trotzdem passiert nichts könnte denn jemand evtl meine game bearbeiten?
Achja btw
PHP Code:
0209 21:15:19898 :: Traceback (most recent call last):

0209 21:15:19898 ::   File "networkModule.py"line 231in SetGamePhase

0209 21
:15:19898 ::   File "system.py"line 130in __pack_import

0209 21
:15:19898 ::   File "system.py"line 110in _process_result

0209 21
:15:19898 ::   File "game.py"line 1in ?

0209 21:15:19898 ::   File "system.py"line 137in __pack_import

0209 21
:15:19898 :: ImportError
0209 21
:15:19898 :: : 
0209 21:15:19898 :: No module named switchbot
0209 21
:15:19898 :: 
Es hat sich nichts geändert
[GA]Admin is offline  
Old 02/09/2015, 21:25   #13
 
gerald500's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 1,049
Received Thanks: 275
omg da steht doch das es kein module gibt das switchbot heißt also entweder hasst du ganz oben in der game.py import switchbot vergessen oder du hast sie einfach nicht mit gepackt
gerald500 is offline  
Reply


Similar Threads Similar Threads
Switchbot by Mijago will nicht.
07/30/2015 - Metin2 Private Server - 9 Replies
Hier meine Game.py from switchbot import Bot import os import app import dbg import grp import item import background import chr
[HILFE] switchbot v2.3 by Mijago probleme
02/04/2015 - Metin2 Private Server - 3 Replies
jo leute unzwar habe ih alles so rein gebaut wie hier gesagt http://www.elitepvpers.com/forum/metin2-pserver-g uides-strategies/3426661-r-switchbot-collection.ht ml aber trd bleibt wen der lade balken durch ist einfach stehen was machen :D vielen dank für euere hilfe schon mal
Switchbot by Mijago
01/18/2015 - Metin2 Private Server - 3 Replies
Hey Leute habe da einen kleinen Problem und zwar kann ich irgendwie nicht den Switchbot den von Mijago in meinen Client einfügen. Kann mir es einer richtig einfügen bitte. Hier der game.py Biete fügt mir den code von der neusten version von mijago ein danke schonmal im vorraus 7 mfg, cookie (binfake) ;D
Switchbot by Mijago
12/24/2014 - Metin2 Private Server - 4 Replies
Hey Leute, ich komme irgendwie nicht mit dem Switchbot von Mijago klar. Kann mir einer es mal machen. Hier meine game.py. Sagt mir bescheid welche switchbot v? (switchbot.py) reinschieben soll :) game.py (Anhang)
[Hilfe]Switchbot by Mijago V2.2 als Button im Inv.
12/24/2014 - Metin2 Private Server - 12 Replies
hallo :D, habe den button im inventar schon eingefügt, wenn ich es benutze kommt das fenster nicht aber mit f6 kommt es :/ was habe ich wohl falsch gemacht??? wo habe ich es eingefügt? Nur in der uiinventory.py self.SwitchButton = self.GetChild2("SwitchButton")



All times are GMT +1. The time now is 02:45.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.