Log in

View Full Version : [02.10. - 15:03:01] [WORLD__CLIENT_ERR] NOCLE: Could not get CharInfo for 'charname'


Secrets
02-10-2009, 04:26 PM
Been seeing this pop up in the logs for my server a lot:

[02.10. - 15:03:01] [WORLD__CLIENT_ERR] NOCLE: Could not get CharInfo for 'Monk'


and i'm not sure why.

It seems to make the player crash to the loginserver as well. Further inspection in code shows this part is to blame:

if (charid == 0 || tmpaccid != GetAccountID()) {
clog(WORLD__CLIENT_ERR,"Could not get CharInfo for '%s'",char_name);
eqs->Close();
break;
}

but i'm a bit unsure how it is failing to get the character info at all, as it is there. It also seems to happen on low-ping characters only, meaning, they have a good connection. It has happened to myself too.

Any thoughts?

trevius
02-10-2009, 08:24 PM
Maybe your characters_ table is corrupt?

erik_llewellyn
02-10-2009, 09:23 PM
I got an error that was similar if not exactly this after some of the recent mail updates. It turned out that the mail key needs to be anything but NULL in the DB which is not the case for any toon made before the SVN update came out. It's like you said, it didn't happen all the time, but was often enough I started digging around some and saw a post somewhere on these forums recently about the same thing. Changing it fixed my issues, so with some luck it will for you too.

Secrets
02-10-2009, 10:29 PM
Maybe your characters_ table is corrupt?

Probably not the case. It loads those characters occasionally, if it loads it TOO fast it's almost like it doesn't get a chance to do the query in time.

I got an error that was similar if not exactly this after some of the recent mail updates. It turned out that the mail key needs to be anything but NULL in the DB which is not the case for any toon made before the SVN update came out. It's like you said, it didn't happen all the time, but was often enough I started digging around some and saw a post somewhere on these forums recently about the same thing. Changing it fixed my issues, so with some luck it will for you too.

Not the issue; I checked the table and mailkey is unchecked as being able to be null. I also disabled mail.

I switched it to a new machine, but it does it not as often now... but still does it. Might be my router, though i'm not sure!

Yeormom
02-10-2009, 10:58 PM
You clearly have too much anarchy. Put a debugger on the line before the error statement [charid = database.GetCharacterInfo(char_name, &tmpaccid, &zoneID);] and see what the story is.

Secrets
02-11-2009, 12:24 PM
You clearly have too much anarchy.

I see what you did there.

Put a debugger on the line before the error statement [charid = database.GetCharacterInfo(char_name, &tmpaccid, &zoneID);] and see what the story is.

Froze on the line and found it was the accountID missing somehow. I did a defrag on the machine and that seemed to fix it somehow, heh. It was either that or Windows Error Reporting when a zone crashed. Funny how little things like that cause problems...