[FIXED] 3.3 error question

Here we stuff all the bugs we've managed to squash/squish/squelch.
Locked
Hitman
UOX3 Newbie
Posts: 3
Joined: Sun Feb 05, 2006 3:15 am
Has thanked: 0
Been thanked: 0

3.3 error question

Post by Hitman »

Hiya,

I am running the new 3.3 server and while it seems to run fine, I do get the following message when it is in the loading process, any ideas?


| ERROR: JS script failure: Message (SyntaxError: missing ) after condition)
| ERROR: Filename: ./js/magic/level1targ.js
Line Number: 315
| ERROR: Erroneous Line: {

Token Ptr: {

| ERROR: Compiling ./js/magic/level1targ.js caused a construction failure (Detai
ls: Compilation failed)
Grimson
Developer
Posts: 802
Joined: Sat Jun 04, 2005 1:52 am
Location: Germany
Has thanked: 0
Been thanked: 0

Post by Grimson »

Hitman wrote:Hiya,

I am running the new 3.3 server and while it seems to run fine, I do get the following message when it is in the loading process, any ideas?


| ERROR: JS script failure: Message (SyntaxError: missing ) after condition)
| ERROR: Filename: ./js/magic/level1targ.js
Line Number: 315
| ERROR: Erroneous Line: {

Token Ptr: {

| ERROR: Compiling ./js/magic/level1targ.js caused a construction failure (Detai
ls: Compilation failed)
There is an error in the js file, open it with notepad and look for this:

Code: Select all

	if( !mChar.CanSee( ourTarg )
	{
		return;
	}
change it to this, note the additional ")" at the end:

Code: Select all

	if( !mChar.CanSee( ourTarg ) )
	{
		return;
	}
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 »

Interesting. I fixed that bug for the previous UOX3 version as well *chuckle* I have too many UOX3 folders, I think.
-= 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 »

Ok, downloads have been updated with the correct (the fixed) level1targ.js file ;P
-= Ho Eyo He Hum =-
Skorch
UOX3 Newbie
Posts: 5
Joined: Sun Feb 12, 2006 5:03 pm
Location: Ruma, IL
Has thanked: 0
Been thanked: 0

Post by Skorch »

You have to keep your eye peeled on Hitman.
Locked