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

    Item's slot type

    How can i get item slot type ? i've tried with getSlotPosition but it returns same value (48) for weapons and shields. What i need is to check what slot the item can be equiped (CONST_SLOT_HEAD, CONST_SLOT_RIGHT etc.)
  2. OperatorMopa

    AddEvent to send spectator msg

    It's sending above player, not position and space (" ") is making new line
  3. OperatorMopa

    AddEvent to send spectator msg

    What i need is like Game.sendAnimatedText on the position but as TALKTYPE_MONSTER_SAY
  4. OperatorMopa

    AddEvent to send spectator msg

    I have this code local pos = Position(354, 123, 7) local function showMsg(playerId, position) local player = Player(playerId) if player == nil then print("player logged out") return true end player:say('hello', TALKTYPE_MONSTER_SAY) -- it works local...
  5. OperatorMopa

    db.query question

    Tried db.executequery? Does it change anything ?
  6. OperatorMopa

    Change items in stack value

    Is there any easy way to change stack value of items? for example health potions max 30 in one stack, mana potions max 50 (not 100)
  7. OperatorMopa

    Multiple shopModules

    I've done it by changing totalCost in callbackOnBuy by adding same restrictions as in requestTrade - easy way :)
  8. OperatorMopa

    Multiple shopModules

    It works ! Thanks @MatheusMkalo you saved me a lot of time. I still need to learn so much :) EDIT. To make it work you also need to change callbackOnBuy to consume correct ammount of money
  9. OperatorMopa

    Multiple shopModules

    I propably understand something wrong. Ofc i can check storage in requestTrade, but what would it give to me if buyable items are loaded when the npc is created. How can i change the item price in requestTrade ? it just loads shopItems table which is created with npc. The only problem in...
  10. OperatorMopa

    Multiple shopModules

    Thank you for all the answers. HalfAway idea is the best. Npc module edits are propably useless in this situation. Why? Becouse shopModule:addBuyableItem is executed when you actually create npc - at this time you can't check what storage values of players will be.
  11. OperatorMopa

    Znote AAC cURL is not enabled

    http://stackoverflow.com/questions/8014482/php-curl-enable-linux Check it out, you should understand :)
  12. OperatorMopa

    Windows Crash server [TFS 1.2]

    Do you have any error msg in console?
  13. OperatorMopa

    Multiple shopModules

    The reason i wanted to have different modules was that few of the items would be the same, but with different price. For example rope for knight 20gp, for sorcerer 50gp
  14. OperatorMopa

    Multiple shopModules

    It is, but it when you load it once (as knight for example) its binded to npc, and every other vocation have this module
  15. OperatorMopa

    Multiple shopModules

    The problem is that once shopModule is created its the same for everyone. This is why i wanted to create 2 modules, and depending on vocation show one of them to the player.
  16. OperatorMopa

    Multiple shopModules

    Hello guys :) Is there any way to make few shopModules for one npc? Instead of making 2 npc i wonder if its possible to make a shop which shows different items for knights and different for sorcerers.
  17. OperatorMopa

    About name change

    Jesus, so im that retarded that i had second account with space. Sorry for problem ...
  18. OperatorMopa

    Xenobot vs Windobot

    @Nothxbye I don't understand your post. You also have lua interpreter in windbot. After few years of using different bots, in my opinion windbot is the best bot if you're begginer in scripting. It's easy to setup, configure, tones of free scripts, big community. Btw. Windbot 3.0 is comming -...
  19. OperatorMopa

    TFS 1.2 Multiworld server

    Thanks guys :)
  20. OperatorMopa

    TFS 1.2 Multiworld server

    Is it possible to run few servers at the same login port ? What i mean is the same thing like on rl tibia. After login you have characters to choose on different servers. Everything connected to the same DB. For example: Tester (First World) Test (Second World)
Back
Top