Help with server error

General discussion about Life is Feudal MMO and Life is Feudal: Your Own, The main section and backbone of the forums.

Gkiller
 
Posts: 7
Joined: 12 Feb 2016, 14:14

Help with server error

Post by Gkiller » 19 Mar 2016, 03:01

Hi guys i need some help i have a server running on windows, the server is running ok but i get an error all the saying

ERRR 2016-03-18 18:25:36.562 {} <> [3280969] CharacterParameters::SavePlayer() - invalid player_id
ERRR 2016-03-18 18:25:36.609 {} <> [3280972] CharacterParameters::SavePlayer() - invalid player_id
ERRR 2016-03-18 18:25:36.640 {} <> [3280975] CharacterParameters::SavePlayer() - invalid player_id
ERRR 2016-03-18 18:25:36.671 {} <> [3280978] CharacterParameters::SavePlayer() - invalid player_id
ERRR 2016-03-18 18:25:36.703 {} <> [3280982] CharacterParameters::SavePlayer() - invalid player_id
ERRR 2016-03-18 18:25:36.734 {} <> [3280986] CharacterParameters::SavePlayer() - invalid player_id
ERRR 2016-03-18 18:25:36.765 {} <> [3280989] CharacterParameters::SavePlayer() - invalid player_id
ERRR 2016-03-18 18:25:36.796 {} <> [3280992] CharacterParameters::SavePlayer() - invalid player_id
ERRR 2016-03-18 18:25:36.828 {} <> [3280995] CharacterParameters::SavePlayer() - invalid player_id
ERRR 2016-03-18 18:25:36.859 {} <> [3280998] CharacterParameters::SavePlayer() - invalid player_id

This just keeps on going is there any fix or help to fix it

Thanks Gkiller

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: Help with server error

Post by Custodian » 19 Mar 2016, 12:01

There is a related bug at Mantis: https://lifeisfeudal.com/mantis/view.php?id=3589

You may want to download my hotfix file playersave3.cs from
https://lifeisfeudal.com/mantis/file_do ... 4&type=bug
(or file playersave.cs from https://www.dropbox.com/sh/avi0uwnp5844 ... BIBra?dl=0 )

Save downloaded file as 'playersave.cs', and place it to your LiF server folder, then add
Code: Select all
exec("playersave.cs");

to your server main.cs file.


Frankenshtine
 
Posts: 11
Joined: 26 May 2016, 12:15

Re: Help with server error

Post by Frankenshtine » 05 Jun 2016, 09:20

Hit this bug too, thanks for hotfix, executed in server console and problem was solved without of restart! :beer:


Frankenshtine
 
Posts: 11
Joined: 26 May 2016, 12:15

Re: Help with server error

Post by Frankenshtine » 06 Jun 2016, 19:29

Hmm... Looks like this solution is half-working. Server shows 12/64 ingame players via game client server selection screen and in Esc menu in world, but server console at the same time show 14/64.

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: Help with server error

Post by Custodian » 06 Jun 2016, 22:14

Frankenshtine wrote:Hmm... Looks like this solution is half-working. Server shows 12/64 ingame players via game client server selection screen and in Esc menu in world, but server console at the same time show 14/64.

Make sure you use dropbox version of the script.

If you don't have constant "CharacterParameters::SavePlayer() - invalid player_id" spam at your log after applying the fix, the solution is working. On the other hand, you may always disable the fix and run your server as is.

Server console title number is just a number, you can set it to any value/text, while steam server browser is the correct and actual info.


Frankenshtine
 
Posts: 11
Joined: 26 May 2016, 12:15

Re: Help with server error

Post by Frankenshtine » 07 Jun 2016, 03:57

I have checked and found dropbox version is different from playersave3.cs, changed it and will apply tomorrow.

Return to General Discussion

cron