[FIXED] uox3 crash again

Here we stuff all the bugs we've managed to squash/squish/squelch.
Locked
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

uox3 crash again

Post by dragon slayer »

uox3 is crashing with npcs casting spells. soon as my char see the npc cast the spell uox crashes

npc a was casting spell on npc b to kill it.

No log msgs why server has crashed either
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 »

i think i fixed this
whast i did was open up level1targ.js and added if( mSock ) before all the mSock.SysMessage

I havent seen it crash again since i done that.
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 »

Yeah, I've done the same for my local version here. I should probably commit my changes to the CVS soon ;P
-= Ho Eyo He Hum =-
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 »

yeah been waiting for all your awesome updates :) i see you been a busy bird on uox3 fixing a lot of old bugs and what not
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 »

uox3 has crashed again i was fighten a wraith. here is the npc itself

Code: Select all

[wraith]
{
get=basemonster
NAME=a wraith
ID=0x001a
SKIN=0x6677
STR=76 100
DEX=76 95
INT=36 60
HPMAX=46 60
KARMA=-4000
FAME=4000
SPATTACK=4
SPADELAY=7
MAGERY=551 700
EVALUATINGINTEL=551 700
MAGICRESISTANCE=551 700
TACTICS=451 600
WRESTLING=451 550
DAMAGE=7 11
DEF=30
ELEMENTRESIST=0 15 0 20
TOPROV=682
TOPEACE=682 5
RACE=11
GOLD=30 60
}
As you can see he can only cast spells up to circle 4 so I'm thinking its somewhere in those spells.
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 »

One more thing to fix in level1targ.js and clumsy.js :P

Add if( mSock )
...before...
mChar.BreakConcentration( mSock );
-= Ho Eyo He Hum =-
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 »

The fix for this is now available in UOX3 0.99, and on the CVS.
-= Ho Eyo He Hum =-
Locked