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!
Helo,
I have a question about selling empty flasks to npc's (like Xodet).
In this protocol the buy function need a item subType, which is for example equals 7 for mana fluid.
shopModule:addBuyableItem({'mf', 'mana fluid', 'manafluid'}, 2006, 55, 7, 'mana fluid')
And buying is working great...
Hi everyone!
I was wondering if there’s an easy way to implement the following mechanism:
When opening the trade window with an NPC, I’d like to apply a filter that hides items in my backpack that have specific customAttributes from being displayed as sellable. In other words, I have an item...
Hello everyone,
I'm struggling with the npc script, which I would like to work like real Blue Djinn from old days.
I'm using clean Nekiro 1.5 772 downgrade with default npc libs from this distro.
This npc should be able to buy or sell items only if the player have correct storage value.
The...
I'm creating an NPC so that if the player gets the magic word right, the player is teleported to a specific area. The NPC can't interact, it just hears the right word and teleports the player, but it's not working.
local internalNpcName = "Guardian"
local npcType =...
Hi. I have on server one NPC that sell items for Premium Points and I am wonder if there is possible to show in npcwindow.lua modal window CURRENCY as "Premium Points" if NPC is called "Premium NPC" if not then leave CURRENCY as its "gold". I found its in otclient/module/npctrade.lua on line 3...
I'm looking for a script for "Canary 1.3.0" to create an NPC that will handle daily and weekly missions.
Daily Missions:
Some monsters, for example:
500 rotworms [20]
500 cyclops [30]
500 tarantulas [40]
500 dragons [50]
Rewards for completion: some experience points and gold.
Weekly...
Hello, im going to bring a new npc that i've been working with on Canary servers, it worked for me and. NPC sell real items for addons, you can edit the prices. I edited the npc with the most communs items for addons. Hope you like it :)
I'm trying to add elements to the NPC Trade, so when the "luaOpenShopWindow" method is triggered I'm sending a list of IDs and Quantities, something like this:
{"id":2160,"buy":5000,"sell":0,"requiredItems":[{"count":10,"id":2152}],"subType":1,"name":"crystal coin"}...
Someone know how to do a heal and remove player condition like a real tibia on NPC's using TFS after say heal on temple npc?
Using the last files: GitHub - otland/forgottenserver: A free and open-source MMORPG server emulator written in C++ (https://github.com/otland/forgottenserver)
Not work...
I am looking to make a specific NPC.
When asked, the NPC opens up a parchment for you where you can enter several lines.
Example:
"-Hi"
"-List"
<parchment is opened>
In the parchment you should be able to enter several lines.
After the lines have been written and the parchment has been...
Hello there OTland.
I am trying to make NPCs using tfs 1.4.2
Firstly i make for example:
1. data/npc > Creating test_npc.xml
2. data/npc/scripts > creating test_npc.lua
Making it with really easy code such
" function onCreatureSay(player, type, msg)
if msg:lower() == "hi" then...
I'm using Sarah's source (TFS 1.5): GitHub - MillhioreBT/forgottenserver-downgrade: TFS Downgrade 1.5+ is an engine based on nekiro downgrade but highly updated with current tfs code, it also has the lua modules divided and uses lua5.4 (https://github.com/MillhioreBT/forgottenserver-downgrade)...
For anyone who wants to use the new NPC system (lua based NPC's) proposed as a pr at current master branch (included in the upcoming 1.6 release)
I'll help you re write NPC's or create from scratch based on a detailed outline into the new NPC system.
There is 2 ways on how to request:
1) You...
0.4
Good afternoon everyone,
I'm encountering an issue that's affecting all the NPCs on my server. When I launch the server, the following error message appears for all the NPCs on the map:
After researching the error, I found a thread with essentially the same problem: Windows -...
When trying to buy from any NPC and click too fast on buy an item many times, the user gets a message saying "You can't buy it so fast" and the console shows this error:
[Error - NpcScript Interface]
(Unknown script file)
Description:
data/npc/lib/npcsystem/modules.lua:1229: attempt to compare...
Hello everyone.
I have been trying to solve this problem. The NPC's text is visible only to the player they are talking to ("me") and should be visible to everyone. And there is no queuing system.
Hello guys,
Im trying to merge the solution from this post (TFS 0.X - Buy items with money backpack or bank balance 0.4 (https://otland.net/threads/buy-items-with-money-backpack-or-bank-balance-0-4.260563/post-2520072)) into my sources, but im failing. None errors when compiling, but in game it...
Hi everyone.
I couldn't find similar topic so I've decided to post it. Perhaps someone will be able to guide me or provide some tips / reasonable solution.
On my server I wanted to have just 1 NPC who buys all the creature products. Everything was fine when list of items was smaller than 255...
Hello, I have an otx2 0.7 server codename Lord Zedd
My NPCs cannot teach rune casting magic, only instantaneous spells.
Below is the npc script that teaches spells to sorcerers:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)...
I have a problem that when purchasing the exercise weapons with the npc, it only has one charge.
I am using this scripts
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid)...