BeBot - An Anarchy Online and Age Of Conan chat automaton

Development => Coding and development discussion => Topic started by: lulifuz on August 29, 2007, 05:54:01 pm

Title: How to get character name from char-ID?
Post by: lulifuz on August 29, 2007, 05:54:01 pm
Hi there,

in my guestlist only the char-IDs are stored (for what reason ever).
Is there a way to retrive the char name?
I have tried the get_uname function from AOChat.php but most of the time I get a -1 returned.
Does somebody have an idea about this or is there any other way to get the name?

Thank you all.

Regards,

 Lulifuz
Title: Re: How to get character name from char-ID?
Post by: Alreadythere on August 29, 2007, 07:28:31 pm
There are only two ways to get character names out of IDs:If none of that is available there sadly is no way that I know of.
Title: Re: How to get character name from char-ID?
Post by: lulifuz on August 29, 2007, 10:24:03 pm
Thanks Alreadythere.
If there was some online cache you would have mentioned it, I assume.
I was hoping there was a connection like with the org ID on the FC website.
Maybe I can make a list of the 'most likely' candidates and try my luck.

Regards,

 lulifuz
Title: Re: How to get character name from char-ID?
Post by: Alreadythere on August 30, 2007, 01:12:07 am
get_uid() calls are fairly cheap, so if you can narrow it down a bit make a list of character names, put them into some table, and just look all the ids up.
SimplePortal 2.3.7 © 2008-2025, SimplePortal