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

    [TFS 1.1] Monster Arena

    how configure positions?
  2. beenii

    Lua How Read [BLOB - 36 B] MySQL

    I want read with db.executeQuery: [BLOB - 36 B] on tables: player_items, player_depotitems, player_inboxitems. TFS 1.2 need call SELECT * FROM `player_items ALL ITEMTYPES = 12571 WITH ATRIBUTE "XXX"
  3. beenii

    Lua Get getSpecialAttribute on all items

    Hi Is it possible to consult the special attributes in all the items? Depot, Players, Houses, Tiles Etc. I USE TFS 1.2 I want to transform items with a certain attribute. Example: If Allitems(itemid):getSpecialAttribute <= 12345 then transformto() end to place it in a globalevent
  4. beenii

    C++ ItemDecay (expire items)

    bump
  5. beenii

    Lua [1.2] Adding skull to monster

    I recommend you use in events monster.lua : Monster:onSpawn(position) Example: function Monster:onSpawn(position) skullType = SKULL_RED local namesSkulls = {"Dragon", "Hero"} if isInArray(namesSkulls) then self:setSkull(skullType) return true end end
  6. beenii

    Lua [1.2] Adding skull to monster

    what is your system about?
  7. beenii

    C++ ItemDecay (expire items)

    hi, I am trying to create the items that expire in tibia rl. Example: 17:50 You see a temple teleport scroll that will expire in 3 days and 8 hours. It weighs 1.20 oz. If the item is not used, it disappears. i have to edit this function? int LuaScriptInterface::luaItemDecay(lua_State* L) {...
  8. beenii

    Lua Help to optimize script for Monster:onSpawn(position)

    classT anil value
  9. beenii

    Lua how find string on monster name?

    I used a call to the name of the monster, and there I saw that the problem was the capital letter of the beginning :) thanks all
  10. beenii

    Lua how find string on monster name?

    -------------------------------------------------------- SOLVED ------------------------------------------------------- the problem was the capital letter of the beginning
  11. beenii

    Lua how find string on monster name?

    all monsters print "The monster is legendary" xD
  12. beenii

    Lua how find string on monster name?

    i try if string.find(""..target:getName().."", "[Legendary]") then but dont work xD i want find if monster name contain [Legendary]
  13. beenii

    Lua Help to optimize script for Monster:onSpawn(position)

    correct, now is fixed
  14. beenii

    Lua Help to optimize script for Monster:onSpawn(position)

    i change now to 0: some come without a nickname (commun, rare, etc) As I have the code, it is only creating commun. the idea is that all have nickname, most are common, some rare, royal, and hard to find epic and legendary
  15. beenii

    Lua Help to optimize script for Monster:onSpawn(position)

    update the code but now this happens: CODE NEW: local config = { [1] = {chance = 40,clase ="commun", min = 1, max = 3}, [2] = {chance = 33,clase ="rare", min = 4, max = 5}, [3] = {chance = 17,clase ="royal", min = 6, max = 8}, [4] = {chance = 7,clase ="epic", min = 9, max =...
  16. beenii

    Lua Help to optimize script for Monster:onSpawn(position)

    So far I have achieved this, but it does not work as I would like. the random ones are not very random sometimes. CODE: function Monster:onSpawn(position) local nombres = {"[1] Rotworm Queen", "[2] Minotaur Hunter","[3] Dragon Lord", "[4] Glooth Brigand","[5] Glooth Bandit", "[6]...
  17. beenii

    Cant Log into my server.

    U need put IP public in config.lua and enter with Ur ip real
  18. beenii

    Lua Help with chance table

    I think it's working, I see that you created: function Monster:eek:nSpawn(position) Could you take a look at my code and help me optimize it?
  19. beenii

    Lua Help with chance table

    attempt to index global 'newtable' (a nil value) :(
  20. beenii

    Lua Help with chance table

    hi, i have table for chances, works fine but have error in console lua:46: attempt to index a nil value stack traceback: [C]: in function '__index' line 46: local count = math.random(newtable[rand].min, newtable[rand].max) code complete: local config = { [1] = {chance = 4500, min = 1...
Back
Top