• 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!

tables

  1. oserc

    TFS 1.X+ Problem with table (including cid even with command to not do so)

    Hey boys and girls, all good? I'm trying to create a custom spell for my server, it's a simple "arrow shower" (it shoots 2 bonus arrows on 2 different creatures that are near the main target, 1 sqm away max). The script is written as follows: function onCastSpell(cid, var) local formula...
  2. Sunwave

    help metatable in lua

    I'm working with metatables and I need help, I have a table inside this metatable and I wanted to insert values into them and return this table, but when I create the metatable these values are 0 function Teste(cid) local player = Player(cid) if not player then return end local t...
  3. T

    TFS 1.X+ Explain and example please

    Can someone with higher Lua level tell me how to write the 3 examples below on a table or best way to beautifying it if (player:getItemCount(2672) >= 1) and (player:getItemCount(2671) >= 1) and (player:getItemCount(2670) >= 1) and (player:getItemCount(2669) >= 1) and (player:getItemCount(2668)...
  4. Codinablack

    Lua Solved! Table Variable references value from same table

    Ok so this might seem like a super noobie question, but I am stuck, and I can't seem to find the technique or the method I'm trying to use anywhere out there on stackexchange or reddit or anything... So first the code. CustomSkills = { ["Mining"] = {rate = 1, level = 1, tries = 0, maxLevel...
  5. Daniel Kopeć

    Solved Castle War [MOD] tables in the database Problem !

    I have added War Castle [MOD]. What tables do I need to add to the database to get rid of any errors and keep everything working? TFS 0.4 Tibia 8.6
  6. L

    Linux Optimize Table vs not optimize

    Hi, when my server startup i get some errors when optimizing tables, after some attemps it ends with a "failure", but i dont see any problem ingame, someone know how to fix that? and what happen if i start server with startupDatabaseOptimization = false? whats the difference? hello
  7. Karofel

    Lua Optimize code - Action

    Hello, I wrote that script and now want to extend it, but i need to create so much tables etc for that. So there is someone who have idea how to optimize that? local chance1 = 1 local chance2 = 5 local chancerare = 20 local itemstodestroy = {25522, 2494, 25523} local mats = {5887, 5888} local...
Back
Top