Javascript Problems

arvydas

New member
Hi,

I've recently tried running mafia on a new computer. When running it using the relay server, no javascript files are available to me. I get 404 errors for each javascript request. This happens in both IE and Firefox. Thus, I can't use the combat bar, shrug buffs, or view item descriptions, and so forth. Everything thing else seems to work fine.

I've tried with daily builds 6405 and 6426. It's running java version 1.6.0_07 on Vista.

Has anyone had a similar problem, or have an idea as to what the cause may be?

Thank you.

An example set of request/response headers:
http://127.0.0.1:60080/images/scripts/window.js

GET /images/scripts/window.js HTTP/1.1
Host: 127.0.0.1:60080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://127.0.0.1:60080/fight.php

HTTP/1.x 404 Not Found
Date: Fri Oct 24 17:19:19 CDT 2008
Server: KoLmafia v12.6
Connection: close
 

jasonharper

Developer
[quote author=arvydas link=topic=1968.msg9355#msg9355 date=1224889132]HTTP/1.x 404 Not Found[/quote]
That isn't how the relay server would indicate a missing file; in fact, I don't think that ".x" is legal HTTP at all. I suspect that this is coming from some overzealous ad blocker or similar protective program you have running.

If you log directly onto KoL, do any JavaScript features work?
 

arvydas

New member
Hi,

Well, I had a big long post of things that didn't fix it.

Then I just tried moving the jar to a different folder and it works now. I can't quite put my finger on what the problem was (write permissions? I had it in Program Files, which Vista seems to be protective of), but it doesn't matter now.

Thanks for your help.
 
Top