Client freeze 2

Found a bug in UOX3? Or experienced a server crash? Perhaps you've noticed a broken feature? Post the details here!
Post Reply
xantier
UOX3 Novice
Posts: 58
Joined: Tue Dec 20, 2011 6:51 am
Has thanked: 0
Been thanked: 0

Client freeze 2

Post by xantier »

just continue for previous thread without any discussions

Tom asked me :
"Xantier wrote
Quote:
as i have checked the sources a bit, packets are sent and received according to client's major (2x 3x 4x etc.), so how can it cause freezes :/


Where does it freeze? Connecting, Server Selection, Character Creation, or final Login?"

after final login, ingame. no paperdoll, status bar. only UPDATES window opens and game stucks there.
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

Post by dragon slayer »

try setting you server and client features off in the uox3.ini

try this in your ini settings my friend

CLIENTFEATURES=0x000b
SERVERFEATURES=0x00000000

replace they two in there see if that helps you login
xantier
UOX3 Novice
Posts: 58
Joined: Tue Dec 20, 2011 6:51 am
Has thanked: 0
Been thanked: 0

Post by xantier »

i think i found the problem. i added CPToolTip::ClientCanReceive function and checked if the client is AOS and higher, i fixed login thing. i'm now trying to reproduce freezes.
xantier
UOX3 Novice
Posts: 58
Joined: Tue Dec 20, 2011 6:51 am
Has thanked: 0
Been thanked: 0

Post by xantier »

why are all sysmessages green coloured ? a way to change it ?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

From void CSocket::sysmessage() in cSocket.cpp:

Code: Select all

	toAdd.Colour( 0x0040 );
...is my guess as to why it's green :)
-= Ho Eyo He Hum =-
Tom
UOX3 Neophyte
Posts: 31
Joined: Tue Dec 20, 2011 9:36 pm
Location: Berkeley
Has thanked: 0
Been thanked: 0

Post by Tom »

Code: Select all

void CSocket::sysmessage( const char *txt, ... ) // System message (In lower left corner)
{
	va_list argptr;
	if( txt == NULL )
		return;

	CChar *mChar = CurrcharObj();
	if( !ValidateObject( mChar ) )
		return;

	char msg[512];
	va_start( argptr, txt );
	vsprintf( msg, txt, argptr );
	va_end( argptr );
	
	CSpeechEntry& toAdd = SpeechSys->Add();
	toAdd.Speech( msg );
	toAdd.Font( FNT_NORMAL );
	toAdd.Speaker( INVALIDSERIAL );
	toAdd.SpokenTo( mChar->GetSerial() );
[color=red]	toAdd.Colour( 0x0040 );[/color]
	toAdd.Type( SYSTEM );
	toAdd.At( cwmWorldState->GetUICurrentTime() );
	toAdd.TargType( SPTRG_INDIVIDUAL );
}
tommyhawk is back!
Tom
UOX3 Neophyte
Posts: 31
Joined: Tue Dec 20, 2011 9:36 pm
Location: Berkeley
Has thanked: 0
Been thanked: 0

Post by Tom »

Beat me :)
tommyhawk is back!
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

Post by dragon slayer »

hey bud you good at coding you hsould see if you can fix the lastets uox to work with the lastest client hehe :) plus i hope you are enjoying uox3
Tom
UOX3 Neophyte
Posts: 31
Joined: Tue Dec 20, 2011 9:36 pm
Location: Berkeley
Has thanked: 0
Been thanked: 0

Post by Tom »

Much has changed since my UOX days, I'm fairly limited to small little fixes and tweaks, I have to defer to Xuri and Giwo for that.
tommyhawk is back!
John
UOX3 Neophyte
Posts: 32
Joined: Thu Sep 15, 2011 7:41 am
Location: Inside Tom's Brain
Has thanked: 0
Been thanked: 0

Post by John »

This post is directed toward xantier.

I was wondering if you have the actual retail t2a cd? If so I could have you setup with an old uox3 build that has pre-compiled and source zips.

The t2a cd is something like 1.25.35 and you can still patch up using that cd. The patch that is needed to work with the old uox3 build I've mentioned is 1.25.36h. Which takes only a couple seconds to patch to. This was back when UOX3 developers manually decrypted packets so this build does not use ignition, razor, or uoconnect. You just typed in username and password in login like you usually would on live and your in.

This build (UOX3 0.69.02) is the furthest back that I was able to login to. It's so old that it has the chest opening at the beginning.. a scroll map for beginning town selection (the map in clients now days did not exist back in 1.25.xx). Um, the town select works and there is no z-bug which plagues the current UOX3 releases.

There was little documentation. Instead of .dfn files, everything is scripted in either .txt or .scp files.

But if you have the actual retail t2a cd let me know and I will post a link to the precompiled and source zips. I don't have any builds that are compatible with your 2.x.x client unfortunately.

