Boshaw's various client mods

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Re: Boshaw's various client mods

Postby Chakravanti » Sat Sep 17, 2011 3:56 am

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?
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!
User avatar
Chakravanti
 
Posts: 3345
Joined: Sat Aug 29, 2009 3:38 am

Re: Boshaw's various client mods

Postby boshaw » Sat Sep 17, 2011 4:24 am

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.
User avatar
boshaw
 
Posts: 1591
Joined: Tue Jun 01, 2010 10:22 pm

Re: Boshaw's various client mods

Postby ElGato » Sun Sep 18, 2011 6:53 pm

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!!!
User avatar
ElGato
 
Posts: 1945
Joined: Tue Nov 10, 2009 2:10 am

Re: Boshaw's various client mods

Postby boshaw » Sun Sep 18, 2011 7:54 pm

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
User avatar
boshaw
 
Posts: 1591
Joined: Tue Jun 01, 2010 10:22 pm

Re: Boshaw's various client mods

Postby ElGato » Sun Sep 18, 2011 8:33 pm

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!!!
User avatar
ElGato
 
Posts: 1945
Joined: Tue Nov 10, 2009 2:10 am

Re: Boshaw's various client mods

Postby boshaw » Mon Sep 19, 2011 5:37 pm

=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
User avatar
boshaw
 
Posts: 1591
Joined: Tue Jun 01, 2010 10:22 pm

Re: Boshaw's various client mods

Postby robinx » Sat Sep 24, 2011 10:38 am

would you give advice or make adjustments that shows on the minimap Curio D?
Image
robinx
 
Posts: 106
Joined: Sat Jul 16, 2011 2:40 pm

Re: Boshaw's various client mods

Postby boshaw » Sat Sep 24, 2011 4:37 pm

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.
User avatar
boshaw
 
Posts: 1591
Joined: Tue Jun 01, 2010 10:22 pm

Re: Boshaw's various client mods

Postby Skorm » Sat Sep 24, 2011 9:42 pm

boshaw wrote:i'm going going to release or talk about that.


i believe you missed a "not" or some sort of later here.....
d_datica wrote:Get the damn server back up before I go back to having a life

USER WAS PUT ON PROBATION FOR THIS POST

~art By SacreDoom
User avatar
Skorm
 
Posts: 925
Joined: Wed Mar 03, 2010 6:01 am
Location: on a house, with a computer

Re: Boshaw's various client mods

Postby BruThoL » Thu Oct 06, 2011 5:29 pm

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?
BruThoL
 
Posts: 392
Joined: Tue Feb 15, 2011 11:01 pm

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot] and 1 guest