Ir para conteúdo

Setth

Membro
  • Registro em

  • Última visita

Tudo que Setth postou

  1. Alguém sabe como arrumar esse erro ou alguém sabe outro programa para criar spell?
  2. function Player.sendTibiaTime(self, hours, minutes) local msg = NetworkMessage() msg:addByte(0xEF) msg:addByte(hours) msg:addByte(minutes) msg:sendToPlayer(self) msg:delete() return true end local function onMovementRemoveProtection(cid, oldPosition, time) local player = Player(cid) if not player then return true end local playerPosition = player:getPosition() if (playerPosition.x ~= oldPosition.x or playerPosition.y ~= oldPosition.y or playerPosition.z ~= oldPosition.z) or player:getTarget() then player:setStorageValue(Storage.combatProtectionStorage, 0) return true end addEvent(onMovementRemoveProtection, 1000, cid, oldPosition, time - 1) end function onLogin(player) local loginStr = 'Welcome to ' .. configManager.getString(configKeys.SERVER_NAME) .. '!' if player:getLastLoginSaved() <= 0 then loginStr = loginStr .. ' Please choose your outfit.' player:sendOutfitWindow() else if loginStr ~= "" then player:sendTextMessage(MESSAGE_STATUS_DEFAULT, loginStr) end loginStr = string.format('Your last visit was on %s.', os.date('%a %b %d %X %Y', player:getLastLoginSaved())) end player:sendTextMessage(MESSAGE_STATUS_DEFAULT, loginStr) local playerId = player:getId() DailyReward.init(playerId) player:loadSpecialStorage() --[[-- Maintenance mode if (player:getGroup():getId() < 2) then return false else end--]] if (player:getGroup():getId() >= 4) then player:setGhostMode(true) end -- Stamina nextUseStaminaTime[playerId] = 1 -- EXP Stamina nextUseXpStamina[playerId] = 1 -- Prey Small Window if player:getClient().version > 1110 then for slot = CONST_PREY_SLOT_FIRST, CONST_PREY_SLOT_THIRD do player:sendPreyData(slot) end end -- New Prey nextPreyTime[playerId] = { [CONST_PREY_SLOT_FIRST] = 1, [CONST_PREY_SLOT_SECOND] = 1, [CONST_PREY_SLOT_THIRD] = 1 } if (player:getAccountType() == ACCOUNT_TYPE_TUTOR) then local msg = [[:: Tutor Rules 1 *> 3 Warnings you lose the job. 2 *> Without parallel conversations with players in Help, if the player starts offending, you simply mute it. 3 *> Be educated with the players in Help and especially in the Private, try to help as much as possible. 4 *> Always be on time, if you do not have a justification you will be removed from the staff. 5 *> Help is only allowed to ask questions related to tibia. 6 *> It is not allowed to divulge time up or to help in quest. 7 *> You are not allowed to sell items in the Help. 8 *> If the player encounters a bug, ask to go to the website to send a ticket and explain in detail. 9 *> Always keep the Tutors Chat open. (required). 10 *> You have finished your schedule, you have no tutor online, you communicate with some CM in-game or ts and stay in the help until someone logs in, if you can. 11 *> Always keep a good Portuguese in the Help, we want tutors who support, not that they speak a satanic ritual. 12 *> If you see a tutor doing something that violates the rules, take a print and send it to your superiors. " - Commands - Mute Player: / mute nick, 90. (90 seconds) Unmute Player: / unmute nick. - Commands -]] player:popupFYI(msg) end -- OPEN CHANNELS if table.contains({"Rookgaard", "Dawnport"}, player:getTown():getName())then player:openChannel(3) -- world chat player:openChannel(6) -- advertsing rook main else player:openChannel(3) -- world chat player:openChannel(5) -- advertsing main end -- Rewards local rewards = #player:getRewardList() if(rewards > 0) then player:sendTextMessage(MESSAGE_INFO_DESCR, string.format("You have %d %s in your reward chest.", rewards, rewards > 1 and "rewards" or "reward")) end -- Update player id local stats = player:inBossFight() if stats then stats.playerId = player:getId() end if player:getStorageValue(Storage.combatProtectionStorage) < 1 then player:setStorageValue(Storage.combatProtectionStorage, 1) onMovementRemoveProtection(playerId, player:getPosition(), 10) end -- Set Client XP Gain Rate if Game.getStorageValue(GlobalStorage.XpDisplayMode) > 0 then displayRate = Game.getExperienceStage(player:getLevel()) else displayRate = 1 end local staminaMinutes = player:getStamina() local storeBoost = player:getExpBoostStamina() player:setStoreXpBoost(storeBoost > 0 and 50 or 0) if staminaMinutes > 2400 and player:isPremium() and storeBoost > 0 then player:setBaseXpGain(displayRate*2*100) -- Premium + Stamina boost + Store boost player:setStaminaXpBoost(150) elseif staminaMinutes > 2400 and player:isPremium() and storeBoost <= 0 then player:setBaseXpGain(displayRate*1.5*100) -- Premium + Stamina boost player:setStaminaXpBoost(150) elseif staminaMinutes <= 2400 and staminaMinutes > 840 and player:isPremium() and storeBoost > 0 then player:setBaseXpGain(displayRate*1.5*100) -- Premium + Store boost player:setStaminaXpBoost(100) elseif staminaMinutes > 840 and storeBoost > 0 then player:setBaseXpGain(displayRate*1.5*100) -- FACC + Store boost player:setStaminaXpBoost(100) elseif staminaMinutes <= 840 and storeBoost > 0 then player:setBaseXpGain(displayRate*1*100) -- ALL players low stamina + Store boost player:setStaminaXpBoost(50) elseif staminaMinutes <= 840 then player:setBaseXpGain(displayRate*0.5*100) -- ALL players low stamina player:setStaminaXpBoost(50) end if player:getClient().version > 1110 then local worldTime = getWorldTime() local hours = math.floor(worldTime / 60) local minutes = worldTime % 60 player:sendTibiaTime(hours, minutes) end if player:getStorageValue(Storage.isTraining) == 1 then -- redefinir storage de exercise weapon player:setStorageValue(Storage.isTraining,0) end return true end
  3. Acho que é 1.2
  4. Você tem esse script?
  5. .Qual servidor ou website você utiliza como base? OTX malucoo Qual o motivo deste tópico? Alguém sabe onde eu acho script que ao logar, mostre mensagem, horário, e onde está o fury gate? ou apenas mostre uma mensagem Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  6. removido
  7. Setth postou uma resposta no tópico em Formação de Equipe
    A qualidade das idéias, mapa e do sistema está muito bom, vai ser uma promessa
  8. Alguém poderia compilar essa source pra windows 10 64x? https://github.com/otland/forgottenserver/archive/master.zip dou REP+
  9. Sempre que vou importa qual quer db do malucoo, logan, e do qwizer da esse erro Quando é de outra versão, funciona 100%
  10. Setth postou uma resposta no tópico em Formação de Equipe
    Estou interessado ... Me add discord: Marcelo Weis#1024
  11. Alguém tem script ao clicar no baú, ele da uma outfit? TFS 1.x
  12. Setth postou uma resposta no tópico em Suporte Tibia OTServer
    Alguém tem um código igual a esse?
  13. Setth postou uma resposta no tópico em Suporte Tibia OTServer
    Qual script eu altero para redskull sair?
  14. Setth postou uma resposta no tópico em Suporte Tibia OTServer
    Alguém tem ou pode fazer um script de raid automática de 4 em 4 horas para OTX?
  15. Setth postou uma resposta no tópico em Suporte OTServer Derivados
    Procuro alguém que possa me auxiliar na composição da scripts dessa Quest. pagamos pelo trabalho que sera desenvolvido.  me manda PM com wpp
  16. Setth postou uma resposta no tópico em Suporte Tibia OTServer
    Alguém pode mandar o script do boss da feyrist? ou pelo menos me falar o looktype dele?
  17. Pessoal alguém sabe alguma query que volta os itens inicias (rookgaard) de todos os players? E query que volta para a vocação none?
  18. Alguém sabe como desabilitar o secure mode? Quero que as magias sempre pega nos players mesmo com o secure mode on
  19. Lua Script Error: [Action Interface] data/actions/scripts/hallsofhope/lever.lua:onUse data/actions/scripts/hallsofhope/lever.lua:27: attempt to index a nil value stack traceback: [C]: in function '__index' data/actions/scripts/hallsofhope/lever.lua:27: in function <data/actions/scripts/hallsofhope/lever.lua:23>
  20. Quando vou dar use na alavanca diz You cannot use this object e no servidor da esse erro Lua Script Error: [Action Interface] data/actions/scripts/hallsofhope/lever.lua:onUse data/actions/scripts/hallsofhope/lever.lua:27: attempt to index a nil value stack traceback: [C]: in function '__index' data/actions/scripts/hallsofhope/lever.lua:27: in function <data/actions/scripts/hallsofhope/lever.lua:23>
  21. Agora apareceu um erro [Warning - Event::checkScript] Can not load script: scripts/hallsofhope/lever.lua data/actions/scripts/hallsofhope/lever.lua:62: unexpected symbol near char(239)
  22. Estarei no aguardo ?
  23. Ele não dá nenhum erro, é como se o script parasse de funcionar
  24. Flávio eu puxo alavanca e ela não vai Aproveitando tem como deixa ela ser puxada tanto com 1 jogador quanto os 5?
  25. Alguém coloca a storage nessa alavanca? Os players que forem teletransportados não poderão entrar de novo em 24h local config = { requiredLevel = 100, daily = false, playerPositions = { Position(33010, 31660, 14), Position(33010, 31661, 14), Position(33010, 31662, 14), Position(33010, 31663, 14), Position(33010, 31664, 14) }, newPositions = { Position(32974, 31670, 14), Position(32975, 31670, 14), Position(32976, 31670, 14), Position(32977, 31670, 14), Position(32978, 31670, 14) }, BossPositions = { Position(32977, 31658, 14) } } function onUse(player, item, fromPosition, target, toPosition, isHotkey) if item.itemid == 1946 then local storePlayers, playerTile = {} for i = 1, #config.playerPositions do playerTile = Tile(config.playerPositions):getTopCreature() if not playerTile or not playerTile:isPlayer() then player:sendTextMessage(MESSAGE_STATUS_SMALL, "You need 5 players.") return true end if playerTile:getLevel() < config.requiredLevel then player:sendTextMessage(MESSAGE_STATUS_SMALL, "All the players need to be level ".. config.requiredLevel .." or higher.") return true end storePlayers[#storePlayers + 1] = playerTile end for i = 1, #config.BossPositions do Game.createMonster("The Time Guardian", config.BossPositions) end local players for i = 1, #storePlayers do players = storePlayers config.playerPositions:sendMagicEffect(CONST_ME_POFF) players:teleportTo(config.newPositions) config.newPositions:sendMagicEffect(CONST_ME_ENERGYAREA) players:setDirection(DIRECTION_EAST) end elseif item.itemid == 1945 then if config.daily then player:sendTextMessage(MESSAGE_STATUS_SMALL, Game.getReturnMessage(RETURNVALUE_NOTPOSSIBLE)) return true end end item:transform(item.itemid == 1946 and 1945 or 1946) return true end

Informação Importante

Confirmação de Termo