Ir para conteúdo

Chaotiick

Membro
  • Registro em

  • Última visita

Tudo que Chaotiick postou

  1. obg. se pode disponibilizar tmb o web mto obg. usei o znote mais deu error.
  2. uma duvidade disculpa ai. entao so compilo https://github.com/nekiro/TFS-1.4-Downgrades/tree/8.60 e so copiar o compilado na pasta do styler v10?
  3. tentei mais so fala "One or all players did not wait "x time" ja modifiquei as coordenadas.
  4. o script roda em tfs 1.3. mais preciso ajuda para colocar um coldoown pra poder fazer dnovo a quest. (configurable) local config = { duration = 10, -- time till reset, in minutes level_req = 1, -- minimum level to do quest min_players = 1, -- minimum players to join quest lever_id = 1945, -- id of lever before pulled pulled_id = 1946 -- id of lever after pulled } local player_positions = { [1] = {fromPos = Position(928, 1015, 7), toPos = Position(919, 1020, 7)} -- [2] = {fromPos = Position(1000, 1000, 7), toPos = Position(1000, 1000, 7)}, -- [3] = {fromPos = Position(1000, 1000, 7), toPos = Position(1000, 1000, 7)}, -- [4] = {fromPos = Position(1000, 1000, 7), toPos = Position(1000, 1000, 7)} } local monsters = { [1] = {pos = Position(918, 1016, 7), name = "Orc"} } local quest_range = {fromPos = Position(913, 1013, 7), toPos = Position(925, 1020, 7)} -- see image in thread for explanation local exit_position = Position(1000, 1000, 7) -- Position completely outside the quest area function doResetAnnihilator(position, cid_array) local tile = Tile(position) local item = tile and tile:getItemById(config.pulled_id) if not item then return end local monster_names = {} for key, value in pairs(monsters) do if not isInArray(monster_names, value.name) then monster_names[#monster_names + 1] = value.name end end for i = 1, #monsters do local creatures = Tile(monsters[i].pos):getCreatures() for key, creature in pairs(creatures) do if isInArray(monster_names, creature:getName()) then creature:remove() end end end for i = 1, #player_positions do local creatures = Tile(player_positions[i].toPos):getCreatures() for key, creature in pairs(creatures) do if isInArray(monster_names, creature:getName()) then creature:remove() end end end for key, cid in pairs(cid_array) do local participant = Player(cid) if participant and isInRange(participant:getPosition(), quest_range.fromPos, quest_range.toPos) then participant:teleportTo(exit_position) exit_position:sendMagicEffect(CONST_ME_TELEPORT) end end item:transform(config.lever_id) end function onUse(player, item, fromPosition, target, toPosition, isHotkey) if item.itemid ~= config.lever_id then return player:sendCancelMessage("The quest is currently in use. Cooldown is " .. config.duration .. " minutes.") end local participants, pull_player = {}, false for i = 1, #player_positions do local fromPos = player_positions[i].fromPos local tile = Tile(fromPos) if not tile then print(">> ERROR: Annihilator tile does not exist for Position(" .. fromPos.x .. ", " .. fromPos.y .. ", " .. fromPos.z .. ").") return player:sendCancelMessage("There is an issue with this quest. Please contact an administrator.") end local creature = tile:getBottomCreature() if creature then local participant = creature:getPlayer() if not participant then return player:sendCancelMessage(participant:getName() .. " is not a valid participant.") end if participant:getLevel() < config.level_req then return player:sendCancelMessage(participant:getName() .. " is not the required level.") end if participant.uid == player.uid then pull_player = true end participants[#participants + 1] = {participant = participant, toPos = player_positions[i].toPos} end end if #participants < config.min_players then return player:sendCancelMessage("You do not have the required amount of participants.") end if not pull_player then return player:sendCancelMessage("You are in the wrong position.") end for i = 1, #monsters do local toPos = monsters[i].pos if not Tile(toPos) then print(">> ERROR: Annihilator tile does not exist for Position(" .. toPos.x .. ", " .. toPos.y .. ", " .. toPos.z .. ").") return player:sendCancelMessage("There is an issue with this quest. Please contact an administrator.") end Game.createMonster(monsters[i].name, monsters[i].pos, false, true) end local cid_array = {} for i = 1, #participants do participants[i].participant:teleportTo(participants[i].toPos) participants[i].toPos:sendMagicEffect(CONST_ME_TELEPORT) cid_array[#cid_array + 1] = participants[i].participant.uid end item:transform(config.pulled_id) addEvent(doResetAnnihilator, config.duration * 60 * 1000, toPosition, cid_array) return true end creditos do script : Apollos
  5. tem q vincular as variables do vs
  6. oi, to tentndo compilar um otx 3 mais ao compilar tira este error. se algem pode me ajudar obg
  7. Chaotiick respondeu ao post em um tópico de Pedro. em Tibia Global OTServer
    pode compilar com visual 2019??
  8. how to remove icon system?
  9. y como consigo ese remeres? intente con este pero me tira elmismo error. tmb cambie el otb en la carpeta de reme pero sige sin funcionar. gracias.
  10. cual e a pass? obg
  11. OI. eu gosto de fazer maps, poderia fazer 1 map mto detalhado sim voce gosta, NAO FALO pt sou mexicano mais sei escreber. e gosto de server :B sim gosta eu podo fazer 1 map. so preciso a dat-spr e os items.xml-otb pra fazer manda pm sim gostar
  12. gracias por la aportacion, muy lindo todo. como puedo editar el mapa? gracias.
  13. sim pode fazer pra mim o script com xp+reward em items Vlw! tenho tfs 0.3.6 cryingdamson. rep+
  14. pode color pra ele dar XP + cash ou alguma coisa pela kill do Top lvl? Thanks
  15. bom dia, algem ae tem algum script do Pokemon Box 1,2,3,4,5,6,7, etc.. e pra um server Erondino v16. TY.. os que contem o servidor n funfa :S pls ajuda
  16. obrigado, qndo vai postar a sources? rep+ obrigado, qndo vai postar a sources? rep+
  17. precisa de suas sources, se nao tem nao pode tirar a diferen"c"a obs: sorry pelo meu portugues. sou gringo
  18. Chaotiick respondeu ao post em um tópico de eternalc em Suporte Tibia OTServer
    so coloca sua no ip ae EnterGame.setUniqueServer ("aqyue sua no ip.", 7171, 854, 270, 210) obs: sou gringo sorry pelo portuguese
  19. meu deus pra q tntas pics?? so vai no Sqlite studios o Seu XAmp e borra a tabela "z-shop-offer" o como seja o nome e listo.... deps vai pra glovalebents e borra o evento chamado "shop"
  20. Chaotiick respondeu ao post em um tópico de eternalc em Suporte Tibia OTServer
    C:\Windows\System32\drivers\etc>host abre o archivo e adicione na ultima linea sua ipglobal e depois sua ip do no-ip tipow exemplo vv xxx.xxx.xx.xxx.x teste.sytes.net
  21. Chaotiick respondeu ao post em um tópico de BielZet em Suporte Tibia OTServer
    nao entendo mto bem a funcao "hitchance jamais usei mais" em seu bow ou crossbow poem <attribute key="hitChance" value="90" /> depois em sua arrow ou bolt poem <attribute key="maxHitChance" value="10" /> 90+10=100.? se vc poem demais nao funfa (eu penso)so em maxhp% etc..
  22. Chaotiick respondeu ao post em um tópico de BielZet em Suporte Tibia OTServer
    e uma wand? ja edito em items.xml? e tmb add em weapons.xml?
  23. Chaotiick respondeu ao post em um tópico de BielZet em Suporte Tibia OTServer
    edita na arrow em items.xml "shottype "etherealspear" para as spells em config.lua emoteSpells = true pra laranja false pra normal..

Informação Importante

Confirmação de Termo