Ir para conteúdo

Lincoln123123

Membro
  • Registro em

  • Última visita

  1. Lincoln123123 reagiu a uma resposta no tópico: DEV C++ Compilando TFS no Windows
  2. .Qual servidor ou website você utiliza como base? Pokemon Evolution v4 Qual o motivo deste tópico? Auxilio na Resolução de Erro em Script. Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: local damages = {GROUNDDAMAGE, ELECTRICDAMAGE, ROCKDAMAGE, FLYDAMAGE, BUGDAMAGE, FIGHTINGDAMAGE, DRAGONDAMAGE, POISONDAMAGE, DARKDAMAGE, STEELDAMAGE} local fixdmgs = {PSYCHICDAMAGE, COMBAT_PHYSICALDAMAGE, GRASSDAMAGE, FIREDAMAGE, WATERDAMAGE, ICEDAMAGE, NORMALDAMAGE, GHOSTDAMAGE} local ignored = {POISONEDDAMAGE, BURNEDDAMAGE} --alterado v1.6 local cannotkill = {BURNEDDAMAGE, POISONEDDAMAGE} function onStatsChange(cid, attacker, type, combat, value) if isWatchingTv(cid) then return false end -- TV Block --------------------- healarea --------------------- if type == STATSCHANGE_HEALTHGAIN then if cid == attacker then return true end if isSummon(cid) and isSummon(attacker) and canAttackOther(cid, attacker) == "Cant" then return false end if isWild(cid) and isWild(attacker) then -- monstros se curarem return true end return true end --------------------- healarea --------------------- if isSleeping(attacker) then return false end if isPlayer(cid) and isSummon(attacker) and canAttackOther(cid, attacker) == "Cant" then return false end if getPlayerStorageValue(cid, 9658783) == 1 then return false end if combat == FLYSYSTEMDAMAGE then return false end if isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 then return false end -- TV if (isPlayer(cid) and #getCreatureSummons(cid) >= 1 and not getTileInfo(getThingPos(getCreatureSummons(cid)[1])).protection) or isPlayer(attacker) then return false end -- seguranca do player nao atacar if isGod(cid) then return false end -- god nao morrer o.O if isWild(cid) and isWild(attacker) then return false end -- monstro nao atacar monstro, mas deixar pokemons do shared team baterem if getTileInfo(getThingPos(cid)).protection then return false end -- duel system e outros if isSummon(attacker) and isPlayer(cid) then if getPlayerStorageValue(getCreatureMaster(cid), 7800) == 1 or getPlayerStorageValue(getCreatureMaster(cid), 7801) == 1 then else return false -- quandotiver pvp colocar storage do pvp aqui end end if isWild(attacker) then if getPlayerStorageValue(getCreatureMaster(cid), 7801) == 1 then if doCorrectString(getCreatureName(attacker)) == "Team Gastly" or doCorrectString(getCreatureName(attacker)) == "Team Haunter" or doCorrectString(getCreatureName(attacker)) == "Team Gengar" or doCorrectString(getCreatureName(attacker)) == "Team Darkai" then return false end elseif getPlayerStorageValue(getCreatureMaster(cid), 7800) == 1 then if doCorrectString(getCreatureName(attacker)) == "Team Abra" or doCorrectString(getCreatureName(attacker)) == "Team Kadabra" or doCorrectString(getCreatureName(attacker)) == "Team Alakazam" or doCorrectString(getCreatureName(attacker)) == "Team Cresselia" then return false end end end if isSummon(attacker) and getPlayerStorageValue(getCreatureMaster(attacker), 7800) == 1 then if doCorrectString(getCreatureName(cid)) =="Team Cresselia" or doCorrectString(getCreatureName(cid)) =="Team Abra" or doCorrectString(getCreatureName(cid)) =="Team Kadabra" or doCorrectString(getCreatureName(cid)) =="Team Alakazam" then return false end elseif isSummon(attacker) and getPlayerStorageValue(getCreatureMaster(attacker), 7801) == 1 then if doCorrectString(getCreatureName(cid)) =="Team Darkai" or doCorrectString(getCreatureName(cid)) =="Team Gastly" or doCorrectString(getCreatureName(cid)) =="Team Haunter" or doCorrectString(getCreatureName(cid)) =="Team Gengar" then return false end end if isSummon(attacker) then if getPlayerStorageValue(cid, 7800) == 1 then if getPlayerStorageValue(getCreatureSummons(attacker), getCreatureMaster(attacker), 7800) == 1 then return false end elseif getPlayerStorageValue(cid, 7800) == 1 then if getPlayerStorageValue(getCreatureSummons(attacker), getCreatureMaster(attacker), 7801) == 1 then return false end end end if not (isCreature(attacker)) then return true end local raceCombat = typeTable[getElementByCombat(combat)] local spellNameFromAttacker = getPlayerStorageValue(attacker, 21102) -- player morte e ataques if isPlayer(cid) and (#getCreatureSummons(cid) <= 0 or #getCreatureSummons(cid) >= 1 and getTileInfo(getThingPos(getCreatureSummons(cid)[1])).protection) then local color = 180 if (combat == 128 or combat == 1) and spellNameFromAttacker == -1 then value = -(getOffense(attacker) * 100) else if not typeTable[getMoveType(getCreatureName(attacker), spellNameFromAttacker)] then color = 180 else color = typeTable[getMoveType(getCreatureName(attacker), spellNameFromAttacker)].color or 180 end end if value >= getCreatureHealth(cid) then value = getCreatureHealth(cid) end value = -math.ceil(-value) if (value) >= getCreatureHealth(cid) or (value*-1) >= getCreatureHealth(cid) then doKillPlayer(cid, attacker, (value)) return false end doSendAnimatedText(getThingPosWithDebug(cid), (value * -1), color) doCreatureAddHealth(cid, value*-1) --setPlayerStorageValue(attacker, 21102, -1) -- reseta a spellName do pokemon atacante return false end -- player morte e ataques if not isPlayer(cid) then -- valores do atacante if isPokePassive(cid) and isSummon(attacker) then doSetPokemonAgressiveToPlayer(cid, getCreatureMaster(attacker)) end local myName = doCorrectString(getCreatureName(cid)) if isInArray(specialabilities["evasion"], myName) and isSummon(cid) then local target = cid if getCreatureTarget(getCreatureMaster(cid)) == attacker then if math.random(1, 100) <= passivesChances["Evasion"][myName] then if isCreature(attacker) then --alterado v1.6 doSendMagicEffect(getThingPosWithDebug(target), 211) doSendAnimatedText(getThingPosWithDebug(target), "TOO BAD", 215) doTeleportThing(target, getClosestFreeTile(target, getThingPosWithDebug(attacker)), false) doSendMagicEffect(getThingPosWithDebug(target), 211) doFaceCreature(target, getThingPosWithDebug(attacker)) return false end end end end ---- cor do dano --[[if (combat == 128 or combat == 1) and spellNameFromAttacker == -1 then else raceCombat = typeTable[getMoveType(getCreatureName(attacker), spellNameFromAttacker)] end]] -- alterado raceCombat = typeTable[getPokemonType(attacker).type1] ---- cor do dano local critical, criticalValue = false, 0 local returnDamage = false ------------- Helds if isSummon(cid) then local heldx = getItemAttribute(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "xHeldItem") if heldx then local heldName, heldTier = string.explode(heldx, "|")[1], string.explode(heldx, "|")[2] if heldName == "X-Block" and isSummon(cid) then -- bloquear alguns ataques local chance = heldBlockChance[tonumber(heldTier)] if (math.random(1, 100) <= chance) then doSendAnimatedText(getThingPos(cid), "BLOCKED", 215) end end if heldName == "X-Return" and isSummon(cid) then -- bloquear alguns ataques local chance = heldReturn[tonumber(heldTier)] if (math.random(1, 100) <= chance) then returnDamage = true returnDamageValue = heldReturn[tonumber(heldTier)] end end end end if isSummon(attacker) then local heldx = getItemAttribute(getPlayerSlotItem(getCreatureMaster(attacker), 8).uid, "xHeldItem") if heldx then local heldName, heldTier = string.explode(heldx, "|")[1], string.explode(heldx, "|")[2] if heldName == "X-Critical" then -- dar critico nos ataques local chance = heldCriticalChance[tonumber(heldTier)] if (math.random(1, 100) <= chance) then critical = true criticalValue = math.random(50, 100) end end end end ------------- Helds if isReflect(attacker) then local valueReflected = getPlayerStorageValue(attacker, 21105) if valueReflected > 0 then removeReflect(attacker) value = valueReflected doCreatureAddHealth(cid, -math.floor(-value)) doSendAnimatedText(getThingPos(cid), (value == 0 and "" or value), COLOR_GRASS) if isSummon(cid) then doSendLifePokeToOTC(getCreatureMaster(cid)) end if value >= getCreatureHealth(cid) then if isSummon(cid) then if isInDuel(getCreatureMaster(cid)) then doRemoveCountPokemon(getCreatureMaster(cid)) end end doKillWildPoke(attacker, cid) return false end return false end end ------------------------------------POTIONS------------------------------------------- if isSummon(cid) then if getPlayerStorageValue(cid, 173) >= 1 then setPlayerStorageValue(cid, 173, -1) --alterado v1.6 doSendAnimatedText(getThingPos(cid), "LOST HEAL", 144) end end local boost_def, boost_attk = (0.7 * getPokemonBoost(cid)) / 100, (0.5 * getPokemonBoost(attacker)) / 100 if(combat == 128 or combat == 1) and spellNameFromAttacker == -1 then -- ataque basico doSendMagicEffect(getThingPos(cid), 3) value = getEffectvineCombat(cid, attacker, value) if value == 0 then return false else value = value * getOffense(attacker) -- buff ataque system local name = doCorrectString(getCreatureName(attacker)) if pokes[name] and pokes[name].level <= 5 and value ~= 0 then value = -math.random(pokes[name].offense, pokes[name].offense+5) end end else -- magia value = getEffectvineSpell(attacker, spellNameFromAttacker, value, cid) -- checagem de efetividades de magia if value == 0 then return false else value = value * (1 + getSpecialAttack(attacker) / 100) end end if spellNameFromAttacker ~= -1 and value == 0 then value = -doForceDanoSpeel(attacker, spellNameFromAttacker) end if value == 0 then value = -getEffectvineCombat(cid, attacker, getOffense(attacker)) end -- rever isto.. colocar dano base do xml value = value - (value * (getDefense(cid) / 100)) -- buff deff system, defendendo por % -------- boost system value = (value) + (boost_def * (value * -1)) value = (value - getMasterLevel(attacker)) - (boost_attk * (value * -1)) -------- boost system value = math.ceil(value * -1) if value >= getCreatureHealth(cid) then value = getCreatureHealth(cid) end if value < 0 then value = value * -1 end -------- xp por dano if isSummon(attacker) and not isSummon(cid) then addPlayerDano(cid, getCreatureMaster(attacker), value) end -------- xp por dano if critical then -- X-Critical system value = value * 2 + criticalValue doSendAnimatedText(getThingPos(cid), (value == 0 and "" or value) .. " CTK", COLOR_BURN) else doSendAnimatedText(getThingPos(cid), (value == 0 and "" or value), raceCombat.color) end if returnDamage then local valueToReturn = math.ceil(value * (returnDamageValue / 100)) if valueToReturn > getCreatureHealth(attacker) then valueToReturn = getCreatureHealth(attacker) -1 end if valueToReturn > 1 then value = value - valueToReturn doSendAnimatedText(getThingPos(attacker), (valueToReturn == 0 and "" or valueToReturn), 31) doSendMagicEffect(getThingPos(attacker), 3) doCreatureAddHealth(attacker, -valueToReturn) end end local spellName = getPlayerStorageValue(attacker, 21102) setPlayerStorageValue(attacker, 21102, -1) -- reseta a spellName do pokemon atacante if(isReflect(cid))then -- reflect system igual GBA if spellName ~= -1 then if not isInArray({"Team Claw", "Team Slice"}, spellName) then doSendMagicEffect(getThingPosWithDebug(cid), 135) doSendAnimatedText(getThingPosWithDebug(cid), "REFLECT", COLOR_GRASS) addEvent(docastspell, 100, cid, spellName) if getCreatureName(cid) == "Wobbuffet" then doRemoveCondition(cid, CONDITION_OUTFIT) end setPlayerStorageValue(cid, 21099, -1) --alterado v1.6 setPlayerStorageValue(cid, 21100, 1) setPlayerStorageValue(cid, 21101, attacker) setPlayerStorageValue(cid, 21103, getTableMove(attacker, spellName).f) setPlayerStorageValue(cid, 21104, getCreatureOutfit(attacker).lookType) setPlayerStorageValue(cid, 21105, value) if spellName == "Rollout" then doRolloutReflected(cid, doCorrectString(getCreatureName(attacker))) end return false end end end if value >= getCreatureHealth(cid) then if isSummon(cid) then if isInArray({"Aggron", "Sudowoodo", "Mega Aggron"}, getCreatureName(cid)) then doCreatureAddHealth(cid, -(getCreatureHealth(cid)-1)) docastspell(cid, "Sturdy", 0, 0) if isSummon(cid) then doSendLifePokeToOTC(getCreatureMaster(cid)) end return false end end doKillWildPoke(attacker, cid) return false end --------------Passiva Lifesteal Clobat------------ if isInArray({"crobat", "shiny crobat"}, getCreatureName(attacker):lower())and (combat == 128 or combat == 1) and spellNameFromAttacker == -1 then doCreatureAddHealth(attacker, math.floor(-value)) doSendAnimatedText(getThingPos(attacker), "+ "..math.floor(value), 30) end -------------------------------------------- doCreatureAddHealth(cid, -value) doCastPassive(cid) if isSummon(cid) then -- otclient life doSendLifePokeToOTC(getCreatureMaster(cid)) -- otclient life end end return false end function getMasterLevel(cid) if isSummon(cid) then return getPlayerLevel(getCreatureMaster(cid)) end return 0 end Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  3. ITALOx reagiu a uma resposta no tópico: Erro de Table na Instalação do MyACC !
  4. Resolvi aqui galera ! Duvida Sanada Pode Mover o Tópico Por Gentileza! Solução > Alterei para uma base zerada e criei as tabelas do zero 1 a 1 ?
  5. Alguem Poderia Me Indicar as Querys Necessarias Para Sanar esse problema com essas Tabelas?
  6. Lincoln123123 reagiu a uma resposta no tópico: [System] Auto Loot Perfect
  7. .Qual servidor ou website você utiliza como base? PokeZRing Qual o motivo deste tópico? Erro ao Compilar Está surgindo algum erro? Se sim coloque-o aqui. Helpa Nois Comunidade Postei meu Game.cpp no Anexos quem puder dar essa força tmjuntao REP+ ! Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui. game.cpp @Vodkart Helpa nois Amigo ! Resolvi o Meu Problema Obrigado Por Nada ? Pode Fechar o Tópico .
  8. Lincoln123123 reagiu a uma resposta no tópico: Comando !rank não pega
  9. me disseram que a OTX e mais segura e estável que TFS. até desisti da migração estou tentando com o TFS do Fire Element
  10. Lincoln123123 reagiu a uma resposta no tópico: Anti Divulgação em LUA
  11. a grana nao vai pra BP e sim para o Bank da uma olhada la irmao ! alguem por gentileza fecha o Topico ?
  12. Fala Rapaziada BLz? Olha a gente aqui de novo kk estou migrando meu server para OTX e como sabem os erros surgem aos montes .-. quem puder dar aquela moral agradeço de coração e deixarei o REP+ ! ele da basicamente o mesmo erro em vários arquivos pelo que eu reparei (posso estar errado) mais o erro e o Seguinte ! [3/5/2020 2:30:53] [Error - NpcScript Interface] [3/5/2020 2:30:53] data/npc/scripts/bank.lua [3/5/2020 2:30:53] Description: [3/5/2020 2:30:53] data/npc/scripts/bank.lua:1: attempt to index global 'KeywordHandler' (a nil value) [3/5/2020 2:30:53] [Warning - NpcEvents::NpcEvents] Cannot load script: data/npc/scripts/bank.lua [3/5/2020 2:30:54] [Error - NpcScript Interface] [3/5/2020 2:30:54] data/npc/scripts/blessing.lua [3/5/2020 2:30:54] Description: [3/5/2020 2:30:54] data/npc/scripts/blessing.lua:1: attempt to index global 'KeywordHandler' (a nil value) [3/5/2020 2:30:54] [Warning - NpcEvents::NpcEvents] Cannot load script: data/npc/scripts/blessing.lua [3/5/2020 2:30:54] [Error - NpcScript Interface] [3/5/2020 2:30:54] data/npc/scripts/default.lua [3/5/2020 2:30:54] Description: [3/5/2020 2:30:54] data/npc/scripts/default.lua:1: attempt to index global 'KeywordHandler' (a nil value) [3/5/2020 2:30:54] [Warning - NpcEvents::NpcEvents] Cannot load script: data/npc/scripts/default.lua fora o erro que da quando tento logar o personagem rs [3/5/2020 2:32:15] mysql_real_query(): SELECT `pid`, `sid`, `itemtype`, `count`, `attributes` FROM `player_inboxitems` WHERE `player_id` = 5348 ORDER BY `sid` DESC; - MYSQL ERROR: Table 'dbo.player_inboxitems' doesn't exist (1146) [3/5/2020 2:32:15] [ADM] Wooper has logged in. [3/5/2020 2:32:15] [Error - CreatureScript Interface] [3/5/2020 2:32:15] data/creaturescripts/scripts/login.lua:onLogin [3/5/2020 2:32:15] Description: [3/5/2020 2:32:15] data/lib/050-function.lua:350: attempt to call global 'getCreatureCondition' (a nil value) [3/5/2020 2:32:15] stack traceback: [3/5/2020 2:32:15] data/lib/050-function.lua:350: in function 'isPlayerGhost' [3/5/2020 2:32:15] data/creaturescripts/scripts/login.lua:31: in function <data/creaturescripts/scripts/login.lua:6> [3/5/2020 2:32:15] [ADM] Wooper has logged out. [3/5/2020 2:32:15] mysql_real_query(): DELETE FROM `player_inboxitems` WHERE `player_id` = 5348; - MYSQL ERROR: Table 'dbo.player_inboxitems' doesn't exist (1146) [3/5/2020 2:32:15] mysql_real_query(): DELETE FROM `player_inboxitems` WHERE `player_id` = 5348; - MYSQL ERROR: Table 'dbo.player_inboxitems' doesn't exist (1146) [3/5/2020 2:32:15] mysql_real_query(): DELETE FROM `player_inboxitems` WHERE `player_id` = 5348; - MYSQL ERROR: Table 'dbo.player_inboxitems' doesn't exist (1146) [3/5/2020 2:32:15] Error while saving player: [ADM] Wooper. .Qual o motivo deste tópico? Solução de Duvidas . Está surgindo algum erro? Se sim coloque-o aqui. Vários Seguem Anexo Imagens dos Erros. Estou Migrando Para essa Source [Inicialmente Foi a Melhor que me Recomendarão] Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui. Alguem Me Socorre ?
  13. Lincoln123123 reagiu a uma resposta no tópico: [LAYOUT Gesior] Dbo Global
  14. Testei Funcionou Muito Thank You Podem Fechar o tópico !
  15. Fala Galera do TK Blz ? Quanto Tempo em kkk Estou com um Problema num script de Auto Loot (nao e bem um problema kk) mais estou tentando coloca-lo para que os Free account tbm possam utilizar os 4 Slots alguem da essa moral ? estou utilizando esse sistema.
  16. Fala Galera Beleza? Recentemente Baixei uma Base de DBO Aqui do Fórum (DBO ROX) Tive Alguns Bugs Dos Quais eu Já Concertei Só Que Estou Tendo um Cujo Qual Não Faço a Minima ideia Do Que Pode Estar Causando Esse Hero o Mesmo Erro da Em Vários NPC's . Npc travel - Bank - Default - Scroll - Task - Coin - Hotel - Kame - Tapion - Kagome - Shenron - Vegetto v - Chilled - King v - C8 - Zaiko Uso uma Distro > TheOTXServer (2.1.70 - 1591)
  17. Opa Beleza ? Desculpa Reviver o Topico mais eu to tendo uns erros com o cliente e com o mapa na parte do items otbm aparece o mapa cheio de defeitos sabe faltando chao faltando parede mesmo pondo os items la na basta do rme 8.6 fica com esse bug pode dar uma força ? tem algum rme especial pra ele ? @xMateuss
  18. @Phineasz Eu substitui ele por este mesmas funções mesma configuração só foi arrumado por um amigo ! Download: https://www.mediafire.com/file/98qe7czh4sju9n2/Refine_System_!.rar/file Scan(Virus Total): https://www.virustotal.com/#/file/543ae9880a9462db9f04611b19e82fc9f54400daba0f19bb43f90594be3fa18d/detection Espero ter Ajudado :D Não Esqueça de Mudar o Nome do Item No Items.XML :D (Acho que o Scan foi certo qualquer coisa me avise)
  19. Desculpa Por Reviver o Tópico (já li as regras :D) OBRIGADO IRMÃO REP+ Pela Boa Atitude Redondinho já coloquei até Online :D
  20. Problema Com os Monstros! Acho que Postei no Lugar Certo (Se Tiver Errado Move Pra Mim!) Fala Pessoal Cá De Novo Seu Velho Amigo Lincoln :D Preciso de Ajuda Com um Problema Que Estou Tendo em Meu Servidor ! Os Monstros Começaram a Sumir ao Invés de Morrer e pra piorar não da nenhum erro na Distro Alguém que já tenha tido esse problema e possa me dar um Help ? já tentei de tudo

Informação Importante

Confirmação de Termo