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!
NPC:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid)...
You can use this npc, just change "spellname" to spell's "name" (not words)
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid)...
Prawdopodobnie zostały zmienione biblioteki (nowsza/inna wersja). Proponuje poczytać na temat kompilacji na poszczególne platformy tutaj: otland/forgottenserver (https://github.com/otland/forgottenserver/wiki/Compiling-on-Ubuntu) lub nawet nawet podobne tematy wyświetlane poniżej: "Similar threads"
Ah i see the problem now
Linux file system isnt same like windows
Folder "monsters" and "Monsters" is 2 difrent for linux
in monsters.xml you have few file location like "/data/m1.xml
and some like "Data/m2.xml"
<monster name="Glooth Golem" file="Machines/glooth golem.xml" />
<monster...
Looks Like your server don't support 10.98 or data is incomplete/corrupted
1612467126
Server is compiled correctly but you got mamy warrnings abut missing monsters/spells/monster's spells/missing sprawn positions etc...
I see that problem.
Try:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
local itemId = item:getId()
local access = 0
--quest door
local qDoorAid = 1200 --to see description lvl 200 required
local qdoorUid = 123456 -- your door uniqueId...
This door require change actionId.
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
local qDoorAid = 123456 --quest door actionid (anyway can be used for storageId)
local qDoorItemReq = 2145 --item required
local qDoorlvl = 200 --quest door lvl
local...
This tutorial help you to understand formula of spells...
setCombatFormula(combat, type, min_a, min_b, max_a, max_b, min_lvl, max_lvl, min_mlvl, max_mlvl, min_dmg, max_dmg)
combat - object of combat :)
type - type of formula (FORMULA_LEVELMAGIC, FORMULA_SKILL, FORMULA_VALUE)...
Creaturescipt:
function onAdvance(cid, skill, oldlevel, newlevel)
if (skill == SKILL_LEVEL) then
doCreatureAddHealth(cid, (getCreatureMaxHealth(cid) - getPlayerHealth(cid)))
doCreatureAddMana(cid, getCreatureMaxMana(cid) - getCreatureMana(cid))
end
return true
end