Alternative Client

Thoughts on the further development of Haven & Hearth? Feel free to opine!

Alternative Client

Postby theTrav » Sat Oct 03, 2009 7:31 am

Ok, I've been messing around with the client code for a while now and have modified a few of the widgets.

Here's something that approaches a change list:
- Leave town hotkey is disabled (g is disabled for all hotkey use, this includes grists)
- Chat windows, both global and private happen as popup windows separate to the H&H frame, so you can move them out of the way, and copy and paste into them
- Crafting now happens in a popup window, with a text list of ingredients a text list of outputs a field for how many times to craft, and a button to initiate crafting.
- Kin List is replaced with a popup window which separates online and offline kin, allows to hide offline kin, and shows account names as well as player names.
- Screen resolution is determined on the client side, and can be modified in the source (Config.java)

There may be some more things, but that's all I can think of right now...

Here's some instructions:

1 - Ensure you have a jdk installed, 1.5 minimum http://java.sun.com/javase/downloads/index.jsp
2 - Ensure you have apache ant installed: http://ant.apache.org/
3 - Grab a download of the source code - http://github.com/thetrav/haven-client (click download button)
4 - Grab the JOGL download appropriate for your environment:

Windows (xp vista or 7) 32 bit
http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1a/jogl-1.1.1a-windows-i586.zip
Windows (xp vista or 7) 64 bit
http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1a/jogl-1.1.1a-windows-amd64.zip

Linux 32 bit
http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1a/jogl-1.1.1a-linux-i586.zip
Linux 64 bit
http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1a/jogl-1.1.1a-linux-amd64.zip


Extract the source
Execute ant in that extracted folder, you should get a complaint about the git task but everything else should work. The ant task will create a build folder.
The jogl zip file will contain a number of dlls (for windows) or a number of so files (linux) that need to be copied to you build folders DO NOT COPY THE JAR FILES.

After that you should be able to start the client with run.bat

It's pretty raw at the moment, I've just been throwing features together to learn the code rather than polishing anything. Expect poor performance, expect crashes, and ... oddities.

I am not liable if it doesn't run correctly, if it posts your credit card details on the internet, if it rapes your wife, kicks your pet and subscribes you to a whole bunch of unsavoury mailing lists.
Last edited by theTrav on Wed Oct 14, 2009 11:38 pm, edited 1 time in total.
User avatar
theTrav
 
Posts: 3464
Joined: Fri May 29, 2009 11:25 pm

Re: Alternative Client

Postby kimya » Sun Oct 04, 2009 12:57 am

cheers mate!
kimya
 
Posts: 845
Joined: Mon Jun 01, 2009 1:35 am

Re: Alternative Client

Postby theTrav » Wed Oct 14, 2009 8:08 am

noting that client has been updated with loftars latest changes.

Also GitHub had some problems with the download link, this appears to have been resolved
User avatar
theTrav
 
Posts: 3464
Joined: Fri May 29, 2009 11:25 pm

Re: Alternative Client

Postby Murazama » Wed Oct 14, 2009 8:54 am

I must be doing something wrong, or something isn't mentally clicking from your instructions. I can't seem to get it to work. I'll continue dicking with it tell it does.
User avatar
Murazama
 
Posts: 94
Joined: Sat Aug 15, 2009 3:16 am

Re: Alternative Client

Postby Seizure » Wed Oct 14, 2009 5:09 pm

Oh yay... I was just thinking a few days ago that theTrav should put up easy to follow instructions so I could use his client.

Now I just need to get my computer back so I can play the damn game :x

Wait... No love for windows 32 bit? Or is one of them mislabeled?
User avatar
Seizure
 
Posts: 1021
Joined: Thu Sep 03, 2009 5:55 pm

Re: Alternative Client

Postby kimya » Wed Oct 14, 2009 10:17 pm



if the name of the file is correct, then the first one is 32bit.
kimya
 
Posts: 845
Joined: Mon Jun 01, 2009 1:35 am

Re: Alternative Client

Postby theTrav » Wed Oct 14, 2009 11:40 pm

Yeah one was mislabeled.

Additionally I've merged the Extendo branch back to head, there doesn't seem to be a need to keep it separate and I'm told rebasing is a bit crap for people who are pulling my changes into their own work.

It might be worth noting that the craft widget was made before loftar's change, so it won't stop when it gets to whatever number of crafts you put in anymore, it'll just go until your run out of materials
User avatar
theTrav
 
Posts: 3464
Joined: Fri May 29, 2009 11:25 pm

Re: Alternative Client

Postby loftar » Wed Oct 14, 2009 11:56 pm

theTrav wrote: - Leave town hotkey is disabled (g is disabled for all hotkey use, this includes grists)

It should be mentioned that I fixed today so that the server asks you for confirmation when you try to leave the village.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Alternative Client

Postby theTrav » Thu Oct 15, 2009 12:59 am

loftar wrote:
theTrav wrote: - Leave town hotkey is disabled (g is disabled for all hotkey use, this includes grists)

It should be mentioned that I fixed today so that the server asks you for confirmation when you try to leave the village.

JUBILATION!
User avatar
theTrav
 
Posts: 3464
Joined: Fri May 29, 2009 11:25 pm

Re: Alternative Client

Postby farmchamp » Thu Oct 15, 2009 1:57 am

WHAT? No Mac! Noooo! That looked so great.. *sniff*
OhNiner - Farmer, hunter, wanabee thief and general noob.
User avatar
farmchamp
 
Posts: 207
Joined: Fri Aug 14, 2009 1:32 am

Next

Return to Critique & Ideas

Who is online

Users browsing this forum: Claude [Bot] and 3 guests