Request: Joystick/Gamepad support and function remaping (Mouse clicks, hotkeys etc) & Analog joystick support for mouse movement? also a function to center mouse on character. With these supplements a decent USB gamepad could run most haven and hearth.
And the arrow keys only moving 1 tile. Could you set up to recognize diagonals through combos?
Boshaw's various client mods
Moderator: Phades
-
Chakravanti
- Posts: 3345
- Joined: Sat Aug 29, 2009 3:38 am
Re: Boshaw's various client mods
Well what is this that I can't see
With ice cold hands takin' hold of me
Well I am death, none can excel
-Ralph Stanley, O Death!
With ice cold hands takin' hold of me
Well I am death, none can excel
-Ralph Stanley, O Death!
-
boshaw
- Posts: 1612
- Joined: Tue Jun 01, 2010 10:22 pm
Re: Boshaw's various client mods
Chakravanti wrote:Request: Joystick/Gamepad support and function remaping (Mouse clicks, hotkeys etc) & Analog joystick support for mouse movement? also a function to center mouse on character. With these supplements a decent USB gamepad could run most haven and hearth.
http://www.hardcode.de/jxinput/jnlp/jxi ... ialog.jnlp
Does the above demo recognize your joystick/gamepad?
Chakravanti wrote: And the arrow keys only moving 1 tile. Could you set up to recognize diagonals through combos?
Yeah, i can make it so the tile_per_click is different rather than the default 5 atm. As for diagonals i could probably through in some stuff to make that work.
-
ElGato
- Posts: 1945
- Joined: Tue Nov 10, 2009 2:10 am
Re: Boshaw's various client mods
Code: Select all
C:\Users\ElGato\Desktop\defaultclient_x32>"C:\Program Files (x86)\Java\jre6\bin\
java.exe" -Xms256m -Xmx1024m -jar haven.jar -d
Exception in thread "main" java.lang.UnsupportedClassVersionError: haven/MainFra
me : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: haven.MainFrame. Program will exit.
C:\Users\ElGato\Desktop\defaultclient_x32>pause
Press any key to continue . . .Hm, seems your default port doesn't work... or maybe it's just me..
burgingham wrote:We are all Gato, and Gato is Delamore of course. Goons blablabla...
Caradon wrote:Gato, the anti-ghandi
Sabinati wrote:yeah we're gonna kill you gato!!!
-
boshaw
- Posts: 1612
- Joined: Tue Jun 01, 2010 10:22 pm
Re: Boshaw's various client mods
UnsupportedClassVersionError is (evidently a descendant of the Error class in Java) which subclasses java.lang.ClassFormatError which in turn subclasses java.lang.LinkageError (which is a direct subclass of java.lang.Error). This error is thrown in the cases when the JVM (Java Virtual Machine) attempts to read a class file and finds that the major and minor version numbers in the particular class file are not supported. This happens in the cases when a higher version of Java Compiler is used to generate the class file than the JVM version which is used to execute that class file. Please do notice that this is not true vice-versa which means you can comfortably use a higher version of JVM to run a class file compiled using an earlier version of Java Compiler. Let’s understand why? We'll see below a valid Java program and subsequently an alert and a stack trace of the error which are thrown as a result of the above explained situation which causes UnsupportedClassVersionError. FYI: The output (with explanation) of this sample program can be found here - an interesting try-catch-finally usage in Java >>
source: http://geekexplains.blogspot.com/2009/0 ... error.html
This happens in the cases when a higher version of Java Compiler is used to generate the class file than the JVM version which is used to execute that class file.
going off that article I'm guessing you have a lower version of java than i had when i compile it. It seems you use jre6 and i compiled with the jdk 1.7.0
according to my java i have:
Code: Select all
>java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
So i suggest upgrading to the latest java version which would be:
http://www.oracle.com/technetwork/java/ ... 32155.html
in order to run my ports
-
ElGato
- Posts: 1945
- Joined: Tue Nov 10, 2009 2:10 am
Re: Boshaw's various client mods
boshaw wrote:So i suggest upgrading to the latest java version which would be:
http://www.oracle.com/technetwork/java/ ... 32155.html
in order to run my ports
Thanks
burgingham wrote:We are all Gato, and Gato is Delamore of course. Goons blablabla...
Caradon wrote:Gato, the anti-ghandi
Sabinati wrote:yeah we're gonna kill you gato!!!
-
boshaw
- Posts: 1612
- Joined: Tue Jun 01, 2010 10:22 pm
Re: Boshaw's various client mods
=Key Movement Update 1=
source:
https://github.com/boshaw/haven-client/ ... c4d501a4c8 [default]
https://github.com/boshaw/Haven-and-Hea ... 31690c8004 [Ender]
Added diagonal movement via your key movement keys if you combo them ie: north+east = northeast,etc
Also added ability to change the # of tiles you move per keydown via option window "tiles per click" text box. Note: since OptWnd now has a textbox it'll pull in all keypresses so close OptWnd to use your keybinds again,etc. (i'll see if i can fix that)
both compiled jars should be updated
source:
https://github.com/boshaw/haven-client/ ... c4d501a4c8 [default]
https://github.com/boshaw/Haven-and-Hea ... 31690c8004 [Ender]
Added diagonal movement via your key movement keys if you combo them ie: north+east = northeast,etc
Also added ability to change the # of tiles you move per keydown via option window "tiles per click" text box. Note: since OptWnd now has a textbox it'll pull in all keypresses so close OptWnd to use your keybinds again,etc. (i'll see if i can fix that)
both compiled jars should be updated
-
robinx
- Posts: 107
- Joined: Sat Jul 16, 2011 2:40 pm
Re: Boshaw's various client mods
would you give advice or make adjustments that shows on the minimap Curio D?

-
boshaw
- Posts: 1612
- Joined: Tue Jun 01, 2010 10:22 pm
Re: Boshaw's various client mods
robinx wrote:would you give advice or make adjustments that shows on the minimap Curio D?
minimap Curio D?
If you want Minimap Radar then no, i'm not going going to release or talk about that.
Last edited by boshaw on Sat Sep 24, 2011 9:51 pm, edited 1 time in total.
-
Skorm
- Posts: 925
- Joined: Wed Mar 03, 2010 6:01 am
- Location: on a house, with a computer
Re: Boshaw's various client mods
boshaw wrote:i'm going going to release or talk about that.
i believe you missed a "not" or some sort of later here.....
~art By SacreDoomd_datica wrote:Get the damn server back up before I go back to having a life
USER WAS PUT ON PROBATION FOR THIS POST
-
BruThoL
- Posts: 392
- Joined: Tue Feb 15, 2011 11:01 pm
Re: Boshaw's various client mods
Yop,
Map could be improved so map cache look for any image someone already have, not only those of the current session.
Also that would be cool to add a button "center on the group" and when you click on it, map zoom back to be able to fit every single people of the party inside it.
Also, in ender's when using alt + [1-9] it does move the shortcut bar to the one of the num you typed.
This doesn't work anymore in your version, could you repair that?
Map could be improved so map cache look for any image someone already have, not only those of the current session.
Also that would be cool to add a button "center on the group" and when you click on it, map zoom back to be able to fit every single people of the party inside it.
Also, in ender's when using alt + [1-9] it does move the shortcut bar to the one of the num you typed.
This doesn't work anymore in your version, could you repair that?