Ir para conteúdo

macalo

Membro
  • Registro em

  • Última visita

Tudo que macalo postou

  1. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    Rodrigo0lg ,eu uso a versão TFS 0.3.6
  2. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    uppppppppppppppppp
  3. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    Afff vei ninguém ajuda nesse krl
  4. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    uppppppppppppppppp
  5. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    upppppppppppppppppppppp
  6. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    assim quando o evento começa ta tudo certo mais quando os player ganhar os vencedores não ganha o premio e não vão pra cidade principal o que eu faço ? o sistema que eu pegei foi desse cara aki Vodkar [sistema] Battlefield Event!
  7. 1>ASSIM QUERIA UM SISTEMA 100% SEM BUGS 2>QUERIA Q OS PLAYERS QUE GANHAM OS ITEM E PERDEM O EVENTO VOLT PARA A CITY 3> QUERIA Q ELE RECEBESSE A RECOMPENSA 4> QUERIA Q FOSSE AUTOMÁTICO ASSIM EU ESTOU PEDINDO PQ OS SISTEMA DE Battlefield Event! Q TTA LA NA AREA DOS SISTEMA ELE NÃO TA FUNCIONADO DIREITO ELE SO TA FALTANDO AQUELAS 4 COISAS ALI EM CIMA . SE ALGUÉM PODER AJUDA EU DO REP +
  8. vei da uma solução ? e não dizer duplicação q todo mundo sabe eu quero é resolver sem danificar o serve.
  9. eu ja arrumei aki mais tem um bugg quando uma pessoa do time ver ou do time vermelho tenta pega a bandeira do rival e não consegue por que a tile de entrega da bandeira não deixa ele subir pra ir pega bandeira vc sabe cmom arumar por que assim pra dizer que a bandeira é >> e a tile de entrega a bandeira é >> e essas retas aki são as parede >>>> ----------------------- ai no mapa ta fechado assim -------------- l <<<<<<<<<<<< ai quando o player vai tentar pega a bandeira a tile de entrega não deixa saco ? -------------- se poder ajuda fico feliz
  10. ASSIM GLR QUANDO EU ATIVO ESSE EVENT ABAIXO MEU SERVE NÃO ATAKA OS PLAYER MAIS QUANDO EU TIRO O EVENT ABAIXO ELE ATAKA NORMAL TEM COMO CORRIGIR ESSE ERRO NO COMBAT <event type="combat" name="BattleTeam" event="script" value="BattleCreatureScript.lua"/> AKI EMBAIXO É O SCRIPT LA DO COMBAT MAIS COMO EU NÃO SEI DE SCRIPT TO PEDINDO UMA AJUDA A VCS function onCombat(cid, target) if isPlayer(cid) and isPlayer(target) then if getPlayerStorageValue(cid, _Lib_Battle_Info.TeamOne.storage) == 1 and getPlayerStorageValue(target, _Lib_Battle_Info.TeamOne.storage) == 1 then doPlayerSendCancel(cid, "You may not attack your team mates.") return false end if getPlayerStorageValue(cid, _Lib_Battle_Info.TeamTwo.storage) == 1 and getPlayerStorageValue(target, _Lib_Battle_Info.TeamTwo.storage) == 1 then doPlayerSendCancel(cid, "You may not attack your team mates.") return false end return true end return true end
  11. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    a e tem outro evento [CTF] Capture The Flag 2.0(Automático) ai tem esse event <event type="combat" name="CTFCombat" event="script" value="CTFMax.lua"/> <!-- CTF by MaXwELlDeN --> --[[ Capture The Flag System Author: Maxwell Denisson(MaXwEllDeN) Version: 2.0 Contact: [email protected] ]] local CTF = CTF_LIB function onStatsChange(cid, attacker, type, combat, value) if getPlayerStorageValue(cid, 16700) ~= -1 and type == 1 and getCreatureHealth(cid) - value <= 0 then if getPlayerStorageValue(cid, 16702) ~= -1 then CTF.returnFlag(cid, 1) end doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) doCreatureAddMana(cid, getCreatureMaxMana(cid)) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) return false end return true end function onLogout(cid) if getPlayerStorageValue(cid, 16700) ~= -1 then CTF.removePlayer(cid) end return true end function onCombat(cid, target) if getPlayerStorageValue(cid, 16700) ~= -1 then if getPlayerStorageValue(cid, 16700) == getPlayerStorageValue(target, 16700) then return false end end return true end function onAttack(cid, target) if getPlayerStorageValue(cid, 16700) ~= -1 then if getPlayerStorageValue(cid, 16700) == getPlayerStorageValue(target, 16700) then return false end end return true end
  12. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    mano eu axo que encontrei o erro eu axo que é aki eu vo marca de vermelho esse script é do sistema Battlefield Event! e tem isso la creaturescripts.xml <event type="combat" name="BattleTeam" event="script" value="BattleCreatureScript.lua"/> BattleCreatureScript.lua function onLogin(cid) if getGlobalStorageValue(_Lib_Battle_Info.TeamOne.storage) == -1 then setGlobalStorageValue(_Lib_Battle_Info.TeamOne.storage, 0) setGlobalStorageValue(_Lib_Battle_Info.TeamTwo.storage, 0) setGlobalStorageValue(_Lib_Battle_Info.storage_count, 0) end registerCreatureEvent(cid, "BattleTeam") registerCreatureEvent(cid, "BattleDeath") return true end function onCombat(cid, target) if isPlayer(cid) and isPlayer(target) then if getPlayerStorageValue(cid, _Lib_Battle_Info.TeamOne.storage) == 1 and getPlayerStorageValue(target, _Lib_Battle_Info.TeamOne.storage) == 1 then doPlayerSendCancel(cid, "You may not attack your team mates.") return false end if getPlayerStorageValue(cid, _Lib_Battle_Info.TeamTwo.storage) == 1 and getPlayerStorageValue(target, _Lib_Battle_Info.TeamTwo.storage) == 1 then doPlayerSendCancel(cid, "You may not attack your team mates.") return false end return true end return true end function onPrepareDeath(cid, deathList, lastHitKiller, mostDamageKiller) if getPlayerStorageValue(cid, _Lib_Battle_Info.TeamOne.storage) >= 1 then setPlayerStorageValue(cid, _Lib_Battle_Info.TeamOne.storage, -1) setGlobalStorageValue(_Lib_Battle_Info.TeamOne.storage, getGlobalStorageValue(_Lib_Battle_Info.TeamOne.storage)-1) doRemoveCondition(cid, CONDITION_OUTFIT) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "[battle Field] You Are Dead!") if getGlobalStorageValue(_Lib_Battle_Info.TeamOne.storage) == 0 then getWinnersBattle(_Lib_Battle_Info.TeamTwo.storage) else doBroadCastBattle(23,"[battleField Information] ".._Lib_Battle_Info.TeamOne.name.." "..getGlobalStorageValue(_Lib_Battle_Info.TeamOne.storage).." VS "..getGlobalStorageValue(_Lib_Battle_Info.TeamTwo.storage).." " .._Lib_Battle_Info.TeamTwo.name) end elseif getPlayerStorageValue(cid, _Lib_Battle_Info.TeamTwo.storage) >= 1 then setPlayerStorageValue(cid, _Lib_Battle_Info.TeamTwo.storage, -1) setGlobalStorageValue(_Lib_Battle_Info.TeamTwo.storage, getGlobalStorageValue(_Lib_Battle_Info.TeamTwo.storage)-1) doRemoveCondition(cid, CONDITION_OUTFIT) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "[battle Field] You Are Dead!") if getGlobalStorageValue(_Lib_Battle_Info.TeamTwo.storage) == 0 then getWinnersBattle(_Lib_Battle_Info.TeamOne.storage) else doBroadCastBattle(23,"[battleField Information] ".._Lib_Battle_Info.TeamOne.name.." "..getGlobalStorageValue(_Lib_Battle_Info.TeamOne.storage).." VS "..getGlobalStorageValue(_Lib_Battle_Info.TeamTwo.storage).." " .._Lib_Battle_Info.TeamTwo.name) end end return true end
  13. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    ele 8.6 ai quando eu tento ataka aparesse isso sorry.not possible la em baixo do meio
  14. ai VVVVVVVVV [4/4/2014 12:23:1] >>> Loading actions... [Warning - Actions::registerEvent] Duplicate registered item with id: 2383, in fromid: 2376 and toid: 2404 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2390, in fromid: 2376 and toid: 2404 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2391, in fromid: 2376 and toid: 2404 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2392, in fromid: 2376 and toid: 2404 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2393, in fromid: 2376 and toid: 2404 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2396, in fromid: 2376 and toid: 2404 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2400, in fromid: 2376 and toid: 2404 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2407, in fromid: 2406 and toid: 2419 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2409, in fromid: 2406 and toid: 2419 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2414, in fromid: 2406 and toid: 2419 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2415, in fromid: 2406 and toid: 2419 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2418, in fromid: 2406 and toid: 2419 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2421, in fromid: 2421 and toid: 2453 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2427, in fromid: 2421 and toid: 2453 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2430, in fromid: 2421 and toid: 2453 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2431, in fromid: 2421 and toid: 2453 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2432, in fromid: 2421 and toid: 2453 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2434, in fromid: 2421 and toid: 2453 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2436, in fromid: 2421 and toid: 2453 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2437, in fromid: 2421 and toid: 2453 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2438, in fromid: 2421 and toid: 2453 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2445, in fromid: 2421 and toid: 2453 [4/4/2014 12:23:5] [Warning - Actions::registerEvent] Duplicate registered item with id: 2451, in fromid: 2421 and toid: 2453
  15. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    DEU ESSE ERRO >>ERROR: Unknown world type: pvp
  16. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    TA NORMAL POW ASSIM >>>>>worldType = "open" VC SABE SE É OUTRA COISA ?
  17. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    ASSIM EU TAVA EDITANDO NO MEU SERVE COLOKEI UNS SISTEMA AI TALS AI QUANDO EU FUI TESTA O SERVE TAVA PERFEITO MAIS QUANDO EU FUI TESTA SE OS PLAYER SE ATAKAVA AI ELE NÃO SE ATAKA ALGEM PODE AJUDA PRA EU COLOKA PRA ATAKA?
  18. [Warning - Actions::registerEvent] Duplicate registered item with id: 2383, in fromid: 2376 and toid: 2404 alguma solução ?
  19. ASSIM glr E Que o Sistema Inicia normal mais quando finaliza ele não leva os player pra cidade e não ganha o premio alguém sabe ajuda nisso
  20. Assim tipo eu não entendi essa parada aki essa posição de espera eu fiz 2 lugar a verde a a vermelha mais so tem uma posição de espera e eu queria coloka 1 time em so lug de espera e outro no luga dele de espera entendeu ? waitpos = {x = 1009, y = 1030, z =7}, -- Posição da sala de espera tppos = {x = 1031, y = 1028, z =7}, -- Onde o TP vai aparecer >>>>>>>> so uma coisa e esse tppos aki é pra onde o play vai ser levado quando começar o evento ?
  21. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    ei agora deu esse erro , o que eu faço ? [Error - GlobalEvents::timer] Couldn't execute event: zombieevent
  22. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    MAIS MEU SCRIPT E ESSE AI MAIS ONDE EU DEVO MUDA É LA ONDE TA DE VERMELEHO ? configuração local = { playerCount = 2001, - armazenamento Global para contar os jogadores restantes / inscritas no evento zombieCount = 2002 - Armazenamento Global para contar os zumbis no evento teleportActionId = 2000, - id Ação da teleporte necessário para o script movimento teleportPosition = {x = 1135, y = 1077, z = 3, stackpos = 1}, - onde será criado o teletransporte teleportToPosition = {x = 1190, y = 1076, z = 7}, - onde o teleporte irá levá-lo teleportId = 1387, - Id do teletransporte timeToStartEvent = 5, - Minutos após ata do teletransporte serão removidos eo evento será declarado começou timeBetweenSpawns = 20, - segundos entre cada desova de zumbi zombieName = "zumbi evento", - Nome do zumbi que deve ser convocado playersNeededToStartEvent = 5, - Jogadores necessários antes que os zumbis podem desovar. - Deve ser o mesmo que no creaturescript! - Os zumbis vão aparecer aleatoriamente dentro desta área fromPosition = {x = 1186, y = 1072, z = 7}, - superior esquerdo cornor do playground toPosition = {x = 1195, y = 1081, z = 7}, - cornor inferior direito do campo de jogos } função OnTimer () tp local = doCreateTeleport (config.teleportId, config.teleportToPosition, config.teleportPosition) doItemSetAttribute (tp, "ajuda", config.teleportActionId) doBroadcastMessage ("evento Zombie, a partir de" .. config.timeToStartEvent .. "minutos! O teleporte será fechada quando o evento começar!", MESSAGE_STATUS_WARNING) setGlobalStorageValue (config.playerCount, 0) setGlobalStorageValue (config.zombieCount, 0) addEvent (StartEvent, config.timeToStartEvent * 1000 * 60) print (getGlobalStorageValue (2001)) final StartEvent função () locais get = getThingfromPos (config.teleportPosition) se get.itemid == config.teleportId então doRemoveItem (get.uid, 1) final fromp local, top = config.fromPosition, config.toPosition se getGlobalStorageValue (config.playerCount)> = config.playersNeededToStartEvent então addEvent (spawnZombie, config.timeBetweenSpawns * 1000) doBroadcastMessage ("Boa sorte no povo evento zumbi! O teleporte fechou!", MESSAGE_STATUS_WARNING) para x = fromp.x, top.x fazer para y = fromp.y, top.y fazer para z = fromp.z, top.z afazeres areapos = {x = x, y = y, z = z, stackpos = 253} getPlayers = getThingfromPos (areapos) se isPlayer (getPlayers.uid) então doPlayerSendTextMessage (getPlayers.uid, MESSAGE_EVENT_ADVANCE: "O primeiro zumbi vão aparecer em" .. config.timeBetweenSpawns .. "segundos! Boa sorte!") final final final final outro doBroadcastMessage ("O evento Zombie não conseguiu iniciar devido a alguns jogadores participantes. \ n Pelo menos" .. config.playersNeededToStartEvent .. "jogadores é necessária!", MESSAGE_STATUS_WARNING) para x = fromp.x, top.x fazer para y = fromp.y, top.y fazer para z = fromp.z, top.z afazeres areapos = {x = x, y = y, z = z, stackpos = 253} getPlayers = getThingfromPos (areapos) se isPlayer (getPlayers.uid) então doTeleportThing (getPlayers.uid, getTownTemplePosition (getPlayerTown (getPlayers.uid)), false) doSendMagicEffect (getPlayerPosition (getPlayers.uid), CONST_ME_TELEPORT) final final final final final final spawnZombie função () se getGlobalStorageValue (config.playerCount)> = 2, então 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 ("Um zumbi tem gerado! Não há atualmente" .. getGlobalStorageValue (config.zombieCount) .. "zumbis em caso de zumbis!", MESSAGE_STATUS_CONSOLE_RED) addEvent (spawnZombie, config.timeBetweenSpawns * 1000) final final
  23. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    [Warning - Evento :: loadScript] Evento onThink não encontrado (dados / GlobalEvents / scripts / evento zumbi / zombie.lua) Ajuda-me D; como eu mudo pra função NoCronômetro Function () para funcionar onThink () ?
  24. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    pois oq eu Faço?
  25. macalo postou uma resposta no tópico em Suporte Tibia OTServer
    tenta resolver esse erro 29/03/2014 01:27:35] [Error - CreatureEvent::configureEvent] No valid type for creature event.mailreceive [29/03/2014 01:27:35] [Warning - BaseEvents::loadFromXml] Cannot configure an event [29/03/2014 01:27:35] [Warning - BaseEvents::loadFromXml] Cannot open globalevents.xml file. [29/03/2014 01:27:35] Line: 21, Info: Couldn't find end of Start Tag globalevent line 21 meu arquivo é do sistema zombe so ta dando esse erro ai em cima ^^^^ vo posta meu sciprit 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 = 157, y = 54, z = 7, stackpos = 1}, -- Where the teleport will be created teleportToPosition = {x = 512, y = 172, z = 8}, -- Where the teleport will take you teleportId = 1387, -- Id of the teleport timeToStartEvent = 1, -- Minutes, after these minutes the teleport will be removed and the event will be declared started timeBetweenSpawns = 20, -- Seconds between each spawn of zombie zombieName = "event zombie", -- Name of the zombie that should be summoned playersNeededToStartEvent = 2, -- 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 = 462, y = 145, z = 8}, -- top left cornor of the playground toPosition = {x = 536, y = 198, z = 8}, -- 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 ira começar em " .. config.timeToStartEvent .. " minutos! O teleporte será fechado quando o evento iníciar!", 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("Boa sorte dentro do zombie event ! O teleport fechou!", 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, "O primeiro zombie ira aparecer em " .. config.timeBetweenSpawns .. " segundos! Boa sorte!") end end end end else doBroadcastMessage("O evento Zombie não pôde iniciar devido a poucos jogadores.\n É preciso pelo menos " .. config.playersNeededToStartEvent .. " players!", 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! há " .. getGlobalStorageValue(config.zombieCount) .. " zombies no evento!", MESSAGE_STATUS_CONSOLE_RED) addEvent(spawnZombie, config.timeBetweenSpawns * 1000) end end alguém ajuda ?

Informação Importante

Confirmação de Termo