Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
Hello Otland! I have this problem where all my npc's respond in npc channel as they should but they wont listen to anything you say if its in npc channel. For exampel I have a rune npc so I walk up to him and say "hi" he responds in npc channel and npc channel opens but then if I say "trade" in...
TFS 1.3.10
Hello, Is it possible to give an attribute permanently with an npc and how can I do it?
invented storage = 600005
Npc.lua
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function...
Hello everyone, I want to do a script that the Player choose an item by list item from NPC and after Player take the Item, he will be teleported to a X position.
I know the logic, how to construct the script, but I don't know how to work with NPC yet.
Hello, I have a tfs 0.4 server and whenever a player has excessive items in containers (bcakpacks) and sell more than 40 at a time to a npc it will causes lag, probably because it has to check every slot in the player backpack idk, is there a way to limit the amount of itens the npc can buy at a...
I'm trying to code a task npc, I'm trying to debug with selfSay but I don't understand why it's getting the variable like global not local... maybe I'm wrong and that's not the problem but I'm getting mad trying to solve this xD I'm using OTHire 0.0.3 btw
local keywordHandler =...
Hi, im copy a code from npc sell items but if i buy amount less than 20. used 2 slot in inventory and bought four instead of two
i bought 10 small healt potion and used 5 slot in bag
my question is how can I use only 1 slot. if i bought 2 health in bag appear as 4
Sorry for my bad...
Until this morning I was playing normally, but now suddenly I can't buy from npcs... I have a backup server that used to work 100% and even this backup isn't working...
There is no error on distro.
All I did from this morning until now was mapping in RME.
Any idea what could be causing this?
Anyone has a fix for arkulius problem?
Arkuliuss.lua
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local Topic = {}
local storageMain = 65100
local storageKill = 65101
local greetMsg = {
"...if the...
The code works like this: When I say YES The NPC trades a bunch of items (runes) from my Backpack and give me a item... This part is working fine at all..
There are two things not working as i want: First one is that if I have more than the necessary number of items (runes) in table it will...
Hello otlanders, i saw a interesting function; selfMoveTo.
so i was wondering if its possible to make roaming NPCs in dungeons like normal players hunting creatures.
so if you get close to him he will threat you with some warnings like "leave" or "dont get closer"
if you dont leave or get...
Hey supprorters, I have dull problem, I just don't know how to connect all 5 requirements for reward in code line
I was always editing script that checks if the item count is higher than 0.
Now when I want 5 items to get one reward I don't know how to make them all work together and remove them...
Hello people,
when buying rune pack he buys only 20
each packet being 100 runes how can I fix it?
TFS 0.3.7
version 8.60
lib -> npc.lua
function doNpcSellItem(cid, itemid, amount, subType, ignoreCap, inBackpacks, backpack)
local amount, subType, ignoreCap, inBackpacks, backpack = amount...
Hello otlanders, i got a durability system (TFS 0.X - durability system), when durability is 0 the item breaks and transform the item to itemid = 2256 (metal trash) but sets the name of the broken item:
example:
You see dragon hammer.
It weighs 3.00 oz.
ItemID: [2256].
So i need a NPC that...
Hello!
The server is TFS 1.3.
I'm trying to make an NPC who references the AAC database to determine whether or not to send someone somewhere. I have added a column in znote_accounts called `adventurer`, which is a boolean. The person uses shop points to acquire the "adventurer" status, and once...
Hello, Ive just started my own server, its a 10.98 client, and i wonder, how do i make it so i dont need money on me to go with boat or buy anything? like it goes from the bank automaticly?
Also i wonder how i can buy promotion on this client? I went to the King in Thais and said Hail the King...
I used OTX2 (Tfs 0.3.7) and not working this script
[2/10/2018 1:52:52] [Error - NpcScript Interface]
[2/10/2018 1:52:52] data/npc/scripts/simple_task.lua:onCreatureSay
[2/10/2018 1:52:52] Description:
[2/10/2018 1:52:52] data/lib/100-shortcut.lua:260: attempt to index a boolean value...
So, i have all bless npcs on my server, the bless system changes the price depending on the level, till this point it's working great, but the npc always says the wrong price but charges the right one, wanted to know if i can make a math with the basecost + (value per level starting from 30...
Trying to add to the NPC to sell a random bag color
but sth. doesn't work out for me... Can somebody help me?
green bag 1991
yellow bag 1992
red bag 1993
etc.
dofile(getDataDir() .. 'npc/scripts/lib/greeting.lua')
local keywordHandler = KeywordHandler:new()
local npcHandler =...