• 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. Gesior.pl

    tfs 0.4 monster doesnt move

    There were 1000+ OTSes running TFS 0.4, all used 11 SQM range to detect players. Where did you get your TFS 0.4? Got some download link? Did you modify anything in engine? Is it only problem with walking or whole monster reaction to player 'on screen'? Do they attack player with distance spells...
  2. Gesior.pl

    Tower, waves of monsters.

    You register Boss_Waves event only for boss and it's only function that calls checkWaveClear, so checkWaveClear probably does not execute at all, when you kill normal monsters. Add some debug print at start of checkWaveClear and check, if it executes at all. EDIT: You can fix it for test by...
  3. Gesior.pl

    Lua in method 'addSellableItem' attempt to index a nil value (local 'it')

    ItemType(id or name) returns ItemType object, if parameter is number or string, otherwise it returns nil. It means that in 13 line of Timur.lua you try to add some item using addSellableItem, but value passed as ID is not a number/string. Your value is probably table or nil: table in case your...
  4. Gesior.pl

    TFS 1.X+ Check tile/item elevation

    In C++ hasHeight does it on Tile object ("parcels" walking 1->2->3->next floor). In Lua you can try to reproduce it on Item with: item:hasProperty(CONST_PROP_HASHEIGHT)
  5. Gesior.pl

    TFS 1.X+ Problem NPC - Argument #5 is unsafe

    Problem is that you are inside onBuy callback in 79 line of code, function that will be called, when player clicks in tibia client some action (Buy/Sell) in Trade Window. Your code: openShopWindow(cid, shopWindow, function(cid, itemId, subType, amount, ignoreCap, inBackpacks)...
  6. Gesior.pl

    Atributte max health percent to a transform ring

    Are you sure that you have <attribute key="slotType" value="ring"/> in items.xml? I've checked newest otxserv2 (8.60 - otxserver/data/items/items.xml at otxserv2 · mattyx14/otxserver (https://github.com/mattyx14/otxserver/blob/otxserv2/data/items/items.xml)) and it does not have this attribute...
  7. Gesior.pl

    Problem after adding market/inbox

    There is probably no OTS with 8.6 market code published. TFS 1.4.2 market code is stable (no crashes, no problems with math [some old market codes cloned money!]), verified by multiple servers and works with OTClient for sure. It just needs some little changes to fill missing data from Tibia.dat...
  8. Gesior.pl

    Problem after adding market/inbox

    Yes. Also, if you decide to use 1.4.2 code for market, its for 10.98, so you must make OTC think your client version is 10.98 in market module. You will have to replace every g_game.getClientVersion() and g_game.getProtocolVersion() with 1098 in...
  9. Gesior.pl

    Problem after adding market/inbox

    Only with OTCv8 market module and modified code on server side. Market added on RL Tibia in 9.44 did one big change in RL Tibia Client. Since this version Tibia.dat file contains item names, categories (armor, helmet etc.) and information, if they are tradeable on market at all. Without that...
  10. Gesior.pl

    Block MC with same IP

    It should not hit CPU usage hard. Loop over players online is super fast, even with 2000 online. Only problem can be access to IP and conversion to comparable format. Of course, tracking IPs of connected players in some std::map<IP, count_of_connections> is faster, but code may be a bit...
  11. Gesior.pl

    Block MC with same IP

    You can play character that exited using other IP than detected in onLogin event. You can open another Tibia Client and connect to character that is already in game. Character IP will change, but onLogin event won't be executed, so it won't limit number of characters logged from given IP. You...
  12. Gesior.pl

    Real Tibia - Clientless?

    BattlEye .exe goes into kernel - deeeep - of your operating system, so you got to run clients and stay 'client-less' (hidden VM). Probably impossible. If you can go client-less into Market and analyse basic stats, it means they do not care (as ex. Steam for gambling on their CS:GO items for...
  13. Gesior.pl

    compiling on ubuntu 22.04

    I tried Ubuntu 22.04 with docker and got some errors about lua_* , when I've installed libluajit-5.1-dev (LuaJIT). So maybe you have to uninstall it ex. apt remove --purge libluajit-5.1-dev and then install all required packages: apt update && apt install -yq cmake build-essential ninja-build...
  14. Gesior.pl

    Lua Different Critical effect on vocation id

    This code is wrong. You added g_game.addMagicEffect and g_game.sendAnimatedText to Player::sendCritical, which executes for every player on screen that sees critical damage (or at least it should, idk your code). With that code, if there are 10 players on same screen, it will send 10x text...
  15. Gesior.pl

    remove merge notification

    It would let anyone to post "bump" in own thread every 5 minutes to stay on top of 'New posts'. Right now they are merged and "bump" thread stays where it should. You can post any amount of images. Just put them on your server ex. (16 images)...
  16. Gesior.pl

    compiling on ubuntu 22.04

    MyAAC - you can use newest version: https://github.com/slawkens/myaac TFS with 8.6 protocol: 1. You can download TFS 0.4 from 8.6 times: https://github.com/otland/tfs-old-svn/tree/curated/r3884 and fix compilation errors using...
  17. Gesior.pl

    TFS 1.X+ attempt to call field 'getResult' (a nil value)

    It's TFS 0.4 SQL code db.getResult: https://github.com/otland/tfs-old-svn/blob/curated/r3884/data/lib/004-database.lua#L110 New engines (TFS 1.x) use query or storeQuery.
  18. Gesior.pl

    globalevents onstartup

    Lua is loaded 2 times and problem is that your code is outside onStartup event. It should be: function onStartup() db.query("TRUNCATE TABLE `players_online`") db.asyncQuery("DELETE FROM `guild_wars` WHERE `status` = 0") db.asyncQuery("DELETE FROM `players` WHERE `deletion` != 0 AND...
  19. Gesior.pl

    otcv8 json error 1fc0

    IDK why OTC gets this 1fc0, but it looks like it's added at start of JSON. output.txt does not contain it, so it must be something with updater code in OTC or JSON library in OTC. You will have to add some code in updater module/JSON library to print received JSON and detect where it adds 1fc0.
  20. Gesior.pl

    globalevents onstartup

    Can you post your onStartUp.lua file?
Back
Top