Unk3n0w7 1,321 Posted June 18, 2014 Adicionar isto no game : class GameWindow(ui.ScriptWindow): def __init__(self, stream): ui.ScriptWindow.__init__(self, "GAME") self.SetWindowName("game") net.SetPhaseWindow(net.PHASE_WINDOW_GAME, self) player.SetGameWindow(self) self.quickSlotPageIndex = 0 self.lastPKModeSendedTime = 0 self.LastBoniSwitcherId = 0 self.pressNumber = None self.guildWarQuestionDialog = None self.interface = None self.targetBoard = None self.console = None self.mapNameShower = None self.affectShower = None self.playerGauge = None self.boniSwitcherWnd = [] constInfo.BONI_SWITCHER_LOAD = FALSE #import uiBoniSwitcher #for i in xrange(constInfo.SWITCHER_COUNT): #self.boniSwitcherWnd.append(uiBoniSwitcher.BoniSwitcherDialog(i)) #self.boniSwitcherWnd[i].SetChangeBonusSwitcherEvent(self.__BoniSwitcherShow) #self.boniSwitcherWnd[i].GAMESetBoniSwitcherCheckEvent(self.__BoniSwitcherCheckEvent) self.stream=stream self.interface = interfaceModule.Interface() self.interface.MakeInterface() self.interface.SetOpenBoniSwitcherEvent(self.__BoniSwitcherShow) self.interface.ShowDefaultWindows() self.curtain = uiPhaseCurtain.PhaseCurtain() self.curtain.speed = 0.03 self.curtain.Hide() self.targetBoard = uiTarget.TargetBoard() self.targetBoard.SetWhisperEvent(ui.__mem_func__(self.interface.OpenWhisperDialog)) self.targetBoard.Hide() self.console = consoleModule.ConsoleWindow() self.console.BindGameClass(self) self.console.SetConsoleSize(wndMgr.GetScreenWidth(), 200) self.console.Hide() self.mapNameShower = uiMapNameShower.MapNameShower() self.affectShower = uiAffectShower.AffectShower() self.playerGauge = uiPlayerGauge.PlayerGauge(self) self.playerGauge.Hide() self.__SetQuickSlotMode() self.__ServerCommand_Build() self.__ProcessPreservedServerCommand() def __del__(self): player.SetGameWindow(0) net.ClearPhaseWindow(net.PHASE_WINDOW_GAME, self) ui.ScriptWindow.__del__(self) def Open(self): app.SetFrameSkip(1) self.SetSize(wndMgr.GetScreenWidth(), wndMgr.GetScreenHeight()) self.quickSlotPageIndex = 0 self.PickingCharacterIndex = -1 self.PickingItemIndex = -1 self.consoleEnable = FALSE self.isShowDebugInfo = FALSE self.ShowNameFlag = FALSE self.enableXMasBoom = FALSE self.startTimeXMasBoom = 0.0 self.indexXMasBoom = 0 global cameraDistance, cameraPitch, cameraRotation, cameraHeight app.SetCamera(cameraDistance, cameraPitch, cameraRotation, cameraHeight) constInfo.SET_DEFAULT_CAMERA_MAX_DISTANCE() constInfo.SET_DEFAULT_CHRNAME_COLOR() constInfo.SET_DEFAULT_FOG_LEVEL() constInfo.SET_DEFAULT_CONVERT_EMPIRE_LANGUAGE_ENABLE() constInfo.SET_DEFAULT_USE_ITEM_WEAPON_TABLE_ATTACK_BONUS() constInfo.SET_DEFAULT_USE_SKILL_EFFECT_ENABLE() Sacar isto e por no root :DownloadVT Havefun. 6 adm123, źĩмßáßŵúĕ, skinhead and 3 others reacted to this Share this post Link to post Share on other sites
.тιαgσ 624 Posted June 18, 2014 Atenção, quando ele diz adicionar no game, quer dizer no game.py não o game core Obrigado por partilhares O Share this post Link to post Share on other sites
' Bruno 23 Posted June 19, 2014 - Muito bom, é capaz de ajudar muitos. +1 Share this post Link to post Share on other sites
Karbust 1,143 Posted June 19, 2014 a mim vai me ajudar, mas n e pro bot de rodar >.< e para saber como se adicionam esses botões Share this post Link to post Share on other sites
Karbust 1,143 Posted July 4, 2014 onde posso arranjar a imagem do icon?? Share this post Link to post Share on other sites
Bruno_Moreira 25 Posted July 6, 2014 a mim o client nao passa da barra de login em baixo nao entra para o jogo !!! Share this post Link to post Share on other sites
luismurias 55 Posted July 6, 2014 a mim o client nao passa da barra de login em baixo nao entra para o jogo !!! Vai ao syserr do cliente e vê o que lá diz e posta aqui Share this post Link to post Share on other sites
GunTL 339 Posted July 28, 2014 Enfim copy past??? loool para isso nem postem se não sabem postar as coisas direitas -.-" Nobalhada Share this post Link to post Share on other sites
รн4яkм0иรт3я© 0 Posted September 4, 2014 lol a mim tambem nao passa da barra de login... Share this post Link to post Share on other sites
ISunset 4 Posted August 20, 2015 Alguem me ajuda: nao passa da barra de login Syserr: 0820 11:52:12543 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted. 0820 11:52:18660 :: Traceback (most recent call last): 0820 11:52:18661 :: File "networkModule.py", line 231, in SetGamePhase 0820 11:52:18662 :: File "system.py", line 130, in __pack_import 0820 11:52:18662 :: File " 0820 11:52:18662 :: <string> 0820 11:52:18662 :: ", line 0820 11:52:18662 :: 103 0820 11:52:18662 :: 0820 11:52:18662 :: 0820 11:52:18662 :: self.boniSwitcherWnd.append(uiBoniSwitcher.BoniSwitcherDialog(i)) 0820 11:52:18662 :: 0820 11:52:18662 :: 0820 11:52:18662 :: 0820 11:52:18662 :: 0820 11:52:18662 :: ^ 0820 11:52:18662 :: IndentationError 0820 11:52:18662 :: : 0820 11:52:18662 :: expected an indented block 0820 11:52:18662 :: Share this post Link to post Share on other sites
ISunset 4 Posted August 21, 2015 Alguem me ajuda: nao passa da barra de login Syserr: 0820 11:52:12543 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted. 0820 11:52:18660 :: Traceback (most recent call last): 0820 11:52:18661 :: File "networkModule.py", line 231, in SetGamePhase 0820 11:52:18662 :: File "system.py", line 130, in __pack_import 0820 11:52:18662 :: File " 0820 11:52:18662 :: <string> 0820 11:52:18662 :: ", line 0820 11:52:18662 :: 103 0820 11:52:18662 :: 0820 11:52:18662 :: 0820 11:52:18662 :: self.boniSwitcherWnd.append(uiBoniSwitcher.BoniSwitcherDialog(i)) 0820 11:52:18662 :: 0820 11:52:18662 :: 0820 11:52:18662 :: 0820 11:52:18662 :: 0820 11:52:18662 :: ^ 0820 11:52:18662 :: IndentationError 0820 11:52:18662 :: : 0820 11:52:18662 :: expected an indented block 0820 11:52:18662 :: Isto está mal... o que me diz no syserr é isto: 0821 20:14:14263 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted. 0821 20:14:20902 :: Traceback (most recent call last): 0821 20:14:20904 :: File "networkModule.py", line 233, in SetGamePhase 0821 20:14:20905 :: File "game.py", line 108, in __init__ 0821 20:14:20905 :: AttributeError 0821 20:14:20905 :: : 0821 20:14:20905 :: 'Interface' object has no attribute 'SetOpenBoniSwitcherEvent' 0821 20:14:20905 :: Sorry double post Share this post Link to post Share on other sites
Rasta Man 71 Posted August 21, 2015 Deve custar muito seguir o syserr ... Isto está mal... o que me diz no syserr é isto: 0821 20:14:14263 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted. 0821 20:14:20902 :: Traceback (most recent call last): 0821 20:14:20904 :: File "networkModule.py", line 233, in SetGamePhase 0821 20:14:20905 :: File "game.py", line 108, in __init__ 0821 20:14:20905 :: AttributeError 0821 20:14:20905 :: : 0821 20:14:20905 :: 'Interface' object has no attribute 'SetOpenBoniSwitcherEvent' 0821 20:14:20905 :: Sorry double post Vai á linha 108 do game.py e vê se tens algum erro. Share this post Link to post Share on other sites
ISunset 4 Posted August 21, 2015 Deve custar muito seguir o syserr ... Vai á linha 108 do game.py e vê se tens algum erro. Minha linha 108: self.stream=stream self.interface = interfaceModule.Interface() self.interface.MakeInterface() self.interface.SetOpenBoniSwitcherEvent(self.__BoniSwitcherShow) ----> (linhaa 108) self.interface.ShowDefaultWindows() Que eu saiba não está erro nenhum :/ Share this post Link to post Share on other sites
ISunset 4 Posted August 22, 2015 Minha linha 108: self.stream=stream self.interface = interfaceModule.Interface() self.interface.MakeInterface() self.interface.SetOpenBoniSwitcherEvent(self.__BoniSwitcherShow) ----> (linhaa 108) self.interface.ShowDefaultWindows() Que eu saiba não está erro nenhum :/ COnsegui resolver esse, mas agora tenho outro :P que nao percebo mesmo como fazer 0821 20:40:14212 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted. 0821 20:40:20382 :: Traceback (most recent call last): 0821 20:40:20382 :: File "networkModule.py", line 231, in SetGamePhase 0821 20:40:20384 :: File "system.py", line 130, in __pack_import 0821 20:40:20385 :: File "system.py", line 110, in _process_result 0821 20:40:20386 :: File "game.py", line 37, in ? 0821 20:40:20387 :: File "system.py", line 137, in __pack_import 0821 20:40:20387 :: ImportError 0821 20:40:20387 :: : 0821 20:40:20387 :: No module named uiboniswitcher 0821 20:40:20387 :: Share this post Link to post Share on other sites