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

    Titan Quest free to keep forever on Steam until 23rd of September

    This sure is a great game, only bad thing about it is that its very easy to dupe items. If you like ARPG's I recommend you to grab this game while its free. Off topic: If I remember correctly Grim Dawn use the Titan quest engine
  2. Mummrik

    Lua i can use item to get an addon i alrdy have

    Add in the begining of the function if player:hasOutfit(useItem.female) or player:hasOutfit(useItem.male) then return true end Full script edited: local config = { -- Racoon [40869] = {female = 1372, male = 1371, addon = 3, effect = CONST_ME_GIANTICE}, } local addons =...
  3. Mummrik

    Lua Monster of the day (Group)

    That is the correct way, see everything inside a table/array as a number and to access it just type the index number to get it. I love seeing when someone is posting "i'm reading about this"👍 keep it up and you might be the one teaching me :D
  4. Mummrik

    Lua Monster of the day (Group)

    You probably just used boostedMonstersListEx as table/array parameter, but that is a table containing tables whit the data that you want to check so thats why you have to use it like this boostedMonstersListEx[1], it can be tricky understanding multidimension arrays/tables in the begining I'm...
  5. Mummrik

    Lua Monster of the day (Group)

    First of not sure if you should use onDeath instead use onPrepareDeath (if it exists) Then you could add something like this to lua libs (isInArray(array, element) does exist in TFS use that instead) function table.contains(table, element) for _, value in pairs(table) do if value ==...
  6. Mummrik

    Lua Lever that counts time.

    Feel free to tag or pm me, im not available all the time. But if i do have time i like to help out, especially when someone is trying to build a system himself :)
  7. Mummrik

    Lua Lever that counts time.

    I would avoid having a global variable like that, just do something like this getGuildName(getGlobalStorageValue(guildStorages[1])) if you want it to be less typing you could make a local function in the wz script local function WZGuildName(index) return...
  8. Mummrik

    Lua Lever that counts time.

    This might not be the right function calls, its more of a pseudo example. This is a simple way to get track of who got the highest "score" local winner = 0 local winnerScore = 0 local guildStorages = { [1] = 1234, [2] = 1235, [3] = 1236, [4] = 1237 } for i, #guildStorages then...
  9. Mummrik

    Lua Clickable item if you have a certain storage value

    This should fix it, he forgot to check if you had new storage set local config = { needStorageKey = 77756, -- storage key required to open the chest? needStorageValue = 1, -- storage value required to open the chest? giveStorageKey = 50033, -- storage key given after chest opened...
  10. Mummrik

    Lua Clickable item if you have a certain storage value

    This should do the trick, but the player would be able to spawn as many items he wants to. You need to describe what is supposed to happen, if you want a more "advanced" script. Nobody will know what your intentions of the script are whitout a proper explaination TFS 1.x local storageValue =...
  11. Mummrik

    Lua Clickable item if you have a certain storage value

    Im not sure what you want to be done, and what tfs version you use. Here is a example for tfs 0.x, to check if a player got storage 50033 set local storageValue = 50033 function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerStorageValue(cid, storageValue) > 0 then...
  12. Mummrik

    TFS 0.X Auction system (Website Tradeoff) + Upgrade system (Refin Items)

    Ok, seems like it return a uid, so you should be able to just put buyed_item where i told you to use buyed_item.uid but for some reason buyed_item get nil. Not sure if the getItemAttack() function exists in the engine Try to search for that function inside your source
  13. Mummrik

    TFS 0.X Auction system (Website Tradeoff) + Upgrade system (Refin Items)

    Could you print(buyed_item) on the line above where it crash and see what it returns Edit: And yes looks right, but seems like buyed_item isnt what i thought it was
  14. Mummrik

    TFS 0.X Auction system (Website Tradeoff) + Upgrade system (Refin Items)

    is "buyed_item" a uid? else try buyed_item.uid
  15. Mummrik

    TFS 0.X Auction system (Website Tradeoff) + Upgrade system (Refin Items)

    it looks like you have commented out the part where you set the atk/def/arm attribute in the last script you posted Only the set name attribute is active Edit: I did find this lua functions, Im not sure if you should set the attribute or set the atk/def/arm value on the item // Set...
  16. Mummrik

    Character Auction

    I Thought so, but i guess you would get more money selling the character directly to a customer, then using a 3rd party shop since thay take a cut.
  17. Mummrik

    Character Auction

    This wont affect the 3rd party character selling market, since you buy the characters for Tibia coins. Who would want Tibia coins if you quit the game? I did not read the full article, so i just assume the seller get TC. Edit: its quite good idea tought, since most of us have tons of alt...
  18. Mummrik

    Change Email for Account. Client 12.3

    Wouldn't it be better to edit the source to accept both the email or account name/number? Edit: Im not sure how it works "under the hood" while you login.
Top