I did notice however that back in that release combat was working fully however not many skills had been coded in. I think blacksmithing and bowcraft were only ones coded for tradeskills. So much work would need to be done if you went this route.

Let me know if interested.. I have them archived on a usb drive.
Last edited by John on Thu Jan 09, 2014 5:58 am, edited 1 time in total.
Tom
UOX3 Neophyte
Posts: 31
Joined: Tue Dec 20, 2011 9:36 pm
Location: Berkeley
Has thanked: 0
Been thanked: 0

Post by Tom »

Xantier,

I am going to download this version, we very well could use it as a base to start work on eliminating 3rd party client decryption for new clients.

I'm going to wait on opening it. If anyone checks it out first, let me know.
tommyhawk is back!
xantier
UOX3 Novice
Posts: 58
Joined: Tue Dec 20, 2011 6:51 am
Has thanked: 0
Been thanked: 0

Post by xantier »

John wrote:This post is directed toward xantier.

I was wondering if you have the actual retail t2a cd? If so I could have you setup with an old uox3 build that has pre-compiled and source zips.

The t2a cd is something like 1.25.35 and you can still patch up using that cd. The patch that is needed to work with the old uox3 build I've mentioned is 1.25.36h. Which takes only a couple seconds to patch to. This was back when UOX3 developers manually decrypted packets so this build does not use ignition, razor, or uoconnect. You just typed in username and password in login like you usually would on live and your in.

This build is the furthest back that I was able to login to. It's so old that it has the chest opening at the beginning.. a scroll map for beginning town selection (the map in clients now days did not exist back in 1.25.xx). Um, the town select works and there is no z-bug which plagues the current UOX3 releases.

There was little documentation. Instead of .dfn files, everything is scripted in either .txt or .scp files.

But if you have the actual retail t2a cd let me know and I will post a link to the precompiled and source zips. I don't have any builds that are compatible with your 2.x.x client unfortunately.

I did notice however that back in that release combat was working fully however not many skills had been coded in. I think blacksmithing and bowcraft were only ones coded for tradeskills. So much work would need to be done if you went this route.

Let me know if interested.. I have them archived on a usb drive.
what's current z-bug ?
John
UOX3 Neophyte
Posts: 32
Joined: Thu Sep 15, 2011 7:41 am
Location: Inside Tom's Brain
Has thanked: 0
Been thanked: 0

Post by John »

xantier,

In the current line of uox3-4.0 releases if you walk up stairs in certain buildings or dungeons you aren't able to walk back down as it will teleport you back to the top of the stairs. This is called a z-bug which is referring to the z sort order of pathing ai in movement code. It also is effecting some of the landscapes in the different world facets. This can be experienced if you try to walk around new haven.

Tom,

You will want to make sure that you cancel updates exactly after 1.25.36h finishes. When it says that it has moved on to downloading 1.25.36i, you want to stop before it completes. Oh and your welcome by the way.
Last edited by John on Thu Jan 09, 2014 5:59 am, edited 1 time in total.
xantier
UOX3 Novice
Posts: 58
Joined: Tue Dec 20, 2011 6:51 am
Has thanked: 0
Been thanked: 0

Post by xantier »

thanks for info, john.

i fixed things a bit for client 2.0.3. i play smoothly now but there are still packet problems. i can't single-click myself. when i do it, i can't see my name lol. SpeechEntry thing works a bit weird when clicked self. i'm trying to find out why.

there are really billions of things to do. emulator seems to have some optimisation problems especially at saving and loading phases. I wonder the performance at high player numbers. there are really so many things to fix and do.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

John wrote:Also, Zippy left UOX3 to work as a developer for OSI. You don't hear that type of thing happeing much but if you have played on official servers in the past couple years.. when you get a holiday bell as a gift one of the names is Zippy. They put names of developers on the bells to honor them. I know this isnt useful to your cause but thought Id mention it.
FYI:
Zippy went to RunUO, and wrote Razor.
Hanse, on the other hand, went on to work for OSI :)
Jerrith has worked for various game development companies (Sigil, NCSoft, Cheyenne)- though not OSI.
-= Ho Eyo He Hum =-
Tom
UOX3 Neophyte
Posts: 31
Joined: Tue Dec 20, 2011 9:36 pm
Location: Berkeley
Has thanked: 0
Been thanked: 0

Post by Tom »

Cironian works for C1 financial services and contelligent.
tommyhawk is back!
xantier
UOX3 Novice
Posts: 58
Joined: Tue Dec 20, 2011 6:51 am
Has thanked: 0
Been thanked: 0

Post by xantier »

do you know how to send old-stylish gumps with selection boxes, Continue and Cancel. like old 'add menu ?
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

Post by dragon slayer »

YOu mean the craft gumps i been posting?
Post Reply