Ir para conteúdo

GicoO

Campones
  • Total de itens

    30
  • Registro em

  • Última visita

Posts postados por GicoO

  1. No caso esse script é para players vips?

    Pq se nao for os frees poderam "invadir" as areas vips (:

    cara ve se pensa antes de falar isso é pra por em items tipo vc põe em um item usa ele e o dano vai refletir dãããa

    Aow santa ignorancia _)_

    Já tirei minha duvida , muito obrigado.

    E me diz uma coisa ,que que tem a ver o dano refletir com o systema de Fly? wtf? vegetei .-.

  2. 1 - Gente eu queria um script do evento DOTA que muitos conhecem ...

    Segue um video abaixo para vcs terem uma noção...

     

    2 - E que voces façam um sistema de pet igual ao do usuario do outro forum josejunior23 OU arrumem ele pra mim para TFS 0.4DEV...

     

    Dou 1 semana de rep+ *----------*

    Grato desde já ;**

     

     

    Pow alguem ajuda aew :///

  3. Ai jente consegui resolver o problema que eu estava antes mas agora to com um problema no sistema de Wanted dead or alive do socket ;//

     

    Tipo quando eu mato um monstro começa a aparecer erros no executavel sem parar !

    Só para quando eu relogo o char...

    Detalhe:O monstro fica com 0 de vida e nao cai(só depois que eu relogo o char)

     

    Segue em anexo uma imagem do erro ....

     

    E só da erro no creaturescripts quando tento matar algo , o resto do script ta funcionando perfeitamente.

     

     

    Creaturescript:

     

    function onKill(cid,target)
    
     if isPlayer(cid) and isPlayer(target) then
       local sk = getCreatureSkullType(target)
       local level = getPlayerLevel(target)
       local prize = {0.7*level*100, 1.3*level*100}
       if getPlayerIp(cid) ~= getPlayerIp(target) then
         if sk == SKULL_WHITE or sk == SKULL_RED or sk == SKULL_BLACK then
           if haveReward(getPlayerName(target)) then
             doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "The government payed ".. getPlayerReward(getPlayerName(target)) .." gold coins for the killer of ".. getPlayerName(target) ..". Thank you.")
             doPlayerAddMoney(cid, getPlayerReward(getPlayerName(target)))
             setPlayerReward(getPlayerName(target),0)
           else
             doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "That player aren't wanted.")
           end
         else
           doPlayerAddReward(getPlayerName(cid), math.random(prize[1],prize[2]))
           doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Now the government will pay ".. getPlayerReward(getPlayerName(cid)) .." gold coins for your head.")
           setPlayerReward(getPlayerName(target),0)  
         end
       end
     end
     retur

     

     

    Agradeço desde já pela ajuda !!!

     

    :thumbsupsmiley2:

    post-322187-0-72202000-1319745457_thumb.png

  4. BLUE_FLAG= Onde vai ficar a bandeira, da um look no xao que vai aparece a position, mais da look no chao que voce quer que apareça a bandeira AZUL

    RED_FLAG= Quase a mesma coisa que /\ MAIS da look onde voce quer que apareça a VERMELHA

    Wait_place= é a position de onde vai levar o TP "axo" xD :weight_lift:

    Red_position= é onde vai nascer o time VERMELHO ao entrar no evento*

    Blue_position= é onde vai nascer o time AZUL ao entrar no evento*

     

    *Lembrando que é aleatório!!

    Espero ter ajudado!!

    :beurk:

     

     

    Quero saber dessa aqui ó

     

    frompos = {x=3553, y=3559, z=7} --start sqm in the waiting room(1 floor)
    
    topos = {x=3556,y=3566,z=7} -- end sqm in the waiting room(1 floor)

  5. Da pra vc me explicar melhor a parte da configuração?

    tem coisa que eu nao to in tendendo ai :X

     

    --[[ Places setting ]]--
    
    
    BLUE_FLAG = {x=3536,y=3537,z=7} -- Blue flag Place
    
    RED_FLAG = {x=3536,y=3537,z=7} --red flag Place
    
    Tp_Place = {x=1007,y=991,z=15} -- Place where the event teleport will be created.
    
    Wait_Place = {x=3551,y=3554,z=7} -- Positions Players will  be sent when the enter event's teleport
    
    frompos = {x=3553, y=3559, z=7} --start sqm in the waiting room(1 floor)
    
    topos = {x=3556,y=3566,z=7} -- end sqm in the waiting room(1 floor)
    
    Red_Position = {x=3615,y=3602,z=7} -- Red team temple pos
    
    Blue_Position = {x=3546,y=3536,z=7} -- Blue team temple pos
    

     

     

    Rep+ se ajudar :D

  6. Primeiramente, Olá a todos !



    É a minha primeira duvida postada aqui no XTibia, Intao qualquer irregularidade no post, por favor , desculpem.

    Bom... vamos a minha duvida.

    Eu estava instalando o Zombie Event no Meu Servidor (TFS 0.4), Ocorreu tudo perfeitamente bem, tudo organizado, mas quando eu vou ligar o server ele apresenta o Seguinte erro:

    [Warning - Event::loadScript]Event onTime not found <data/globalevents/scripts/zombie.lua

     

    Aqui esta o Script:

     

    globalevents.xml

     

     

    <globalevent name="zombieevent" time="15:00" event="script" value="zombie.lua"/>

     

     

    zombie.xml

     

     

    local config = {

    playerCount = 2001, -- Global storage for counting the players left/entered in the event

    zombieCount = 2002, -- Global storage for counting the zombies in the event

    teleportActionId = 2000, -- Action id of the teleport needed for the movement script

    teleportPosition = {x = 164, y = 54, z = 7, stackpos = 1}, -- Where the teleport will be created

    teleportToPosition = {x = 451, y = 186, z = 7}, -- Where the teleport will take you

    teleportId = 1387, -- Id of the teleport

    timeToStartEvent = 5, -- Minutes, after these minutes the teleport will be removed and the event will be declared started

    timeBetweenSpawns = 15, -- Seconds between each spawn of zombie

    zombieName = "Event Zombie", -- Name of the zombie that should be summoned

    playersNeededToStartEvent = 5, -- Players needed before the zombies can spawn.

     

    -- Should be the same as in the creaturescript!

    -- The zombies will spawn randomly inside this area

    fromPosition = {x = 439, y = 175, z = 6}, -- top left cornor of the playground

    toPosition = {x = 468, y = 197, z = 6}, -- bottom right cornor of the playground

    }

     

    function onTimer()

    local tp = doCreateTeleport(config.teleportId, config.teleportToPosition, config.teleportPosition)

    doItemSetAttribute(tp, "aid", config.teleportActionId)

    doBroadcastMessage("Zombie event starting in " .. config.timeToStartEvent .. " minutes! The teleport will be closed when the event start!", MESSAGE_STATUS_WARNING)

    setGlobalStorageValue(config.playerCount, 0)

    setGlobalStorageValue(config.zombieCount, 0)

    addEvent(startEvent, config.timeToStartEvent * 1000 * 60)

    print(getGlobalStorageValue(2001))

    end

     

    function startEvent()

    local get = getThingfromPos(config.teleportPosition)

    if get.itemid == config.teleportId then

    doRemoveItem(get.uid, 1)

    end

     

    local fromp, top = config.fromPosition, config.toPosition

     

    if getGlobalStorageValue(config.playerCount) >= config.playersNeededToStartEvent then

    addEvent(spawnZombie, config.timeBetweenSpawns * 1000)

    doBroadcastMessage("Good luck in the zombie event people! The teleport has closed!", MESSAGE_STATUS_WARNING)

     

    for x = fromp.x, top.x do

    for y = fromp.y, top.y do

    for z = fromp.z, top.z do

    areapos = {x = x, y = y, z = z, stackpos = 253}

    getPlayers = getThingfromPos(areapos)

    if isPlayer(getPlayers.uid) then

    doPlayerSendTextMessage(getPlayers.uid, MESSAGE_EVENT_ADVANCE, "The first zombie will spawn in " .. config.timeBetweenSpawns .. " seconds! Good luck!")

    end

    end

    end

    end

    else

    doBroadcastMessage("The Zombie event could not start because of to few players participating.\n At least " .. config.playersNeededToStartEvent .. " players is needed!", MESSAGE_STATUS_WARNING)

    for x = fromp.x, top.x do

    for y = fromp.y, top.y do

    for z = fromp.z, top.z do

    areapos = {x = x, y = y, z = z, stackpos = 253}

    getPlayers = getThingfromPos(areapos)

    if isPlayer(getPlayers.uid) then

    doTeleportThing(getPlayers.uid, getTownTemplePosition(getPlayerTown(getPlayers.uid)), false)

    doSendMagicEffect(getPlayerPosition(getPlayers.uid), CONST_ME_TELEPORT)

    end

    end

    end

    end

    end

    end

     

    function spawnZombie()

    if getGlobalStorageValue(config.playerCount) >= 2 then

    pos = {x = math.random(config.fromPosition.x, config.toPosition.x), y = math.random(config.fromPosition.y, config.toPosition.y), z = math.random(config.fromPosition.z, config.toPosition.z)}

    doSummonCreature(config.zombieName, pos)

    doSendMagicEffect(pos, CONST_ME_MORTAREA)

    setGlobalStorageValue(config.zombieCount, getGlobalStorageValue(config.zombieCount)+1)

    doBroadcastMessage("A zombie has spawned! There is currently " .. getGlobalStorageValue(config.zombieCount) .. " zombies in the zombie event!", MESSAGE_STATUS_CONSOLE_RED)

    addEvent(spawnZombie, config.timeBetweenSpawns * 1000)

    end

    end

     

    ajudae pow =/

     

    Muda a Tag do Script o erro é lá ^^

    Em vez de Time coloca interval e tira o 15:00 e coloca o tempo em segundos ...

    Coloca essa aqui ó :

     

    <globalevent name="zombieevent" interval="30000000" event="script" value="zombie.lua"/>

     

    Sendo que "30000000" é o tempo em segundos que o evento irá ser executado.

     

    ;D

  7. Gente , tipow eu instalei um zombie event e talz...

    Só que tipow anuncia que o evento começou o teleport nao aparece e fica aparecendo que o player Aldo entrou -.-

    Sendo que o server ta off e Aldo é um npc ...

    E perto de onde era pra nasce o TP nao tem nenhum npc Aldo ^^

    Nao to intendendo isso !!

    Da um help ai ^^

    Dai quando "enche" o evento começa a dar erro nos movements...

    Meu ot é 8.6,TSF 0.4

     

    MOVEMENTS:

     

    local config = {
       playerCount = 2001, -- Global storage for counting the players in the event
       maxPlayers = 15, -- Max players who can participate
    
       }
    
    function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
       if getGlobalStorageValue(config.playerCount) < config.maxPlayers then
           setGlobalStorageValue(config.playerCount, getGlobalStorageValue(config.playerCount)+1)
           if getGlobalStorageValue(config.playerCount) == config.maxPlayers then
               doBroadcastMessage("The Zombie event is now full [" .. getGlobalStorageValue(config.playerCount) .. " players]! The event will soon start.")
           else    
               doBroadcastMessage(getPlayerName(cid) .. " entered the Zombie event! Currently " .. getGlobalStorageValue(config.playerCount) .. " players have joined!", MESSAGE_STATUS_CONSOLE_RED)
           end    
       else
           addEvent(tpBack, 1000, cid, fromPosition)
           doPlayerSendCancel(cid, "The event is full. There is already " .. config.maxPlayers .. " players participating in the quest.")
           return false
       end
       print(getStorage(config.playerCount) .. " Players in the zombie event.")
       return true
    end
    
    function tpBack(cid, fromPosition)
       doTeleportThing(cid, fromPosition, true)
       doSendMagicEffect(getPlayerPosition(cid), CONST_ME_TELEPORT)
    end

    post-322187-0-06088800-1314280803_thumb.png

  8. Virus -.-

     

    Que lixo ...

    :winksmiley02:

     

    Ae Pessoal Muito obrigado por teren gostado Estava Sem NET Jaja volto a editar Mais xD

     

     

     

     

     

     

     

    "ARDAMAX.BAR" iso é virus?ou algum progama malicioso Nao me lembro De Ter Virus No Serv

     

     

    Ardamax é um keylogger ...Serve pra registrar as coisas que você esta fazendo :/

    Você já deve saber isso pois o SEU ot tem ^^

  9. Gente hoje aconteceu algo comigo que nunca tinha acontecido antes :S

     

    Tipow...

    Eu tava la de boa mexendo no RME map editor e talz

    dai de repente eu vou ver as town das cidades pra mim dar goto neah...

    Maaaaas...

    TODAS AS TOWNS SUMIRAM !

    e eu nao sei mais oq fazer :S

    alguem me da um help ai?

     

    :winksmiley02:

  10. pq esse eh diferenciado..nao vai ser sempre o mesmo mapa toda vez que for jogar,uma hora o mapa fica mais dificil

    outra mais facil,quem quizer faze team que o faça ^^

     

     

    ;]

     

    Claro que quem quiser fazer team, vai fazer oê, isso é logica. Mapa war não fica dificil por apenas trocar de mapa, fica as mesmas coisas para todos os players. :/

     

     

    claro que fica quando chega no map desert se vai corre pra onde?vai subi escada da onde?

    cada mapa eh diferente ;]

     

    é verdade ....

    E fora que tem mapa que alguns players nao conhecem tanto e consequentemente nao sao boms nos mesmos Hehe'

     

    Muito bom o mapa valew ai ;D

  11. Bom si vc baixa ou não problema concerteza é seu não obrigo ninguem a baixar

    axo que seria pior se minhas respostas não foçe direta nao axa?

    e eu nao preciso disso

    tenho meus outros trabalhos no xtibia

    so conferir

    [8.55]New JogaFacil Ots

     

    abraços

     

     

    Bom amigo em 1ºlugar eu n disse q ia baixar e em 2º lugar eu so dei um aviso pra geral ae blz e tambem n estou interessado em seus projetos até no entanto eu tenho os meus e estou muito feliz com eles flw

    .....

     

    nao obrigo ninguem a baixar,só nao fale merda si vc nem baixo,baixar ou nao ai é por sua conta,si esta feliz cum seus projetos,bom pra vc,não falo mal das coisas sem saber :]

     

     

    creditos colados

     

     

    kkk entao tente tratar as pessoas bem melhor e n desse jeito de arrogancia vlw ae

     

    Kra pq em vez de fica reclamando da coisa dos outros tu nao cala essa sua boca maldita e vai chupa uma ROLA GROSSA que tu ganha mais...

     

    Enquanto ao Tópico ....

    Parabens kra muito bom :thumbsupsmiley2:

     

    E só um aviso ai pra galera PODE baixar num tem virus nao ;D

  • Quem Está Navegando   0 membros estão online

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