• TibiaFace

    Tibiaface | Una comunidad Open Tibia donde encontras : mapas, scripts, Otserver, npc y amigos etc ...

    .
    demo menumenu

    Afiliados



    Votar:

    [Mods] Capture The Flag New (tfs y Otx)

    Compartir:

    Ver el tema anterior Ver el tema siguiente Ir abajo  Mensaje (Página 1 de 1.)

    1[Mods] Capture The Flag New (tfs y Otx) Empty [Mods] Capture The Flag New (tfs y Otx) Lun Dic 04, 2017 12:14 pm

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    Hola usuarios de tibiaface


    Bueno aqui les traigo nuevamente el capture the flag espero que con este nuevo tema le fusione a todos normalmente este evento

    si mas preangulos aqui tienen el sistema se va su carpeta:

    MOD
    y agregan el archivo w-captureTheFlag.xml

    en la misma carpeta se encuentra el mapa que se encuentra en la cordenada
    {x = 4761, y = 3231, z = 7}

    solo importan el mapa que se colocara automaticamente en esa cordenada

    y el evento ya esta configurado para escoger esas cordenadas solo es arrrancar el evento


    [Mods] Capture The Flag New (tfs y Otx) Captur11

    link : [Tienes que estar registrado y conectado para ver este vínculo]

    y agregan a:

    data\xml\groups.xml

    estas 2 lineas

    Código:
    <group id="7" name="Runer" flags="8202" customFlags="50331648"/>
       <group id="8" name="Spectacor" flags="70369281057035" customFlags="50331648"/>



    [Mods] Capture The Flag New (tfs y Otx) YNU5B25
    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes
    http://www.tibiaface.com

    2[Mods] Capture The Flag New (tfs y Otx) Empty Re: [Mods] Capture The Flag New (tfs y Otx) Miér Dic 06, 2017 1:03 pm

    Simon Marin

    Simon Marin
    Miembro
    Miembro
    bro pero yo quiero usar el mapa que yo ise para este evento...y las posiciones que estan en el mod no las entiendo en que lugar deben ir

    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes

    3[Mods] Capture The Flag New (tfs y Otx) Empty Re: [Mods] Capture The Flag New (tfs y Otx) Miér Dic 06, 2017 1:05 pm

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    Simon Marin escribió:bro pero yo quiero usar el mapa que yo ise para este evento...y las posiciones que estan en el mod no las entiendo en que lugar deben ir

    use el otro que estaba usando el otro systema si no le entiende.

    pues le digo que solamente es seguir las cordenadas de lo que te dice ahi



    [Mods] Capture The Flag New (tfs y Otx) YNU5B25
    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes
    http://www.tibiaface.com

    4[Mods] Capture The Flag New (tfs y Otx) Empty Re: [Mods] Capture The Flag New (tfs y Otx) Miér Dic 06, 2017 1:47 pm

    Simon Marin

    Simon Marin
    Miembro
    Miembro
    Bro es que tengo otro problemita con el otro mod.. lo que pasa es que se inicia cada 1 minuto no se como areglar eso

    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes

    5[Mods] Capture The Flag New (tfs y Otx) Empty Re: [Mods] Capture The Flag New (tfs y Otx) Miér Dic 06, 2017 7:44 pm

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    Simon Marin escribió:Bro es que tengo otro problemita con el otro mod.. lo que pasa es que se inicia cada 1 minuto no se como areglar eso

    ok voy a ver ese scripts y veo que sucede ok



    [Mods] Capture The Flag New (tfs y Otx) YNU5B25
    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes
    http://www.tibiaface.com

    Miguel Albertto

    Miguel Albertto
    Miembro
    Miembro
    admin god maya me sale este error en mi ot. es version 8.6 otxserver 2.9
    Código:
    [11/1/2018 1:43:22] [Error - CreatureScript Interface]
    [11/1/2018 1:43:22]          domodlib('CTF_config')
    [11/1/2018 1:43:22]          domodlib('CTF_lib')

    [11/1/2018 1:43:22]          function onStatsChange(cid, attacker, type, combat, value)
    [11/1/2018 1:43:22]             if type == 1 and getCreatureHealth(cid) <= value then
    [11/1/2018 1:43:22]                if isPlayer(cid) then
    [11/1/2018 1:43:22]                   if getCreatureStorage(cid, ctfConfig.red.storage) > 0 then
    [11/1/2018 1:43:22]                      addEvent(doTeleportThing, 0, cid, ctfConfig.red.deathPos)
    [11/1/2018 1:43:22]                      doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You dead and you have been teleported to dead room. After few seconds you will be teleported again to the battle.')

    [11/1/2018 1:43:22]                      local deadOutfit = createConditionObject(CONDITION_OUTFIT)
    [11/1/2018 1:43:22]                      setConditionParam(deadOutfit, CONDITION_PARAM_TICKS, -1)
    [11/1/2018 1:43:22]                      addOutfitCondition(deadOutfit, {lookType = 313, lookHead = 94, lookBody = 94, lookLegs = 94, lookFeet = 94})
    [11/1/2018 1:43:22]                      doAddCondition(cid, deadOutfit)

    [11/1/2018 1:43:22]                      doRemoveConditions(cid)

    [11/1/2018 1:43:22]                      doCreatureAddHealth(cid, -(getCreatureHealth(cid) - 1))
    [11/1/2018 1:43:22]                      doCreatureAddMana(cid, -(getCreatureMana(cid) - 1))
    [11/1/2018 1:43:23]                      doCreatureSetStorage(cid, ctfConfig.deathStorage, 1)
    [11/1/2018 1:43:23]                      
    [11/1/2018 1:43:23]                      if getCreatureStorage(cid, ctfConfig.flag.storage) == 1 then
    [11/1/2018 1:43:23]                         if getTileItemById(getThingPos(cid), 2019).uid > 0 then
    [11/1/2018 1:43:23]                            doRemoveItem(getTileItemById(getThingPos(cid), 2019).uid)
    [11/1/2018 1:43:23]                         end
    [11/1/2018 1:43:23]                         doCreateItem(ctfConfig.flag.id, 1, getThingPos(cid))
    [11/1/2018 1:43:23]                         doCreatureSetStorage(cid, ctfConfig.flag.storage, -1)
    [11/1/2018 1:43:23]                         doBroadcastMessage('[CTF]\n\n' .. getCreatureName(cid) .. ' from [red team] has lost the flag!', MESSAGE_STATUS_WARNING)
    [11/1/2018 1:43:23]                         doChangeSpeed(cid, math.floor(getCreatureBaseSpeed(cid) / 2))
    [11/1/2018 1:43:23]                      end
    [11/1/2018 1:43:23]                      return false
    [11/1/2018 1:43:23]                   elseif getCreatureStorage(cid, ctfConfig.blue.storage) > 0 then
    [11/1/2018 1:43:23]                      addEvent(doTeleportThing, 0, cid, ctfConfig.blue.deathPos)
    [11/1/2018 1:43:23]                      doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You dead and you have been teleported to dead room. After few seconds you will be teleported again to the battle.')

    [11/1/2018 1:43:23]                      local deadOutfit = createConditionObject(CONDITION_OUTFIT)
    [11/1/2018 1:43:23]                      setConditionParam(deadOutfit, CONDITION_PARAM_TICKS, -1)
    [11/1/2018 1:43:23]                      addOutfitCondition(deadOutfit, {lookType = 313, lookHead = 94, lookBody = 94, lookLegs = 94, lookFeet = 94})
    [11/1/2018 1:43:23]                      doAddCondition(cid, deadOutfit)

    [11/1/2018 1:43:23]                      doRemoveConditions(cid)
    [11/1/2018 1:43:23]                      
    [11/1/2018 1:43:23]                      doCreatureAddHealth(cid, -(getCreatureHealth(cid) - 1))
    [11/1/2018 1:43:23]                      doCreatureAddMana(cid, -(getCreatureMana(cid) - 1))
    [11/1/2018 1:43:23]                      doCreatureSetStorage(cid, ctfConfig.deathStorage, 1)
    [11/1/2018 1:43:23]                      
    [11/1/2018 1:43:23]                      if getCreatureStorage(cid, ctfConfig.flag.storage) > 0 then
    [11/1/2018 1:43:23]                         if getTileItemById(getThingPos(cid), 2019).uid > 0 then
    [11/1/2018 1:43:24]                            doRemoveItem(getTileItemById(getThingPos(cid), 2019).uid)
    [11/1/2018 1:43:24]                         end
    [11/1/2018 1:43:24]                         doCreateItem(ctfConfig.flag.id, 1, getThingPos(cid))
    [11/1/2018 1:43:24]                         doCreatureSetStorage(cid, ctfConfig.flag.storage, -1)
    [11/1/2018 1:43:24]                         doBroadcastMessage('[CTF]\n\n' .. getCreatureName(cid) .. ' from [blue team] has lost the flag!', MESSAGE_STATUS_WARNING)
    [11/1/2018 1:43:24]                         doChangeSpeed(cid, math.floor(getCreatureBaseSpeed(cid) / 2))
    [11/1/2018 1:43:24]                      end
    [11/1/2018 1:43:24]                      return false
    [11/1/2018 1:43:24]                   end
    [11/1/2018 1:43:24]                end
    [11/1/2018 1:43:24]             end
    [11/1/2018 1:43:24]             return true
    [11/1/2018 1:43:24]          end
    [11/1/2018 1:43:24]       :onStatsChange
    [11/1/2018 1:43:24] Description:
    [11/1/2018 1:43:24] (LuaInterface::luaAddOutfitCondition) Condition not found

    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    Miguel Albertto escribió:admin god maya me sale este error en mi ot. es version 8.6 otxserver 2.9
    Código:
    [11/1/2018 1:43:22] [Error - CreatureScript Interface]
    [11/1/2018 1:43:22]          domodlib('CTF_config')
    [11/1/2018 1:43:22]          domodlib('CTF_lib')

    [11/1/2018 1:43:22]          function onStatsChange(cid, attacker, type, combat, value)
    [11/1/2018 1:43:22]             if type == 1 and getCreatureHealth(cid) <= value then
    [11/1/2018 1:43:22]                if isPlayer(cid) then
    [11/1/2018 1:43:22]                   if getCreatureStorage(cid, ctfConfig.red.storage) > 0 then
    [11/1/2018 1:43:22]                      addEvent(doTeleportThing, 0, cid, ctfConfig.red.deathPos)
    [11/1/2018 1:43:22]                      doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You dead and you have been teleported to dead room. After few seconds you will be teleported again to the battle.')

    [11/1/2018 1:43:22]                      local deadOutfit = createConditionObject(CONDITION_OUTFIT)
    [11/1/2018 1:43:22]                      setConditionParam(deadOutfit, CONDITION_PARAM_TICKS, -1)
    [11/1/2018 1:43:22]                      addOutfitCondition(deadOutfit, {lookType = 313, lookHead = 94, lookBody = 94, lookLegs = 94, lookFeet = 94})
    [11/1/2018 1:43:22]                      doAddCondition(cid, deadOutfit)

    [11/1/2018 1:43:22]                      doRemoveConditions(cid)

    [11/1/2018 1:43:22]                      doCreatureAddHealth(cid, -(getCreatureHealth(cid) - 1))
    [11/1/2018 1:43:22]                      doCreatureAddMana(cid, -(getCreatureMana(cid) - 1))
    [11/1/2018 1:43:23]                      doCreatureSetStorage(cid, ctfConfig.deathStorage, 1)
    [11/1/2018 1:43:23]                      
    [11/1/2018 1:43:23]                      if getCreatureStorage(cid, ctfConfig.flag.storage) == 1 then
    [11/1/2018 1:43:23]                         if getTileItemById(getThingPos(cid), 2019).uid > 0 then
    [11/1/2018 1:43:23]                            doRemoveItem(getTileItemById(getThingPos(cid), 2019).uid)
    [11/1/2018 1:43:23]                         end
    [11/1/2018 1:43:23]                         doCreateItem(ctfConfig.flag.id, 1, getThingPos(cid))
    [11/1/2018 1:43:23]                         doCreatureSetStorage(cid, ctfConfig.flag.storage, -1)
    [11/1/2018 1:43:23]                         doBroadcastMessage('[CTF]\n\n' .. getCreatureName(cid) .. ' from [red team] has lost the flag!', MESSAGE_STATUS_WARNING)
    [11/1/2018 1:43:23]                         doChangeSpeed(cid, math.floor(getCreatureBaseSpeed(cid) / 2))
    [11/1/2018 1:43:23]                      end
    [11/1/2018 1:43:23]                      return false
    [11/1/2018 1:43:23]                   elseif getCreatureStorage(cid, ctfConfig.blue.storage) > 0 then
    [11/1/2018 1:43:23]                      addEvent(doTeleportThing, 0, cid, ctfConfig.blue.deathPos)
    [11/1/2018 1:43:23]                      doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You dead and you have been teleported to dead room. After few seconds you will be teleported again to the battle.')

    [11/1/2018 1:43:23]                      local deadOutfit = createConditionObject(CONDITION_OUTFIT)
    [11/1/2018 1:43:23]                      setConditionParam(deadOutfit, CONDITION_PARAM_TICKS, -1)
    [11/1/2018 1:43:23]                      addOutfitCondition(deadOutfit, {lookType = 313, lookHead = 94, lookBody = 94, lookLegs = 94, lookFeet = 94})
    [11/1/2018 1:43:23]                      doAddCondition(cid, deadOutfit)

    [11/1/2018 1:43:23]                      doRemoveConditions(cid)
    [11/1/2018 1:43:23]                      
    [11/1/2018 1:43:23]                      doCreatureAddHealth(cid, -(getCreatureHealth(cid) - 1))
    [11/1/2018 1:43:23]                      doCreatureAddMana(cid, -(getCreatureMana(cid) - 1))
    [11/1/2018 1:43:23]                      doCreatureSetStorage(cid, ctfConfig.deathStorage, 1)
    [11/1/2018 1:43:23]                      
    [11/1/2018 1:43:23]                      if getCreatureStorage(cid, ctfConfig.flag.storage) > 0 then
    [11/1/2018 1:43:23]                         if getTileItemById(getThingPos(cid), 2019).uid > 0 then
    [11/1/2018 1:43:24]                            doRemoveItem(getTileItemById(getThingPos(cid), 2019).uid)
    [11/1/2018 1:43:24]                         end
    [11/1/2018 1:43:24]                         doCreateItem(ctfConfig.flag.id, 1, getThingPos(cid))
    [11/1/2018 1:43:24]                         doCreatureSetStorage(cid, ctfConfig.flag.storage, -1)
    [11/1/2018 1:43:24]                         doBroadcastMessage('[CTF]\n\n' .. getCreatureName(cid) .. ' from [blue team] has lost the flag!', MESSAGE_STATUS_WARNING)
    [11/1/2018 1:43:24]                         doChangeSpeed(cid, math.floor(getCreatureBaseSpeed(cid) / 2))
    [11/1/2018 1:43:24]                      end
    [11/1/2018 1:43:24]                      return false
    [11/1/2018 1:43:24]                   end
    [11/1/2018 1:43:24]                end
    [11/1/2018 1:43:24]             end
    [11/1/2018 1:43:24]             return true
    [11/1/2018 1:43:24]          end
    [11/1/2018 1:43:24]       :onStatsChange
    [11/1/2018 1:43:24] Description:
    [11/1/2018 1:43:24] (LuaInterface::luaAddOutfitCondition) Condition not found



    ahi dice que no reconoce la funcion addOutfitCondition( pero es raro es version que tiene tendria que reconocer aquello



    [Mods] Capture The Flag New (tfs y Otx) YNU5B25
    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes
    http://www.tibiaface.com

    Laciel

    Laciel
    Nuevo Miembro
    Nuevo Miembro
    para que tfs es esto?

    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    Laciel escribió:para que tfs es esto?

    tfs 0.3.7 o tfs 0.4.0



    [Mods] Capture The Flag New (tfs y Otx) YNU5B25
    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes
    http://www.tibiaface.com

    OyaYansa

    OyaYansa
    Miembro
    Miembro
    funcioinaria para tfs 0.3.6

    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    OyaYansa escribió:funcioinaria para tfs 0.3.6

    en tfs 0.3.6 la funciones storages es distinta tendria que ver si en su distribucion cambia par apoder modificarle aquello del scripts



    [Mods] Capture The Flag New (tfs y Otx) YNU5B25
    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes
    http://www.tibiaface.com

    12[Mods] Capture The Flag New (tfs y Otx) Empty Re: [Mods] Capture The Flag New (tfs y Otx) Miér Ago 19, 2020 9:24 am

    Mezzony

    Mezzony
    Miembro
    Miembro
    Hola Bro, Como hago para que puedan entrar varios con la misma IP?

    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes

    13[Mods] Capture The Flag New (tfs y Otx) Empty Re: [Mods] Capture The Flag New (tfs y Otx) Miér Ago 19, 2020 10:13 am

    Mezzony

    Mezzony
    Miembro
    Miembro
    Bro, cuando digo !ctf join, sale este mensage en la consola:


    [19/08/2020 10:06:14] [Error - TalkAction Interface]
    [19/08/2020 10:06:14] buffer:onSay
    [19/08/2020 10:06:14] Description:
    [19/08/2020 10:06:14] (luaCreateConditionObject) This function can only be used while loading the script.

    [19/08/2020 10:06:14] [Error - TalkAction Interface]
    [19/08/2020 10:06:14] buffer:onSay
    [19/08/2020 10:06:14] Description:
    [19/08/2020 10:06:14] (luaDoAddCondition) Condition not found


    Pero me lleva al evento y todo.

    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    Mezzony escribió:Bro, cuando digo !ctf join, sale este mensage en la consola:


    [19/08/2020 10:06:14] [Error - TalkAction Interface]
    [19/08/2020 10:06:14] buffer:onSay
    [19/08/2020 10:06:14] Description:
    [19/08/2020 10:06:14] (luaCreateConditionObject) This function can only be used while loading the script.

    [19/08/2020 10:06:14] [Error - TalkAction Interface]
    [19/08/2020 10:06:14] buffer:onSay
    [19/08/2020 10:06:14] Description:
    [19/08/2020 10:06:14] (luaDoAddCondition) Condition not found


    Pero me lleva al evento y todo.

    tendras que revisar que condicion te esta agregado el talkactions que no funciona en su protocolo de ot



    [Mods] Capture The Flag New (tfs y Otx) YNU5B25
    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes
    http://www.tibiaface.com

    15[Mods] Capture The Flag New (tfs y Otx) Empty Re: [Mods] Capture The Flag New (tfs y Otx) Dom Mayo 29, 2022 12:47 am

    akane

    akane
    Miembro
    Miembro
    me da el siguiente error al usar el comando !startctf

    Código:
    [0:38:56.251] [Error - GlobalEvent Interface]
    [0:38:56.253]                  domodlib('CTF_config')
    [0:38:56.255]                  domodlib('CTF_lib')

    [0:38:56.256]                  function onThink(interval)
    [0:38:56.258]                          if getStorage(ctfConfig.eventStorage) == 1 then
    [0:38:56.260]                                  doAddScoreToBaseCTF()
    [0:38:56.262]                          end
    [0:38:56.263]                          return true
    [0:38:56.264]                  end
    [0:38:56.266]          :onThink
    [0:38:56.268] Description:
    [0:38:56.271] (LuaInterface::luaGetTileInfo) Tile not found

    [0:38:56.274] [Error - GlobalEvent Interface]
    [0:38:56.276]                  domodlib('CTF_config')
    [0:38:56.278]                  domodlib('CTF_lib')

    [0:38:56.280]                  function onThink(interval)
    [0:38:56.282]                          if getStorage(ctfConfig.eventStorage) == 1 then
    [0:38:56.285]                                  doAddScoreToBaseCTF()
    [0:38:56.288]                          end
    [0:38:56.290]                          return true
    [0:38:56.291]                  end
    [0:38:56.293]          :onThink
    [0:38:56.294] Description:
    [0:38:56.296] [string "                domodlib('CTF_config')..."]:53: attempt to index a boolean value
    [0:38:56.301] stack traceback:
    [0:38:56.302]  [string "                      domodlib('CTF_config')..."]:53: in function 'doAddScoreToBaseCTF'
    [0:38:56.310]  [string "LuaInterface::loadBuffer"]:6: in function <[string "LuaInterface::loadBuffer"]:4>
    [0:38:56.313] [Error - GlobalEvents::think] Couldn't execute event: CTF_bases

    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes

    Galarce

    Galarce
    Nuevo Miembro
    Nuevo Miembro
    gracias

    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes

    Zero00

    Zero00
    Nuevo Miembro
    Nuevo Miembro
    como le pongo para poderlo abrir cuando yo quiera??

    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes

    Contenido patrocinado


    +5
    OyaYansa
    Laciel
    Miguel Albertto
    Simon Marin
    [Admin] God Maya
    9 participantes

    Ver el tema anterior Ver el tema siguiente Volver arriba  Mensaje (Página 1 de 1.)

    Permisos de este foro:
    No puedes responder a temas en este foro.

     

    BienvenidosTibiaFace es una comunidad de Open Tibia. Para participar debes estar registrado (click para Regístrate).