How UOG Works
Posted: Thu May 13, 2010 11:33 pm
UOG has a poller app which sends a special packet to the UO server to gather data.
The packet sent is shown below:
Your server should be coded to accept this packet and handle it accordingly. (this should be built into RunUO, not sure about other servers)
The response should be a null terminated string something like this:
You can replace RunUO with whatever other software you may use (ex: Sphere, POL). Not sure what age is tbh, UOGateway does not check it. The only one it cares about the clients one which is the number of tcp connections which is technically the number of players, but it counts even non logged in accounts, so tcp connection is more the way of doing it.
If you are running RunUO this should already be coded in as far as I know.
Other notes:
The poller IP is 67.19.158.242.
You may also see similar polls from dynamic IP belonging to home.iceteks.net. This may happen in bursts of multiple times per minute, and is usually when I am running the poller in dev. Normally I avoid running it with others' shards and clear my local DB though.
Archived topic from AOV, old topic ID:5107, old post ID:33003
The packet sent is shown below:
Your server should be coded to accept this packet and handle it accordingly. (this should be built into RunUO, not sure about other servers)
Code: Select all
tcpquery.WriteInt8(0x7f);
tcpquery.WriteInt16(0x00);
tcpquery.WriteInt8(0x7f);
tcpquery.WriteInt8(0xf1);
tcpquery.WriteInt8(0x00);
tcpquery.WriteInt8(0x04);
tcpquery.WriteInt8(0xff);
Code: Select all
RunUO, Name=shardname, Age=226, Clients=2, Items=450725, Chars=22697, Mem=493189K
If you are running RunUO this should already be coded in as far as I know.
Other notes:
The poller IP is 67.19.158.242.
You may also see similar polls from dynamic IP belonging to home.iceteks.net. This may happen in bursts of multiple times per minute, and is usually when I am running the poller in dev. Normally I avoid running it with others' shards and clear my local DB though.
Archived topic from AOV, old topic ID:5107, old post ID:33003