Jump to content

Client Magia travando e bugando a tela no OTClient


Recommended Posts

Qual o motivo deste tópico? 

Erro no uso de Magia travando o OTC e dando Debug

Utilizo Base de DBO

 

Estou usado o OTClient 0.6.6

é Esse erro que esta dando no Terminal do OTC

Citar

spacer.png

 

Ao usa magias seguidas acaba travando e bugando a tela, precisado reloga para volta ao normal

 

Edited by Dinh0z (see edit history)
Link to post
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By Sekinka
      .Qual servidor ou website você utiliza como base? 
      Tfs 1.3 Otc 1.0.0
      Qual o motivo deste tópico? 
      Ajuda na edição do roteiro
      trocar expbar para manabar%
      trocar fishbar para expbar%
      Está surgindo algum erro? Se sim coloque-o aqui. 
       
      Você tem o código disponível? Se tiver publique-o aqui: 
      Icons = {} Icons[1] = { tooltip = tr('You are poisoned'), path = '/game_healthinfo/icons/poisoned.png', id = 'condition_poisoned' } Icons[2] = { tooltip = tr('You are burning'), path = '/game_healthinfo/icons/burning.png', id = 'condition_burning' } Icons[4] = { tooltip = tr('You are electrified'), path = '/game_healthinfo/icons/electrified.png', id = 'condition_electrified' } Icons[8] = { tooltip = tr('You are drunk'), path = '/game_healthinfo/icons/drunk.png', id = 'condition_drunk' } Icons[16] = { tooltip = tr('You are protected by a magic shield'), path = '/game_healthinfo/icons/magic_shield.png', id = 'condition_magic_shield' } Icons[32] = { tooltip = tr('You are paralysed'), path = '/game_healthinfo/icons/slowed.png', id = 'condition_slowed' } Icons[64] = { tooltip = tr('You are hasted'), path = '/game_healthinfo/icons/haste.png', id = 'condition_haste' } Icons[128] = { tooltip = tr('You may not logout during a fight'), path = '/game_healthinfo/icons/logout_block.png', id = 'condition_logout_block' } Icons[256] = { tooltip = tr('You are drowing'), path = '/game_healthinfo/icons/drowning.png', id = 'condition_drowning' } Icons[512] = { tooltip = tr('You are freezing'), path = '/game_healthinfo/icons/freezing.png', id = 'condition_freezing' } Icons[1024] = { tooltip = tr('You are dazzled'), path = '/game_healthinfo/icons/dazzled.png', id = 'condition_dazzled' } Icons[2048] = { tooltip = tr('You are cursed'), path = '/game_healthinfo/icons/cursed.png', id = 'condition_cursed' } Icons[4096] = { tooltip = tr('Você está strengthened'), path = '/game_healthinfo/icons/strengthened.png', id = 'condition_strengthened' } Icons[8192] = { tooltip = tr('You may not logout or enter a protection zone'), path = '/game_healthinfo/icons/protection_zone_block.png', id = 'condition_protection_zone_block' } Icons[16384] = { tooltip = tr('You are within a protection zone'), path = '/game_healthinfo/icons/protection_zone.png', id = 'condition_protection_zone' } Icons[32768] = { tooltip = tr('You are bleeding'), path = '/game_healthinfo/icons/bleeding.png', id = 'condition_bleeding' } Icons[65536] = { tooltip = tr('You are hungry'), path = '/game_healthinfo/icons/hungry.png', id = 'condition_hungry' } healthInfoWindow = nil nameLabel = nil outfitBox = nil healthBar = nil healthLabel = nil levelLabel = nil manaBar = nil experienceBar = nil experienceLabel = nil fishBar = nil fishLabel = nil pokeballBar = nil winnerLabel = nil capLabel = nil stmBar = nil function init() connect(g_game, { onGameEnd = offline, onGameStart = refresh }) connect(LocalPlayer, { onHealthChange = onHealthChange, onManaChange = onPokeballsChange, onStatesChange = onStatesChange, onLevelChange = onLevelChange, onFreeCapacityChange = onFreeCapacityChange, onStaminaChange = onStaminaChange, onSkillChange = onSkillChange }) healthInfoWindow = g_ui.displayUI('health.otui') healthInfoWindow:hide() healthInfoButton = modules.client_topmenu.addRightGameToggleButton('healthInfoButton', tr('Health Information'), '/images/topbuttons/healthinfo', toggle) nameLabel = healthInfoWindow:getChildById('nameLabel') outfitBox = healthInfoWindow:getChildById('outfitBox') levelLabel = healthInfoWindow:getChildById('levelLabel') healthBar = healthInfoWindow:getChildById('healthBar') healthLabel = healthInfoWindow:getChildById('healthLabel') experienceBar = healthInfoWindow:getChildById('experienceBar') experienceLabel = healthInfoWindow:getChildById('experienceLabel') fishBar = healthInfoWindow:getChildById('fishBar') fishLabel = healthInfoWindow:getChildById('fishLabel') capLabel = healthInfoWindow:getChildById('capLabel') pokeballBar = healthInfoWindow:getChildById('pokeballBar') winnerLabel = healthInfoWindow:getChildById('winnerLabel') stmBar = healthInfoWindow:getChildById('stmBar') if g_game.isOnline() then onStatesChange(g_game.getLocalPlayer(), g_game.getLocalPlayer():getStates(), 0) end refresh() end function terminate() disconnect(g_game, { onGameEnd = offline, onGameStart = refresh }) disconnect(LocalPlayer, { onHealthChange = onHealthChange, onManaChange = onPokeballsChange, onStatesChange = onStatesChange, onLevelChange = onLevelChange, onFreeCapacityChange = onFreeCapacityChange, onStaminaChange = onStaminaChange, onSkillChange = onSkillChange }) healthInfoWindow:destroy() healthInfoButton:destroy() end function toggle() if healthInfoWindow:isVisible() then healthInfoWindow:hide() else healthInfoWindow:show() refresh() end end function offline() healthInfoWindow:hide() healthInfoWindow:recursiveGetChildById('panelCondition'):destroyChildren() end function refresh() if g_game.isOnline() then local localPlayer = g_game.getLocalPlayer() nameLabel:setText(localPlayer:getName()) outfitBox:setOutfit(localPlayer:getOutfit()) onHealthChange(localPlayer, localPlayer:getHealth(), localPlayer:getMaxHealth()) onPokeballsChange(localPlayer, localPlayer:getMana(), localPlayer:getMaxMana()) onLevelChange(localPlayer, localPlayer:getLevel(), localPlayer:getLevelPercent()) onFreeCapacityChange(localPlayer, localPlayer:getFreeCapacity()) onStaminaChange(localPlayer, localPlayer:getStamina()) onSkillChange(localPlayer, 2, localPlayer:getSkillLevel(2), localPlayer:getSkillLevelPercent(2),true) onSkillChange(localPlayer, 6, localPlayer:getSkillLevel(6), localPlayer:getSkillLevelPercent(6), true) end end function setOutfitBox(outfit) outfitBox:setOutfit(outfit) end function onHealthChange(localPlayer, health, maxHealth) healthBar:setValue(health, 0, maxHealth) healthLabel:setText(math.floor(health / maxHealth * 100).."%") end function onPokeballsChange(localPlayer, mana, maxMana) if mana > maxMana then return end pokeballBar:setImageSource('img/pokeball' ..mana) end function onLevelChange(localPlayer, value, percent) levelLabel:setText('Lv'..localPlayer:getLevel()) experienceLabel:setText(percent.. "%") experienceBar:setPercent(percent) end function onFreeCapacityChange(localPlayer, freeCapacity) capLabel:setText(freeCapacity) end function onSkillChange(localPlayer, id, level, percent, hur) if id == 2 then winnerLabel:setText(level) winnerLabel:setTooltip('Vitorias: '..level) end if id == 6 then fishBar:setPercent(percent) fishBar:setTooltip(tr("Fishing: "..level)) fishLabel:setText(percent.."%") end end function onStaminaChange(localPlayer, stamina) local hours = math.floor(stamina / 60) local minutes = stamina % 60 if minutes < 10 then minutes = '0' .. minutes end local percent = math.floor(100 * stamina / (42 * 60)) stmBar:setPercent(percent) stmBar:setTooltip("stamina "..hours .. ":" .. minutes) end function onStatesChange(localPlayer, now, old) if now == old then return end local bitsChanged = bit32.bxor(now, old) for i = 1, 32 do local pow = math.pow(2, i-1) if pow > bitsChanged then break end local bitChanged = bit32.band(bitsChanged, pow) if bitChanged ~= 0 then toggleIcon(bitChanged) end end end function toggleIcon(bitChanged) local content = healthInfoWindow:recursiveGetChildById('panelCondition') local icon = content:getChildById(Icons[bitChanged].id) if icon then icon:destroy() else icon = g_ui.createWidget('ConditionWidget', content) icon:setId(Icons[bitChanged].id) icon:setImageSource(Icons[bitChanged].path) icon:setTooltip(Icons[bitChanged].tooltip) end end  
      Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui. 
       

    • By isac001
      Pessoal estou com uma duvida, Como posso bloquear o OLDCLIENT do meu server, porque é de dragonball e quero tirar o elfbot, mais tem gente pegando meus spr e dat e criando outro cliente.
       
      USO OTCliente NEW...
      quero que todo mundo so use meu cliente nao use outro para entrar...
       
      como faço isso
       
    • By XGaduX
      alguém consegue descompila esse client? usei Enigma e demoleition, mas deu em nada.

      http://www.mediafire.com/file/5yzyk7q4cskylbe/NdboCrossLife_4.5.rar/fileNdboCrossLife 4.5.exe
       
    • By Nolis
      TIBIA CLIENT 8.x
       
      PRINCIPAIS
      tibia82.zip tibia821.zip tibia822.zip tibia831.zip tibia84.zip tibia842.zip tibia85.zip tibia852.zip tibia853.zip tibia854.zip tibia855.zip tibia857.zip tibia860.zip tibia87.zip tibia871.zip 
       
      OUTROS
      Tibia810.zip Tibia811.zip Tibia830.zip Tibia841.zip Tibia856.zip Tibia861.zip Tibia862.zip Tibia872.zip  Tibia873.zipTibia874.zip
       
      Sobre Updates do Tibia: https://www.tibiawiki.com.br/wiki/Updates_e_Patches
      About Tibia Updates: https://tibia.fandom.com/wiki/Updates
       
       
    • By Nolis
      TIBIA CLIENT 7.x
       
      PRINCIPAIS
      tibia74.zip tibia755.zip tibia76.zip tibia781.zip tibia79.zip tibia792.zip
       
      OUTROS
      Tibia701.zip Tibia702.zip Tibia713.zip Tibia721.zip Tibia723.zip Tibia724.zip Tibia726.zip Tibia727.zip Tibia741.zip Tibia75.zip Tibia772.zip Tibia77.zip Tibia78.zip 
       
      Sobre Updates do Tibia: https://www.tibiawiki.com.br/wiki/Updates_e_Patches
      About Tibia Updates: https://tibia.fandom.com/wiki/Updates
       
  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...