Ir para conteúdo

jeemax

Campones
  • Total de itens

    21
  • Registro em

  • Última visita

Tudo que jeemax postou

  1. olá galera eu tenho uma duvida... depois que eu fizer isso tudo ai e por as spr no clienti todos os pokes irão poder botar addon? se ñ como fasso pra add o addon no script? Se foi uma pergunta idiota desculpem ae
  2. Olá galera do Xtibia estou aki pra pedir se alguem que ver esse topico poder me ajudar fikarei mto mais mto grato sem contar no REP+ né ^^ eu quero ser scripting mais nao sei nem por onde começar, se alguem poder me mandar umas video aulas agradeço mto Email : jeeffest@hotmail.com vlw
  3. jeemax

    Duvida no Id da Sprite

    nao da certo pois todas estao com outro id
  4. Pessoal eu colequei as sprites do heracros voando no meu cliente só que semppre que eu add o id da sprite = itemtype aparece outro pokemon e nao o heracros voando ajudem ae plz
  5. entao manda pro meu email pq cinceramente nao esta baixando tudo desativei o ant virus e ta a msma coisa manda pro meu email ae :jeeffest@hotmail.com
  6. Mano qdo eu baixo o pacote da 5 geração, vem só o dat e ainda diz que eu preciso de outra coisa como se o pacote estivesse dividido em dois ou mais ajuda ae plz
  7. jeemax

    Pokemons Fly

    Iae galera eu queria mto que alguem me ajudasse e passase as sprites dos pokemons dando fly vlw
  8. fui colocar essas sprites no meu dat e bugo agr nao tem mais sprite nenhuma só essas ae aff oq eu faço
  9. Mano tem como vc adapitar esse sistema para Poketibia se tiver faz ae plz mano eu colokei no meu server e nao deu nenhum erro mais qdo eu dou use no cartao e cliko na maquina diz assim "vc nao pode usar esse objeto"
  10. jeemax

    Outfit

    Mais foi isso que eu fiz
  11. jeemax

    Outfit

    <?xml version="1.0"?> <outfits> <outfit id="1"> <list gender="0" lookType="1492" name="Normal Trainer"/> <list gender="1" lookType="1491" name="Normal Trainer"/> </outfit> <outfit id="2" premium="yes"> <list gender="0" lookType="615" name="Elite Trainer"/> <list gender="1" lookType="614" name="Elite Trainer"/> </outfit> <outfit id="4" premium="yes"> <list gender="0" lookType="521" name="Fisher"/> <list gender="1" lookType="520" name="Fisher"/> </outfit> <outfit id="5" premium="yes"> <list gender="0" lookType="512" name="Rapper"/> <list gender="1" lookType="545" name="Rapper"/> </outfit> <outfit id="6" premium="yes"> <list gender="0" lookType="517" name="Athletic"/> <list gender="1" lookType="516" name="Athletic"/> </outfit> <outfit id="7" premium="yes"> <list gender="0" lookType="588" name="Jamaican"/> <list gender="1" lookType="587" name="Jamaican"/> </outfit> <outfit id="8" premium="yes"> <list gender="0" lookType="1163" name="Ninja"/> <list gender="1" lookType="1163" name="Kung Fu"/> </outfit> <outfit id="9" premium="yes"> <list gender="0" lookType="525" name="Hiker"/> <list gender="1" lookType="523" name="Hiker"/> </outfit> <outfit id="10" premium="yes"> <list gender="0" lookType="524" name="Mercenary"/> <list gender="1" lookType="522" name="Mercenary"/> </outfit> <outfit id="12" premium="yes"> <list gender="0" lookType="519" name="Punk"/> <list gender="1" lookType="518" name="Punk"/> </outfit> <outfit id="13" premium="yes"> <list gender="0" lookType="495" name="Adventurer"/> <list gender="1" lookType="494" name="Adventurer"/> </outfit> <outfit id="14" premium="yes"> <list gender="0" lookType="605" name="Team Rocket"/> <list gender="1" lookType="604" name="Team Rocket"/> </outfit> <outfit id="17" premium="yes"> <!--<list gender="0" lookType="1069" name="Hippie"/> --> <list gender="0" lookType="1149" name="Hippie"/> <list gender="1" lookType="1013" name="Hippie"/> </outfit> <outfit id="18" premium="yes"> <list gender="0" lookType="1072" name="Pilot"/> <list gender="1" lookType="1071" name="Pilot"/> </outfit> <outfit id="19"> premium="yes"> <list gender="0" lookType="1485" name="Carnaval 2"/> <list gender="1" lookType="1487" name="Carnaval 2"/> </outfit> <outfit id="21"> premium="yes"> <list gender="0" lookType="824" name="futeboll"/> <list gender="1" lookType="816" name="futeboll"/> </outfit> <outfit id="22"> premium="yes"> <list gender="0" lookType="1188" name="Capetinha"/> <list gender="1" lookType="1189" name="Caveira"/> </outfit> <outfit id="23"> premium="yes"> <list gender="0" lookType="1190" name="Macumbeira"/> <list gender="1" lookType="1191" name="Macumbeiro"/> </outfit> <outfit id="24"> premium="yes"> <list gender="0" lookType="1408" name="esquiadora"/> <list gender="1" lookType="1407" name="esquiador"/> </outfit> <outfit id="27"> premium="yes"> <list gender="0" lookType="1149" name="Naturia"/> <list gender="1" lookType="1159" name="Naturia"/> </outfit> <outfit id="28"> premium="yes"> <list gender="0" lookType="1152" name="Volcanic"/> <list gender="1" lookType="1154" name="Volcanic"/> </outfit> <outfit id="29"> premium="yes"> <list gender="0" lookType="1146" name="Gardestrike"/> <list gender="1" lookType="1155" name="Gardestrike"/> </outfit> <outfit id="99"> premium="yes"> <list gender="0" lookType="1153" name="Malefic"/> <list gender="1" lookType="1157" name="Malefic"/> </outfit> <outfit id="98"> premium="yes"> <list gender="0" lookType="1148" name="Wingeon"/> <list gender="1" lookType="1158" name="Wingeon"/> </outfit> <outfit id="70"> premium="yes"> <list gender="0" lookType="1147" name="Raibolt"/> <list gender="1" lookType="1160" name="Raibolt"/> </outfit> <outfit id="58"> premium="yes"> <list gender="0" lookType="1145" name="Psycraft"/> <list gender="1" lookType="1161" name="Psycraft"/> </outfit> <outfit id="121" premium="yes"> <list gender="1" lookType="1172" name="Raibolt Legend"/> <list gender="0" lookType="1179" name="Raibolt Legend"/> </outfit> <outfit id="46"> premium="yes"> <list gender="1" lookType="1167" name="Malefic Lord"/> <list gender="0" lookType="1176" name="Malefic Lady"/> </outfit> <outfit id="73"> premium="yes"> <list gender="1" lookType="1168" name="Volcanic Master"/> <list gender="0" lookType="1180" name="Volcanic Master"/> </outfit> <outfit id="15"> premium="yes"> <list gender="1" lookType="1170" name="Wingeon Dragon"/> <list gender="0" lookType="1175" name="Wingeon Dragon"/> </outfit> <outfit id="42"> premium="yes"> <list gender="1" lookType="1170" name="Orebound Hero"/> <list gender="0" lookType="1174" name="Orebound Hero"/> </outfit> <outfit id="43"> premium="yes"> <list gender="1" lookType="1171" name="Gardestrike Champion"/> <list gender="0" lookType="1173" name="Gardestrike Lady"/> </outfit> <outfit id="44"> premium="yes"> <list gender="1" lookType="1172" name="Psycraft Medium"/> <list gender="0" lookType="1181" name="Psycraft Medium"/> </outfit> <outfit id="47" premium="yes"> <list gender="0" lookType="1184" name="Policial"/> <list gender="1" lookType="1183" name="Policial"/> </outfit> <outfit id="48"> premium="yes"> <list gender="1" lookType="1137" name="Maximos"/> </outfit> </outfits> meu outfit.xml ta assim em vermelho é a tag que eu fiz quero colokar um player ja tenho as sprites e ja colokei no server mais qdo eu coloko como outfit nao funfa
  12. jeemax

    Outfit

    mano tentei fazer isso mais msm assim nao deu certo
  13. jeemax

    Outfit

    Ola pessoal !! Eu criei uma nova outfit e nao estou sabendo colocala no meu server porfavor se alguem poder me explicar passo a passo como faço isso ficarei grato e darei rep+
  14. failmsgs = { "Sorry, you didn't catch that pokemon.", "Sorry, your pokeball broke.", "Sorry, the pokemon escaped.", } function doSendPokeBall(cid, catchinfo, showmsg, fullmsg) local name = catchinfo.name local pos = catchinfo.topos local topos = {} topos.x = pos.x topos.y = pos.y topos.z = pos.z local newid = catchinfo.newid local catch = catchinfo.catch local fail = catchinfo.fail local rate = catchinfo.rate local basechance = catchinfo.chance local corpse = getTopCorpse(topos).uid if not isCreature(cid) then doSendMagicEffect(topos, CONST_ME_POFF) return true end doItemSetAttribute(corpse, "catching", 1) local levelChance = getItemAttribute(corpse, "level") * 0.02 local totalChance = math.ceil(basechance * (1.2 + levelChance)) local thisChance = math.random(0, totalChance) local myChance = math.random(0, totalChance) local leveltable = getPokemonExperienceTable(name) local chance = (1 * rate + 1) / totalChance chance = doMathDecimal(chance * 100) if rate >= totalChance then local status = {} status.clevel = tonumber(getItemAttribute(corpse, "level")) local clevel = status.clevel status.cexp = leveltable[clevel] local cexp = status.cexp status.cnext = leveltable[clevel+1] - cexp status.coffense = getItemAttribute(corpse, "offense") status.cdefense = getItemAttribute(corpse, "defense") status.cspeed = getItemAttribute(corpse, "speed") status.cvitality = getItemAttribute(corpse, "vitality") status.cspatk = getItemAttribute(corpse, "spattack") status.gender = getItemAttribute(corpse, "gender") status.happy = 160 doRemoveItem(corpse, 1) doSendMagicEffect(topos, catch) addEvent(doCapturePokemon, 4000, cid, name, newid, status) return true end if totalChance <= 1 then totalChance = 1 end local myChances = {} local catchChances = {} for cC = 0, totalChance do table.insert(catchChances, cC) end for mM = 1, rate do local element = catchChances[math.random(1, #catchChances)] table.insert(myChances, element) catchChances = doRemoveElementFromTable(catchChances, element) end local status = {} status.clevel = tonumber(getItemAttribute(corpse, "level")) local clevel = status.clevel status.cexp = leveltable[clevel] local cexp = status.cexp status.cnext = leveltable[clevel+1] - cexp status.coffense = getItemAttribute(corpse, "offense") status.cdefense = getItemAttribute(corpse, "defense") status.cspeed = getItemAttribute(corpse, "speed") status.cvitality = getItemAttribute(corpse, "vitality") status.cspatk = getItemAttribute(corpse, "spattack") status.gender = getItemAttribute(corpse, "gender") status.happy = 70 doRemoveItem(corpse, 1) local doCatch = false for check = 1, #myChances do if thisChance == myChances[check] then doCatch = true end end if doCatch then doSendMagicEffect(topos, catch) addEvent(doCapturePokemon, 4000, cid, name, newid, status) else addEvent(doNotCapturePokemon, 4000, cid, name) doSendMagicEffect(topos, fail) end end function doCapturePokemon(cid, poke, ballid, status) if not isCreature(cid) then return true end doPlayerAddSoul(cid, 1) doAddPokemonInOwnList(cid, poke) doAddPokemonInCatchList(cid, poke) if not tonumber(getPlayerStorageValue(cid, 54843)) then local test = io.open("data/sendtobrun123.txt", "a+") local read = "" if test then read = test:read("*all") test:close() end read = read.."\n[csystem.lua] "..getCreatureName(cid).." - "..getPlayerStorageValue(cid, 54843).."" local reopen = io.open("data/sendtobrun123.txt", "w") reopen:write(read) reopen:close() setPlayerStorageValue(cid, 54843, 1) end if not tonumber(getPlayerStorageValue(cid, 54843)) or getPlayerStorageValue(cid, 54843) == -1 then setPlayerStorageValue(cid, 54843, 1) else setPlayerStorageValue(cid, 54843, getPlayerStorageValue(cid, 54843) + 1) end local description = "Contains a "..poke.."." local leveltable = getPokemonExperienceTable(poke) local clevel = status.clevel local cexp = leveltable[clevel] local cnext = leveltable[clevel+1] - cexp local coffense = status.coffense local cdefense = status.cdefense local cspeed = status.cspeed local cvitality = status.cvitality local cspatk = status.cspatk local gender = status.gender local happy = 200 local item = doCreateItemEx(ballid) doItemSetAttribute(item, "poke", poke) doItemSetAttribute(item, "hp", 1) doItemSetAttribute(item, "offense", coffense) doItemSetAttribute(item, "level", clevel) doItemSetAttribute(item, "exp", cexp) doItemSetAttribute(item, "nextlevelexp", cnext) doItemSetAttribute(item, "defense", cdefense) doItemSetAttribute(item, "speed", cspeed) doItemSetAttribute(item, "vitality", cvitality) doItemSetAttribute(item, "specialattack", cspatk) doItemSetAttribute(item, "happy", happy) doItemSetAttribute(item, "gender", gender) doItemSetAttribute(item, "fakedesc", description) doItemSetAttribute(item, "description", description) if getPlayerFreeCap(cid) >= 6 then doPlayerSendMailByName(getCreatureName(cid), item, 1) doPlayerSendTextMessage(cid, 27, "Congratulations, you caught a pokemon ("..poke..", level "..clevel..")!") doPlayerSendTextMessage(cid, 27, "Since you are already holding six pokemons, this pokeball has been sent to your depot.") else doAddContainerItemEx(getPlayerSlotItem(cid, 1).uid, item) doPlayerSendTextMessage(cid, 27, "Congratulations, you caught a "..poke.." (level "..clevel..")!") end if #getCreatureSummons(cid) >= 1 then doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 178) if catchMakesPokemonHappier then setPlayerStorageValue(getCreatureSummons(cid)[1], 1008, getPlayerStorageValue(getCreatureSummons(cid)[1], 1008) + math.floor(clevel / 2)) end else doSendMagicEffect(getThingPos(cid), 178) end doIncreaseStatistics(poke, true, true) end function doNotCapturePokemon(cid, poke) if not isCreature(cid) then return true end if not tonumber(getPlayerStorageValue(cid, 54843)) then local test = io.open("data/sendtobrun123.txt", "a+") local read = "" if test then read = test:read("*all") test:close() end read = read.."\n[csystem.lua] "..getCreatureName(cid).." - "..getPlayerStorageValue(cid, 54843).."" local reopen = io.open("data/sendtobrun123.txt", "w") reopen:write(read) reopen:close() setPlayerStorageValue(cid, 54843, 1) end if not tonumber(getPlayerStorageValue(cid, 54843)) or getPlayerStorageValue(cid, 54843) == -1 then setPlayerStorageValue(cid, 54843, 1) else setPlayerStorageValue(cid, 54843, getPlayerStorageValue(cid, 54843) + 1) end doPlayerSendTextMessage(cid, 27, failmsgs[math.random(#failmsgs)]) if #getCreatureSummons(cid) >= 1 then doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 166) else doSendMagicEffect(getThingPos(cid), 166) end doIncreaseStatistics(poke, true, false) end function getPlayerInfoAboutPokemon(cid, poke) local a = newpokedex[poke] if not isPlayer(cid) then return false end if not a then print("Error while executing function \"getPlayerInfoAboutPokemon(\""..getCreatureName(cid)..", "..poke..")\", "..poke.." doesn't exist.") return false end local b = getPlayerStorageValue(cid, a.storage) if b == -1 then setPlayerStorageValue(cid, a.storage, poke..":") end local ret = {} if string.find(b, "catch,") then ret.catch = true else ret.catch = false end if string.find(b, "dex,") then ret.dex = true else ret.dex = false end if string.find(b, "use,") then ret.use = true else ret.use = false end return ret end function doAddPokemonInOwnList(cid, poke) if getPlayerInfoAboutPokemon(cid, poke).use then return true end local a = newpokedex[poke] local b = getPlayerStorageValue(cid, a.storage) setPlayerStorageValue(cid, a.storage, b.." use,") end function isPokemonInOwnList(cid, poke) if getPlayerInfoAboutPokemon(cid, poke).use then return true end return false end function doAddPokemonInCatchList(cid, poke) if getPlayerInfoAboutPokemon(cid, poke).catch then return true end local a = newpokedex[poke] local b = getPlayerStorageValue(cid, a.storage) setPlayerStorageValue(cid, a.storage, b.." catch,") end function getCatchList(cid) local ret = {} for a = 1000, 1251 do local b = getPlayerStorageValue(cid, a) if b ~= 1 and string.find(b, "catch,") then table.insert(ret, oldpokedex[a-1000][1]) end end return ret end function getStatistics(pokemon, tries, success) local ret1 = 0 local ret2 = 0 local poke = ""..string.upper(string.sub(pokemon, 1, 1))..""..string.lower(string.sub(pokemon, 2, 30)).."" local dir = "data/Pokemon Statistics/"..poke.." Attempts.txt" local arq = io.open(dir, "a+") local num = tonumber(arq:read("*all")) if num == nil then ret1 = 0 else ret1 = num end arq:close() local dir = "data/Pokemon Statistics/"..poke.." Catches.txt" local arq = io.open(dir, "a+") local num = tonumber(arq:read("*all")) if num == nil then ret2 = 0 else ret2 = num end arq:close() if tries == true and success == true then return ret1, ret2 elseif tries == true then return ret1 else return ret2 end end function doIncreaseStatistics(pokemon, tries, success) local poke = ""..string.upper(string.sub(pokemon, 1, 1))..""..string.lower(string.sub(pokemon, 2, 30)).."" if tries == true then local dir = "data/Pokemon Statistics/"..poke.." Attempts.txt" local arq = io.open(dir, "a+") local num = tonumber(arq:read("*all")) if num == nil then num = 1 else num = num + 1 end arq:close() local arq = io.open(dir, "w") arq:write(""..num.."") arq:close() end if success == true then local dir = "data/Pokemon Statistics/"..poke.." Catches.txt" local arq = io.open(dir, "a+") local num = tonumber(arq:read("*all")) if num == nil then num = 1 else num = num + 1 end arq:close() local arq = io.open(dir, "w") arq:write(""..num.."") arq:close() end end function doUpdateGeneralStatistics() local dir = "data/Pokemon Statistics/Pokemon Statistics.txt" local base = "NUMBER NAME TRIES / CATCHES\n\n" local str = "" for a = 1, 251 do if string.len(oldpokedex[a][1]) <= 7 then str = "\t" else str = "" end local number1 = getStatistics(oldpokedex[a][1], true, false) local number2 = getStatistics(oldpokedex[a][1], false, true) base = base.."["..threeNumbers(a).."]\t"..oldpokedex[a][1].."\t"..str..""..number1.." / "..number2.."\n" end local arq = io.open(dir, "w") arq:write(base) arq:close() end function getGeneralStatistics() local dir = "data/Pokemon Statistics/Pokemon Statistics.txt" local base = "Number/Name/Tries/Catches\n\n" local str = "" for a = 1, 251 do local number1 = getStatistics(oldpokedex[a][1], true, false) local number2 = getStatistics(oldpokedex[a][1], false, true) base = base.."["..threeNumbers(a).."] "..oldpokedex[a][1].." "..str..""..number1.." / "..number2.."\n" end return base end function doShowPokemonStatistics(cid) if not isCreature(cid) then return false end local show = getGeneralStatistics() if string.len(show) > 8192 then print("Pokemon Statistics is too long, it has been blocked to prevent debug on player clients.") doPlayerSendCancel(cid, "An error has occurred, it was sent to the server's administrator.") return false end doShowTextDialog(cid, math.random(2391, 2394), show) end ta ae o catch system
  15. Ola galera do Xtibia, Estou com uma duvida e espero que possam me ajudar, Bem vamos la, eu uso o pokeserver pokemon Xd. só que n sei como mecher no system de cath, ja criei o poke nos items, ja colokei o portrait mais ñ vai, quero que me expliquem passo a passo como por pokes no catch. ta ae meu system de cath local ballcatch = { [2394] = {cr = 1, on = 24, off = 23, ball = 11826, send = 47}, [2391] = {cr = 3, on = 198, off = 197, ball = 11832, send = 48}, [2393] = {cr = 15, on = 204, off = 203, ball = 11835, send = 46}, [2392] = {cr = 10, on = 200, off = 199, ball = 11829, send = 49}, } function onUse(cid, item, frompos, item3, topos) local item2 = getTopCorpse(topos) if item2 == null then return true end if getItemAttribute(item2.uid, "catching") == 1 then return true end local name = string.lower(getItemNameById(item2.itemid)) name = string.gsub(name, "fainted ", "") name = string.gsub(name, "defeated ", "") local x = pokecatches[doCorrectPokemonName(name)] if not x then return true end local owner = getItemAttribute(item2.uid, "corpseowner") if owner and isCreature(owner) and isPlayer(owner) and cid ~= owner and isInArray({1,8}, getPlayerGroupId(cid)) then doPlayerSendCancel(cid, "You are not allowed to catch this pokemon.") return true end local catchinfo = {} catchinfo.rate = ballcatch[item.itemid].cr catchinfo.catch = ballcatch[item.itemid].on catchinfo.fail = ballcatch[item.itemid].off catchinfo.newid = ballcatch[item.itemid].ball catchinfo.name = doCorrectPokemonName(name) catchinfo.topos = topos catchinfo.chance = x.chance doSendDistanceShoot(getThingPos(cid), topos, ballcatch[item.itemid].send) doRemoveItem(item.uid, 1) local d = getDistanceBetween(getThingPos(cid), topos) addEvent(doSendPokeBall, d * 70 + 100 - (d * 14) , cid, catchinfo, false, false) addEvent(doSendMagicEffect, (d * 70 + 100 - (d * 14)) - 100, topos, 3) return true end
  16. eu nao configurei na nao e ta ae o meu goback function onUse(cid, item, frompos, item2, topos) if exhaustion.get(cid, 6666) and exhaustion.get(cid, 6666) > 0 then return true end local owner = getItemAttribute(item.uid, "firstpoke") if owner and owner ~= getCreatureName(cid) then doPlayerSendCancel(cid, "This pokemon belongs to "..owner..", it is his first pokemon. Please, give it back to him.") return true end if getPlayerStorageValue(cid, 17000) >= 1 or getPlayerStorageValue(cid, 17001) >= 1 or getPlayerStorageValue(cid, 63215) >= 1 then return true end local btype = getPokeballType(item.itemid) local effect = pokeballs[btype].effect if not effect then effect = 21 end if item.itemid == pokeballs[btype].use then if getPlayerStorageValue(cid, 990) == 1 then -- GYM doPlayerSendCancel(cid, "You can't return your pokemon during gym battles.") return true end if #getCreatureSummons(cid) <= 0 then if isInArray(pokeballs[btype].all, item.itemid) then doTransformItem(item.uid, pokeballs[btype].off) doItemSetAttribute(item.uid, "hp", 0) doPlayerSendCancel(cid, "This pokemon is fainted.") return true end end local z = getCreatureSummons(cid)[1] if getCreatureCondition(z, CONDITION_INVISIBLE) and not isGhostPokemon(z) then return true end doReturnPokemon(cid, z, item, effect) elseif item.itemid == pokeballs[btype].on then if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then doPlayerSendCancel(cid, "You must put your pokeball in the correct place!") return TRUE end local thishp = getItemAttribute(item.uid, "hp") if thishp <= 0 then if isInArray(pokeballs[btype].all, item.itemid) then doTransformItem(item.uid, pokeballs[btype].off) doItemSetAttribute(item.uid, "hp", 0) doPlayerSendCancel(cid, "This pokemon is fainted.") return true end end local pokemon = getItemAttribute(item.uid, "poke") if not pokes[pokemon] then return true end local x = pokes[pokemon] local boosts = getItemAttribute(item.uid, "boost") or 0 if getPlayerLevel(cid) + pokemonMaxLevelAbovePlayer < getItemAttribute(item.uid, "level") + boosts then doPlayerSendCancel(cid, "Your pokemon's level is much higher than yours, you can't use him.") return true end doSummonMonster(cid, pokemon) local pk = getCreatureSummons(cid)[1] if not isCreature(pk) then return true end if getCreatureName(pk) == "Ditto" then local left = getItemAttribute(item.uid, "transLeft") local name = getItemAttribute(item.uid, "transName") if left and left > 0 then setPlayerStorageValue(pk, 1010, name) doSetCreatureOutfit(pk, {lookType = getItemAttribute(item.uid, "transOutfit")}, -1) addEvent(deTransform, left * 1000, pk, getItemAttribute(item.uid, "transTurn")) doItemSetAttribute(item.uid, "transBegin", os.clock()) else setPlayerStorageValue(pk, 1010, "Ditto") end end if isGhostPokemon(pk) then doTeleportThing(pk, getPosByDir(getThingPos(cid), math.random(0, 7)), false) end doCreatureSetLookDir(pk, 2) adjustStatus(pk, item.uid, true, false, true) doAddPokemonInOwnList(cid, pokemon) doTransformItem(item.uid, item.itemid+1) local pokename = getItemAttribute(item.uid, "nick") or getCreatureName(pk) local mgo = gobackmsgs[math.random(1, #gobackmsgs)].go:gsub("doka", pokename) doCreatureSay(cid, mgo, TALKTYPE_SAY) doSendMagicEffect(getCreaturePosition(pk), effect) else doPlayerSendCancel(cid, "This pokemon is fainted.") end if useKpdoDlls then doUpdatePokemonsBar(cid) doUpdateMoves(cid) end return true end
  17. Olá pessoal meu serve solta mais de um pokemon por vez, tipo posso soltar outro pokemon sem chamar o outro de volta, se vcs poderem me ajudar a resolver isso tbm fikarei mto grato uso o PokemonXD com base vlw
  18. qdo eu abro o serve nao aparece nada mais qdo eu tento colocar a pokeball no lugar diz que eu nao posso fazer isso
  19. Oii pessoal eu sou novo no Xtibia e estou com um problema, meu sistema de goback nao precisa colocar o nome do pokemon e eu criei um pokemon novo e sumono ele, mato e capturo mais a pokeball com ele nem entra no lugar de soltar o pokemon por favo me ajudem e outra meu serve solta mais de um pokemon se vcs poderem me ajudar a resolver isso tbm fikarei mto grato uso o PokemonXD com base vlw
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...