Ir para conteúdo

tuycb

Campones
  • Total de itens

    21
  • Registro em

  • Última visita

Posts postados por tuycb

  1. Eai galera, mais uma vez venho pedi a ajuda do pessoal ae!

     

    É o seguinte: eu já tentei pela conta e pelo IP e não funciona o painel de admin, quando vou logar ele volta no lugar aonde tem que por a conta e a senha.

     

    Minha config:

    # Accounts that are allowed to access admin panel

    # Example: array('account1', 'account2');

    $cfg['admin_accounts'] = array('tuycb', 'robgreen');

     

    # Listed IPs always allowed to access admin panel, no matter if it has account or not

    $cfg['admin_ip'] = array('192.168.0.1');

     

    Ajudem por favor!

     

    Desde já, obrigado.

     

    TuyCB

  2. Mystera World

     

    Eai galera, to trazendo aqui pra vocês o meu server, quem puder dar uma conferida ae:

     

    Site: mystera.servegame.com:8090

    Server: mystera.servegame.com

     

    Sempre melhorando o mapa, criando novas quests bem boladas que podem ser feitas sozinhas ou em dupla, monstros novos, spells novas, sistemas novos e me dedicando 8 horas por dia.

     

    Exp rate: 10x

    Skill rate: 50x

    Magic rate: 10x

    Loot rate: 5x

     

    RESETADO HOJE, DIA 04/01/2012! ENTRE LÁ E VENHA SER O TOP!

     

    Estamos a procura de alguém que seja scripter/mapper/spriter, divulgador e que se disponha a cuidar do server.

     

    O que tem?

    • Mapa próprio;
    • Quests em dupla;
    • Quests inovadoras e com puzzles;
    • Novos monstros;
    • Novos itens (sem ter que baixar client);
    • NPCs totalmente diferentes;
    • Sistema de fusão, de encantar armas também;
    • Arena 1x1 e arena PVP;
    • Tutorial dos lugares da cidade para iniciantes;
    • Client próprio (opcional).

    Algumas SS's:

     

     

    tibia01.jpg

     

    tibia02.jpg

     

    tibia03k.jpg

     

    tibia04.jpg

     

    tibia05.jpg

     

    tibia06.jpg

     

    tibia07.jpg

     

    tibia08.jpg

     

    tibia09.jpg

     

    tibia10.jpg

     

    tibia11.jpg

     

    tibia12.jpg

     

    tibia13.jpg

     

    tibia14.jpg

     

    tibia15.jpg

     

    tibia16.jpg

     

    tibia18.jpg

     

    tibia19.jpg

     

    tibia20.jpg

     

    tibia21.jpg

     

    tibia22.jpg

     

    tibia23.jpg

     

    tibia24.jpg

     

     

    Se encontramos lá!

     

    Obrigado pela atenção,

     

    TuyCB

  3. Eu queria que quando removesse colocasse os itens em tal lugar, removesse a pedra e não transportasse o player, desativando em 30 segundos!

     

    Taí o script (funciona, mas teleporta o player):

     

    function onUse(cid, item)

     

    local pos1 = {x=90, y=111, z=8}

    local pos2 = {x=91, y=111, z=8}

    local pos3 = {x=95, y=111, z=8}

    local pos4 = {x=96, y=111, z=8}

    local id1 = 8300

    local id2 = 8298

    local id3 = 8306

    local id4 = 8304

     

    local playerpos = {x=785, y=188, z=8}

     

    if getItemStack(pos1, id1) and getItemStack(pos2, id2) and getItemStack(pos3, id3) and getItemStack(pos4, id4) then

    doRemoveItem(getItemStack(pos1, id1).uid, 1)

    doRemoveItem(getItemStack(pos2, id2).uid, 1)

    doRemoveItem(getItemStack(pos3, id3).uid, 1)

    doRemoveItem(getItemStack(pos4, id4).uid, 1)

    doTeleportThing(cid, playerpos)

    else

    doPlayerSendCancel(cid, "Algum item está faltando.")

    end

     

    return TRUE

    end

     

    function getItemStack(pos, iid)

     

    for i = 1, 255 do

    posa = getThingFromPos({x=pos.x, y=pos.y, z=pos.z, stackpos=i})

    if posa.itemid == iid then

    return posa

    end

    end

     

    return nil

    end

     

    Abraços,

     

    TuyCB

  4. Olá, gostaria que alguém me ajudasse a colocar pra só vip poder comprar a segunda promotion.

    Aqui está o script do NPC:

     

    local keywordHandler = KeywordHandler:new()

    local npcHandler = NpcHandler:new(keywordHandler)

    NpcSystem.parseParameters(npcHandler)

     

    function onCreatureAppear(cid)

    npcHandler:onCreatureAppear(cid)

    end

    function onCreatureDisappear(cid)

    npcHandler:onCreatureDisappear(cid)

    end

    function onCreatureSay(cid, type, msg)

    npcHandler:onCreatureSay(cid, type, msg)

    end

    function onThink()

    npcHandler:onThink()

    end

     

    local node1 = keywordHandler:addKeyword({'promot'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can promote you for 50000 gold coins. Do you want me to promote you?'})

     

    node1:addChildKeyword({'yes'}, StdModule.promotePlayer, {npcHandler = npcHandler, cost = 50000, level = 50, promotion = 1, text = 'Congratulations! You are now promoted.'})

     

    node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then, come back when you are ready.', reset = true})

     

     

    local node2 = keywordHandler:addKeyword({'epic'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can epicize you for 500000 gold coins. Do you want me to epicize you?'})

     

    node2:addChildKeyword({'yes'}, StdModule.promotePlayer, {npcHandler = npcHandler, cost = 500000, level = 150, promotion = 2, text = 'Congratulations! You are now epicized.'})

     

    node2:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then, come back when you are ready.', reset = true})

     

     

     

    npcHandler:addModule(FocusModule:new())

     

    O meu system vip é esse: http://www.xtibia.com/forum/topic/136543-vip-system-by-account-v10/

     

    Obrigado,

     

    TuyCB

  5. Eai galera, queria pedi as spells iguais do tibia global, tentei ver o tópico que está fixo lá, mas o link para download não funciona. Baixei também no OT Fans e as magias tão dando muito dano e curando muito também.

    Então, alguém tem?

    O exura san do meu server cura demais, daí eu tentei ajeitar, agora tá curando 1k, uma vez curava 4k. Já as outras spells não sei quanto deveria curar, então to pedindo aí...

    Valeus

     

    TuyCB

  6. Olá galera do Xtibia, eu queria que alguém me ensinasse como faço para deixar os NPC's falando tudo em português, tipo, eu sei editar, só que só sei colocar que quando tu diz "hi" ele fala em português, mas quando tu fala, por exemplo, "trade", ele fala em inglês... como mudo as partes de "trade", "bye", quando ele diz "how rude!", coisas assim?

     

    Ajuda aí rapidão!! :thumbsupsmiley:

     

    Valeu!

     

    TuyCB

  7. Recentemente, nesse tópico http://www.xtibia.com/forum/topic/142463-advanced-reset-system-20/, eu fiz uma pergunta só que ninguém me responde...

     

    Outra pessoa também estava com a dúvida:

    1- Como posso colocar o rank agora sendo que os resets estao na database?

     

    Eu não sei fazer scripts, só sei editar uid, item id, e essas coisas simples...

    Ah, é, meu script tá aqui:

    function getPlayerNameByGUID2(n)

    local c = db.getResult("SELECT `name` FROM `players` WHERE `id` = "..n..";")

    if c:getID() == -1 then

    return "SQL_ERROR["..n.."]"

    end

    return c:getDataString("name")

    end

     

    function onSay(cid, words, param)

    local max = 20

    local letters_to_next = 20

     

    local skills = {

    ['fist'] = 0,

    ['club'] = 1,

    ['sword'] = 2,

    ['axe'] = 3,

    ['distance'] = 4,

    ['shielding'] = 5,

    ['fishing'] = 6,

    ['dist'] = 4,

    ['shield'] = 5,

    ['fish'] = 6,

    }

    local name_now

    local name = "Highscore for level\n"

    local rkn = 0

    local no_break = 0

    param = string.lower(param)

    dofile('config.lua')

    if param == "" or param == "level" and ( param ~= "magic" and param == "ml") and skills[param] == nil then

    name = name.."\n"

    name = name.."Rank Level - Nome do Jogador\n"

    local v = db.getResult("SELECT `name`, `level`, `experience` FROM `players` WHERE `group_id` <= 2 ORDER BY `experience` DESC LIMIT 0,"..(max)..";")

    repeat

    no_break = no_break +1

    if v:getID() == -1 then

    break

    end

    rkn = rkn+1

    name_now, l = v:getDataString("name"), string.len(v:getDataString("name"))

    space = ""

    for i=1, letters_to_next-l do

    space = space.." "

    end

    name = name..rkn..". "..v:getDataInt("level") .." - "..name_now..space.." ".."\n"

    if no_break >= 20 then

    break

    end

    until v:next() == false

     

    elseif param == "magic" or param == "ml" then

    name = name.."\n"

    name = name.."Rank Magic - Nome do Jogador\n"

    local v = db.getResult("SELECT `name`, `level`, `maglevel` FROM `players` WHERE `group_id` <= 2 ORDER BY `maglevel` DESC LIMIT 0,"..(max)..";")

    repeat

    if v:getID() == -1 then

    break

    end

    rkn = rkn+1

    name_now, l = v:getDataString("name"), string.len(v:getDataString("name"))

    space = ""

    for i=1, letters_to_next-l do

    space = space.." "

    end

    name = name..rkn..". "..v:getDataInt("maglevel").." - "..name_now..space.." ".." ".."".."\n"

    until v:next() == false

     

    elseif param == "reset" or param == "resets" then

    name = name.."\n"

    name = name.."Rank Reset - Nome do Jogador\n"

    local v = db.getResult("SELECT `player_id`, `value` FROM `player_storage` WHERE `key` = 1020 ORDER BY cast(value as INTEGER) DESC;")

    local kk = 0

     

    repeat

    if kk == max or v:getID() == -1 then

    break

    end

    kk = kk+1

    name_now, l = getPlayerNameByGUID2(v:getDataInt("player_id")), string.len(getPlayerNameByGUID2(v:getDataInt("player_id")))

    space = ""

    for i=1, letters_to_next-l do

    space = space.." "

    end

    if name_now == nil then

    name_now = 'sql error['..v:getDataInt("player_id")..']'

    end

    name = name..kk..". "..v:getDataInt("value").." - "..name_now..space.." \n"

    until v:next() == false

     

    elseif skills[param] ~= nil then

    name = name.."\n"

    name = name.."Rank "..param.." fighting - Nome do Jogador\n"

    local v = db.getResult("SELECT `player_id`, `value` FROM `player_skills` WHERE `skillid` = "..skills[param].." ORDER BY `value` DESC;")

    local kk = 0

     

    repeat

    if kk == max or v:getID() == -1 then

    break

    end

    kk = kk+1

    name_now, l = getPlayerNameByGUID2(v:getDataInt("player_id")), string.len(getPlayerNameByGUID2(v:getDataInt("player_id")))

    space = ""

    for i=1, letters_to_next-l do

    space = space.." "

    end

     

    if name_now == nil then

    name_now = 'sql error['..v:getDataInt("player_id")..']'

    end

    name = name..kk..". "..v:getDataInt("value").." - "..name_now..space.." \n"

    until v:next() == false

    end

    if name ~= "Highscore\n" then

    doPlayerPopupFYI(cid, name)

    end

     

    return TRUE

    end

    Eu só quero que ele pegue os valores no database do server em vez do storage.

     

    Grato pela atenção,

     

    TuyCB

  • Quem Está Navegando   0 membros estão online

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