PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
clientinfo shows nothing

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help 096
Display posts from previous:   

Author Message
Repsak



Joined: 05 Feb 2006
Posts: 91
Location: Denmark

PostPosted: Thu Aug 10, 2006 11:02 am    Post subject: clientinfo shows nothing Reply with quote

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?

Author Message
Tercio



Joined: 23 Feb 2006
Posts: 9

PostPosted: Thu Aug 10, 2006 11:36 am    Post subject: Reply with quote

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.

Sad

Author Message
CWO



Joined: 04 Feb 2006
Posts: 699
Location: Chicago, IL USA

PostPosted: Fri Aug 11, 2006 1:39 am    Post subject: Reply with quote

Remember as it says in the core-changes.txt, the client does NOT send this every time.

Author Message
Repsak



Joined: 05 Feb 2006
Posts: 91
Location: Denmark

PostPosted: Fri Aug 11, 2006 4:56 am    Post subject: Reply with quote

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.

Author Message
Xandros



Joined: 17 Feb 2006
Posts: 76

PostPosted: Fri Aug 11, 2006 5:24 am    Post subject: Reply with quote

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

Author Message
Tercio



Joined: 23 Feb 2006
Posts: 9

PostPosted: Fri Aug 11, 2006 11:50 am    Post subject: Reply with quote

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 ?

Author Message
Xandros



Joined: 17 Feb 2006
Posts: 76

PostPosted: Sat Aug 12, 2006 12:00 pm    Post subject: Reply with quote

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

Author Message
Repsak



Joined: 05 Feb 2006
Posts: 91
Location: Denmark

PostPosted: Sat Aug 12, 2006 7:22 pm    Post subject: Reply with quote

Do you know how long time has to pass before the info is send again?

Author Message
Repsak



Joined: 05 Feb 2006
Posts: 91
Location: Denmark

PostPosted: Sun Aug 13, 2006 5:02 am    Post subject: Reply with quote

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

Author Message
Xandros



Joined: 17 Feb 2006
Posts: 76

PostPosted: Sun Aug 13, 2006 7:41 am    Post subject: Reply with quote

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

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Tue Aug 15, 2006 9:55 am    Post subject: Reply with quote

Tercio wrote:
So, here it works fine in same pol096 beta releases, on vestal-virgen final never seemed work...

"same" means which beta?

Shinigami

Author Message
Tercio



Joined: 23 Feb 2006
Posts: 9

PostPosted: Tue Aug 15, 2006 11:15 am    Post subject: Reply with quote

Beta release 2006/01/18.

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

Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help 096 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty