It is currently Thu Nov 20, 2008 4:36 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: ConnectUO PacketHook
PostPosted: Sat Apr 14, 2007 4:41 am 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 836
Location: Indiana, USA
I know lately there has been a lot of questions and worries floating around about the status of UOG and it's rules. There is also another alternative out there now called ConnectUO. So far only RunUO supports it.

Tekproxy will be looking into supporting it in Distro. It's not something that will require a Core Modification I think. If it does, we will look into it on the Core team. The packethook will also be released outside Distro for people to use if the packethook is all that is needed. I have not looked into it yet myself, but may get time in the near future if tek hasn't been able to yet. More to come about this helpful update :)

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 14, 2007 9:01 am 
Offline
Distro Developer
User avatar

Joined: Thu Apr 06, 2006 5:11 pm
Posts: 350
Location: Nederland, Texas
Some people in a Sphere forum said they asked the RunUO guys about ConnectUO and the protocol for it but they never got a reply. They had the impression that they wanted RunUO to be bound tightly to ConnectUO. I hope this is the case because that would serve as excellent motivation to get this thing up.

From what I gather (and this comes from the RunUO forum), the protocol is simple, and ConnectUO can only handle what is called "RunUO + UOG" requests. I'll have to investigate this more later... It looks like this:
Code:
0xF1 0x00 0x04 0xFF


RunUO responds with:
Code:
RunUO Items=XXX, Mobiles=XXX, Clients=XXX, Mem=XXX


I'll replace RunUO with POL, throw in an item, mobile and online count and the memory could be configurable, unless the POL core started keeping track of physical memory, or computer stats in general (processor speed, hard drive size, available space, number of processors, operating system, etc...).

I think there's already a stastics script for the webserver (if there isn't, there used to be!). I could put all the computer specs into a config file so other scripts could use the info.

Still trying to dig around and learn more about UO Gateway protocol...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 14, 2007 9:39 am 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 836
Location: Indiana, USA
Ignore them. Contact Jeff at ConnectUO. He would be the one to tell you what is needed for this. I can contact him myself if you want instead.

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 14, 2007 8:47 pm 
Offline
Distro Developer
User avatar

Joined: Thu Apr 06, 2006 5:11 pm
Posts: 350
Location: Nederland, Texas
Now that I thought about it, he probably didn't reply because they private message/e-mailed him. He might be more keen if I posed the question via their forums. I'll post and, failing that, e-mail him when their website comes back up.

This seems like a simple thing to code, and it would be really useful. I wonder what other simple/super useful ideas I've missed. :shock: Maybe if the Distro Development forum had something like "Please post (good) suggestions here." in the description. :-D

Oh, and by digging around the RunUO code, the exact response packet should look like this:
Code:
POL, Name={x}, Age={x}, Clients={x}, Items={x}, Chars={x}, Mem={x}K


Where {x} is the value.

Name = Server name
Age = Uptime in hours
Clients = Number of connected players
Items = Item count
Chars = Mobile count
Memory = Physical memory in kilobytes (1024 bytes)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 15, 2007 9:48 pm 
Offline
Certified POL Expert
User avatar

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1207
Location: Southern Central USA
One side note here is that UOG doesn't run in Vista and according to what I understand UOG has no plans for Vista support. Have not verified that last but definitely would be nice to have an alternative solution to UOG and Vista issues.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 16, 2007 12:18 am 
Offline
Certified POL Expert
User avatar

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 794
Location: Chicago, IL USA
UOG is dead. 1266 is the last version of it period. They're trying to kill it off I think. I mean consider this:

You can not have a link to download anything with client.exe in your UOG shard pack, on your website, or on any pages directly linked to your website. So basically, this means you can only use the client they're patched to which could likely be 5.x nowadays.

UOG doesn't support breaking the new encryption. So the newest 5.x clients can't be run on UOG without Razor as the mods suggest.

The newest version of Razor doesn't support UOG.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 16, 2007 6:44 pm 
Offline
Certified POL Expert
User avatar

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1207
Location: Southern Central USA
*nods*
What with the size of hard drives these days it's just as easy to just copy your UO installation to a new folder and configure it to the shard of your choice. One person I know says she has three copies of UO on her PC. One for EA/OSI and two for the POL shards she plays on.

But that having been said I certainly would like to see some tool that would allow folks to be able to switch easily if they don't want to do copy their UO install.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 18, 2007 10:49 pm 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 836
Location: Indiana, USA
Code:
-- POL096.7 --
4-19 MuadDib
        Added : Core support for replying to 0xF1 custom packet used by UOGateway and
                ConnectUO. None of the data is prefilled, so just use an outgoing
                packethook to fill this information however you wish :)
               


Tek, will send you a beta of 097 to continue working on the Distro packet hook for this.

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 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