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

Randomly generated errors after start.

slaw

Software Developer
Joined
Aug 27, 2007
Messages
3,784
Solutions
133
Reaction score
1,275
Location
Germany
GitHub
slawkens
Sometimes when i'm starting same server without any changes made - i have some random errors in console - which arent rl errors! I dont understand why its generated, but this errors isnt in this files:

sssssssjn9.jpg


Btw. after this all work on server, but why this erros is showed?


@Edit

Next restart = next funny error:
tsssshi1.jpg
 
Last edited:
Did you modify the loot.lua? If you did, or are not using the one that comes with the server, please post it here so we can take a look :)
 
I knowed that first reply will look like this :D

Ok, i'm giving loot.lua which i use (it isnt in TFS server included):

Code:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

function onCreatureAppear(cid)		npcHandler:onCreatureAppear(cid)		end
function onCreatureDisappear(cid)	npcHandler:onCreatureDisappear(cid)		end
function onCreatureSay(cid, type, msg)	npcHandler:onCreatureSay(cid, type, msg)	end
function onThink()			npcHandler:onThink()				end


-- Don't forget npcHandler = npcHandler in the parameters. It is required for all StdModule functions!
keywordHandler:addKeyword({'helmets'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy iron helmets (30gp), chain (35gp), also mystic turbans (500gp), devil (4k), crown (4,5k), warrior (6k), crusader (9k), royal (40k).'})
keywordHandler:addKeyword({'boots'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text =  'I buy boots of haste (40k), steel boots (40k), golden boots (100k).'})
keywordHandler:addKeyword({'armors'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy chain armors (100gp), brass (200gp), plate (400gp), knight (5k), lady (7,5k), blue robes (15k), crown (20k), golden (30k), dsm (50k), also mpa (100k).'})
keywordHandler:addKeyword({'legs'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy brass legs (100gp), plate (500gp), knight (6k), crown (15k), golden (80k).'})
keywordHandler:addKeyword({'shields'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy steel shields (90gp), battle shield (90gp), dwarven shields (100gp), beholder (1k), guardian (2k), dragon (3k), tower (4k), amazon (4k), crown (5k), medusa (8k), vampire (25k), demon (40k), great (100k), blessed (150k).'}) 

keywordHandler:addKeyword({'swords'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy swords (25gp), sabres (25gp), short swords (30gp), broad swords (70gp), two handed swords (400gp), spike (800gp), serpent (1.5k), fire (3k), also ice rapiers (4k), bright (6k), giant (10k), magic swords (90k), warlord swords (100k), magic longswords (150k).'}) 
keywordHandler:addKeyword({'axes'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy hatchets (20gp), battle axes (100gp), halberds (200gp), knight (2k), guardian halberds (7,5k), also dragon lances (10k), fire axes (10k), stonecutters axes (90k).'}) 
keywordHandler:addKeyword({'clubs'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy battle hammers (60gp), clerical maces (200gp), dragon hammer (2k), war hammer (6k), also skull staffs (10k), thunder hammers (90k).'})


-- Makes sure the npc reacts when you say hi, bye etc.
npcHandler:addModule(FocusModule:new())

@Updaded first post, again, next restart = next funny errors.

Btw. Sometimes i have this errors, sometimes not.
 
what rev you using? 501?
at rev 501 i getting some random errors too..
but this errors don't exist ;p
 
you use latest actions?
here i dont get this errors
 
I have had the same error with respawn and that's because the monster is not added to the monsters.xml, or at least not with the same name.

Now, the first error. Did you change the NPC's lib? If you did, please upload npchandler.lua and modules.lua so we can take a look and see what's wrong, because for me the NPC scripts are fine, though did not check in detail.
 
Im recieving this errors too at some times, and no, there is nothing wrong with the NPCs. Another strange thing, this errors only happen in my other house that i imported my server, in the other one there is no error.

ps: uhuh i got my account back =D after long time
 
Im recieving this errors too at some times, and no, there is nothing wrong with the NPCs. Another strange thing, this errors only happen in my other house that i imported my server, in the other one there is no error.

ps: uhuh i got my account back =D after long time


Yeye, i have same, on my computer not have this errors ;s

And another thing. Thy on my local computer is working auto server restart at "xx" o clock, but on my dedicated machine not? ;s (same files, same config, all same :D)
 
strange that in a pc ur server restart and in or other one it not, check ur config.lua if the time are the same and the clock of your both PC is adjusted right
 
Back
Top