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

Solved [Account Manager] TFS

Dyabl0

Dyablo
Joined
Sep 22, 2009
Messages
1,866
Solutions
9
Reaction score
280
Location
Spain
Hi there. I'm using TFS for 7.6, when I start the server and trying to login into Accout manager, it automatically kicks out, I don't know for what reason. I don't receive any message in console, it just kicks out, but other characters are working fine.

Where can I configure Account Manager's settings?

Someone??
 
Last edited by a moderator:
I knew that would be messing up. However, maybe this helps: The Forgotten Server - Version 0.3 (Crying Damson).
What does it have the version to do with it? Since it's messing up with Account Manager.

This is how I got it in config.lua:
-- Account manager
accountManager = true
namelockManager = true
newPlayerChooseVoc = true
newPlayerSpawnPosX = 32369
newPlayerSpawnPosY = 32241
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 8
newPlayerMagicLevel = 0
generateAccountNumber = false

EDIT:
It has nothing to do with account manager, all players until senior tutor position cannot login, I tried replacing the group flags, a normal player had flag 0 and I changed it to 32768 (which it should be) but it still doesn't work. A gamemaster can login pretty well, that's kinda weird.

Ok, foundout what's going around:

If player has no flag, it won't login, for some reason it kicks out the player, unless it has flag 512, which is Can not be battle locked or PlayerFlag_NotGainInFight. I have to add this flag to player in order to let player login into game, else it will keep kicking player out.

I actually got no clue how to fix it, but as far as I imagine this would get fixed somehow from TFS sources, it gotta be needed to compile again after fixing, if so, is anyone up to help me with it? Never tried compiling a server, so no idea what should I do to fix this, compiling shouldn't be a problem.
@Mark

EDIT2:
My bad, sorry. All seems to be fixed correctly.

What it caused?
I made my custome changes in config.lua and I forgot that if I write in miliseconds it won't work, so for example I wanted pzlock for 10 seconds, instead of 60 seconds.
in config.lua it was like this: pzLocked = 60 * 1000 and I wrote there pzLocked = 10000
1000 = 1 sec
10000 = 10sec so I thought that would work, then that one was causing the kicks out to every player which hadn't flag "Can not be battle locked".

Conslusion:
Changed it to pzLocked = 10 * 1000 and it worked fine.

THREAD CLOSED.
 
Last edited by a moderator:
Back
Top