PenUltima Online

It is currently Sat Aug 30, 2008 3:48 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: clientinfo shows nothing
PostPosted: Thu Aug 10, 2006 7:02 am 
Offline

Joined: Sun Feb 05, 2006 2:00 am
Posts: 91
Location: Denmark
I have placed the suggested function in misc/logon.src, yet I recieve the 'No ClientInfo.......' on every player logon.
Quote:
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:
Quote:
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?

_________________
When was the last time, you did something for the first time?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 10, 2006 7:36 am 
Offline

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

:(


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 10, 2006 9:39 pm 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 745
Location: Chicago, IL USA
Remember as it says in the core-changes.txt, the client does NOT send this every time.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 11, 2006 12:56 am 
Offline

Joined: Sun Feb 05, 2006 2:00 am
Posts: 91
Location: Denmark
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.

_________________
When was the last time, you did something for the first time?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 11, 2006 1:24 am 
Offline

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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 11, 2006 7:50 am 
Offline

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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 12, 2006 8:00 am 
Offline

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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 12, 2006 3:22 pm 
Offline

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

_________________
When was the last time, you did something for the first time?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 13, 2006 1:02 am 
Offline

Joined: Sun Feb 05, 2006 2:00 am
Posts: 91
Location: Denmark
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

_________________
When was the last time, you did something for the first time?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 13, 2006 3:41 am 
Offline

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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 15, 2006 5:55 am 
Offline
POL Core Developer

Joined: Mon Jan 30, 2006 9:28 am
Posts: 292
Location: Germany, Bavaria
Tercio wrote:
So, here it works fine in same pol096 beta releases, on vestal-virgen final never seemed work...

"same" means which beta?

Shinigami


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 15, 2006 7:15 am 
Offline

Joined: Thu Feb 23, 2006 4:44 pm
Posts: 9
Beta release 2006/01/18.

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl