clientinfo shows nothing

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 096.
Note: Core 096 is no longer officially supported.
Post Reply
Repsak
Master Poster
Posts: 91
Joined: Sun Feb 05, 2006 2:00 am

clientinfo shows nothing

Post 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?
Tercio
New User
Posts: 9
Joined: Thu Feb 23, 2006 4:44 pm

Post 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.

:(
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post by CWO »

Remember as it says in the core-changes.txt, the client does NOT send this every time.
Repsak
Master Poster
Posts: 91
Joined: Sun Feb 05, 2006 2:00 am

Post 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.
Xandros
Expert Poster
Posts: 76
Joined: Fri Feb 17, 2006 12:25 pm

Post 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
Tercio
New User
Posts: 9
Joined: Thu Feb 23, 2006 4:44 pm

Post 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 ?
Xandros
Expert Poster
Posts: 76
Joined: Fri Feb 17, 2006 12:25 pm

Post 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
Repsak
Master Poster
Posts: 91
Joined: Sun Feb 05, 2006 2:00 am

Post by Repsak »

Do you know how long time has to pass before the info is send again?
Repsak
Master Poster
Posts: 91
Joined: Sun Feb 05, 2006 2:00 am

Post 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
Xandros
Expert Poster
Posts: 76
Joined: Fri Feb 17, 2006 12:25 pm

Post 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
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

Post 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
Tercio
New User
Posts: 9
Joined: Thu Feb 23, 2006 4:44 pm

Post by Tercio »

Beta release 2006/01/18.

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