Page 1 of 1

clientinfo shows nothing

Posted: Thu Aug 10, 2006 7:02 am
by Repsak
I have placed the suggested function in misc/logon.src, yet I recieve the 'No ClientInfo.......' on every player logon.
Function TestClientInfo(who)
Var info:=who.clientinfo;

If (info.unknown1) // in most/all cases 0x02
SysLog("ClientInfo '"+who.name+"' ["+who.acctname+"]");
SysLog(" Unknown1 = "+Lower(Hex(info.unknown1)));
SysLog(" Unique Instance ID of UO = "+Lower(Hex(info.instance)));
SysLog(" OS Version = "+info.os_major+"."+info.os_minor+"."+info.os_revision);
SysLog(" CPU Manufacturer = "+info.cpu_manufacturer);
SysLog(" CPU Family = "+info.cpu_family);
SysLog(" CPU Model = "+info.cpu_model);
SysLog(" CPU Clock Speed = "+info.cpu_clockspeed+" MHz");
SysLog(" CPU Quantity = "+info.cpu_quantity);
SysLog(" Memory = "+info.memory+" MB");
SysLog(" Screen Resolution = "+info.screen_width+" x "+info.screen_height+" x "+info.screen_depth+" Bit");
SysLog(" Direct X Version = "+info.directx_major+"."+info.directx_minor);
SysLog(" Video Card Description = "+CChrZ(info.video_description));
SysLog(" Video Card Vendor ID = "+info.video_vendor);
SysLog(" Video Card Device ID = "+info.video_device);
SysLog(" Video Card Memory = "+info.video_memory+" MB");
SysLog(" Distribution = "+info.distribution);
SysLog(" Clients Running = "+info.clients_running);
SysLog(" Clients Installed = "+info.clients_installed);
SysLog(" Partial Insstalled = "+info.partial_installed);
SysLog(" Language Code = "+CChrZ(info.langcode));
SysLog(" Unknown2 = "+info.unknown2);
Else
SysLog("No ClientInfo '"+who.name+"' ["+who.acctname+"]");
EndIf
EndFunction

Since I only have one server, I dont think its a problem with different login and play server:
If your login server differs from play/shard server it doesn't work
(Packet will be send before you choose the server only).
I have also tried to use the function on online players, but still 'No ClientInfo.....'

Im running POL96.1, updataed to 5.0.2g, and so does the clients.
The server is running WinXP SP2.

What could be the problem?

Posted: Thu Aug 10, 2006 7:36 am
by Tercio
I have same problem, i use who.clientinfo on logon.src but, nothing was displayed.

pol096 vestal-virgin, tested on client400p and others.
login server and play server are the same.

:(

Posted: Thu Aug 10, 2006 9:39 pm
by CWO
Remember as it says in the core-changes.txt, the client does NOT send this every time.

Posted: Fri Aug 11, 2006 12:56 am
by Repsak
CWO wrote:Remember as it says in the core-changes.txt, the client does NOT send this every time.
I know, but it should send it once in a while. And according to the core-changes, it should send it on logon, hence misc/logon.

Posted: Fri Aug 11, 2006 1:24 am
by Xandros
Clientinfo, as far as I tested it, never seemed to work on a remote
server (our live shard). But on a local test server, the same machine on
which my client was running, and with the same scripts and same
clients, it worked fine. I guess the problem is somehow related to
this...

BTW, you can get the client to send the data more often (for testing
reasons) by manipulating the registry entries for UO. You'll find a
timestamp there, which will be updated each time the client sends
the data, and that prevents the client from sending it again in the
next 24 hours or so. Just set this timestamp back to make the client
think it didn't send the data recently.

Xandros

Posted: Fri Aug 11, 2006 7:50 am
by Tercio
So, here it works fine in same pol096 beta releases, on vestal-virgen final never seemed work...
Xandros, can you talk more abount registry manipulation ?

Posted: Sat Aug 12, 2006 8:00 am
by Xandros
You'll find the registry key I was talking about at...

HKEY_LOCAL_MACHINE\SOFTWARE\Origin Worlds Online

The key name is LastHarvestTime, this is the date when the
client did send its data to the server last time, saved as a
unix time stamp. Set this number to a smaller value, e.g.
subtract 600.000 to set the date back by about a week, and
next time you start the client and log onto the server, it
will think enough time has passed and send its data to the
server again.

Xandros

Posted: Sat Aug 12, 2006 3:22 pm
by Repsak
Do you know how long time has to pass before the info is send again?

Posted: Sun Aug 13, 2006 1:02 am
by Repsak
Xandros wrote:Clientinfo, as far as I tested it, never seemed to work on a remote
server (our live shard). But on a local test server, the same machine on
which my client was running, and with the same scripts and same
clients, it worked fine. I guess the problem is somehow related to
this...
I can confirm this. If I run a copy of the shard on the same PC as the client, I do receive clientinfo (very limited but still some, actually only 'Unknown1' and 'Unique Instance ID of UO' )
But if I set back the 'LastHarvestTime' stamp, and try it on the a live shard, I get nothing but zeros

Posted: Sun Aug 13, 2006 3:41 am
by Xandros
Repsak wrote:Do you know how long time has to pass before the info is send again?
I'm not sure, one or a few days.

Xandros

Posted: Tue Aug 15, 2006 5:55 am
by Shinigami
Tercio wrote:So, here it works fine in same pol096 beta releases, on vestal-virgen final never seemed work...
"same" means which beta?

Shinigami

Posted: Tue Aug 15, 2006 7:15 am
by Tercio
Beta release 2006/01/18.

setting on 'LastHarvestTime' 0x999999999, client 4.0.x appears no more crash on server choise.