########## What's NEW!? ##########
##################################
#### Version 1.8 ####
* Added proper support for cinnamon desktop environment
* Added an automatic "workaround" for desktop environments that causes the
 runescape script to not find settings.conf when launched from the
 start menu.
 


Comments

Ryan McClure
24/02/2012 11:00

I love the Client but I have a problem...it stopped working. :( I ran "runescape" under terminal and it yielded this:


Trying to read /home/ryanmcclure/Downloads/runescape/share/settings.conf
Error reading settings.conf, using default value: 0
Error reading settings.conf, using default value: default-java
Error reading settings.conf, using default value: 0
Error reading settings.conf, using default value: runescape.prm

Reading .prm file /home/ryanmcclure/Downloads/runescape/share/runescape.prm
This is the info i gathered from the runescape.prm file
######## File Start ########

-Djava.class.path=jagexappletviewer.jar
-Dsun.java2d.noddraw=true
-Dcom.jagex.config=http://www.runescape.com/k=3/l=$(Language:0)/jav_config.ws
-Xmx256m

-Xss1m


jagexappletviewer

######## File End ########

I will now parse the parameters!
Checking your client language setting(if any)
Trying to read file
/home/ryanmcclure/jagexappletviewer.preferences

Unable to read jagexappletviewer.preferences file, defaulting to Language=0 (English).
I will now parse the contents from the
jagexappletviewer.preferences file so it can be used.
Stitching the language setting to the final parameters.

Final parameter string is:
jagexappletviewer.jar -Dsun.java2d.noddraw=true -Dcom.jagex.config=http://www.runescape.com/k=3/l=0/jav_config.ws -Xmx256m -Xss1m jagexappletviewer

Launching client using this java version:
sh: java: Permission denied

Launching the RuneScape Client using this command:
cd /home/ryanmcclure/Downloads/runescape/bin && java -cp jagexappletviewer.jar -Dsun.java2d.noddraw=true -Dcom.jagex.config=http://www.runescape.com/k=3/l=0/jav_config.ws -Xmx256m -Xss1m jagexappletviewer /share

Executing the RuneScape Client!
You are now in the hands of Jagex.

######## End Of Script ########
######## Jagex client output will appear below here ########

sh: java: Permission denied

I know you probably don't like reading complaints, but I really miss my client. :( Can you help me?

24/02/2012 11:09

the line
sh: java: Permission denied

told me something.
try run java -version from the command line

it looks like you either do not have it installed or you do not have permission to run java command.

please tell me the output of java -version

Ryan McClure
25/02/2012 11:25

It said to install Java..I just got rid of the OpenJDK and put on Sun 1.7.0. Now, I have another problem...It'll run only if I drag and drop the application into the terminal. It won't load via the launcher. Any ideas? Thank you so much for getting back to me!

25/02/2012 11:34

What is your desktop environment? Gnome2, gnome-shell, cinnamon, kde, lxde, xfce or unity?
or which linux distro is it.

If it is unity and you told it to "add to launcher" or something then remove that one and drag the icon to it instead (when you rightclick the client and choose add to launcher while it is running, it will add the jar file and not the wrapper which will explain why it wont work)

Ryan McClure
25/02/2012 11:39

I'm running unity, Ubuntu 11.10

And I've found further problems. If I enter the runescape/ folder and click "run" on "runescape", it won't open..But it runs if I use "perl runescape" in terminal. File is set as executable. Sorry if I'm nagging you, but I simply love this client

25/02/2012 11:48

did you try choosing "run in terminal"?

it sounds very weird that you have to run it through terminal at all.
could you try running the "uninstall-desktop-icons" then run the "install-desktop-icons" and try run the client from the menu (press SUPER/WIN and type runescape)
The icon that appears when searching is the one you have to drag to the launcher/sidebar/dock if you want it there.

Also do not worry about nagging since you are not :)

Ryan McClure
25/02/2012 12:06

And "Run in terminal" doesn't work..it only runs with "perl runescape". I'm at a loss :(

Ryan McClure
25/02/2012 11:53

Let's hope this doesn't multipost...

I ran those two scripts, and the client still won't load from the menu. :( I know it used to work, but it suddenly stopped. I know it has something to do with my system.

25/02/2012 12:14

well we can do a manual edit then :P

go to ~/.local/share/applications

right click on the RuneScape Launcher (and the updater if you want)
choose properties

in the command part put "perl" infront of the line so it says something like the line below and then click close

perl /home/hk/runescape/runescape

Ryan McClure
25/02/2012 12:27

Just put that part in the command and it still doesn't do anything. :( the oddest thing, however, is that the updater works, no problem, even from the launcher, but the game client won't work. This is really odd. And that's fine, no rush. This is still better response I thought I'd get at 5AM :)

25/02/2012 12:20

Just telling that i need to go to the store, i will check back here once im back (30 mins to 1 hour)

25/02/2012 13:37

hmm, do me a favor and try switch the name of the 2 scripts so the runescape script is named update-runescape-client
then try run the "updater" launcher

if that dont work then send your next comment with your email in the email field (only i can see the email address) since that means we both need to cooperate to find out why its like this on your computer

Ryan McClure
25/02/2012 13:47

Well, the faux "update-runescape-client" started up the update program, even though the script clearly was that of the RuneScape client! In both clicking and terminal. The "runescape" ran the update as well, in both too. I put my email in the field..this is really weird. Thank you so much for all of your help!

25/02/2012 15:56

ok its fixed, turns out that java was not located in the correct path so it had to be manually added to the settings.conf


Comments are closed.