[Help] LoadCharacter Error

05/11/2017 14:43 Soulfly25#1
Hello mates, I wan't your idea's on how to fix this error it's kind a bit weird.
because the other account can login in game, and there are some's of account won't and it say "Error: Disconnected to the gameserver" even when we login into the same PC it won't let me connect.

Here is the error pop up.
HTML Code:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   at System.IO.BinaryReader.ReadUInt16()
   at NewestCOServer.Game.Prof.ReadThis(BinaryReader I) in c:\Packrs\Game\Character.cs:line 1448
   at NewestCOServer.Database.LoadCharacter(String Name, String& Account, Boolean GenNewID, Boolean Load) in c:\New Server\Database.cs:line 3818
Bugged Char: MustaL Acc: killser12
05/11/2017 17:35 -Splinters-#2
I would try deleting the character and try again. It makes me think something has broken your character save file because it doesn't have all the data that it should.

Maybe the server crashed while it was half way through saving that character so the file is broken?
05/11/2017 18:04 boDil#3
Quote:
Originally Posted by -Splinters- View Post
I would try deleting the character and try again. It makes me think something has broken your character save file because it doesn't have all the data that it should.

Maybe the server crashed while it was half way through saving that character so the file is broken?
What the hell ... an actual intelligent reply. That's not something you see here every day.
05/12/2017 00:01 _DreadNought_#4
Why have you chosen to use NewestCOServer source???
05/12/2017 04:09 Spirited#5
Quote:
Originally Posted by _DreadNought_ View Post
Why have you chosen to use NewestCOServer source???
Because he can't program. He goes through sources like Trump goes through executive orders.
05/12/2017 10:36 Soulfly25#6
Any ideas please?
05/12/2017 19:25 Spirited#7
Quote:
Originally Posted by Soulfly25 View Post
Any ideas please?
The error message is there... "Unable to read beyond the end of the stream." You're overreading. Probably because you added a field to your character saving, and now old files that don't have those fields are boned. If you're going to add fields, you need to migrate the files...
05/12/2017 23:42 _DreadNought_#8
Quote:
Originally Posted by Soulfly25 View Post
Any ideas please?
The first comment gives you a duct tape fix and you've totally ignored it. stop asking for shit and ignoring when it's giving to you & you also ignored my own question, why have you gone out of your way to use a bad source? like I swear that source isn't even on the first page of releases, you know it's not good yet you choose to use it. it's just stupid.
05/13/2017 02:11 Spirited#9
Quote:
Originally Posted by _DreadNought_ View Post
The first comment gives you a duct tape fix and you've totally ignored it. stop asking for shit and ignoring when it's giving to you & you also ignored my own question, why have you gone out of your way to use a bad source? like I swear that source isn't even on the first page of releases, you know it's not good yet you choose to use it. it's just stupid.
From what I've seen, this is his first attempt at programming. He's trying to fix friend lists... or something of that nature. Problem being that he's a leech, and the last question he asked he got a copy-paste answer for that was incomplete. Thereafter causing this thread to exist.
05/13/2017 11:48 Soulfly25#10
Quote:
Originally Posted by _DreadNought_ View Post
The first comment gives you a duct tape fix and you've totally ignored it. stop asking for shit and ignoring when it's giving to you & you also ignored my own question, why have you gone out of your way to use a bad source? like I swear that source isn't even on the first page of releases, you know it's not good yet you choose to use it. it's just stupid.
actually I already did that.

Quote:
Originally Posted by Spirited View Post
Because he can't program. He goes through sources like Trump goes through executive orders.
but you are my teacher on programming.
05/13/2017 19:00 Spirited#11
Quote:
Originally Posted by Soulfly25 View Post
but you are my teacher on programming.
Helllll no.
05/14/2017 05:51 Soulfly25#12
Quote:
Originally Posted by Spirited View Post
Helllll no.
Ah uh. Don't deny it. Yes you are!