antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
ISunset

Adicionar Bot De Rodar Canto Inferior Direito

Question

Olá, boa noite pessoal, eu fiz isto aqui:  http://cyber-gamers.org/index.php/topic/23632-adicionar-bot-de-rodar-em-no-canto-inferior-lado-direito/

 e da-me erro... 

 

 

 

Meu syserr:

 
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 :: 
 
Meu game.py ja com isto que ele diz para meter: 
 

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.SetChangeBonusSwitcherEvent(self.__BoniSwitcherShow)
#self.boniSwitcherWnd.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()
 
 
# TWO_HANDED_WEAPON_ATTACK_SPEED_UP
constInfo.SET_TWO_HANDED_WEAPON_ATT_SPEED_DECREASE_VALUE()
# END_OF_TWO_HANDED_WEAPON_ATTACK_SPEED_UP

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

up

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega
  • 0

up Alguem que saiba o que fazer?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this