Ir para conteúdo

dso15

Campones
  • Total de itens

    87
  • Registro em

  • Última visita

  • Dias Ganhos

    5

Posts postados por dso15

  1. o meu se localiza em  '''mods'''

     

    O script

     

    Spoiler

    <?xml version="1.0" encoding="UTF-8"?>
    <mod name="First Items" version="1.0" author="The Forgotten Server" contact="otland.net" enabled="yes">

        <config name="firstitems_config">
    <![CDATA[        config = {
                storage = 30001,
                items = {1988, 1987, 2382, 2120, 2580, 2550, 7385, 2395, 2547}
                -- 7385 (pokeinfo)
                -- 2395 (portfoil)  ok
                -- 2382    (pokedex)    ok
                -- 2547 (coin case)    ok
                -- 2550 (order)        ok
                -- 1987 (bag)        ok
                -- 1988 (badge case)    ok
                -- 2120 (rope)        ok
                -- 2580 (fishing rod)    ok
            }
        ]]>
    </config>
        <event type="login" name="FirstItems" event="script">
    <![CDATA[

            domodlib('firstitems_config')

            function onLogin(cid)


                if getCreatureName(cid) == "Account Manager" then
                    doSetCreatureOutfit(cid, {lookType = 655}, -1)
                return true
                end

                if getPlayerSlotItem(cid, CONST_SLOT_ARMOR).itemid > 0 then
                return true
                end

                for _, id in ipairs(config.items) do
                    doPlayerAddItem(cid, id, 1)
                end
                local bag = getPlayerItemById(cid, false, 1988).uid
                doAddContainerItem(bag, 12267, 1)
                doAddContainerItem(bag, 12266, 1)
                doAddContainerItem(bag, 12264, 1)
                doAddContainerItem(bag, 12265, 1)
                doAddContainerItem(bag, 12263, 1)
                doAddContainerItem(bag, 12262, 1)
                doAddContainerItem(bag, 12261, 1)
                doAddContainerItem(bag, 12260, 1)

                return true
            end
        ]]></event>
    </mod>
     

     

  2. Bom com o titulo já diz estou com esse erro na minha .sql 

     

    Ajuda aee

    IMG-20190103-WA0052.jpg

     

    Tentei adicionar uma tabela deu esse erro quando vou instalar

     

     

    DROP TABLE IF EXISTS `tiles`;
    CREATE TABLE `tiles`
    (
        `id` INT UNSIGNED NOT NULL,
        `world_id` TINYINT(4) UNSIGNED NOT NULL DEFAULT 0,
        `house_id` INT UNSIGNED NOT NULL,
        `x` INT(5) UNSIGNED NOT NULL,
        `y` INT(5) UNSIGNED NOT NULL,
        `z` TINYINT(2) UNSIGNED NOT NULL,
        UNIQUE (`id`, `world_id`),
        KEY (`x`, `y`, `z`),
        FOREIGN KEY (`house_id`, `world_id`)  REFERENCES   `houses`(`id`, `world_id`) ON DELETE CASCADE
    ) ENGINE = InnoDB;

  3. 518240674_SemTtulo-1.thumb.png.bae144c937bb49b325cc14404a65aada.png

    Olá estou aqui trazendo um projeto meu pra vocês e espero que com isso consiga uma equipe para trabalhar nele e finalizado...

     

    [PROJETO] Pokemon Last

     

    Quais são minhas ideias para o server

    Spoiler

     

    1* Bom estava pensando em um servidor base lenda com todas  as gerações mas que não seja um servidor muito fácil de upa sim ele vai trabalhar em XP alto mas não algo fácil entenderam ?

     

    2* Um server cheio de segredos com cidades exclusivas, itens, hunts e varias outras coisas escondidas pelo mapa tendo em mente que os jogadores teriam que explorar

     

     

    São duas ideias simples ao se dizer mas são extremamente difíceis de se colocar em pratica e estou aqui pra isso formar uma equipe que seja capaz de criar um dos melhores servidores que possa existir...

     

    Eu tenho um dinheiro guardado então quando necessário poderei comprar o host

     

    No momento precisamos de:

    Spoiler

    Designer

    Mapper

     

    Mas vamos precisar de

    Spoiler

    Scripter

    E alguém pra me ajudar a trabalhar na infraestrutura

     

    Claro todos que ajudarem terram um lugar de respeito no server... ou talvez possa comprar o serviço

     

    Abaixo meus contatos casso queiram...

    Spoiler

     

    Numero/ WhatsApp – (65) 998157796

    Facebook – DanielSoares4

     

     

    Obrigado a todos e ao www.xtibia.com

  4. Ola estou ciando um server dedicado de poketibia para colocar online e preciso de um mapa ou um mapper bom para a parte do mapa....

     

    estou disposto até mesmo a pagar claro... se o www.xtibia.com permitir

     

    Qualquer coisa entrem em contato

  5. 8 horas atrás, Thalles Vitor disse:

    Mande o spawn.lua para lhe ajudar né amigo, fica dificil

    Spoiler

    local shinys = {
    "Jirachi", "Heatran", "Phione", "Moltres", "Articuno", "Entei", "Raikou", "Darkrai", "Mewtwo", "Mew", "Groudon", "Kyogre", 
    "Tropius", "Zekrom", "Reshiram", "Lugia", "Regice", "Regirock", "Registeel", "Rayquaza", "Suicune", "Heatran", "Victini", "Genesect",
    "Robosao", "Celebi", "Palkia", "Deoxys", "Meloetta"}

    local raros = {"Arceus"}                               

    local function ShinyName(cid)
    if isCreature(cid) then
       if string.find(tostring(getCreatureName(cid)), "Shiny") then
          local newName = tostring(getCreatureName(cid)):match("Shiny (.*)")             
          doCreatureSetNick(cid, newName)
          if isMonster(cid) then
             doSetCreatureDropLoot(cid, false)  
          end
       end
    end
    end

    local function doSetRandomGender(cid)
        if not isCreature(cid) then return true end
        if isSummon(cid) then return true end
        local gender = 0
        local name = getCreatureName(cid)
        if not newpokedex[name] then return true end
        local rate = newpokedex[name].gender
            if rate == 0 then
                gender = 3
            elseif rate == 1000 then
                gender = 4
            elseif rate == -1 then
                gender = 0
            elseif math.random(1, 1000) <= rate then
                gender = 4
            else
                gender = 3
            end
        doCreatureSetSkullType(cid, gender)
    end

    local function doShiny(cid)
    if isCreature(cid) then
       if isSummon(cid) then return true end
       if getPlayerStorageValue(cid, 74469) >= 1 then return true end
       if getPlayerStorageValue(cid, 22546) >= 1 then return true end 
       if isNpcSummon(cid) then return true end
       if getPlayerStorageValue(cid, 637500) >= 1 then return true end  --alterado v1.9
       
    if isInArray(shinys, getCreatureName(cid)) then  --alterado v1.9 \/
       chance = 1    --1% chance        
    elseif isInArray(raros, getCreatureName(cid)) then   --n coloquem valores menores que 0.1 !!
       chance = 2.0   --0.5% chance       
    else
       return true
    end    
        if math.random(1, 1000) <= chance*10 then  
          doSendMagicEffect(getThingPos(cid), 18)               
          local name, pos = "".. getCreatureName(cid), getThingPos(cid)
          doRemoveCreature(cid)
          local shi = doCreateMonster(name, pos, false)
          print("Um " .. name .. " foi spawnado em X=" .. pos.x .. " Y=" .. pos.y .. " Z=" .. pos.z)
          setPlayerStorageValue(shi, 74469, 1)      
       else
           setPlayerStorageValue(cid, 74469, 1)
       end                                        --/\
    else                                                            
    return true
    end
    end
                                                                    
    function onSpawn(cid)

        registerCreatureEvent(cid, "Experience")
        registerCreatureEvent(cid, "GeneralConfiguration")
        registerCreatureEvent(cid, "DirectionSystem")
        registerCreatureEvent(cid, "CastSystem")
        
        if isSummon(cid) then
            registerCreatureEvent(cid, "SummonDeath")
        return true
        end
        
        addEvent(doSetRandomGender, 5, cid)
        addEvent(doShiny, 10, cid)
        addEvent(ShinyName, 15, cid)
        addEvent(adjustWildPoke, 5, cid)

    return true
    end

     

  • Quem Está Navegando   0 membros estão online

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