Game client modified by Gilbertus

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

Moderator: Phades

Gilbertus
Posts: 174
Joined: Thu Jun 03, 2010 4:29 pm
Location: Poland

Game client modified by Gilbertus

Post by Gilbertus »

Yet another game client...
Since I'm programmer (but not Java one) i wanted to play with code. Here i will put info about what i achieved. I hope somebody will like this.
I learned much from Pacho's version. Without him i would be blind in some cases, because some parts are triggered by server and not hard coded in client.

This is modified original client (not Pacho's)! (no irc and stuff)


Features
  • Resizeable client window (maximize is best).
  • Night-vision (toggle by CTRL+n) - as in Pacho's.
  • X-ray (toggle by CTRL+x) - walls, trees, houses and other objects shown only as outline so you can see though them.
  • Mapper - saving minimaps to disk. Included html file (using Google Maps).
  • Multiple icon sets (toggle by Alt+[0-9]) - NEW.
  • Hide objects (toggle by CTRL+h) - choose what to hide on last tab in options window - require hh-update.zip (or source) - NEW.

Download
All files are at http://www.mediafire.com/Haven_and_Hearth

UPDATE:

32bit http://is.gd/h3101
64bit http://is.gd/h3aPL

Download version for your system decompress and execute run.bat (like in Pacho's).

Source code: http://gitorious.org/hh-client-mod-by-gilbertus/client

List of feature requests: http://gitorious.org/hh-client-mod-by-gilbertus/pages/Feature_requests




MAC OS X:
sabinati wrote:ok for starters, all you are going to need is the mac osx universal zip file (http://www.mediafire.com/?tltxyj6ymallaab) and the new jar file from spiff (http://havengoons.com/gilbertus/haven.zip). unzip the hh-osx-universal.zip file to a folder, open the folder, unzip the haven.zip and copy those files into the hh-macosx-universal folder to update it.

now open Applications/Utilities/Java Preferences.app, drag the 32-bit java version to the first spot so that the client will use 32-bit java instead of 64-bit.

now in your hh-osx-universal folder, open run.bat in textedit. add a line to change the directory to your game folder. in my case, the game folder is in Downloads/hh-macosx-universal/ so now my run.bat looks like this:

Code: Select all

cd Downloads/hh-macosx-universal/
java -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se


save it, close it, and rename it run.command. double click it. then go get yourself a clean pair of pants.



Troubleshooting

Find where your java.exe is located and edit your run.bat file according to this schema:

Code: Select all

"FULL PATH TO JAVA" -Djava.library.path="PATH TO GAME FOLDER" -Xms256m -Xmx512m -jar haven.jar sh.seatribe.se

example:

Code: Select all

"C:\Program Files (x86)\Java\jre6\bin\java" -Djava.library.path="C:\Games\Haven and Hearth" -Xms256m -Xmx512m -jar haven.jar sh.seatribe.se

Remember that client version (32-bit or 64-bit) must be the same as Java installed. You can't run 64-bit version if you have 32-bit Java!

MOD UPDATE:
FURTHER TROUBLESHOOTING INFO HERE:
http://www.havenandhearth.com/forum/viewtopic.php?f=5&t=12278
Last edited by Jackard on Mon Mar 28, 2011 6:20 pm, edited 15 times in total.
Reason: added updated info
User avatar
sabinati
Posts: 15527
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: Game client modified by Gilbertus

Post by sabinati »

wow, awesome
User avatar
exewu
Posts: 429
Joined: Sun Mar 28, 2010 1:42 am

Re: Game client modified by Gilbertus

Post by exewu »

See trough toggle is very impressive. Nice work
User avatar
Spiff
Posts: 356
Joined: Sun Jul 12, 2009 9:33 pm

Re: Game client modified by Gilbertus

Post by Spiff »

awesome! mind uploading the source code? i'm curious as to how you did it.
Gilbertus
Posts: 174
Joined: Thu Jun 03, 2010 4:29 pm
Location: Poland

Re: Game client modified by Gilbertus

Post by Gilbertus »

Spiff wrote:awesome! mind uploading the source code? i'm curious as to how you did it.


Updated first post (look at bottom).
Since I'm not Java guru some parts might be rough (window resizing stuff). Maybe someday i will learn how to make them better.
User avatar
DatOneGuy
Posts: 5553
Joined: Sun Apr 18, 2010 7:50 am
Location: I'm in Miami, trick.

Re: Game client modified by Gilbertus

Post by DatOneGuy »

Without the source I'm going to assume most of these impressive additions are taken from the dfwk client which was indeed posted here, and then removed by a moderator.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .Hi. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Gilbertus
Posts: 174
Joined: Thu Jun 03, 2010 4:29 pm
Location: Poland

Re: Game client modified by Gilbertus

Post by Gilbertus »

DatOneGuy wrote:Without the source I'm going to assume most of these impressive additions are taken from the dfwk client which was indeed posted here, and then removed by a moderator.


There is link to git repository at bottom.
X-ray is my "invention". Resizing is mine too but with help from Pacho's code to reposition things. Night vision is from Pacho's (it changes only one if condition btw :) ).
I don't have dfwk version.
User avatar
sabinati
Posts: 15527
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: Game client modified by Gilbertus

Post by sabinati »

DatOneGuy wrote:Without the source I'm going to assume most of these impressive additions are taken from the dfwk client which was indeed posted here, and then removed by a moderator.


huh?
Gilbertus
Posts: 174
Joined: Thu Jun 03, 2010 4:29 pm
Location: Poland

Re: Game client modified by Gilbertus

Post by Gilbertus »

sabinati wrote:
DatOneGuy wrote:Without the source I'm going to assume most of these impressive additions are taken from the dfwk client which was indeed posted here, and then removed by a moderator.


huh?


Yeah, i was surprised too... Don't see any "impressive additions" anywhere ;)
User avatar
DatOneGuy
Posts: 5553
Joined: Sun Apr 18, 2010 7:50 am
Location: I'm in Miami, trick.

Re: Game client modified by Gilbertus

Post by DatOneGuy »

I meant specifically the X-Ray.

If you know what dfwk is, go find it on their site, I won't link to it here because some people believe it has keyloggers (I compiled from source but obviously can't check the compiled version), it has X-Ray, toggleable, it's been up for weeks. The reason it was taken down was most likely because it comes prepacked with a macro.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .Hi. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Return to “The Wizards' Tower”