Page 1 of 1

3.3 error question

Posted: Sun Feb 12, 2006 5:42 pm
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)

Re: 3.3 error question

Posted: Sun Feb 12, 2006 5:50 pm
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;
	}

Posted: Sun Feb 12, 2006 11:42 pm
by Xuri
Interesting. I fixed that bug for the previous UOX3 version as well *chuckle* I have too many UOX3 folders, I think.

Posted: Sun Feb 12, 2006 11:50 pm
by Xuri
Ok, downloads have been updated with the correct (the fixed) level1targ.js file ;P

Posted: Tue Feb 14, 2006 5:02 am
by Skorch
You have to keep your eye peeled on Hitman.