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

    TFS 1.2 get player by guid

    No, but you could easily write the function by looping all players and comparing the GUID. online players only: function getPlayerByGUID(guid) for _, player in ipairs(Game.getPlayers()) do if player:getGuid() == guid then return player:getId() end end return nil end works for...
  2. Elbow

    House price in TFS 1.2

    or, if this server is not yet public just truncate tile_store table in phpmyadmin (server must be offline), doing so will erase all house items but also cause house door descriptions to update
  3. Elbow

    Solved Missing sql query ingame store

    Then something else is happening after running the script, and the code responsible is located outside the script. Can you search your scripts for the following string? INSERT INTO `store_history`
  4. Elbow

    Crash Server onkill tfs 1.x

    try to remove some lines under local corpse = and see if it still crashes, if it does then also remove that line together with lines below (until first end)
  5. Elbow

    [Help] Item editor doesn't save changes in my otb file

    can't walk on it before changing .dat, the client won't even send the move packet if the tile you're moving onto is blocking. first edit the dat to remove the blocking attribute, and then edit OTB second. (make sure to load the edited .dat)
  6. Elbow

    Lua Help me to this ground id's

    10112-10113, 10116-10118, but there is no open hole sprite instead you can use large hole (7932, 7933) but it will not look so good
  7. Elbow

    Lua [0.4] DemonOak error

    This shouldn't happen with the code given here, but all the configuration variables are declared globally in the script, which means another script using the same variable names could cause interference to this script. try changing summons = to this local summons = if that doesn't work, I'm not...
  8. Elbow

    [Gesior] Forum posts + ISO 8591 = death

    try to figure out which filters (function calls) are applied when displaying forum post contents, and remove/modify them as necessary
  9. Elbow

    Lua Need use with Shovel/Pick not only use!

    if item.uid == 7662 then in this snippet, shouldn't item.uid be itemEx.uid? if you're checking unique ID of the item shovel or pick were used ON.
  10. Elbow

    Rebirth Npc TFS 1.2

    add in data/lib/compat/compat.lua at the end of file: getCreatureStorage = getPlayerStorageValue doCreatureSetStorage = setPlayerStorageValue
  11. Elbow

    Solved Missing sql query ingame store

    Are you sure this is the right script? Are you getting the following message: You have recived 25 coins to your account.?
  12. Elbow

    Start RL map server in 32bit!

    While this may help if you don't have enough RAM present in your computer and want to use the pagefile to make up for it, a better solution is to add more RAM for faster performance, or rent a VPS with enough ram to handle your map size (generally 4GB and up). Also as above post says, Laatido or...
  13. Elbow

    Solved How to randomize several different values?

    Not in Lua it doesn't, it chooses to be different among the C-style languages
  14. Elbow

    Solved Mappers pls read two questions

    door switch: -- Coordinates of the door local doorPos = {x=1, y=1, z=1} -- IDs of closed and open door local doorClosed = 1209 local doorOpen = 1211 function onUse(cid, item, frompos, item2, topos) if (item.itemid == 1945) then -- Opening door, switch flipped to left...
  15. Elbow

    Trilogy RPG Official Thread - 7.72 Open Tibia Server

    Good server, but haven't played much, just used the opportunity to login and remove the Account Data Warning from my 7.72 client.
  16. Elbow

    Problem in potions.lua

    Cooldown durations do not stack, each exhaust condition sets the cooldown to an exact value, if a cooldown of a higher duration isn't already present in the current group. That's why i suggested testing with lower values (-200, -500) to see at which threshold it starts to work normally.
  17. Elbow

    Solved How to randomize several different values?

    to get the numbers, simply access the table by index, as shown: numbers[1] would be the first random number, numbers[2] the second and so on..
  18. Elbow

    Website error :(!

    it does, but might not be the best solution in this case
  19. Elbow

    Website error :(!

    Or you can disable notices in your php.ini error_reporting = E_ALL & ~E_NOTICE alternatively, add this to your index.php error_reporting(E_ALL & ~E_NOTICE however, the notices might indicate a more severe problem, such as incompatible AAC with your server/database version.
  20. Elbow

    Problem in potions.lua

    I also think latency isn't a problem on localhost, but 1000 - 100 is 900 milliseconds and that shouldn't be causing a cooldown of 1 second to suddenly become 2 seconds long.
Back
Top