Client 6.0.5.0 support

Information on new updates to the shard as well as what's to come
Locked
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Client 6.0.5.0 support

Post by Red Squirrel »

Working on supporting the new packet changes. This is a bit tricky but I partially got it working and have an idea of whats going on. I'm hoping to have this working by SW tomorrow, maybe even tonight.

Archived topic from AOV, old topic ID:1748, old post ID:11191
Honk if you love Jesus, text if you want to meet Him!
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Client 6.0.5.0 support

Post by Red Squirrel »

I'm working on it. Was busy with christmas event so let this drag a bit, and now it turns out its a more complex issue to fix. All the other shards have no custom code and only use SVN so its easy for them, they just update and it works.

Archived topic from AOV, old topic ID:1748, old post ID:11233
Honk if you love Jesus, text if you want to meet Him!
User avatar
Dumples
Posts: 484
Joined: Fri Jan 05, 2007 4:57 pm

Client 6.0.5.0 support

Post by Dumples »

Red Squirrel wrote:I'm working on it. Was busy with christmas event so let this drag a bit, and now it turns out its a more complex issue to fix. All the other shards have no custom code and only use SVN so its easy for them, they just update and it works.
As af last night even after SW, I was logging in fine with 6.0.4.0. I know I saw others on like Doc Thunder and someone else that were able to login fine. As far as I can tell the server isn't broken from a login standpoint based on a correctly installed 6040 client.

Something to note is that when the 6.0.5.0 client is supported, Razor will also need to be updated from everything I've read. For most people Razor probably already updated automatically and seems to be fine for me with the 6.0.4.0 client as well.

Archived topic from AOV, old topic ID:1748, old post ID:11244
Image
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Client 6.0.5.0 support

Post by Red Squirrel »

Yeah currently 6.0.4.0 works fine on main shard, but wont work on TC1, 6.0.5.0 wont work either, TC1 is basically in a down state now. It's Friday so I'll have more time tonight and hopefully will get it going. TC1 makes it as far as server list now, so got some progress.

Archived topic from AOV, old topic ID:1748, old post ID:11246
Honk if you love Jesus, text if you want to meet Him!
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Client 6.0.5.0 support

Post by Red Squirrel »

W00T for fridays, hopefully I can get 6.0.5.0 packet support done by 4:00am (regular bedtime if its a weekend :P)

I also have to finish that 1kg bag of nuts, that should keep me going. :o:

Archived topic from AOV, old topic ID:1748, old post ID:11255
Honk if you love Jesus, text if you want to meet Him!
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Client 6.0.5.0 support

Post by Red Squirrel »

Ok this is getting way more complex then I ever imagined. I've been at this for hours non stop, just wont work. I'm almost ready to just scrap RunUO and start a server from scratch in C++. Its not that the packets are complicated, its that RunUO is just not corresponding properly with the changes. I even tried putting the changes they did in SVN, simply can't connect no matter what I try.

It's not dumping the buffer when its done with a handler, so packets are just accumulating on it and it keeps handling the entire buffer. Its really weird.

If this takes too long I'll have to just prospone this so I can concentrate on the Christmas event. Its pretty much done though but may need to tweak stuff here and there.

Archived topic from AOV, old topic ID:1748, old post ID:11268
Honk if you love Jesus, text if you want to meet Him!
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Client 6.0.5.0 support

Post by Red Squirrel »

FIXED!

replace

Code: Select all

		
		public int GetSeedLength()
		{
		if ( m_Buffer[4] == 0x80 ) // we need this check for old clients
		return 4;

		return 21;
		}		
		
		
with

Code: Select all

public int GetSeedLength()
		{
		if ( m_Buffer[0] == 0xef ) // we need this check for old clients
		return 21;

		return 4;
		}		
Old one only handles login server, but does not handle logging in to the actual server (the seed is still 4 bytes for the 2nd login stage)

This checks if the login stage is 1st or 2nd.




Now I need a big favor, I'm not 100% confident with this code because someone on another forum mentioned the 0xEF sometimes changes, but I have not been able to reproduce this.

So can you guys backup your current client, update, then try going on TC1 with it and let me know if you get in. Check out gaunt while your there, its quite slick. (did not update maps yet but will do when I publish this fix)

Archived topic from AOV, old topic ID:1748, old post ID:11269
Honk if you love Jesus, text if you want to meet Him!
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Client 6.0.5.0 support

Post by Red Squirrel »

This broke encryption support, but since encrypted clients and/or KR were not really supported to begin with, I will just turn it off.

Archived topic from AOV, old topic ID:1748, old post ID:11270
Honk if you love Jesus, text if you want to meet Him!
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Client 6.0.5.0 support

Post by Red Squirrel »

lolers updated my command line client in like literally 1 minute.

http://www.iceteks.com/misc/commandlineclient.jpg

RunUO is not pickup up version at the right spot though, but no big issue, can't trust the version number anyway.

Archived topic from AOV, old topic ID:1748, old post ID:11275
Honk if you love Jesus, text if you want to meet Him!
sliptongue69
Posts: 829
Joined: Sat Aug 18, 2007 7:46 pm

Client 6.0.5.0 support

Post by sliptongue69 »

That's funny. Was that putty in the background?

Archived topic from AOV, old topic ID:1748, old post ID:11279
Stupid fucking idiot in red shirted ass...
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Client 6.0.5.0 support

Post by Red Squirrel »

Yeah lol, connected to my main server. The client runs in both linux and windows so I always compile under both to ensure I don't break compatibility. C++ ftw.

Archived topic from AOV, old topic ID:1748, old post ID:11284
Honk if you love Jesus, text if you want to meet Him!
Locked