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

    How to track Unknown scriptfile [OTS statistics]

    How can i track down which lua files is it because inside lua.log i see 689 3985 28.98801% 2.29948% (Unknown scriptfile) it would be nice to know which script is it, because it shows unkown scriptfile so impossible to find out
  2. H

    TFS 1.X+ New Item slot when dragging item disappears

    Indeed that was the problem
  3. H

    TFS 1.X+ New Item slot when dragging item disappears

    Used this tutorial TFS 1.X+ - Help new inventory slot TFS 1.3 and OTClient (https://otland.net/threads/help-new-inventory-slot-tfs-1-3-and-otclient.264537) i created more slots creature.h enum slots_t : uint8_t { CONST_SLOT_WHEREEVER = 0, CONST_SLOT_HEAD = 1, CONST_SLOT_NECKLACE =...
  4. H

    OTClientv8 where is inventory size

    Created some new three slots from this tutorial TFS 1.X+ - Help new inventory slot TFS 1.3 and OTClient (https://otland.net/threads/help-new-inventory-slot-tfs-1-3-and-otclient.264537) but cant find where can i adjust the size of inventory because right now the slots are behind current slots, so...
  5. H

    Lua Spawn monsters in x,y,z and dont let them leave defined area

    TFS 1.X. Does anyone got a system where at every x hour there would be a chance for lets say teleports appear on x,y,z and from those teleports monsters would come out so far its pretty basic but the hard part comes how to prevent monsters from leaving lets say 10 tiles from their spawn point...
  6. H

    How to check if player killed monster with x spell

    How can i create npc that spawns for example x monster and player would need to kill that monster with spell named x, if he doesnt it fails and he need to repeat it. Basically like a small tutorial.
  7. H

    TFS 1.X+ addItem protocalgame crash

    I assume crash happened because of this function, particulary this part msg.addItem(item); but not exactly sure, and not sure how to fix it or h ow to replicate it void ProtocolGame::sendAddTileItem(const Position& pos, uint32_t stackpos, const Item* item) { if (!canSee(pos)) {...
  8. H

    TFS 1.X+ Prevent magic wall spam on same tile with macro

    Yea i though the same i tried adding action id to that magicwall and apply cooldown on that tile, but all i managed to create is crash :D
  9. H

    TFS 1.X+ Prevent magic wall spam on same tile with macro

    TFS 1.2. How can i prevent magic wall macro abuse where people place new magic wall on the same position without any delay and can basically trap someone permanently, so its like when they put magic wall the see the timer and with scripts when the timer ends they put new magic wall on same...
  10. H

    Compiling RME with zones and over 100stack size

    dont have u16, im using it currently
  11. H

    Compiling RME with zones and over 100stack size

    Anyone got compiled RME with Oskar zone system and increased stack size to u16? I cant compile myself because dont have space on my pc for libs
  12. H

    Lua How can i prevent this error

    just error in console that does no impact just annoying error that ruins the aesthetics
  13. H

    Lua How can i prevent this error

    I think it happens on sell amount so since all item ids are correct, my speculation like you mentioned when player sells those items probably npc has to pay out amount of money that is out of bit range or something like that. Because error on this line [TAG_TOTALCOST] = amount * shopItem.sell,
  14. H

    Lua How can i prevent this error

    when you mentioned the uint64 bit maybe my uses 8bit and item id is higher then 8bit can support? Where can i check that?
  15. H

    Lua How can i prevent this error

    i just went trough all npc trader item ids and all of those items exist in items.xml so hella confusion, isnt it possible to add some sort of prints that catches exact nil item?
  16. H

    Lua How can i prevent this error

    I already have if shopItem == nil then error("[ShopModule.onSell] items[itemid] == nil") return false end which doesnt help me in any way to locate the issue
  17. H

    Lua How can i prevent this error

    Not sure how this happens but i assume its because maybe there is item that doesnt exist in the traders? But tracking it is just wild Lua Script Error: [Npc interface] (Unknown scriptfile) data/npc/lib/npcsystem/modules.lua:1017: [ShopModule.onSell] items[itemid] == nil stack traceback...
  18. H

    C++ GetName and add to the right

    Cant figure out how to achieve it but i want to make sure the icon is displayed to the right of the name because now it doesnt scale depending on the size of name because its hardcoded value .Anyone know how to make dynamic and place it depending on the name of person? if (m_special !=...
  19. H

    OTClient How to use image cliping in otclient

    Trying to modifie the tooltip.lua so made a simple image The problem im facing is that the tooltip background image always scaling dynamically with text size so it makes my image stretch so i was wondering how or if its even possible to dont affect the sides of the images so it wonth stretch...
Back
Top