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

    trash in houses

    The function expect for cid, item, count, toContainer, fromContainer, fromPos, toPos as parameters, and u are passing moveItem, frompos, position, cid
  2. Z

    OTClient Yes/No Dialog Window

    After some time working on it, i got: Will try implement with onMove now.
  3. Z

    House - Lose item

    Maybe he setHouseOwner() function don't give back itens from house to last owner depot, i don't have 0.4 sources to check
  4. Z

    C++ [Windows] Free compiling service [TFS 1.3] [TFS 0.4]

    Isn't better create a VM configured to compile? Just teach how to change source files and press compile... But nice initiative.
  5. Z

    Guide to scripting with Lua

    Very good content! Easy reading and very well explained! Waiting for next chapters.
  6. Z

    Monster drop simulator - tool for game balance.

    Nice tool. Where can i get it? I searched here in forum and don't found. Write a loot calculador is in my TO DO list haha
  7. Z

    How i can make it?

    Try: local offer_pos, reward_pos = Position(32342, 32236, 6), Position(32344, 32236, 6) local reagent_pos = Position(32344, 32236, 6) local config = { [2154] = 2140, [26298] = 25410, } function onUse(player, item, fromPosition, target, toPosition, isHotkey) local tile =...
  8. Z

    spawn rate

    Sorry, i know the thread is already answered... But, can i change this value with server online? Just to know.
  9. Z

    On startup script 1.2

    Change: local chance = math.random(1, 100) if chance <= 5 then Game.createItem(2160, 25, Position(1000, 1000, 7)) end To: local chance = math.random(1, 100) if chance <= 5 then Game.createItem(CONTAINER_ITEM_ID, 1, Position(1000, 1000, 7)):addItem(ITEM_ID, ITEM_COUNT) end
  10. Z

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

    @Edit already answered Otland don't updated the topic with new msgs LUL
  11. Z

    TFS 1.X+ [TFS 1.3] Block messages like (.biz, .servegame, .no-ip, .sytes.net ....)

    Could't be better add this callback(onSay Callback) and do this through Lua? To when needed add new msgs and don't need to recompile? -I don't tested this callback, just readed about-
  12. Z

    Lua, block player move item

    If the itens are in others positions, can be moved? This will block to move all itens that have itemId in blockedToMoveItensId table, to any position: In: data\events\scripts\player.lua on fuction Player:onMoveItem(item, count, fromPosition, toPosition, fromCylinder, toCylinder) put this above...
  13. Z

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

    Yeah, this is much better! Would never think of using it that way, thanks!
  14. Z

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

    Try this: In your lib folder create the file: wall_lamps.lua and put this inside: * Im using Lib folder like 0.4 By Zbizu * local startPos = {x = 0, y = 0, z = 7} --X, Y and Z values where will start searching for Lamps local finalPos = {x = 50, y = 50, z = 7} --X, Y and Z values where will...
Back
Top