[VERIFIED] crash client/server

Found a bug in UOX3? Or experienced a server crash? Perhaps you've noticed a broken feature? Post the details here!
Post Reply
yhaguen
UOX3 Newbie
Posts: 6
Joined: Wed Mar 11, 2009 11:45 am
Has thanked: 0
Been thanked: 0

crash client/server

Post by yhaguen »

Hi All,

I found your site and great dev 3 days ago :). I took your all_in_one package (UOX3 v0.98-4.0), put it on a windows XP machine with 2Go of RAM to play in LAN, and start it.
All was correctly loaded and a client connection works. But I'm facing 2 sort of crash:

If I open the combat skill menu the client crash
if I start a combat, the server crash

This is a systematic behavior and I can't see anything about these crashes in the log files.
Theses cases are reproducible with all the client version I tested (default,4,5 and 6 and last).
I tested with the "Stranf's World Starter Kit" too.
I think the mistake is on my side but I don't know what I miss.

If you have any clues your are welcome :)

thanks in advance.

ps: sorry, my english is so so
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 »

Sorry for the slow reply.

I can verify that the client will crash when you attempt to open the combat-section of the skill-gump. No idea why. :|

I do not crash when I start fighting with NPCs, though. I'm using client 6.0.12.4.
-= Ho Eyo He Hum =-
yhaguen
UOX3 Newbie
Posts: 6
Joined: Wed Mar 11, 2009 11:45 am
Has thanked: 0
Been thanked: 0

Post by yhaguen »

Thanks for your reply Xuri.

I have the same "combat menu" issue with the last client 6.0.13.0
User avatar
Jediman
UOX3 Apprentice
Posts: 177
Joined: Fri Jul 16, 2004 1:38 am
Location: New England
Has thanked: 0
Been thanked: 0
Contact:

Post by Jediman »

Xuri, with the debug version of uox3 running, are any errors or messages outputted to the console?
Realms of Valor
- -=- http://www.realmsofvalor.com -=-
-=-Powered By UOX3-=-

Have you read the installation documentation?
http://www.uox3.org/documentation.shtml

'I have a moongate in my backpack' sounds like a bad Brittanian pickup line!
Kay
UOX3 Newbie
Posts: 1
Joined: Tue May 25, 2010 11:29 pm
Has thanked: 0
Been thanked: 0

Post by Kay »

Hello there.
Same problem happening to me with latest uox3 release.

Can confirm this bug with uo 3.0.8 and 6.0

Server crash everytime a creature attack me. A skeleton, an orc , an earth elly, you name it.

But i also noticed that champion creature (from dark father, to harrower, proxymus etc) do not crash the server. So it's kinda weird.

Can't help more than that, no entry in log :/
yhaguen
UOX3 Newbie
Posts: 6
Joined: Wed Mar 11, 2009 11:45 am
Has thanked: 0
Been thanked: 0

Post by yhaguen »

Hi Xuri,

I up this topic because I downloaded the UOX3 0.99.1 and the client 7.0.25.6 and I still have the issue. The server crash systematicaly when a monster aggroed me.

If you have some tips to activate more debug into the server or if you have a link to download a server compiled in debug-mode, I'll be glad to provide you the logs and perhaps a call stack.

Thanks & regards,
Yhaguen
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 »

If we can narrow it down somehow, it might be easier to figure out what's going on. Does this happen when any monsters aggro, or only specific ones? What about the champion creatures Kay mentioned? Try spawning the following and see if it still happens: 'add npc theharrower

I also compiled and uploaded a debug-version of 0.99.1, but not sure how much help it will be in pinpointing the issue:
https://www.uox3.org/files/uox3exe_0_99_1_debug.rar

The best way of debugging is by running UOX3 through Visual Studio in debug-mode, but that can be a hassle to setup and get working properly.
-= Ho Eyo He Hum =-
yhaguen
UOX3 Newbie
Posts: 6
Joined: Wed Mar 11, 2009 11:45 am
Has thanked: 0
Been thanked: 0

Post by yhaguen »

First, thanks for your quick reply :)

The type of the monster doesn't matter, the issue is systematic. I reduce to aggro range to 1 tile to test. The server crash only when the monster aggro me.

I summuned The Harrower, same behavior.

I cannot lauch your server compiled with the debug flag. An error box appears saying something about a wrong configuration and asking a re install. My computer is running with XP 32b.

I don't have the visual studio (or anything to run a compilation env) on my computer. But I downloaded the source from sourceforge and have a look at the combat routine. I found the folowing code:

Code: Select all

void CHandleCombat::AttackTarget( CChar *cAttack, CChar *cTarget )
{
	// Check if OnCombatStart event exists, necessary here to make event run for NPCs attacking
	UI16 charTrig		= cAttack->GetScriptTrigger();
	cScript *toExecute	= JSMapping->GetScript( charTrig )
Perhaps I miss a conf somewhere or I need a specific JS file ?

Thanks,
Yhaguen.
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 »

That shouldn't (in theory) be an issue. That code should (again, in theory) only check to see if a script exists and is attached to the character with the OnCombatStart JS trigger. If you're using the default UOX3 package with no modifications, that script/JS event should not exist for any NPCs (or players).

Does it also happen when you attack monsters without them automatically aggroing you based on distance? Say, if you do 'add npc m_fighter and attack him?
-= Ho Eyo He Hum =-
yhaguen
UOX3 Newbie
Posts: 6
Joined: Wed Mar 11, 2009 11:45 am
Has thanked: 0
Been thanked: 0

Post by yhaguen »

Yes I use the UOX3 default package.

I reduce the aggro range and try to pull at distance. The pull works and I can fight the monster. The issue appears only if the mob aggroed me. If I pull or if I fight any animals (any npc without aggro) at close range that's work.

If you have some clues to understand why I cannot execute your debug server it could be great too :)

Thanks for your time,
Yhaguen.
yhaguen
UOX3 Newbie
Posts: 6
Joined: Wed Mar 11, 2009 11:45 am
Has thanked: 0
Been thanked: 0

Post by yhaguen »

As a workaround I set the aggro range to 0. If I initiate the combat, even at close range, that's work.

Yhaguen
Post Reply