Support for the ConnectUO "UOG packet"

If Wishes were UOX Coders, we'd be done by now ;P Post your wishes/suggestions for UOX3 changes/improvements here.
Post Reply
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Support for the ConnectUO "UOG packet"

Post by Xuri »

ConnectUO, the tool which appears to be the one eventually replacing UOGateway (at least as a serverlist/patching program, if not necessarily for launching clients for connecting to a local shard), currently requests a different type of UOG packet than UOGateway does. I quote Zippy:
Zippy wrote:ConnectUO at this time only request the "RunUO + UOG" packet, which is sent as this request:

Code: Select all

0xF1 0x00 0x04 0xFF
(0xF1 being the packet ID, 0x0004 being the length and 0xFF being the sub-command).

RunUO Responds with the following string:

Code: Select all

RunUO Items=XXX, Mobiles=XXX, Clients=XXX, Mem=XXX
There are no plans to change ConnectUO to handle the UOX/Sphere style of request. It should be trivial for the UOX (and derivatives such as lone wolf) developers to add support for ConnectUO's packet. Last I heard Sphere is no longer being worked on, so it might be harder to get this sort of change. I think POL supports some sort of Packet Hook system which would allow this to be added without a lot of hassle.
Not sure how much effort it would take adding support for replying to that packet request in a similar way (items, npcs, clients connected, memory usage(?)) but consider it a feature request, in any case :P
-= Ho Eyo He Hum =-
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

While it seems those circling around RunUO have a habit of needing to re-invent the wheel, this change wouldn't be difficult to implement.

I, personally, will not devote the time to it until I actually see ConnectUO as a commonly used product that has replaced UOGateway. But if others on the team wish to add it, I imagine it could be done in about 10 minutes.
punt
VIP
Posts: 244
Joined: Wed Mar 24, 2004 7:46 pm
Has thanked: 0
Been thanked: 9 times

Post by punt »

It actually isn't reinventing. There always was a "Runuo UOG" packet, and basically that is all they are supporting.

It will be interesting to see how long they support other emu's aat all. Zippy mentioned they are looking at a way for the server to "push" the data, versus ConnectUO having to poll.
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

Is this packet sent by the ConnectUO client or the server? Is there a packet (and if so is it the same) sent when you click the "More Info" button in the client for a local server?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

The "More Info" button only shows the description of the server, I think.

I assume that ConnectUO requests the "RunUO + UOG" packet when it pings the servers, though I'm not sure if it works for local servers, because I have not yet seen anything in the UOX3 console about incoming packets.

EDIT: After reading the connectuo-forums a bit, I suspect that it's not the ConnectUO program itself which request the packet, but the connectuo.com server. I.e. you have to have your shard registered on the server before any stats will show up. I have yet to confirm this though.
-= Ho Eyo He Hum =-
Post Reply