Game Client modified by Ender

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

Moderator: Phades

ogami24
Posts: 5
Joined: Wed Feb 09, 2011 5:25 pm

Re: Game Client modified by Ender

Post by ogami24 »

Having an issue here...
When I go to edit the run.bat folder, it's mentioned that I need to add the game directory on my computer. The thing is, I don't have one, I just click the big "play" button at the top of the website and it launches.
Searching for "haven" or "hearth" brings up nothing anywhere on my computer either. How can I find the game directory, or if it's not there, how can I download the client to my computer? (The link in the PAQ section does nothing)

Any help would be appreciated!

EDIT: I created a directory for the game, but when I try to run the client, I get only "windows cannot find '-Djava.library.path=E:\Games\HH'. Make sure you typed the name correctly and try again.
If someone would be kind enough to explain step by step how to get this client going, that would be amazing, as I have no idea what I'm doing, apparently.
User avatar
Kaios
Posts: 9268
Joined: Fri Jul 30, 2010 2:14 am

Re: Game Client modified by Ender

Post by Kaios »

EnderWiggin wrote:4, 5 - don't see any need for it


You don't see any need for having the ability to play our favourite fantasy related tunes in-game and not be subjected to the terrible silence that is most of one's game time?

:(

Not to mention for some people, running something like iTunes or whatever in the background to play some music just sucks when you're on a shitty pc and just running the game uses a lot of cpu!!
Gedrean
Posts: 222
Joined: Wed Dec 29, 2010 5:30 am

Re: Game Client modified by Ender

Post by Gedrean »

Kaios wrote:
EnderWiggin wrote:4, 5 - don't see any need for it


You don't see any need for having the ability to play our favourite fantasy related tunes in-game and not be subjected to the terrible silence that is most of one's game time?

:(

Not to mention for some people, running something like iTunes or whatever in the background to play some music just sucks when you're on a shitty pc and just running the game uses a lot of cpu!!


Are you aware of just how shittylaggy a Java-based MP3 player would be?

Besides, the game already has music - read the bugs forum or the C&I forum (I forget where) to find out how to fix it - it's not working because of a bug in most people's java distribution, not because of H&H.

EDIT:
Also, get a real MP3 player, not iTunes. I can think of 5 MP3 players which use FAR less memory and resources and play music just fine. Go find them.
Zampfeo wrote:(On the topic of Open Spaces in W4)
You won't be saying that in a week or two when you realize how many abandoned homes there are. A 30 second boat ride south of my village literally bring you to the ghetto. There's abandoned claims everywhere with the occasional newb taking things and raiders patrolling. It reminds me of Detroit.
User avatar
Kaios
Posts: 9268
Joined: Fri Jul 30, 2010 2:14 am

Re: Game Client modified by Ender

Post by Kaios »

My music does work fine, I meant you basically hear nothing unless you're in a house, fishing, bonfire feasting or using milestones. Which at least in my game-time consists of maybe 10% of my total play time?? Also the house music sucks.

Maybe it doesn't have to be an embedded mp3 player but some new music sure would be great.
User avatar
sabinati
Posts: 15527
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: Game Client modified by Ender

Post by sabinati »

turn off music, use proper mp3 player, problem solved
User avatar
Kinky
Posts: 84
Joined: Mon Jan 10, 2011 5:27 am

Re: Game Client modified by Ender

Post by Kinky »

Gedrean wrote:Are you aware of just how shittylaggy a Java-based MP3 player would be?

it is 2011 and people still believe in fairy tale java is slow?
mey
Kaldo
Posts: 125
Joined: Fri Jan 28, 2011 12:26 pm

Re: Game Client modified by Ender

Post by Kaldo »

So it's easier for Ender to program a mp3 player in game than for you to turn on winamp or sth in the background? C'mon...
Gedrean
Posts: 222
Joined: Wed Dec 29, 2010 5:30 am

Re: Game Client modified by Ender

Post by Gedrean »

Kaios wrote:My music does work fine, I meant you basically hear nothing unless you're in a house, fishing, bonfire feasting or using milestones. Which at least in my game-time consists of maybe 10% of my total play time?? Also the house music sucks.

Maybe it doesn't have to be an embedded mp3 player but some new music sure would be great.


Then extract the resources from haven-res with restool, and encode your own MIDI files in the same way they did, and put it together, then code in the game code when to play them...

EDIT:
Also, the reason it would be slow, if you don't understand computers, is that Java is not a programming language.
Java is an interpreted language.
It has to run through an interpreter, it is NOT hard coded for your processor like regular programs.

I don't care WHAT world you come from, that's going to slow things down. The game's laggy enough. MP3 player in Java is a stupid idea.

EDIT AGAIN:
Apparently it wasn't Kaios that said that, so Kinky: That's why it's slow. Having WRITTEN an MP3 player in Java, even one that uses a precompiled MP3 engine DLL in Windows, it's slow.
Zampfeo wrote:(On the topic of Open Spaces in W4)
You won't be saying that in a week or two when you realize how many abandoned homes there are. A 30 second boat ride south of my village literally bring you to the ghetto. There's abandoned claims everywhere with the occasional newb taking things and raiders patrolling. It reminds me of Detroit.
User avatar
Kinky
Posts: 84
Joined: Mon Jan 10, 2011 5:27 am

Re: Game Client modified by Ender

Post by Kinky »

Gedrean wrote:EDIT:
Also, the reason it would be slow, if you don't understand computers, is that Java is not a programming language.
Java is an interpreted language.
It has to run through an interpreter, it is NOT hard coded for your processor like regular programs.

I don't care WHAT world you come from, that's going to slow things down. The game's laggy enough. MP3 player in Java is a stupid idea.

lmao.... :lol:
thanks for the laugh but i'll break it down for ya.

is that Java is not a programming language.

But yes it is.
JIT is the compiler java uses. Non-Tech savy people confuse JIT with a script language like javascript.
JIT stands for Just In Time Compiler. It compiles the code before it is used in memory.
The reason you can "Decompile" java code is because it isn't compiled. Jar files are Zip files.

Java compiles the code just as much as C compiles its code... the difference is Java does it in memory while C on disk.
Since the compiler you have installed on your computer is specific to your Operating System it allows Java to run on any system

it is NOT hard coded for your processor like regular programs.

C is not directly ran by processor either...
Machine code is directly ran by processor.

The game's laggy enough

The lag you experience is from the server not anything to do with the client

For you do not spread the myth of java being slow even more
I urge you to read this
http://en.wikipedia.org/wiki/Just-in-time_compilation

Apparently it wasn't Kaios that said that, so Kinky: That's why it's slow. Having WRITTEN an MP3 player in Java, even one that uses a precompiled MP3 engine DLL in Windows, it's slow.

That has to do more with your coding than it does the programming language

edited:
wanted to add this fun little article written in 2003 discussing how back than java was even pulling ahead of C++ in speed
http://scribblethink.org/Computer/javaCbenchmark.html
according to University of Southern California
User avatar
Killawatt
Posts: 98
Joined: Thu Jun 03, 2010 11:57 pm

Re: Game Client modified by Ender

Post by Killawatt »

So, to join on the funwagon here, I'm sort of a failure when it comes to programming. Never got the hang of it.

Here's the issue presented:

Windows cannot find '-Djava.library.path="C\Games\Haven and Hearth'". Make sure you typed the name correctly, and then try again...

Maybe I did something wrong? Here's the code.

start "C:\Program Files\Java\jre6\bin\javaw.exe" -Djava.library.path="C:\Games\Haven and Hearth" -Xms256m -Xmx512m -
Back, I guess

Return to “The Wizards' Tower”