• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

TFS Bug

Amiroslo

Excellent OT User
Joined
Jul 28, 2009
Messages
6,812
Solutions
6
Reaction score
822
Hello,
how to fix those bugs?


When talking to any npc at ot
Code:
[0:25:59.461] [Error - NpcScript Interface] 
[0:25:59.461] data/npc/scripts/runes.lua:onCreatureSay
[0:25:59.461] Description: 
[0:25:59.461] data/npc/lib/npcsystem/npchandler.lua:551: attempt to call global 'getDistanceTo' (a nil value)
[0:25:59.462] stack traceback:
[0:25:59.462] 	data/npc/lib/npcsystem/npchandler.lua:551: in function 'isInRange'
[0:25:59.462] 	data/npc/lib/npcsystem/npchandler.lua:374: in function 'onCreatureSay'
[0:25:59.462] 	data/npc/scripts/runes.lua:8: in function <data/npc/scripts/runes.lua:8>

[0:25:59.462] [Error - NpcScript Interface] 
[0:25:59.462] data/npc/scripts/pt.lua:onCreatureSay
[0:25:59.462] Description: 
[0:25:59.462] data/npc/lib/npcsystem/npchandler.lua:551: attempt to call global 'getDistanceTo' (a nil value)
[0:25:59.462] stack traceback:
[0:25:59.462] 	data/npc/lib/npcsystem/npchandler.lua:551: in function 'isInRange'
[0:25:59.462] 	data/npc/lib/npcsystem/npchandler.lua:374: in function 'onCreatureSay'
[0:25:59.462] 	data/npc/scripts/pt.lua:13: in function <data/npc/scripts/pt.lua:13>


Korrex Vip system
Code:
[0:26:00.132] [Error - GlobalEvent Interface] 
[0:26:00.132] data/globalevents/scripts/vipEffect.lua:onThink
[0:26:00.132] Description: 
[0:26:00.132] data/globalevents/scripts/vipEffect.lua:4: attempt to call global 'getPlayerVipDays' (a nil value)
[0:26:00.132] stack traceback:
[0:26:00.132] 	data/globalevents/scripts/vipEffect.lua:4: in function <data/globalevents/scripts/vipEffect.lua:1>
[0:26:00.132] [Error - GlobalEvents::think] Couldn't execute event: vipEffect


And the all pots arent infinty, how to make them infinity?

And there is a problem that when a player relogs all his skills gets 10 again but not his level!!

Im using 0.4 from don daniello hosting company! r3884
Linux
 
SQL:
INSERT IGNORE INTO `player_skills`
SELECT `id` , 0, 10, 0
FROM `players`
UNION SELECT `id` , 1, 10, 0
FROM `players`
UNION SELECT `id` , 2, 10, 0
FROM `players`
UNION SELECT `id` , 3, 10, 0
FROM `players`
UNION SELECT `id` , 4, 10, 0
FROM `players`
UNION SELECT `id` , 5, 10, 0
FROM `players`
UNION SELECT `id` , 6, 10, 0
FROM `players` ;
ss\
 
Back
Top