• 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!

TFS 1.3 + data Linux problem

karrinio

New Member
Joined
Jan 29, 2021
Messages
6
Reaction score
1
Location
Poland

Attachments

Last edited:
Looks Like your server don't support 10.98 or data is incomplete/corrupted
Post automatically merged:

Server is compiled correctly but you got mamy warrnings abut missing monsters/spells/monster's spells/missing sprawn positions etc...
 
Last edited:
Looks Like your server don't support 10.98 or data is incomplete/corrupted
Post automatically merged:

Server is compiled correctly but you got mamy warrnings abut missing monsters/spells/monster's spells/missing sprawn positions etc...

Like i sad i do everything with this tutorials, and i ty another and all the time i have somethings problem.
 
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"

Code:
    <monster name="Glooth Golem" file="Machines/glooth golem.xml" />
    <monster name="Rustheap Golem" file="machines/rustheap golem.xml" />

Change "machines" to "Machines" etc

Next just fix mosters file where:
Code:
Invalid "chance" 375000 used for loot, the max is 100000.
maximum chance is 100000
Code:
Invalid "countmax" 199 used for loot, the max allowed value is 100.
maximum count is 100
Code:
targetdistance less than 1. data/monster/Insects/spitter.xml
minimum targetdistance is 1

When you do this your warnings shoud gone

This warnings you can skip:
Code:
[Warning - Actions::registerLuaEvent] Duplicate registered item with id: 2175 in range from id: 2175, to id: 23771
 
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"

Code:
    <monster name="Glooth Golem" file="Machines/glooth golem.xml" />
    <monster name="Rustheap Golem" file="machines/rustheap golem.xml" />

Change "machines" to "Machines" etc

Next just fix mosters file where:
Code:
Invalid "chance" 375000 used for loot, the max is 100000.
maximum chance is 100000
Code:
Invalid "countmax" 199 used for loot, the max allowed value is 100.
maximum count is 100
Code:
targetdistance less than 1. data/monster/Insects/spitter.xml
minimum targetdistance is 1

When you do this your warnings shoud gone

This warnings you can skip:
Code:
[Warning - Actions::registerLuaEvent] Duplicate registered item with id: 2175 in range from id: 2175, to id: 23771
uu stary dzięki, biorę się za to i zobaczymy czy śmignie. I generalnie to jest tfs 1.3 a data chyba jest do 1.2 ale ponoć nie ma z tym problemu, lecz no wiesz.. zobaczymy bo tfs 1.2 jak kompiluje to mi się nawet czysty nie chce zrobić...
 
uu stary dzięki, biorę się za to i zobaczymy czy śmignie. I generalnie to jest tfs 1.3 a data chyba jest do 1.2 ale ponoć nie ma z tym problemu, lecz no wiesz.. zobaczymy bo tfs 1.2 jak kompiluje to mi się nawet czysty nie chce zrobić...

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"
 
Hi again. I fixed most of them.. but :D log below.

But now more important for me is problem with travel NPC. When i want travel to any city i have error in console:


Lua Script Error: [Npc interface]
data/npc/scripts/Captain Bluebear.lua:eek:nCreatureSay
data/npc/lib/npcsystem/modules.lua:164: attempt to call method 'isPremium' (a nil value)
stack traceback:
[C]: in function 'isPremium'
data/npc/lib/npcsystem/modules.lua:164: in function 'callback'
data/npc/lib/npcsystem/keywordhandler.lua:31: in function 'processMessage'
data/npc/lib/npcsystem/keywordhandler.lua:187: in function 'processNodeMessage'
data/npc/lib/npcsystem/keywordhandler.lua:155: in function 'processMessage'
data/npc/lib/npcsystem/npchandler.lua:409: in function 'onCreatureSay'
data/npc/scripts/Captain Bluebear.lua:7: in function <data/npc/scripts/Captain Bluebear.lua:7>

I have to remove line "isPremium" in login.lua and player.lua becouse i cant login and use offlineTrainer etc..
Post automatically merged:


EDIT1: i fixed problem with premium and npc travel.
 

Attachments

Last edited:
Back
Top