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

    [RME] Red tiles when converting 8.6 map to 8.0

    Hey guys, I want to add few spawns from 8.6 map to 8.0 map, but the problem is when I convert map to 8.0 red tiles appear mostly because earth id used in 8.6 map doesn't exist in 8.0. Is there any way to make it easier to convert, to change ground ids or something? I'm using 3.2 Remere version.
  2. S

    Travel Carpet with PZ

    Hey guys, I'm using TFS 1.2 and I want to make so it is possible to travel carpets with PZ but if I remove player:isPzLocked() then it will be possible to travel boats with pz also. Here's my modules.lua function StdModule.travel(cid, message, keywords, parameters, node) local...
  3. S

    OTClient OTClientv8 inventory window margin problem

    Hey guys, I'm playing around with Otclient-v8 and I have some weird margin below the inventory window as shown in the picture below. How can I remove this margin, I don't know where it is coming from. Here's the code for inventory: OTCv8/otclientv8...
  4. S

    Lua Loot channel only for premium players

    Hello guys, I'm using TFS 1.2 and I want to make loot channel available only for premium players. chatchannels.xml <?xml version="1.0" encoding="UTF-8"?> <channels> <channel id="2" name="Tutor" script="tutor.lua" /> <channel id="3" name="World Chat" public="1" script="worldchat.lua" />...
  5. S

    Lua attempt to index a nil value

    Hey guys, I get "attempt to index a nil value" error when using !autoloot add without parameters, is it possible to remove this error, to perform some kind of check? "!autoloot add, itemName" - If itemName is not provided I get error in console. Here's the code: function onSay(player...
  6. S

    C++ Check if backpack is full

    Hey guys, I'm using this code to auto loot items. uint32_t corpseOwner = container->getCorpseOwner(); if (corpseOwner != 0 && !player->canOpenCorpse(corpseOwner)) { return RETURNVALUE_YOUARENOTTHEOWNER; } else { if (player->autoLootList.size() !=...
  7. S

    missing nightmare outfit/addons [TFS 1.2]

    Hey guys I'm missing nightmare outfits/addons, can someone explain to me how I can add this outfit? Which file I have to edit? Here's my outfit.xml: <?xml version="1.0" encoding="UTF-8"?> <outfits> <!-- Female outfits --> <outfit type="0" looktype="136" name="Citizen" premium="no"...
  8. S

    NPC don't sell if you don't have capacity

    Hello guys, I'm using TFS 1.2 and when I buy something from NPC he won't sell me unless I don't have enough capacity. I want to make him throw stuff under me if I don't have the capacity. Here's the part of the script that check's if I have cap or not: local a, b = doNpcSellItem(cid...
  9. S

    Old school Exhausted system

    I'm using TFS 1.2 and Realera map which it seems is dowgraded from 8.6 so it is possible to spam Heal + attack spell at the same time and on old school clients like 7.6 and 8.0 this was not allowed. Example: You can spam exura gran and exori vis pretty much one after another. Is it possible to...
  10. S

    How to remove spell from the server?

    Hello guys, I want to remove adori blank from the server. I already deleted entry in spells.xml but when I type "adori blank" it says "You need a magic item to cast this spell". How can I remove it completely? Using TFS 1.2 Thanks
  11. S

    Stackable runes when bought from NPC [SOLVED]

    Hey guys, I'm using TFS 1.2 with Relera map and when I go to Xodet to buy sds for example, if I say buy 5 sds he will sell me a stack of 5 sds. I managed to make buy bp sds and I get 1x runes that are not stackable. Is there a way to make when I say buy 5 sds to get 5 sd runes by 1x not...
  12. S

    NPC Hanna problem with "addon"

    Hey guys, I'm using TFS 1.2 with Realera Map and NPC Hanna is not answering on 'addon' message. Here's the NPC script: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid)...
  13. S

    Manafluid problem

    Hey guys, I have problem with fluids script. I'm using TFS 1.2 and every time I use manafluid with hotkey sometimes it goes to the ground sometimes it works normally. Also when BP with manafluids is not open I can't use them is this something that can be fixed, and there is no message " Using...
  14. S

    1> LINK: fatal error LNK1181: can not open input file 'lua51.lib'

    Hello everyone, can someone help me with this error, I'm trying to build a server with visual studio 2019 and I have this error. I've checked lua51.lib is located in vcpkg-2020.06\installed\x64-windows\lib folder I tried copying path to linker but I still get the same error. What am I doing...
Back
Top