Ir para conteúdo

jhon44370

Campones
  • Total de itens

    11
  • Registro em

  • Última visita

Sobre jhon44370

Perfil

  • Gênero
    Masculino

Informações

  • Char no Tibia
    Lart Pirio
  • Forma que conheci o xTibia
    Otservs
  • Sou
    Mapper

jhon44370's Achievements

  1. O que posso fazer com esse erro que o Uniserver lança em mim? O aplicativo não pôde ser iniciado corretamente (0xc000007b). clique em OK para fechá-lo (Uniserver)
  2. Nome : Jhon Morales Idade : 20 años Tempo Online Por Dia: 24 horas O Que Sei Fazer: Se hacer de todo un poco mapper es mi especialidad pero se de scripts y client etc... tengo prácticamente 10 años sabiendo esto cualquier cosa si quieres que empezemos con este proyecto yo puedo colaborar me encanta el Leage of Legends y sin mas q decir comunicate aqui : jhon44370@hotmail.com
  3. well this npc I hope they serve is made by me: D have to accommodate some things but I think they will serve for now tu server//data//npc//scripts: local focus = 0 local talk_start = 0 local target = 0 local following = false local attacking = false local addon_state = 0 function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('Good bye then.') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function onCreatureSay(cid, type, msg) msg = string.lower(msg) if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then selfSay('Olá ' .. getCreatureName(cid) .. '... Eu daria tudo por alguns Leaves... Você tem 50 sobrando aí?!') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Sorry, ' .. getCreatureName(cid) .. '! I talk to you in a minute.') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'Leaves') or msgcontains(msg, 'Leaf Stone') then if doPlayerRemoveItem(cid,2111,50) == 0 then selfSay('Eu disse 50 Leaves!') addon_state = 0 else selfSay('Obrigado, muito mesmo! Tome, isto pode ser útil para você!') doPlayerAddItem(cid, 5918, 1) talk_start = 0 end elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Good bye, ' .. getCreatureName(cid) .. '! Come back soon..') focus = 0 talk_start = 0 end end end function onCreatureChangeOutfit(creature) end function onThink() doNpcSetCreatureFocus(focus) if (os.clock() - talk_start) > 30 then if focus > 0 then selfSay('Next Please...') end focus = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Good bye then.') focus = 0 end end end it copies the name of leaf stone then we go to npc and copy a file. lua and we put the name of Changer in place <?xml version="1.0"?> <npc name="Changer" script="data/npc/scripts/leaf stone.lua" access="3" lookdir="1" autowalk="200" speed="200"> <health now="1" max="1"/> <look type="159" head="38" body="79" legs="107" feet="114"/> </npc> and lsita already have the npc that changes us by 50 leaves 1 leaf stone:)
  4. here I'll give you a script q maybe you have your server online pokemon but lacks config made me take the delicacy set to you: D go to your server / / data / / script and copy this: local evo = { ["Abra"] = "kadabra", ["Kadabra"] = "alakazam", ["Drowzee"] = "hypno", ["Slowpoke"] = "slowbro", ["Psyduck"] = "golduck", [""] = "", [""] = "", [""] = "", [""] = "", [""] = "", [""] = "", [""] = "", } local pokeballs = { [2531] = {"Pokeball"}, [2557] = {"Superball"}, [2524] = {"Greatball"}, [2525] = {"Ultraball"}, [2523] = {"Masterball"}, } function onUse(cid, item, fromPosition, itemEx, toPosition) if isMonster(itemEx.uid) and getCreatureMaster(itemEx.uid) == cid then local monster = getCreatureName(itemEx.uid) if evo[monster] then local health, maxHealth = getCreatureHealth(itemEx.uid), getCreatureMaxHealth(itemEx.uid) doRemoveCreature(itemEx.uid) doRemoveItem(item.uid) local summon = doCreateMonster(evo[monster], toPosition) doConvinceCreature(cid, summon) local balls = pokeballs[getPlayerSlotItem(cid,8).itemid] doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "name", ""..evo[monster].." "..balls[1]) doCreatureAddHealth(summon, health-maxHealth) doSendMagicEffect(getThingPos(summon), 18) return TRUE end end return FALSE end then he placed the name of psic then go to actions and place xml: <action itemid="5903" event="script" allowfaruse="10" value="stones/psic.lua"/> if you want to name him psychotic stone items are to be open with xml and blog of notes and look for the id 5903 and changed its name and it can evolve their pokes psychotic
  5. here I bring the box 1 as svke: D your server / / data / / actions / / scripts --- box with the name: function onUse(cid, item, frompos, item2, topos) r1 = math.random(1,17) if getPlayerLevel(cid) >= 8 then if doPlayerRemoveItem(cid,7884,1) == TRUE then if r1 == 17 then doPlayerSendTextMessage(cid,22,"Você ganhou um Caterpie.") doPlayerAddItem(cid,2128,1) elseif r1 == 1 then doPlayerSendTextMessage(cid,22,"Você ganhou um Weedle.") doPlayerAddItem(cid,2129,1) elseif r1 == 2 then doPlayerSendTextMessage(cid,22,"Você ganhou um ratata.") doPlayerAddItem(cid,2129,1) elseif r1 == 3 then doPlayerSendTextMessage(cid,22,"Você ganhou um Metapod.") doPlayerAddItem(cid,2129,1) elseif r1 == 4 then doPlayerSendTextMessage(cid,22,"Você ganhou um Kakuna.") doPlayerAddItem(cid,2129,1) elseif r1 == 5 then doPlayerSendTextMessage(cid,22,"Você ganhou um Spearow.") doPlayerAddItem(cid,2129,1) elseif r1 == 6 then doPlayerSendTextMessage(cid,22,"Você ganhou um Diglett.") doPlayerAddItem(cid,2129,1) elseif r1 == 7 then doPlayerSendTextMessage(cid,22,"Você ganhou um Zubat.") doPlayerAddItem(cid,2129,1) elseif r1 == 8 then doPlayerSendTextMessage(cid,22,"Você ganhou um Paras.") doPlayerAddItem(cid,2129,1) elseif r1 == 9 then doPlayerSendTextMessage(cid,22,"Você ganhou um Pidgey.") doPlayerAddItem(cid,2130,1) elseif r1 == 10 then doPlayerSendTextMessage(cid,22,"Você ganhou um Oddish.") doPlayerAddItem(cid,2129,1) elseif r1 == 11 then doPlayerSendTextMessage(cid,22,"Você ganhou um Poliwag.") doPlayerAddItem(cid,2129,1) elseif r1 == 12 then doPlayerSendTextMessage(cid,22,"Você ganhou um Krabby.") doPlayerAddItem(cid,2129,1) elseif r1 == 13 then doPlayerSendTextMessage(cid,22,"Você ganhou um Exeggcute.") doPlayerAddItem(cid,2129,1) elseif r1 == 14 then doPlayerSendTextMessage(cid,22,"Você ganhou um Horsea.") doPlayerAddItem(cid,2129,1) elseif r1 == 15 then doPlayerSendTextMessage(cid,22,"Você ganhou um Goldeen.") doPlayerAddItem(cid,2129,1) elseif r1 == 16 then doPlayerSendTextMessage(cid,22,"Você ganhou um Magikarp.") doPlayerAddItem(cid,2129,1) end end end end in actionsxml gently place: itemid="7884" <action event="script" value="box.lua"/> thanks: D when they want the other box ago as svke: D
  6. put your server / / data / / actions / / scripts Here are all the citys online pokemon: D create a archivo.lua: function getTime(s) local n = math.floor(s / 60) s = s - (60 * n) return n, s end function onSay(cid, words, param) local configs = { needpa = TRUE, needlvl = {TRUE, level = 50}, } local cidades = { ["Saffron"] = {x=1054,y=1050,z=7, pokenames = {"Abra", "Alakazam", "Kadabra", "Drowzee", "Hypno", "Kadabra", "Mr.Mime", "Porygon", "shiny abra"}, time = 1}, ["cerulean"] = {x=1060,y=903,z=7, pokenames = {"Abra", "Alakazam", "Kadabra", "Drowzee", "Hypno", "Kadabra", "Mr.Mime", "Porygon", "shiny abra"}, time = 2}, ["Lavender"] = {x=1204,y=1045,z=7, pokenames = {"Abra", "Alakazam", "Kadabra", "Drowzee", "Hypno", "Kadabra", "Mr.Mime", "Porygon", "shiny abra"}, time = 3}, ["Fuchsia"] = {x=1213,y=1325,z=7, pokenames = {"Abra", "Alakazam", "Kadabra", "Drowzee", "Hypno", "Kadabra", "Mr.Mime", "Porygon", "shiny abra"}, time = 4}, ["Celadon"] = {x=862,y=1035,z=6, pokenames = {"Abra", "Alakazam", "Kadabra", "Drowzee", "Hypno", "Kadabra", "Mr.Mime", "Porygon", "shiny abra"}, time = 5}, } teleport = FALSE if configs.needpa and not isPremium(cid) then return doPlayerSendCancel(cid, "You need to be a premmium account to use teleport.") end if configs.needlvl[1] and getPlayerLevel(cid) < configs.needlvl.level then return doPlayerSendCancel(cid, "You need to be level "..configs.needlvl.level.." or higher to use teleport.") end if #getCreatureSummons(cid) <= 0 then return doPlayerSendCancel(cid, "You need to have a monster summoned.") end for i,x in pairs(cidades) do for _,z in pairs(getCreatureSummons(cid)) do if isInArray(x.pokenames, getCreatureName(z)) then if param:lower() == "\"" .. i:lower() then if os.time()-getPlayerStorageValue(cid, 64231) <= x.time*60 then minutes,seconds = getTime(x.time*60-(os.time()-getPlayerStorageValue(cid, 64231))) return doPlayerSendCancel(cid, "You need wait " .. minutes .. " minutes and " .. seconds .. " seconds.") else doTeleportThing(cid, x) doTeleportThing(z, x) setPlayerStorageValue(cid, 64231, os.time()) teleport = TRUE break end end end end end xml gently place in actions: <talkaction words="!h" event="script" value="poketeleport.lua"/> and ready and we hope sytems nuetras teleport like that;)
  7. put your server / / data / / actions / / scripts Here are all the citys online pokemon: D create a archivo.lua: function getTime(s) local n = math.floor(s / 60) s = s - (60 * n) return n, s end function onSay(cid, words, param) local configs = { needpa = TRUE, needlvl = {TRUE, level = 50}, } local cidades = { ["Saffron"] = {x=1054,y=1050,z=7, pokenames = {"Abra", "Alakazam", "Kadabra", "Drowzee", "Hypno", "Kadabra", "Mr.Mime", "Porygon", "shiny abra"}, time = 1}, ["cerulean"] = {x=1060,y=903,z=7, pokenames = {"Abra", "Alakazam", "Kadabra", "Drowzee", "Hypno", "Kadabra", "Mr.Mime", "Porygon", "shiny abra"}, time = 2}, ["Lavender"] = {x=1204,y=1045,z=7, pokenames = {"Abra", "Alakazam", "Kadabra", "Drowzee", "Hypno", "Kadabra", "Mr.Mime", "Porygon", "shiny abra"}, time = 3}, ["Fuchsia"] = {x=1213,y=1325,z=7, pokenames = {"Abra", "Alakazam", "Kadabra", "Drowzee", "Hypno", "Kadabra", "Mr.Mime", "Porygon", "shiny abra"}, time = 4}, ["Celadon"] = {x=862,y=1035,z=6, pokenames = {"Abra", "Alakazam", "Kadabra", "Drowzee", "Hypno", "Kadabra", "Mr.Mime", "Porygon", "shiny abra"}, time = 5}, } teleport = FALSE if configs.needpa and not isPremium(cid) then return doPlayerSendCancel(cid, "You need to be a premmium account to use teleport.") end if configs.needlvl[1] and getPlayerLevel(cid) < configs.needlvl.level then return doPlayerSendCancel(cid, "You need to be level "..configs.needlvl.level.." or higher to use teleport.") end if #getCreatureSummons(cid) <= 0 then return doPlayerSendCancel(cid, "You need to have a monster summoned.") end for i,x in pairs(cidades) do for _,z in pairs(getCreatureSummons(cid)) do if isInArray(x.pokenames, getCreatureName(z)) then if param:lower() == "\"" .. i:lower() then if os.time()-getPlayerStorageValue(cid, 64231) <= x.time*60 then minutes,seconds = getTime(x.time*60-(os.time()-getPlayerStorageValue(cid, 64231))) return doPlayerSendCancel(cid, "You need wait " .. minutes .. " minutes and " .. seconds .. " seconds.") else doTeleportThing(cid, x) doTeleportThing(z, x) setPlayerStorageValue(cid, 64231, os.time()) teleport = TRUE break end end end end end xml gently place in actions: <talkaction words="!h" event="script" value="poketeleport.lua"/> and ready and we hope sytems nuetras teleport like that;)
  8. good here I bring you my first post: D Teleport Sytems: put your server / / data / / actions / / scripts create a archivo.lua: function getTime(s) local n = math.floor(s / 60) s = s - (60 * n) return n, s end function onSay(cid, words, param) local configs = { needpa = TRUE, needlvl = {TRUE, level = 50}, } local cidades = { ["Saffron"] = {x=1054,y=1050,z=7, pokenames = {"Abra", "Alakazam", "Kadabra", "Drowzee", "Hypno", "Kadabra", "Mr.Mime", "Porygon", "shiny abra"}, time = 1}, } teleport = FALSE if configs.needpa and not isPremium(cid) then return doPlayerSendCancel(cid, "You need to be a premmium account to use teleport.") end if configs.needlvl[1] and getPlayerLevel(cid) < configs.needlvl.level then return doPlayerSendCancel(cid, "You need to be level "..configs.needlvl.level.." or higher to use teleport.") end if #getCreatureSummons(cid) <= 0 then return doPlayerSendCancel(cid, "You need to have a monster summoned.") end for i,x in pairs(cidades) do for _,z in pairs(getCreatureSummons(cid)) do if isInArray(x.pokenames, getCreatureName(z)) then if param:lower() == "\"" .. i:lower() then if os.time()-getPlayerStorageValue(cid, 64231) <= x.time*60 then minutes,seconds = getTime(x.time*60-(os.time()-getPlayerStorageValue(cid, 64231))) return doPlayerSendCancel(cid, "You need wait " .. minutes .. " minutes and " .. seconds .. " seconds.") else doTeleportThing(cid, x) doTeleportThing(z, x) setPlayerStorageValue(cid, 64231, os.time()) teleport = TRUE break end end end end end xml gently place in actions: <talkaction words="!h" event="script" value="poketeleport.lua"/> and ready and we hope sytems nuetras teleport like that;)
  • Quem Está Navegando   0 membros estão online

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