
Game Client modified by Ender
Moderator: Phades
-
zerome1221
- Posts: 19
- Joined: Tue May 03, 2011 2:17 am
Re: Game Client modified by Ender
Alright, I added pause and here is the error.


-
sheltem
- Posts: 22
- Joined: Sat Apr 30, 2011 1:31 pm
Re: Game Client modified by Ender
zerome1221 wrote:Alright, I added pause and here is the error.
I don't see a space behind the "start". There should be one, or Windows interprets the whole stuff as one single command (which it doesn't know).
-
zerome1221
- Posts: 19
- Joined: Tue May 03, 2011 2:17 am
Re: Game Client modified by Ender
Ah, okay well that fixed that issue but now I'm back to the path or file location issue. Here is the screenshot.


-
DatOneGuy
- Posts: 5553
- Joined: Sun Apr 18, 2010 7:50 am
- Location: I'm in Miami, trick.
Re: Game Client modified by Ender
Play around with it, chances of you breaking something are minimal, try:
1)Removing start from beginning
Doesn't work?
2)Remove -Djava line
Still nothing?
3)Remove .exe after javaw (Shouldn't be necessary)
Save your original run.bat text somewhere in case it doesn't fix the problem.
1)Removing start from beginning
Doesn't work?
2)Remove -Djava line
Still nothing?
3)Remove .exe after javaw (Shouldn't be necessary)
Save your original run.bat text somewhere in case it doesn't fix the problem.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .Hi. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .Hi. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
-
MagicManICT
- Posts: 18435
- Joined: Tue Aug 17, 2010 1:47 am
Re: Game Client modified by Ender
DatOneGuy wrote:2)Remove -Djava line
Still nothing?
3)Remove .exe after javaw (Shouldn't be necessary)
2 should fix it. If not, the path needs to be set to where you saved the folder at. That will fix it.
3: Specifying the .exe just points Windows to the exact file to launch, otherwise there's an order to launching exectuables. It's been too many years since I first learned this, but if I recall, .bat and .com files are launched before .exe files. If there happened to be a javaw.com or javaw.bat (or both), then one of those would be launched first.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
-
SpineApple
- Posts: 111
- Joined: Tue May 10, 2011 11:45 pm
Re: Game Client modified by Ender
I also have a vanishing batch file, I corrected the path after removing -djava line, I added pause, seems there is no error and that it just likes to disappear, I'll try it in x64.
No difference, restarting my computer (just to check).
No difference, restarting my computer (just to check).
-
zerome1221
- Posts: 19
- Joined: Tue May 03, 2011 2:17 am
Re: Game Client modified by Ender
Still none of those fixed it and the error was always the same. It is pointing to the correct file, javaw.exe is in the C:\Program Files (x86)\Java\jre6\bin\javaw.exe and both the files I downloaded for this client and the game files are in C:\Games\HavenandHearth. I had removed the spaces from that after reading a different solution earlier in this topic. I tried removing the -Djava line but it did nothing so I put it back, my run.bat is still -
start "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Djava.library.path="C:\Games\HavenandHearth" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se
start "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Djava.library.path="C:\Games\HavenandHearth" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se
-
sheltem
- Posts: 22
- Joined: Sat Apr 30, 2011 1:31 pm
Re: Game Client modified by Ender
Have you tried using the bat provided in Ender's download, just extended with the javaw path?
Originally it looks like this (and this file still works for me):
Since java isn't in your path, you would change that to:
If you start this file from within Ender's folder you shouldn't have to provide the path to it.
Originally it looks like this (and this file still works for me):
Code: Select all
start javaw -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./resSince java isn't in your path, you would change that to:
Code: Select all
start "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./resIf you start this file from within Ender's folder you shouldn't have to provide the path to it.
-
zerome1221
- Posts: 19
- Joined: Tue May 03, 2011 2:17 am
Re: Game Client modified by Ender
sheltem wrote:Have you tried using the bat provided in Ender's download, just extended with the javaw path?
Originally it looks like this (and this file still works for me):Code: Select all
start javaw -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
Since java isn't in your path, you would change that to:Code: Select all
start "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
If you start this file from within Ender's folder you shouldn't have to provide the path to it.
Okay I tried that and now I get a new error.

-
sheltem
- Posts: 22
- Joined: Sat Apr 30, 2011 1:31 pm
Re: Game Client modified by Ender
zerome1221 wrote:sheltem wrote:Have you tried using the bat provided in Ender's download, just extended with the javaw path?
Originally it looks like this (and this file still works for me):Code: Select all
start javaw -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
Since java isn't in your path, you would change that to:Code: Select all
start "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
If you start this file from within Ender's folder you shouldn't have to provide the path to it.
Okay I tried that and now I get a new error.
I hate to resort to guesswork, but remove the "start"? It shouldn't be trying to open -Xms256m as a program as it's just a parameter.