• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. J

    tfs 1.2 script request

    I understand, but in my case I would like it to work only for items that are on the floor(on work with the items are in backpack for example), also two more questions, how can i declare the 2 specific target id on script? and i need this working in all tiles of map, so i need this script work...
  2. J

    tfs 1.2 script request

    Is there any way to send x msg to the player only if he moves any item 6 square meters away to the central Tile? I have never seen any function related to tile counting ^^ exist?
  3. J

    onDeath script 1.2

    How can i do a onDeath script to check if the tile is pvpzone and the player died for monsters is teleported to a determinated position?
  4. J

    Lua Field Damage tfs 1.2

    Hmm Good, but is impossible do this using lua script? Set a time to change the damage to half on players
  5. J

    Lua Field Damage tfs 1.2

    local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE) combat:setParameter(COMBAT_PARAM_MAGICEFFECT, CONST_ME_HITBYFIRE) combat:setParameter(COMBAT_PARAM_CREATEITEM, 2118) function onCastSpell(creature...
  6. J

    onDeath script 1.2

    How to do a check in onDeath script Check If the tile is pvp zone and the player condition is fire, when the player die, is teleported to a position 1020,1023,8
  7. J

    Request script for TFS 1.2

    Hello Otlands, im looking for any way to do a script to count the online houres of each player during a month, and give a xxxx storage for top online, and reset this count every 30 days? Im looking a system like this.
  8. J

    TFS 1.X+ Tfs 1.2 Bug in Arena PVP (pvp Zone with map editor)

    any news? im looking for this fix too ;/
  9. J

    Script

    Idk how to do this, for only player and only one time if the player have the specific storage value
  10. J

    Script

    Im creating a reward system, for people that use some premium scrolls, so i need the reward go to player depot
  11. J

    Script

    I didnt see too, maybe this need do on sources only :s
  12. J

    Script

    For forgotten server 1.x If player have storage xxxx onLogin a item id 108 appear on depot of specific town?
  13. J

    TFS 1.X+ Wall torches don't save their stat

    work, but now, i cant turn on or turn off normally lamp outside the houses
  14. J

    TFS 1.X+ Wall torches don't save their stat

    i got this console msg when i use the lamp Lua Script Error: [Action Interface] data/actions/scripts/others/lamp_states.lua:onUse data/actions/scripts/others/lamp_states.lua:3: attempt to call method 'isHouse' (a nil value) stack traceback: [C]: in function 'isHouse'...
  15. J

    TFS 1.X+ Wall torches don't save their stat

    now is working good, thanks so much ! just a question, I was thinking here... the action script maybe, is possible check if is house tile to work this system? summarizing only used lamps inside the houses.
  16. J

    TFS 1.X+ Wall torches don't save their stat

    {["Position(32410, 32219, 7)"] = 5908, ["Position(32410, 32223, 7)"] = 5908, ["Position(32410, 32227, 7)"] = 5908, ["Position(32402, 32222, 7)"] = 5907} ["Position(32410, 32223, 7)"] = 5908}
  17. J

    TFS 1.X+ Wall torches don't save their stat

    now this, working... Loading lamp states Previous data stored, size: 0 Lamp is already in default state, skipping. Restoring previous state of lamp at Position(32410, 32223, 7) to id 5907 This appear on console when i use more than 1 lamp for example. Loading lamp states Lua Script Error...
  18. J

    TFS 1.X+ Wall torches don't save their stat

    I add now function loadLampStates() local file = io.open('lamp_states.lua') print('Loading lamp states') if file then wallLamps = unserialize(file:read('*a')) print('Previous data stored, size: '.. #wallLamps) for serializedPos, state in pairs(wallLamps) do...
  19. J

    TFS 1.X+ Wall torches don't save their stat

    no prints on console too, all script lib here wallLamps = {} lampTransformIds, reverseLampTransformIds = { -- used for direct access to flip ids [5907] = 5908 }, {} for k, v in pairs(lampTransformIds) do reverseLampTransformIds[v] = k end function table.size(t) local size = 0...
Back
Top