• 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. G

    Lua Looking for special chest script

    Hello guys I need help to create a chest script that give for player 2000 of exp or 3000 of exp random when use, but with interval of 10 minutes to use again the chest, someone can help with this script? I have forgotten server 1.x
  2. G

    TFS 1.X+ c++ programming help tfs 1.2

    I would like to implement players to gain experience by killing other players, well i found this on config lua experienceByKillingPlayers = true looking some files sources i found this function here uint64_t Player::getGainedExperience(Creature* attacker) const { if...
  3. G

    nostalrius engine

    hello guys anyone know how can i make deposit and withdraw in banks npcs? thanks
  4. G

    TFS 1.X+ Help Nostalrius depot problem

    Hello Otlanders, could someone using Nostalrius engine fix this problem? or already know this problem? The problem happens when the depotchest is full of items, and you for example receive some items by mailbox, or leave house with many items there, and they end up filling the depot...
  5. G

    help me with script tfs 1.2

    before the Game.setGameState(GAME_STATE_SHUTDOWN) in this script, i need a command to kick all players online of the server using this Game.getPlayers() how can i do it? local function serverSave() if shutdownAtServerSave then Game.setGameState(GAME_STATE_SHUTDOWN) else...
  6. G

    C++ Nostalrius Bug

    Hello, anyone that work with nostalrius engine fixed this issue? https://github.com/TwistedScorpio/Nostalrius/issues/21#issue-407937976 There is a fix for this, but it doesn't work very well, the monsters continue with the effect once. if someone found the correct solution, I thank you for...
  7. G

    Lua Help with script depot 1.2

    Using the a movement script, when player stepin or stepout of depot tile, how to do it automatically, a check if inside the player depot chest or locker have items with id == 4031, if there are items with this id, item: transform (4033) depot chest = id 3871 locker = id 1237 is it possible to...
  8. G

    Lua How fix my heal friend script tfs 1.2

    local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_HEALING) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) combat:setParameter(COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false) function onGetFormulaValues(player...
  9. G

    Request Lua script tfs1.2

    Hello Otland How can i do a script like this Have 3 tiles target id 304,367,380 If player move any item to tiles target After 2 seconds, get a storage 2800,1 Is it possible to do?
  10. G

    Programmer Looking for programmer TFS 1.2

    Any Brazilian Programmer Availabe?
  11. G

    my script doubt TFS 1,2

    I have this script part on my quests.lua if player:getStorageValue(700,1) or player:getStorageValue(701,1) or player:getStorageValue(702,1) or player:getStorageValue(703,1) or player:getStorageValue(704,1) then player:setStorageValue(805, 1) end my doubt Is there any simpler way to...
  12. G

    My script request for tfs 1.2

    function onLogin(player) is possible this function check a player storage and do the player login in position declared? StorageValue(9000, 1) if player have this storage login on xxxx,xxxx,x position?
  13. G

    Lua Question about script

    How can i execute this, using movements script. If the player get the storageValue stopped under the sqm with stepIn function the local text dont open yes? Well... Have a function to check is the player is there In position to execute the script here? Example, if the player is there stopped...
  14. G

    script request

    For TFS 1.2 version. Token ID: 5308 Reward Item ID:1401 Present container Item ID:2389 if player use the token, the token will be removed, but after 3 tokens used(idk maybe use storage value to count?), onLogin the script check if the player have used 3 tokens and if have free cap for receive...
  15. G

    Script question

    Can i have problem if i use math.random(1,200) ? In all script that i saw this function is (1,100) Because i want a thing with less chance of (1,100)
  16. G

    How to do? Item respawn.

    Hello, im looking a way to do a item respawn inside a dead corpse, this is possible? 10% chance to appear. Some informations Server version: TFS 1.2 Corpse ID:3786 Item ID:5016 Corpse Position: 2781,3013,8
  17. G

    Lua, block player move item

    Forgotten server 1.2 how can i stop a player from moving 2 items from their sqm position? Without modific theys on items.otb, Only allow for use theys. Item id 1: 2007 Item id 2: 3085 Position of id 2007 2034,1023,7 Position of id 3085 2034,1025,7
  18. G

    script modification tfs1.2

    itemid="3482" when i move this item 3482 transform on item 3481, right... if i move this item 3482 on a stack of items 3482, how to tranform all on item 3481? not only one. my movement script function onRemoveItem(item, tileitem, position) if item:getPosition():getDistance(position) > 0...
  19. G

    Help quest script

    Lua 1.2 tfs Someone can help me to do script of part of this movie 05:00 minutes Im trying to do this part of grass and stairs appear after some time, but no idea how can i do this work perfectly like movie. Players need wait grass start grow up again to appear the stair on stone sqm.
  20. G

    Lua monster summons tfs 1.2

    is there any way to choose monster summon position? (where the summon of monster will appear)
Back
Top