Page 1 of 1

Client 6.0.5.0 support

Posted: Thu Nov 29, 2007 6:25 pm
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

Client 6.0.5.0 support

Posted: Fri Nov 30, 2007 8:29 am
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

Client 6.0.5.0 support

Posted: Fri Nov 30, 2007 9:36 am
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

Client 6.0.5.0 support

Posted: Fri Nov 30, 2007 10:32 am
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

Client 6.0.5.0 support

Posted: Fri Nov 30, 2007 5:18 pm
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

Client 6.0.5.0 support

Posted: Fri Nov 30, 2007 9:17 pm
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

Client 6.0.5.0 support

Posted: Fri Nov 30, 2007 9:34 pm
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

Client 6.0.5.0 support

Posted: Fri Nov 30, 2007 9:45 pm
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

Client 6.0.5.0 support

Posted: Fri Nov 30, 2007 11:52 pm
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

Client 6.0.5.0 support

Posted: Sat Dec 01, 2007 8:12 am
by sliptongue69
That's funny. Was that putty in the background?

Archived topic from AOV, old topic ID:1748, old post ID:11279

Client 6.0.5.0 support

Posted: Sat Dec 01, 2007 11:38 am
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