• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Search results

  1. A

    C++ npc and monsters TFS 1.2

    I would like to know the path or which function I could edit so that the NPCs would only be activated walking when I had a player on the same floor or close to them, the same for the monsters -- edit-- monster ok
  2. A

    Programmer Looking for Rotten Blood spells monsters

    Like in title i need rotten blood Spells of mobs i pay well
  3. A

    RevScripts onKill

    local test = CreatureEvent("test") function test.onKill(player, target) local monster = config[target:getName():lower()] if target:isPlayer() or not monster or target:getMaster() then return true end local stor = player:getStorageValue(monster.storage)+1...
  4. A

    Lua npc

    I have a doubt in this part each item the player gets 1 achievement but I don't know how to check this local IDS = { DREAM_MATTER = 22397, CLUSTER_OF_SOLACE = 22396, --weapons CRUDE_UMBRAL_BLADE = 22398, UMBRAL_BLADE = 22399, UMBRAL_MASTER_BLADE = 22400...
  5. A

    RevScripts command

    If the player has any item equipped helmet,armor,items like shield etc and backpack you cannot use the command local test= TalkAction("!test") function test.onSay(player, words, param) for slot = CONST_SLOT_HEAD, CONST_SLOT_AMMO do local slotItem = player:getSlotItem(slot)...
  6. A

    RevScripts Talk !task

    local config = { ['monster 1'] = {amount = 100, storage = x, startstorage = xx, startvalue = 1}, ['monster 2'] = {amount = 100, storage = x, startstorage = xx, startvalue = 1} } I'm wanting to make a command that when the player uses it, it will say the task that it is active and...
  7. A

    RevScripts reset

    local resetSys = TalkAction("!reset") local config = { storageResets = 364214, backToLevel = 8, redskull = true, -- need to be without redskull to reset? battle = true, -- need to be without battle to reset? pz = true, -- need to be in protect zone to reset? stages = {...
  8. A

    RevScripts reduce player damage

    local creatureEvent = CreatureEvent("creatureEventTest2") function creatureEvent.onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin) if not creature or not attacker or creature == attacker then return primaryDamage, primaryType...
  9. A

    RevScripts deport tfs 1x

    local dp = TalkAction("!dp") function dp.onSay(player, words, param) local itemId = 2591 Game.createItem(itemId, 1, player:getPosition()) return true end dp:register() Hello I have a problem I made this talk to create 1 deport the problem that it does not have 'tow' the market...
  10. A

    RevScripts Player:onGainExperience

    function Player:onGainExperience(source, exp, rawExp) if not source or source:isPlayer() then return exp end if self:getStorageValue(config.storageResets) == 1 then local expStage = getRateFromTable(experienceStagesreset1, self:getLevel()...
  11. A

    RevScripts reset

    local resetSys = TalkAction("!reset") local config = { storageResets = 500, backToLevel = 8, redskull = true, -- need to be without redskull to reset? battle = true, -- need to be without battle to reset? pz = false, -- need to be in protect zone to reset? stages = {...
  12. A

    RevScripts Script to strengthen monster attacks

    if the player has storage X receives 5% more damage from monsters if the player has Y storage receives 10% more damage from monsters
  13. A

    RevScripts check in various areas

    local config = { actionId = 21501, Area1 = { fromPos = Position(20444, 20255, 1), -- Upper left corner of the room toPos = Position(20541, 20309, 1), -- Lower right corner of the room entrancePos = Position(20450, 20293, 1), exitPosition =...
  14. A

    RevScripts moviment

    The player in the red arrow position will not be able to pass down the player who is in the green arrow position will be able to pass up
  15. A

    RevScripts TalkAction

    I'm wanting a talk for when it runs all the monsters on the screen receive hitkill, why use a talk and not using it as a spell because when using it it wouldn't appear on the screen
  16. A

    RevScripts onDeath

    local config = { monsterName = 'demon', centerPosition = Position(33653, 32907, 15), rangeX = 50, rangeY = 50 } local function checkBoss(centerPosition, rangeX, rangeY, bossName) local spectators, spec = Game.getSpectators(centerPosition, false, false, rangeX, rangeX...
  17. A

    TFS 1.X+ getItemAttribute error

    local teste = Action() function teste.onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.itemid == 9957 then local torch_storage, torch_monsters = Event_Lightbearer.getTorchInfo(toPosition) if not (getPlayerStorageValue(cid, torch_storage) == 1) then...
  18. A

    Lua sell equipped item

    local function onSell(cid, item, subType, amount, ignoreCap, inBackpacks) local player = Player(cid) if not player then return false end if not getTable(player) then return false end local items = setNewTradeTable(getTable(player)) if...
  19. A

    Lua look

    function Player:onLookInTrade(partner, item, distance) if item.itemid >= 40114 and item.itemid <= 40125 then description = description .. item:getDescription(distance) local charges = item:getCharges() if charges then...
  20. A

    RevScripts create 3 items close to the player up to 3 sqm away

    create 3 items next to the player if the player does not pass over the item a monster will spawn after 5 minutes remove the monster that was created local area = { fromPos = {x = 32363, y = 32138, z = 7}, toPos = {x = 32371, y = 32145, z = 7} } local function getPlayerFromArea()...
Back
Top