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! Can someone help me with an npc that you have to pay "X" amount of money to give you permission to be able to perform the BlackSmith.
I would not know if blocking the use of the hammer id = "xxxx" would be an option or as, but if someone can help me I would greatly appreciate it...
Ever wanted to walk around your map and place npc's around the gameworld or forget to set an npc or 2 but don't feel like shutting down the server opening up the map editor and setting the npc's? Or what if you wanted to create last minute npc's? Or even dynamic npcs?
Well with this code you...
Since I am unfamiliar with how the lua is retrieved in the sources, I used my own means of getting data from a lua file, with that said with this code you can call up npc scripts that are lua defined.
So let's get to it. Open up npc.cpp and find this
extern LuaEnvironment g_luaEnvironment;
and...
Hello everyone!!
I need help with the following function:
- if the player has level 8, it will level up to 400
- if the player has 100, it will level up to 400
the limit is up to level 400, no matter what level it will only level up to 400...
Thank you in advance, and I count on your help!
NPC Script:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid)...
Hello, otlanders, i have these trade and auction systems
NPC - Private Shop System
and this NPC:
trying to make them work properly with this random-stats mod [Mod] Random Item Stats
The bug is when someone deposit an item in auction/private shop the item loses its special attributes (attack...
Hello my friends!
I'm making a NPC for travel to Gengia, Pyro and Oken in my server.
But my npc can't travel to destination on say "yes".
Here is my script:
if (msgcontains(msg, "gengia")) then
if(vip.hasVip(cid) == true) then
npcHandler:say("Do you want to sail to...
Hello, I was wondering if anyone can help me with my NPC problem.
NPC loads properly.
Npc responds to "hi"
nothing else works.
I'm using 0.3.6PL1 with Emporia VAPUS NPC's
Example:
Player: Hi -> answer: Uzon: Greetings, traveller "Playername". Where do you want me to fly you?
Player...
Hello guys, im searching for a script that gives the player a promotion.
I have 3 classes, Knight, Paladin and Wizard, each of one has 2 promotions to choose.
Knight can choose between Guardian Knight and Berserk Knight
I am looking for a npc script that changes its vocation on level 35...
Good afternoon!
Help please I've done everything I searched in several places but I did not think I wanted npc that gave outfits
Played arrived npc
Player: Ola
Npc / Barbaro: Ola | PLAYERNAME | You gotta stick here, congratulations, I'm Barbaro that destroys Orpheus, let's jump on this subject...
I have loaded all the npcs to the game, but they don't talk when I say hi. How can I get them to talk?
TFS 1.2
7.72 client
Here is a picture of the error.
File Links:
default.lua - Codeshare
npchandler.lua - Codeshare
Hello :)
I'm currently using the [8.60] The Forgotten Server 0.3.6 (Crying Damson) V8 by Printer, from the thread: [8.60] The Forgotten Server 0.3.6 (Crying Damson) V8;
I was trying to redo the guard NPC(s) so that they would attack the PKers with melee attacks at the range of <=1; and with...
hello guys i need help with an npc that will check for level 50 and offer a promotion but the promotion branches out to two different types of vocations the promotion will cost 30,000
so for instance
let say i have a knight that is level 50
he could have a choice to go to a defender or the...
Hello, otlanders im experiencing an issue, i have a reward shop (like Premium shop with npc) so, when i buy an ítem the npc ignores capacity and give ítems even when capacity is overloaded.
heres my lua scripts (tfs 0.4 rev 3884)...
local keywordHandler = KeywordHandler:new()
local...
Hello everyone. I have a few questions about the npc question for the trade function.
Things I know how to do, but wanna do "better" are:
-Send trade window only if specific storage is on X
-Trade more items, the more storageValue you got
-Trade only on special word (not trade)
-Buy with...
Hello
Is there anyone here who could help me in edit NPC to sell random mushrooms?
I tried to edit the Santa Claus script but nothing came out of it
dofile(getDataDir() .. 'npc/scripts/lib/greeting.lua')
local keywordHandler = KeywordHandler:new()
local npcHandler =...
Yo guys, after couple of hours fighting with that problem, i want to ask you for some help.
I have a npc, Grizzly Adams, of course you know that after getting some points (20,40..100) we can sell him more creature products. Yeah, and there is problem.
We have 2 players :
First, with 20...
Hi guys, with this you would greet the npc and open its shop (if has) only target it!
Tested on OTX3, it will work on TFS 1.x i guess
combat.cpp
find:
if (player->hasFlag(PlayerFlag_CannotUseCombat) || !target->isAttackable()) {
now go to a line who look like this (4 lines below):
return...
Hi guys, with this you would greet the npc and open its shop (if has)
It works on directly look and look on battlelist
This is really simple, but someone could find it useful
data/events/scripts/player.lua
at the beginning of file paste this
local minDist = 5 --this will be the min...
Hello all, I have this problem with this npc, must be simple to solve... I need that the npc accept all the items at the same time and give the player a storage id, but the npc doesn't work...
Anybody knows how fix it?
Thanks alot!
local keywordHandler = KeywordHandler:new()
local npcHandler =...