Ir para conteúdo

vini3h

Membro
  • Registro em

  • Última visita

  1. DarkRed reagiu a uma resposta no tópico: DITTO E SHINY DITTO MEMORY !
  2. normalmente esse tipo de erro é pq vc abre o rme com a pasta world dentro do server, se vc pegar a pasta world e colocar na area de trabalho e vc consegue editar sem esse erro ^^, sempre acontecia comigo
  3. qual o nome do pokémon bugado ? se for o pikachu, tudo dentro deste arquivo está correto, deve ter algum outro que ele está adicionado por id
  4. agora procure os arquivos onde o pokémon esta adicionado
  5. Procure um tutorial por aqui mesmo de como adicionar um pokémon, isso normalmente é um erro com os ID'S do object builder ou item editor, tente achar o id da pokeball do pokémon no item editor ou algo do tipo e procure nos arquivos algo relacionado com esse id (recomendo usar notpad++), quando achar poste aqui novamente
  6. em que parte você colocou o id e adicionou o pokemon ???? poste o arquivo que mexeu (passou o id do object builder etc...)
  7. Já resolvi, obrigado o nome do arquivo foi style.css
  8. Alguém Sabe como arrumar um site torto ??? ele está assim :
  9. entendi, se conseguir, da um aviso por favor
  10. e como resolve ? pz vc diz no RME ?
  11. .Qual servidor ou website você utiliza como base? Dxp Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: function onUse(cid, item, frompos, item2, topos) if getCreatureCondition(cid, CONDITION_EXHAUST) or isWatchingTv(cid) then return true end doAddCondition(cid, ordercondition) local pPos = getThingPos(cid) pPos.stackpos = 0 local pos = getThingFromPos(pPos) if isSurf(cid) or isInArray(11756, item2.itemid) or item2.itemid == 11756 or isInArray(11756, pos.itemid) or pos.itemid == 11756 or isInArray({11756, 11675, 11676, 460}, pos.itemid) then return doPlayerSendCancel(cid, MSG_NAO_E_POSSIVEL) end if item2.uid == cid then -- demound poke if isPlayer(item2.uid) and isInDuel(item2.uid) then return doPlayerSendCancel(cid, MSG_NAO_E_POSSIVEL) end if isRiderOrFlyOrSurf(cid) then local ball = getPlayerSlotItem(cid, 8) doGoPokemonInOrder(cid, ball, false) doRemoveCondition(cid, CONDITION_OUTFIT) doPlayerSay(cid, getCreatureNick(getCreatureSummons(cid)[1]) .. orderTalks["downability"].talks[math.random(#orderTalks["downability"].talks)]) doRegainSpeed(cid) setPlayerStorageValue(cid, orderTalks["ride"].storage, -1) setPlayerStorageValue(cid, orderTalks["fly"].storage, -1) doPlayerSendCancel(cid, '12//,show') return true end end --- ride/fly retirada if isRiderOrFlyOrSurf(cid) then return doPlayerSendCancel(cid, MSG_NAO_E_POSSIVEL) end if getPlayerStorageValue(cid, 5500) >= 1 then return doPlayerSendCancel(cid, "desça da bike pra usar order.") end if #getCreatureSummons(cid) == 0 then return doPlayerSendCancel(cid, "Você precisa de um pokemon para usar o order.") end local poke = getCreatureSummons(cid)[1] local pokeName = getCreatureNick(poke) local habilidades = getPokemonSkills(getCreatureName(poke)) if item2.uid == cid then if isFight(cid) then -- Edição pra ficar igual pxg.. nao dar fly ou ride com fight setMoveSummon(cid, false) addEvent(doMovePokeToPos, 5, poke, getThingPos(cid)) return true end if isMega(poke) then return doPlayerSendCancel(cid, "Pokemons megas não tem habilidades de fly/ride.") end if isPlayer(item2.uid) and (isInDuel(item2.uid) or getCreatureSkullType(item2.uid) == SKULL_WHITE or getCreatureSkullType(item2.uid) == 1 or getCreatureSkullType(item2.uid) == 2) then return doPlayerSendCancel(cid, MSG_NAO_E_POSSIVEL) end if not (getThingPos(poke) or getThingPos(item2.uid)) then -- correção de um erro. return true end local dist = getDistanceBetween(getThingPos(poke), getThingPos(item2.uid)) --- ride if string.find(habilidades, "ride") then doPlayerSay(cid, pokeName..orderTalks["ride"].talks[math.random(#orderTalks["ride"].talks)]) if dist == 1 then doUp(cid, poke, "ride") return true end setMoveSummon(cid, false) addEvent(doMovePokeToPos, 200, poke, topos) setPlayerStorageValue(poke, orderTalks["ride"].storage, 1) elseif string.find(habilidades, "fly") or string.find(habilidades, "levitate") then if string.find(habilidades, "levitate") then doPlayerSay(cid, pokeName..orderTalks["levitate"].talks[math.random(#orderTalks["levitate"].talks)]) else doPlayerSay(cid, pokeName..orderTalks["fly"].talks[math.random(#orderTalks["fly"].talks)]) end if dist == 1 then doUp(cid, poke, "fly") return true end setMoveSummon(cid, false) addEvent(doMovePokeToPos, 200, poke, topos) setPlayerStorageValue(poke, orderTalks["fly"].storage, 1) end ----------------- Ditto ----------------- elseif isMonster(item2.uid) and isInArray({"Shiny Ditto", "Ditto"}, getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke")) then if isPlayer(item2.uid) and isInDuel(item2.uid) then return doPlayerSendCancel(cid, MSG_NAO_E_POSSIVEL) end if isPlayerSummon(cid, item2.uid) and isInArray({"Shiny Ditto", "Ditto"}, getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke")) and not isInArray({"Shiny Ditto", "Ditto"}, getItemAttribute(getPlayerSlotItem(cid, 8).uid, "copyName")) then doCopyPokemon(poke, getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke"), true) doPlayerSay(cid, getCreatureNick(getCreatureSummons(cid)[1])..", reverta-se.") return true elseif not isPlayerSummon(cid, item2.uid) and getPokeName(item2.uid) ~= getPokeName(poke) then if isSummon(item2.uid) then if getPlayerSlotItem(getCreatureMaster(item2.uid), 8).uid ~= 0 and isInArray({"Shiny Ditto", "Ditto"}, getItemAttribute(getPlayerSlotItem(getCreatureMaster(item2.uid), 8).uid, "poke")) then doSendMsg(cid, "Você não pode fazer uma copia de um outro ditto.") return true end end local thingName = doCorrectString(getCreatureName(item2.uid)) if pokes[thingName].level > getPlayerLevel(cid) then doSendMsg(cid, "Você não tem level para copiar este pokémon.") return true end doCopyPokemon(poke, thingName, true) return true end ----------------- Mover ----------------- elseif not isCreature(item2.uid) then setMoveSummon(cid, false) doEreaseUsingOrder(poke) local oldTopos = getThingPos(item2.uid) local oldTopos_2 = topos local x, y = 0, 0 if (topos.x - getThingPos(poke).x) > 0 then topos.x = topos.x +1 elseif (topos.x - getThingPos(poke).x) < 0 then topos.x = topos.x -1 end if (topos.y - getThingPos(poke).y) > 0 then topos.y = topos.y +1 elseif (topos.y - getThingPos(poke).y) < 0 then topos.y = topos.y -1 end setPlayerStorageValue(poke, 505, getThingPos(cid).x) setPlayerStorageValue(poke, 506, getThingPos(cid).y) addEvent(doMovePokeToPos, 5, poke, topos) doWalkAgain(poke) ----- Edições dig/cut/rock smash/headbutt/blink local buracos = {468, 481, 483} local arvores = {2767} local pedras = {1285} local headbutt = {2707} if item2.uid == 0 then return true end local pos = getThingPos(item2.uid) local dist = getDistanceBetween(getThingPos(poke), getThingPos(item2.uid)) if not isFight(cid) then -- Edição pra ficar igual pxg.. nao dar fly ou ride com fight if isInArray(buracos, item2.itemid) then ----------------------- DIG if not string.find(habilidades, "dig") then return doPlayerSendCancel(cid, "Esse pokemon não tem a habilidade de cavar.") end doMarkedPos(poke, getThingPos(item2.uid)) doEreaseUsingOrder(cid) setPlayerStorageValue(poke, orderTalks["dig"].storage, 1) setMoveSummon(cid, false) if dist == 1 then recheck(poke, "cut", getThingPos(item2.uid)) else addEvent(doMovePokeToPos, 200, poke, topos) end doPlayerSay(cid, getCreatureNick(poke)..orderTalks["dig"].talks[math.random(#orderTalks["dig"].talks)]) return true elseif isInArray(arvores, item2.itemid) then ----------------------- CUT if not string.find(habilidades, "cut") then return doPlayerSendCancel(cid, "Esse pokemon não tem a habilidade de cortar.") end doMarkedPos(poke, getThingPos(item2.uid)) doEreaseUsingOrder(cid) setPlayerStorageValue(poke, orderTalks["cut"].storage, 1) setMoveSummon(cid, false) if dist == 1 then addEvent(recheck, (1000 - (2.3*getCreatureSpeed(poke))) * dist, poke, "cut", getThingPos(item2.uid)) else addEvent(doMovePokeToPos, 200, poke, topos) end doPlayerSay(cid, getCreatureNick(poke)..orderTalks["cut"].talks[math.random(#orderTalks["cut"].talks)]) return true elseif isInArray(pedras, item2.itemid) then ----------------------- ROCK if not string.find(habilidades, "rock smash") then return doPlayerSendCancel(cid, "Esse pokemon não tem a habilidade de quebrar.") end local pos = getThingPos(item2.uid) doMarkedPos(poke, getThingPos(item2.uid)) doEreaseUsingOrder(cid) setPlayerStorageValue(poke, orderTalks["rock"].storage, 1) setMoveSummon(cid, false) if dist == 1 then addEvent(recheck, (1000 - (2.3*getCreatureSpeed(poke))) * dist, poke, "rock", getThingPos(item2.uid)) else addEvent(doMovePokeToPos, 200, poke, topos) end doPlayerSay(cid, getCreatureNick(poke)..orderTalks["rock"].talks[math.random(#orderTalks["rock"].talks)]) return true elseif isInArray(headbutt, item2.itemid) then ----------------------- HEAD if not string.find(habilidades, "headbutt") then return doPlayerSendCancel(cid, "Esse pokemon nao tem a habilidade de balancar Arvores.") end local pos = getThingPos(item2.uid) doMarkedPos(poke, getThingPos(item2.uid)) doEreaseUsingOrder(cid) setPlayerStorageValue(poke, orderTalks["headbutt"].storage, 1) setMoveSummon(cid, false) if dist <= 1 then addEvent(recheck, (1000 - (2.3*getCreatureSpeed(poke))) * dist, poke, "headbutt", getThingPos(item2.uid)) else addEvent(doMovePokeToPos, 200, poke, topos) end doPlayerSay(cid, getCreatureNick(poke)..orderTalks["headbutt"].talks[math.random(#orderTalks["headbutt"].talks)]) return true end end if string.find(habilidades, "blink") then if os.time() < getPlayerStorageValue(poke, storages.blink) and not isGod(cid) then doPlayerSay(cid, getCreatureNick(poke)..orderTalks["move"].talks[math.random(#orderTalks["move"].talks)]) return true elseif (getCreatureSkullType(cid) == SKULL_WHITE or isInDuel(cid)) and getTileInfo(getThingPos(item2.uid)).protection then doSendMsg(cid, "Você não pode usar blink em protection zone quando está em duelo.") return true end setPlayerStorageValue(poke, storages.blink, os.time()+7) doSendMagicEffect(getThingPos(poke), 134) doTeleportThing(poke, getThingPos(item2.uid), false) doSendMagicEffect(getThingPos(poke), 134) doPlayerSay(cid, getCreatureNick(poke)..orderTalks["blink"].talks[math.random(#orderTalks["blink"].talks)]) return true end doPlayerSay(cid, getCreatureNick(poke)..orderTalks["move"].talks[math.random(#orderTalks["move"].talks)]) end return true end function isGhost(cid) local hab = getPokemonSkills(string.lower(getPokeName(cid))) if string.find(hab, "ghost") then return true end return false end
  12. creio que a dxp, pois n tenho systema de level ?
  13. Bug nos Status do pokemon Base: DXP Não consigo ajustar a força dos pokemons (adequadamente) Usando o charizard de exemplo, o magma storm dele da 6k de dano (o hit basico ja diminui pra 200 e pouco) ['Charizard'] = {offense = 2, defense = 9, specialattack = 7, life = 3700, vitality = 8, agility = 210, exp = 210, level = 80, wildLvl = 70, type = 'fire', type2 = 'flying'}, Nota: ja abaixei o specialattack pra 0, pra 1, e nada .... o attack continua dando 1k pra cima spells dele : ["Charizard"] = {move1 = {name = "Ember", level = 80, cd = 10, dist = 10, target = 1, f = 42, t = "fire"}, move2 = {name = "Flamethrower", level = 80, cd = 20, dist = 1, target = 0, f = 80, t = "fire"}, move3 = {name = "Fireball", level = 80, cd = 25, dist = 10, target = 1, f = 75, t = "fire"}, move4 = {name = "Fire Fang", level = 80, cd = 20, dist = 1, target = 1, f = 65, t = "fire"}, move5 = {name = "Raging Blast", level = 80, cd = 35, dist = 1, target = 0, f = 100, t = "fire"}, move6 = {name = "Fire Blast", level = 80, cd = 60, dist = 1, target = 0, f = 115, t = "fire"}, move7 = {name = "Air Slash", level = 83, cd = 40, dist = 1, target = 0, f = 100, t = "flying"}, move8 = {name = "Wing Attack", level = 85, cd = 35, dist = 1, target = 0, f = 75, t = "flying"}, move9 = {name = "Magma Storm", level = 90, cd = 90, dist = 1, target = 0, f = 150, t = "fire"}, move10 = {name = "Scary Face", level = 82, cd = 50, dist = 1, target = 0, f = 0, t = "ghost"}, move11 = {name = "Rage", level = 80, cd = 40, dist = 1, target = 0, f = 0, t = "dragon"}, move12 = {name = "Mega - Charizard", level = 1, cd = 0, dist = 10, target = 0, f = 50, t = "ground", mega = 1}, }, Nota2:Ja abaixei o f pra 0 e nada também
  14. <item id="17613" article="a" name="portrait"> <attribute key="weight" value="0" /> <attribute key="slotType" value="legs" /> </item> <item id="17614" article="a" name="Icone."> <attribute value="1" key="ispokeball"/> <attribute key="weight" value="100" /> <attribute key="slotType" value="feet" /> </item> <item id="17615" article="a" name="Icone using"> <attribute value="1" key="ispokeball"/> <attribute key="weight" value="100" /> <attribute key="slotType" value="feet" /> </item> <item id="17616" article="a" name="Icone dead"> <attribute value="1" key="ispokeball"/> <attribute key="weight" value="100" /> <attribute key="slotType" value="feet" /> </item> <item id="17617 " article="a" name="fainted lucario"> <attribute key="containerSize" value="10" /> <attribute key="decayTo" value="0" /> <attribute key="duration" value="300" /> </item> <item id="17618" article="a" name="portrait"> <attribute key="weight" value="0" /> <attribute key="slotType" value="legs" /> </item> <item id="17619" article="a" name="Icone."> <attribute value="1" key="ispokeball"/> <attribute key="weight" value="100" /> <attribute key="slotType" value="feet" /> </item> <item id="17620" article="a" name="Icone using"> <attribute value="1" key="ispokeball"/> <attribute key="weight" value="100" /> <attribute key="slotType" value="feet" /> </item> <item id="17621" article="a" name="Icone dead"> <attribute value="1" key="ispokeball"/> <attribute key="weight" value="100" /> <attribute key="slotType" value="feet" /> </item> <item id="17622 " article="a" name="fainted shiny lucario"> <attribute key="containerSize" value="10" /> <attribute key="decayTo" value="0" /> <attribute key="duration" value="300" /> </item> <item id="17623" article="a" name="Addon Box"> <attribute key="description" value="Use este item para ganhar um addon misterioso." /> </item> <item id="17624" article="a" name="Lua Sangrenta"/> <item id="17625" article="a" name="Manto de Chakra"/> <item id="17626" article="a" name="Flash"/> <item id="17627" article="a" name="Kyuubi"/> <item id="17628" article="a" name="Ditto Memory"> <attribute key="description" value="Use em um Shiny Ditto para ativar sua memoria." /> </item> <item id="17630" article="a" name="Magic Kit"/> <item id="17631" article="a" name="Pink Bow"/> <item id="17632" article="a" name="Yellow Bow"/> <item id="17633" article="a" name="White Scarf"/> <item id="17634" article="a" name="Pitbull Collar"/> <item id="17635" article="a" name="Battle Armor"/> <item id="17636" article="a" name="Corrupted"/> <item id="17638" article="a" name="Pinsirite"/> <item id="17639" article="a" name="Heracronite"/> <item id="17640" article="a" name="Gyaradosite"/> <item id="17649" article="a" name="Sword Ninja Pack"/> <item id="17650" article="a" name="Sai Ninja Pack"/> <item id="17651" article="a" name="Nunchaku Ninja Pack"/> <item id="17652" article="a" name="Staff Ninja Pack"/> <item id="17653" article="a" name="Scar Makeup"/> <item id="17654" article="a" name="Red Cap"/> <item id="17655" article="a" name="Green Beret"/> <item id="17656" article="a" name="Nurse Costume"/> <item id="17657" article="a" name="Witch Costume"/> esses são os items adicionados nos items.xml já no item editor tem alguns que não adicionei ao items.xml Do id 17613 até o 17672 são itens que existe no tibia editor porém que não estão adicionados nos items.xml (APENAS ALGUNS (QUE LISTEI A CIMA))
  15. Sim Há alguma solução ? @Daniel

Informação Importante

Confirmação de Termo