Go Back   RunUO - Ultima Online Emulation > RunUO > Script Support

Script Support Get support for modifying RunUO Scripts, or writing your own!

Reply
 
Thread Tools Display Modes
Old 08-01-2008, 07:46 PM   #1 (permalink)
Forum Expert
 
Vorspire's Avatar
 
Join Date: Jan 2005
Location: Newcastle, United Kingdom
Age: 21
Posts: 2,298
Send a message via ICQ to Vorspire Send a message via MSN to Vorspire Send a message via Skype™ to Vorspire
Default Server-Side Client Encryption Support

OK guys.. Here's probably the most asked, but never answered question since 2002. How do I know this? Because I spent about one month searching these forums for any hints, tips or signs of an answer to the question, "How can we support encrypted clients?"

OK, you'ere probably thinking.. Use Razor, ConnectUO, whatever... I don't use any third party tools to connect to my shard, I use a decrypted (UO Rice) Client 5.0.7.1.
- My shard supports up to 5.0.9.1.
However, I want to upgrade ALL of my players to client 5.0.9.1 because of the Winter Seasons bug in 5.0.7.1...
The main problem is, UO RICE is broken for clients higher than 5.0.7.1 so it seems. So, since I allow Razor and other Third Party applications on my shard, I see no harm in allowing encrypted clients and decrypted clients to connect.

During my quest for knowlege with the ever-useful search function, I came upon a thread in Server Support ( Ref: Client encryption key ) and upon requesting more information in a post, someone sent me a private message containing a link to the system that the post uses.
The system is that of server-side client encryption support, it looks flash, seems to work. But then, and I quote...

Quote:
Originally Posted by Vorspire View Post
I am having errors with the ClientEncryption scripts that use these keys.

The client is detected as Encrypted and it selects the Key for the client and allows it to connect to the Server List screen. If I select my server, it disconnects my client.

Has anyone else had this problem? Or does anyone else use this system or has previously used it on RunUO 1.0?

I would REALLY appreciate any information regarding this system.

Thanks, and sorry for the NecroBump :P
So... does anyone have a clue just what is going on?

//Edit
( Ref: Supporting OSI Client Encryption [Ver 1.0] )

The attachment below is the system that provides encryption for the packets etc, it is a completely Drag-And-Drop install, apart from one thing that had to be changed in the core.
(Changing NetState PacketEncoder property from static to dynamic )
Attached Files
File Type: rar ClientEncryption.rar (12.4 KB, 86 views)
__________________

WWW.RPK-UO.COM - The WoW-UO Cross-Over Shard

Last edited by Vorspire; 08-01-2008 at 08:02 PM.
Vorspire is offline   Reply With Quote
Old 09-26-2008, 05:32 AM   #2 (permalink)
Newbie
 
karth's Avatar
 
Join Date: Nov 2003
Posts: 17
Default

Did you have any success?

I did install the Engine, but I'm unable to reach the character choice screen (just before spawning in the world).
Using RunUO2SVN rev. 300. The console says that my client is encrypted, then chooses what seem to be the appropriate keys, allows me to choose a server, then my client is stuck at connecting... (won't let me choose a character)
karth is offline   Reply With Quote
Old 09-26-2008, 05:35 AM   #3 (permalink)
Lurker
 
Join Date: Oct 2003
Posts: 9
Default .......

Why use encryption?
Arrow Inyearse is offline   Reply With Quote
Old 09-26-2008, 01:55 PM   #4 (permalink)
Newbie
 
Join Date: Apr 2004
Age: 24
Posts: 88
Default

Quote:
Originally Posted by Vorspire View Post
However, I want to upgrade ALL of my players to client 5.0.9.1 because of the Winter Seasons bug in 5.0.7.1...
The main problem is, UO RICE is broken for clients higher than 5.0.7.1 so it seems. So, since I allow Razor and other Third Party applications on my shard, I see no harm in allowing encrypted clients and decrypted clients to connect.
Here is what he said
deathwearer is offline   Reply With Quote
Old 09-26-2008, 03:07 PM   #5 (permalink)
Newbie
 
Join Date: Apr 2004
Age: 24
Posts: 88
Default

Just would like to add that UO Rice works with 6.0.1.1 Clients for me. 2D Client of course, 3D 6.x.x.x aren't supported as far as I remember.
deathwearer is offline   Reply With Quote
Old 09-27-2008, 09:00 AM   #6 (permalink)
Newbie
 
karth's Avatar
 
Join Date: Nov 2003
Posts: 17
Default

I have my reasons of wanting to support encryption on my server, and the first one is to avoid requiring the players to modify their install or forcing them to use third party tools.

He said indeed that he sees no harm in letting players choose, and this is also my point of view; therefore, I wanted to have some update on his works to support 6.x.x.x encryption on RunUO2.

@deathwearer: 3D 6.x.x.x clients are disabled because of UO:KR. Indeed, UO_RICE is broken, but it's author released the source.

Last edited by karth; 09-27-2008 at 09:05 AM.
karth is offline   Reply With Quote
Old 09-30-2008, 01:11 AM   #7 (permalink)
Lurker
 
Join Date: Dec 2005
Posts: 5
Default

Code:
RunUO - [www.runuo.com] Версия 2.0, Build 3189.26600
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
 + Engines/ClientEncryption/Encryption.cs:
    CS0117: Line 122: 'Server.Network.Listener' does not contain a definition fo
r 'Port'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
What's wrong?
Help please
Anglohel is offline   Reply With Quote
Old 09-30-2008, 01:56 AM   #8 (permalink)
Forum Novice
 
Soteric's Avatar
 
Join Date: Aug 2006
Location: Russia, Rostov-on-Don
Posts: 772
Send a message via ICQ to Soteric
Default

It seems to me you are using RC2 (or one of the latest SVN) and this encryption was developed for RC1 server. Don't know how to fix it though
Soteric is offline   Reply With Quote
Reply

Bookmarks

Tags
client, client encryption, encryption, server


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5