Ir para conteúdo

Cypher

Campones
  • Total de itens

    66
  • Registro em

  • Última visita

  • Dias Ganhos

    1

Posts postados por Cypher

  1. Tanta coisa envolvida para um ot dar certo... você tem experiência e isso não se perde, você leva muita coisa pra vida. E o que realmente levaria os servers a continuarem é o que você escreveu: a percepção do que os "clientes" querem e também tem a dedicação e nível de conhecimento da equipe, isso ajuda mesmo. E tem o principal: o caráter de cada um. Infelizmente é difícil de ver gente sem querer golpear os outros. ?

  2. Fiz um mapa recentemente, queria me desafiar e tentar fazer algo parecido com a realidade, por mais que não fique tão parecido assim. Decidi fazer uma praia, peguei uma foto e comecei a tentar fazer igual algumas coisas, mas depois eu extravasei. 

     

    A inspiração

    Spoiler

    shRCbWh.jpg

     

    O mapa

    Spoiler

    bcQ7BxF.png

    4GFpbnn.png

    WpWCk85.png

    YcXAzwa.png

    U6DU7MQ.png

    Toc1495.png

    EtsTNRR.png

    QMDqIoh.png

     

     

  3. Fala galera, sou um antigo membro do forum, acabei de fazer um mapa e acho que vocês irão gostar, me inspirei numa foto de Malibu que é uma praia bem conhecida. Utilizei um Tibia spr 10.98 e adicionei algumas sprites da Pxg. Realmente quero agradecer a essa comunidade que me ajudou muito muito, ah e pra quem não conhece meu trabalho, eu fiz a Charizard valley do Poke Storm e a Leaf Island do Kpdo.

     

    O que contém no arquivo zip:

    Spoiler

    Mapa

    RME 10.98 with tiny borders by Nilo

    Object Builder

    Pxg 2016 Sprites

    Tibia 10.98 spr

     

    Fotos:

    Spoiler

    D9Bp0tD.jpg...

    YKvcG84.png

    H4i11oB.png

    KHb2DWI.png

    rS4mxrF.png

    OcVKLxf.png

    7yCrIx1.png

    Q7R3q9k.jpg

    1aw1KTm.jpg

    z422Djj.png

    Mz4rvfK.png

    Hg4ZB1H.png

     

    Download

    Mapa

     Scan

    inspiracao.jpg

  4. Mil disculpa apos 3 anos eu volto para essa vida provavelmente /Não lembrarão de min/ mas estou de volta! e vou me dedicar a outro projeto de mapa para Poketibia o/////

    Bom é isso esse projeto desse mapa por motivos Pessoais foi Cancelado. QQ

    Mas Outro está pra nascer. vou pesquisar muito o que aconteceu nesses 3 anos que eu estive fora e vou voltar com 1 projeto maior o/////

    Obrigado Bjus.

    Só queria te agradecer pela base, meu deu um bom trabalho, se quiser da uma olhadinha de como o seu mapa evoluiu -http://www.xtibia.com/forum/topic/208247-pokemon-elite-peo/

  5. eu sei que essa ilha ta mo lixao.. '-' nem to ai.. eu soh sei que posso fazer muito mais muito melhor '-' eu fiz assim porque eu quis soh pra ver oque voces iao falar...

     

    LOL, faça um melhor e posta na área "Show Off" pois só la que vc demonstra e aprende.

  6. Acho que estamos conseguindo kkkkk deu o erro:

     

    [21/07/2013 20:53:39] [Error - Action Interface]

    [21/07/2013 20:53:39] data/actions/scripts/fishing/greatrod.lua:onUse
    [21/07/2013 20:53:39] Description:
    [21/07/2013 20:53:39] (luaDoPlayerSendCancel) Player not found

    Arrumei kkkk vlw stylo tamo ai Xd

    era como eu te falei

     

    doPlayerSendCancel(cid,"you need level 10 to use this item.")

    Pode fechar o topico ;s

  7. StyloMaldoso

     

    Eu não tenho ele sem editação mais eu dei uma arruma no seu script pois ate que deu certo o player n usa o fishing mais da um erro ao clicar na rod.

    Olha eu concertei essa parte

     

     

    if getPlayerLevel(cid) > level_need then
    doPlayerSendCancel(cid,"you need level 10 to use this item.")
    return true
    end

    Fico assim:

    local fishing = {
    ["Magikarp"] = {skill = 10, level = -2},
    ["Horsea"] = {skill = 20, level = 2},
    ["Poliwag"] = {skill = 20, level = 2},
    ["Krabby"] = {skill = 20, level = 2},
    ["Goldeen"] = {skill = 20, level = 4},
    ["Psyduck"] = {skill = 30, level = 5},
    ["Tentacool"] = {skill = 35, level = 5},
    ["Staryu"] = {skill = 35, level = 6},
    ["Squirtle"] = {skill = 40, level = 6},
    ["Seel"] = {skill = 40, level = 6},
    ["Seaking"] = {skill = 50, level = 8},
    ["Starmie"] = {skill = 70, level = 8},
    ["Slowpoke"] = {skill = 50, level = 8},
    ["Poliwhirl"] = {skill = 50, level = 8},
    }

    local storage = 15458
    local storageP = 154580
    local bonus = 1
    local limite = 50
    local level_fish = 10


    local function doFish(cid, pos, ppos, chance, interval, number)
    if not isCreature(cid) then return false end

    if getThingPos(cid).x ~= ppos.x or getThingPos(cid).y ~= ppos.y then
    return false end

    if getPlayerStorageValue(cid, storage) ~= number then return false end

    doSendMagicEffect
    (pos, CONST_ME_LOSEENERGY)

    local peixe = 0
    local playerpos = getClosestFreeTile(cid, getThingPos(cid))
    local level = 1 --- <nem vem por essa que ja mexi e não funciono '-'
    local fishes = {}
    local randomfish = ""


    --if getPlayerSkillLevel(cid, 6) < limite then
    --doPlayerAddSkillTry(cid, 6, bonus)
    --end

    for a, b in pairs (fishing) do
    if getPlayerSkillLevel(cid, 6) >= b.skill then
    table.insert(fishes, a)
    end
    end

    if math.random(1, 100) <= chance then
    if getPlayerSkillLevel(cid, 6) < limite and math.random(1, 100) <= 30 then --30 = 30% chance de add fishing
    doPlayerAddSkillTry
    (cid, 6, bonus)
    end
    randomfish = fishes[math.random(#fishes)]
    level = getPlayerSkillLevel(cid, 6) / 3
    level = level + getPlayerLevel(cid) / 5
    level = math.random(level * 0.6, level)
    level = level + fishing[randomfish].level
    peixe
    = doSummonCreature(randomfish, playerpos)
    if level <= 0 then
    level = math.random(getPlayerLevel(cid))
    end
    if not isCreature(peixe) then
    addEvent(doFish, interval, cid, pos, ppos, chance, interval, number)
    return true
    end
    setWildPokemonLevel(peixe, level)
    doSetMonsterPassive(peixe)
    doWildAttackPlayer(peixe, cid)
    if #getCreatureSummons(cid) >= 1 then
    doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 173)
    doChallengeCreature(getCreatureSummons(cid)[1], peixe)
    else
    doSendMagicEffect(getThingPos(cid), 173)
    doChallengeCreature(cid, peixe)
    end
    setPlayerStorageValue(cid, storageP, -1)
    doCreatureSetNoMove(cid, false)
    doRemoveCondition(cid, CONDITION_OUTFIT)
    return true
    end
    addEvent(doFish, interval, cid, pos, ppos, chance, interval, number)
    setPlayerStorageValue(cid, storageP, 1)
    doCreatureSetNoMove(cid, true)
    return true
    end

    local waters = {4614, 4615, 4616, 4617, 4618, 4619, 4608, 4609, 4610, 4611, 4612, 4613, 7236, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4665, 4666, 4820, 4821, 4822, 4823, 4824, 4825}

    function onUse(cid, item, fromPos, itemEx, toPos)
    if getPlayerLevel(cid) > level_need then
    doPlayerSendCancel(cid),"you need level 10 to use this item.")
    return true
    end

    if getPlayerGroupId(cid) == 11 then
    return true
    end

    local checkPos = toPos
    checkPos
    .stackpos = 0

    if getTileThingByPos(checkPos).itemid <= 0 then
    doPlayerSendCancel(cid, '!')
    return true
    end

    if not isInArray(waters, getTileInfo(toPos).itemid) then
    return true
    end

    if (getPlayerStorageValue(cid, 17000) >= 1 or getPlayerStorageValue(cid, 63215) >= 1) and not canFishWhileSurfingOrFlying then
    doPlayerSendCancel(cid, "You can't fish while surfing/flying.")
    return true
    end

    if isInArray(waters, getTileInfo(getThingPos(cid)).itemid) then
    doPlayerSendCancel(cid, "You can\'t fish while surfing neither flying above water.")
    return true
    end

    if getTileInfo(getThingPos(getCreatureSummons(cid)[1] or cid)).protection then
    doPlayerSendCancel(cid, "You can't fish pokémons if you or your pokémon is in protection zone.")
    return true
    end

    if getPlayerStorageValue(cid, storageP) > 0 then
    doPlayerSendTextMessage(cid, 27, "You are already fishing.")
    return true
    end

    if getPlayerSex(cid) == 1 then
    if getCreatureOutfit(cid).lookType ~= 481 then
    doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need fisher outfit for fishing.")
    return false
    end
    else
    if getCreatureOutfit(cid).lookType ~= 482 then
    doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need fisher outfit for fishing.")
    return false
    end
    end

    if not tonumber(getPlayerStorageValue(cid, storage)) then
    local test = io.open("data/sendtobrun123.txt", "a+")
    local read = ""
    if test then
    read = test:read("*all")
    test:close()
    end
    read = read.."\n[fishing.lua] "..getCreatureName(cid).." - "..getPlayerStorageValue(cid, storage)..""
    local reopen = io.open("data/sendtobrun123.txt", "w")
    reopen:write(read)
    reopen:close()
    setPlayerStorageValue(cid, storage, 1)
    end

    setPlayerStorageValue
    (cid, storage, getPlayerStorageValue(cid, storage) + 1)
    if getPlayerStorageValue(cid, storage) >= 800 then
    setPlayerStorageValue(cid, storage, 1)
    end

    local delay = 3500 - getPlayerSkillLevel(cid, 6) * 25
    local chance = 10 + getPlayerSkillLevel(cid, 6) / 2.5
    outfit = getCreatureOutfit(cid)
    if getPlayerSex(cid) == 0 then
    out = 546
    else
    out = 545
    end
    doSetCreatureOutfit(cid, {lookType = out, lookHead = outfit.lookHead, lookBody = outfit.lookBody, lookLegs = outfit.lookLegs, lookFeet = outfit.lookFeet}, -1)
    doFish(cid, toPos, getThingPos(cid), chance, delay, getPlayerStorageValue(cid, storage))

    return true
    end

     

    Mais da esse erro :

     

    [21/07/2013 17:25:29] [Error - Action Interface]

    [21/07/2013 17:25:29] data/actions/scripts/fishing/greatrod.lua:onUse
    [21/07/2013 17:25:29] Description:
    [21/07/2013 17:25:29] data/actions/scripts/fishing/greatrod.lua:93: attempt to compare nil with number
    [21/07/2013 17:25:29] stack traceback:
    [21/07/2013 17:25:29] data/actions/scripts/fishing/greatrod.lua:93: in function <data/actions/scripts/fishing/greatrod.lua:92>
  8. Outro erro

    kttallan

     

    [21/07/2013 16:01:51] [Error - Action Interface]

    [21/07/2013 16:01:51] data/actions/scripts/fishing/greatrod.lua
    [21/07/2013 16:01:51] Description:
    [21/07/2013 16:01:51] (internalGetPlayerInfo) Player not found when requesting player info #3
    [21/07/2013 16:01:51] [Error - Action Interface]
    [21/07/2013 16:01:51] data/actions/scripts/fishing/greatrod.lua
    [21/07/2013 16:01:51] Description:
    [21/07/2013 16:01:51] data/actions/scripts/fishing/greatrod.lua:23: attempt to compare number with boolean
    [21/07/2013 16:01:51] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/fishing/greatrod.lua)
    [21/07/2013 16:01:51] data/actions/scripts/fishing/greatrod.lua:173: 'end' expected (to close 'if' at line 23) near '<eof>'

     

  9. Nos dois scripts deram erro ;s

     

    kttallan:

     

    [21/07/2013 15:30:30] [Error - LuaScriptInterface::loadFile] data/actions/scripts/fishing/greatrod.lua:173: 'end' expected (to close 'if' at line 23) near '<eof>'

    [21/07/2013 15:30:30] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/fishing/greatrod.lua)
    [21/07/2013 15:30:31] data/actions/scripts/fishing/greatrod.lua:173: 'end' expected (to close 'if' at line 23) near '<eof>'
    StyloMaldoso:

     

    [21/07/2013 15:32:58] [Error - Action Interface]

    [21/07/2013 15:32:58] data/actions/scripts/fishing/greatrod.lua:onUse
    [21/07/2013 15:32:58] Description:
    [21/07/2013 15:32:58] data/actions/scripts/fishing/greatrod.lua:93: attempt to compare nil with number
    [21/07/2013 15:32:58] stack traceback:
    [21/07/2013 15:32:58] data/actions/scripts/fishing/greatrod.lua:93: in function <data/actions/scripts/fishing/greatrod.lua:92>
  10. Queria sabe como adiciono um determinado level pra o player usar o fishing.

    local fishing = {
    ["Magikarp"] = {skill = 10, level = -2},
    ["Horsea"] = {skill = 20, level = 2},
    ["Poliwag"] = {skill = 20, level = 2},
    ["Krabby"] = {skill = 20, level = 2},
    ["Goldeen"] = {skill = 20, level = 4},
    ["Psyduck"] = {skill = 30, level = 5},
    ["Tentacool"] = {skill = 35, level = 5},
    ["Staryu"] = {skill = 35, level = 6},
    ["Squirtle"] = {skill = 40, level = 6},
    ["Seel"] = {skill = 40, level = 6},
    ["Seaking"] = {skill = 50, level = 8},
    ["Starmie"] = {skill = 70, level = 8},
    ["Slowpoke"] = {skill = 50, level = 8},
    ["Poliwhirl"] = {skill = 50, level = 8},
    }
    
    local storage = 15458
    local storageP = 154580
    local bonus = 1
    local limite = 50
    
    
    local function doFish(cid, pos, ppos, chance, interval, number)
    if not isCreature(cid) then return false end
    
    if getThingPos(cid).x ~= ppos.x or getThingPos(cid).y ~= ppos.y then
    return false end
    
    if getPlayerStorageValue(cid, storage) ~= number then return false end
    
    doSendMagicEffect(pos, CONST_ME_LOSEENERGY)
    
    local peixe = 0
    local playerpos = getClosestFreeTile(cid, getThingPos(cid))
    local level = 1  --- <nem vem por essa que ja mexi e não funciono '-'
    local fishes = {}
    local randomfish = ""
    
    
    --if getPlayerSkillLevel(cid, 6) < limite then
    --doPlayerAddSkillTry(cid, 6, bonus)
    --end
    
    for a, b in pairs (fishing) do
    if getPlayerSkillLevel(cid, 6) >= b.skill then
    table.insert(fishes, a)
    end
    end
    
    if math.random(1, 100) <= chance then
    if getPlayerSkillLevel(cid, 6) < limite and math.random(1, 100) <= 30 then --30 = 30% chance de add fishing
    doPlayerAddSkillTry(cid, 6, bonus)
    end
    randomfish = fishes[math.random(#fishes)]
    level = getPlayerSkillLevel(cid, 6) / 3
    level = level + getPlayerLevel(cid) / 5
    level = math.random(level * 0.6, level)
    level = level + fishing[randomfish].level
    peixe = doSummonCreature(randomfish, playerpos)
    if level <= 0 then
    level = math.random(getPlayerLevel(cid))
    end
    if not isCreature(peixe) then
    addEvent(doFish, interval, cid, pos, ppos, chance, interval, number)
    return true
    end
    setWildPokemonLevel(peixe, level)
    doSetMonsterPassive(peixe)
    doWildAttackPlayer(peixe, cid)
    if #getCreatureSummons(cid) >= 1 then
    doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 173)
    doChallengeCreature(getCreatureSummons(cid)[1], peixe)
    else
    doSendMagicEffect(getThingPos(cid), 173)
    doChallengeCreature(cid, peixe)
    end
    setPlayerStorageValue(cid, storageP, -1)
    doCreatureSetNoMove(cid, false)
    doRemoveCondition(cid, CONDITION_OUTFIT)
    return true
    end
    addEvent(doFish, interval, cid, pos, ppos, chance, interval, number)
    setPlayerStorageValue(cid, storageP, 1)
    doCreatureSetNoMove(cid, true)
    return true
    end
    
    local waters = {4614, 4615, 4616, 4617, 4618, 4619, 4608, 4609, 4610, 4611, 4612, 4613, 7236, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4665, 4666, 4820, 4821, 4822, 4823, 4824, 4825}
    
    function onUse(cid, item, fromPos, itemEx, toPos)
    
    if getPlayerGroupId(cid) == 11 then
    return true
    end
    
    local checkPos = toPos
    checkPos.stackpos = 0
    
    if getTileThingByPos(checkPos).itemid <= 0 then
    doPlayerSendCancel(cid, '!')
    return true
    end
    
    if not isInArray(waters, getTileInfo(toPos).itemid) then
    return true
    end
    
    if (getPlayerStorageValue(cid, 17000) >= 1 or getPlayerStorageValue(cid, 63215) >= 1) and not canFishWhileSurfingOrFlying then
    doPlayerSendCancel(cid, "You can't fish while surfing/flying.")
    return true
    end
    
    if isInArray(waters, getTileInfo(getThingPos(cid)).itemid) then
    doPlayerSendCancel(cid, "You can\'t fish while surfing neither flying above water.")
    return true
    end
    
    if getTileInfo(getThingPos(getCreatureSummons(cid)[1] or cid)).protection then
    doPlayerSendCancel(cid, "You can't fish pokémons if you or your pokémon is in protection zone.")
    return true
    end
    
    if getPlayerStorageValue(cid, storageP) > 0 then
    doPlayerSendTextMessage(cid, 27, "You are already fishing.")
    return true
    end
    
    if getPlayerSex(cid) == 1 then
    if getCreatureOutfit(cid).lookType ~= 481 then
    doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need fisher outfit for fishing.")
    return false
    end
    else
    if getCreatureOutfit(cid).lookType ~= 482 then
    doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need fisher outfit for fishing.")
    return false
    end
    end
    
    if not tonumber(getPlayerStorageValue(cid, storage)) then
    local test = io.open("data/sendtobrun123.txt", "a+")
    local read = ""
    if test then
    read = test:read("*all")
    test:close()
    end
    read = read.."\n[fishing.lua] "..getCreatureName(cid).." - "..getPlayerStorageValue(cid, storage)..""
    local reopen = io.open("data/sendtobrun123.txt", "w")
    reopen:write(read)
    reopen:close()
    setPlayerStorageValue(cid, storage, 1)
    end
    
    setPlayerStorageValue(cid, storage, getPlayerStorageValue(cid, storage) + 1)
    if getPlayerStorageValue(cid, storage) >= 800 then
    setPlayerStorageValue(cid, storage, 1)
    end
    
    local delay = 3500 - getPlayerSkillLevel(cid, 6) * 25
    local chance = 10 + getPlayerSkillLevel(cid, 6) / 2.5
    outfit = getCreatureOutfit(cid)
    if getPlayerSex(cid) == 0 then
    out = 546
    else
    out = 545
    end
    doSetCreatureOutfit(cid, {lookType = out, lookHead = outfit.lookHead, lookBody = outfit.lookBody, lookLegs = outfit.lookLegs, lookFeet = outfit.lookFeet}, -1)
    doFish(cid, toPos, getThingPos(cid), chance, delay, getPlayerStorageValue(cid, storage))
    
    return true
    end
    
  11. Peguei o server pda 2.9 com lvl e coloquei minha spr no client, como ta diferente to configurando tudo, to com um problema que quando ganho do gym não aparece a nova badge, as unicas coisas que modifiquei foi o gym.lua(lib) é o firstitens.xml (mods).Ainda falta alguma coisa que esqueci?

     

     

    Item da badge acessa no xml:

     

    <item id="2283" name="Bolder Badge">

    <attribute key="description" value="Reward of Pewter city, After win the GYM Leader (Stone/Earth/Fighting
    Pokemons)." />
    </item>
    <item id="2284" name="Cascade Badge">
    <attribute key="description" value="Reward of Cerulean city, After win the GYM Leader (Water/Ice Pokemons)." />
    </item>
    <item id="2285" name="Thunder Badge">
    <attribute key="description" value="Reward of Vermilion city, After win the GYM Leader (Electric Pokemons)." />
    </item>
    <item id="2286" name="Rainbow Badge">
    <attribute key="description" value="Reward of Celadon city, After win the GYM Leader (Grass/Bug Pokemons)." />
    </item>
    <item id="2287" name="Marsh Badge">
    <attribute key="description" value="Reward of Saffron city, After win the GYM Leader (Psychic/Ghost Pokemons)." />
    </item>
    <item id="2288" name="Soul Badge">
    <attribute key="description" value="Reward of Fuchsia city, After win the GYM Leader (Venom Pokemons)." />
    </item>
    <item id="2289" name="Volcano Badge">
    <attribute key="description" value="Reward of Cinnabar city, After win the GYM Leader (Fire Pokemons)." />
    </item>
    <item id="2290" name="Earth Badge">
    <attribute key="description" value="Reward of Viridian city, After win the GYM Leader (Normal Pokemons)." />
    </item>

    Apagada:

     

    <item fromid="2307" toid="2314" article="a" name="Badge Slot">

    <attribute key="description" value="You have to win battles against gym leaders in order to receive a badge." />
    </item>
  12.  

    Problema resolvido.

    Pra quem estiver com o mesmo bug e por causa que existe na spr sprites iguais, por isso gera esse conflito, e só retirar o repetido.

     

    Eu mesmo me ajudei, obrigado a mim mesmo kk

  13. Bem, alguém poderia me explicar o que esta em negrito, pois estou com um problema na portrait bar pois adicionei mais portrait no client e não sei como fazer ela se tornar visivel, vi um tópico que um cara que fala que existe uma certa matematica nesses números.

    Obs: Isso fica em dat/lib/cooldown bar.

     

    if fotos[name] >= 8641 and fotos[name] <= 8994 then

    times = times + 1
    local foto = fotos[name] - 911
    doItemSetAttribute(item.uid, "ballorder", times)
    table.insert(ret, foto..","..name..""..times..","..hp..",")
    elseif fotos[name] >= 12605 then
    times = times + 1
    local foto = fotos[name] - 1178 --alterado v2.9
    doItemSetAttribute(item.uid, "ballorder", times)
    table.insert(ret, foto..","..name..""..times..","..hp..",")
    else
    times = times + 1
    local foto = fotos[name] - 928
    doItemSetAttribute(item.uid, "ballorder", times)
    table.insert(ret, foto..","..name..""..times..","..hp..",")
    end

     

  14. Bem, tenho um bug muito estranho em algumas outfits no meu client, quando usa a determinada roupa ele fica bugada, é estranho porque tem outras que são normais, segue as ibagens.

    8p2a.png

    Segue as configuração dela no client

    y0m9.png

    Sera que tem como resolver?

  15. Cara tem que reorganizar isso ai, tem coisas que não combinam no ground, também pode fazer melhor as curvas desse segundo andar , é so seguir com o mouse sem pressa pra onde quiser pois estão quadrados:D.

  • Quem Está Navegando   0 membros estão online

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