How to play Web Raid with a web proxy
Update: Syncing with the global achievement list is currently not possible from behind a firewall. If you experience this problem, please contact me at firstname.lastname@example.org, and we'll figure out together how to solve this.
If you've reached this page, changes are that you are sitting behind a firewall, and your ISP/Employer/... is using a web proxy through which you access the internet.
The symptom you should be experiencing when starting Web Raid from behind a proxy is:
1. Web Raid shows you the level selection screen
2. When you select a level, Web Raid quits; the console shows something like:
The good news is: you can play Web Raid through a proxy.
The bad news is: it takes a bit of manual tweaking.
First Step: Find out your proxy name + port
- Firefox users might go to the Settings -> Advanced -> Network -> Connection panel. This should show the proxy.
- MSIE users might go to Tools -> Internet Options -> Connections
- ... or ask your ISP for that information.
Web Raid via a proxy (Windows):
Go to your Web Raid installation folder. You should notice a file "webraid_proxy.bat".
Right-click on this file and select "Edit".
Now you see this:
java -DproxySet=true -DproxyHost=proxy -DproxyPort=8080 -classpath .\Webraid.app\Contents\Resources\Java\bin;.\Webraid.app\Contents\Resources\Java\lib;.\Webraid.app\Contents\Resources\Java\lib\JTattoo.jar de.agsteiner.twitg.Game
Ignore everything here except for the parts that I have painted red. Do the following:
1. replace the word "proxy" with the name of your proxy server. Usually it's just called proxy so there's nothing to change, but it might be called differently.
2. replace the port 8080 with the port of your proxy.
3. Save the file
And henceforth enjoy Web Raid by double-clicking webraid_proxy.bat
Web Raid via a proxy (Mac OS X)
Please note: this information is the theoretical way to do this. I have not Mac behind a proxy, so I can't check whether it works. But it really should.
Here you need to do pretty much the same as in Windows (change the Java VM parameters that contol the proxy), but differently, and, unfortunately, more tricky:
- Go to your Web Raid installation folder.
- CTRL-Click on the Web Raid application icon (that you use to start web raid)
- In the context menu that appears, select "Show Package Contents"
- In the Finder window that appears, go to "Content".
- You should now see a file Info.plist
- Use a text editor of your choice (e.g. open a terminal, paste the folder into the terminal window, use emacs) to edit this file.
- Search for the text:
- After this text, create new lines that contain
<string>-DproxySet=true -DproxyHost=proxy -DproxyPort=8080</string>
Instead of the proxy host and the proxy port marked red, use the proxy host and port of your proxy.
- Save the file.
Afterwards, the Web Raid application should magically use your proxy.