Today whilst working on my copy of Valius i seem to have lost the option to right click, trying to do so is functioning as a left click. I've check the in-game mouse options, reinstalling all installed copies of Java. It's particularly strange as it's functioning correctly on different client/servers and OSRS. Anybody got any ideas?
Thanks a lot.
UPDATE:
I've found another client that has the same problem and noticed a new error message which i think it could be related to, but i'm struggling to understand what it's meaning as it's referencing a dropbox which is sever specific so i can't see how that could effect a different client for a completely different server.. Any ideas?
UPDATE:
So i've messed around in client/updatecache/versionfile (the file i found that was looking for the cacheversion.txt and it looks to me like this is part of the updater for when a new cache was released, i tried pointing these to local directories where my cache.zip and cacheversion.bat was located but i still don't seem to have the cacheversion.txt file so this seemed futile and i just ended up with a completely different error.. I think i'm looking in the wrong place? How could a cacheversion.txt file missing cause the right click not to work? Hmm
UPDATE:
Here's the same error on a different client, they both seem to be having an issue with cachversion.txt, could this be the source of the issue?
UPDATE
So i've solved it, though i'm not completely sure how. I'll list what i did should anyone else have the same problem ever. Note: I'm still getting this error message i posted earlier so it's safe to say they're unrelated, which makes sense really.
Uninstalled all versions of Java, 32 and 64 bit versions through add/remove programs, and then completely deleted the java directories from both program files and pfx86 respectively. I then reinstalled 64bit JDK and JRE 8 (1.8.0.144) which isn't the most up to date version (JDK 9 is out). I then had to point eclipse to the new JRE i was using, as it was looking for a previously deleted version, simply done in preferences > Java > JRE > Search > search pfx86/java and it will find your current JRE. I then pointed my client compiler to my new JDK, (right click edit compiler.bat etc) fixing the compiler, but now the run.bat wasn't recognising java as an internal or external command, again this was simply fixed by adding the directory of your java\bin into enviromental variables, My Computer > Properties > Advanced System Settings > Advanced > Enviromental Variables then find Path under System Variables and add your directory at the top of that list, mine was for example C:\Program Files (x86)\Java\jdk1.8.0_144\bin
I hope if you're stuck with this problem this is of use to you. As annoying as these issues were as someone with a little Java experience and fairly new to the RSPS scene this situation has actually taught me quite a lot and i'm looking forward to solving the rest of the errors i may encounter!
Compatibility for detecting right mouse clicks in AWT broke from Java 8 to Java 9. Once I've updated to Java 9 all bets were off with getting this compatible. However, if you have direct access to the client source and just want to fix the issue you can do it by handling the
Code:
mousePressed()
event in whatever class
Code:
implements MouseListener
(this varies from client to client). A simple grep tool and a couple seconds of time will fix this issue.
When you find the mousePressed() method, look for the call to