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

    MyAAC v0.7.12

    Hi. Im using myacc version 0.1.3 with OTHire 0.0.3. I have a problem when creating a new account. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'ip' cannot be null' in D:\Tibia...
  2. J

    Lua [solved] NPC buying problem

    shopModule:addBuyableItem({'crossbow'}, 2455, 400, 1, 'Crossbow') shopModule:addBuyableItem({'bow'}, 2456, 400, 1, 'Bow') You were right. In this order it works. Thanks
  3. J

    Lua [solved] NPC buying problem

    bump
  4. J

    Lua [solved] NPC buying problem

    Hello. I created a lua script for buying weapons and ammunition. Problem is that, if player ask for crossbow he gets a bow, because word crossbow contains a 'bow'. Is there any way to check only for full (exact) word and not just a part of it ? Here is my code...
  5. J

    Lua [Solved] NpcSystem. Shop doesnt give money after taking an item.

    Problem was in items.xml. Attribute key "currency" was missing.
  6. J

    Lua [Solved] NpcSystem. Shop doesnt give money after taking an item.

    Problem is that function doPlayerAddMoney doesnt work. If im trying to use it in talkaction script it does not give a money and no error in console either. Any ideas ?
  7. J

    Lua [Solved] NpcSystem. Shop doesnt give money after taking an item.

    Doesnt work either. Nah'Bob: Do you want to sell 1 1 for 3000 gold coins? Now Npc cant even use a proper name of item. function ShopModule:addSellableItem(names, itemid, cost, realname). Function is using 4 parameters so that part is correct.
  8. J

    Lua [Solved] NpcSystem. Shop doesnt give money after taking an item.

    Hello. Im using 7.72 OThire distro. In npc/scripts/lib/npcsystem/ is located a lua file called modules.lua with implemented functions for shopping. I created my own NPC using those functions in npcsystem. Everything works fine but player does not get a money for an item that he sold. Here is...
  9. J

    [7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

    Hello. Can someone explain and show me how to make a NPC buyer using the functions in modules.lua. Here is the example of my code: if msgcontains(msg, "tempest rod") then if doPlayerRemoveItem(cid, 2183, 1) then doPlayerAddMoney(cid, 3000)...
  10. J

    Lua Talkaction promote script. Problem with LUA function [solved]

    Solved. I used doPlayerSetVocation(cid,voc) instead and it works.
  11. J

    Lua Talkaction promote script. Problem with LUA function [solved]

    The problem isnt in second parameter. If i set it to 1 i still get this error. I found many scripts here for promotion but none worked for me. Everytime i get an error because of setPlayerPromotionLevel function data/talkactions/scripts/promote.lua:19: attempt to call global 'setPlayerPromot...
  12. J

    Lua Talkaction promote script. Problem with LUA function [solved]

    Hello. Im trying to make a talkaction script to promote players on 7.72. Im using a OTHire distro located here: https://otland.net/threads/7-72-othire-0-0-1b-based-in-otserv-trunk-latest.212153/ When im trying to use lua function setPlayerPromotionLevel() the server console keep spamming...
  13. J

    [7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

    What exact flag needs to be added to see items id and positions ? Because when im using Elime's flag calculator and ill check all flags except cannot move items and cannot pick items im able to see item's id and position but i cant move any items or drop them from backpack. Those flags in...
  14. J

    [7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

    Hello. I have a question. I want to add a feature so that if GM clicks on the ground he can see both id of item and position. How can i achieve that ?
  15. J

    [7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

    Okey problem was the bind_only_global_address = true. When i set this to false everything is working now. Thx anyway
  16. J

    [7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

    My ports 7171-7172 are opened for TCP and UDP in my router. If i change the ip in config to my global IP the server wont be even accessible for character list.
  17. J

    [7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

    Hi. I've got a problem. When i start this OT sever my friends from the internet cant login. The character list will load but when they try to login timeout will pop up. I can login just fine. Idk where is the problem, i check config multiple times and i even try to compile a new exe. Thx for...
  18. J

    [Germany]TiTaNiUm World 2k13 [9.83/.82](DIABLO ItemSystem And More) <---

    Best OT ever. Great community and GM . Originally ideas and custom map , spells, awesome Bomberman game :D ;) 10/10 Thorin Oakenshield
Back
Top