Game Client modified by Ender

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

Moderator: Phades

Re: Game Client modified by Ender

Postby zerome1221 » Wed May 11, 2011 1:45 am

Alright, I added pause and here is the error.

Image
zerome1221
 
Posts: 19
Joined: Tue May 03, 2011 2:17 am

Re: Game Client modified by Ender

Postby sheltem » Wed May 11, 2011 2:12 am

zerome1221 wrote:Alright, I added pause and here is the error.

Image


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).
sheltem
 
Posts: 22
Joined: Sat Apr 30, 2011 1:31 pm

Re: Game Client modified by Ender

Postby zerome1221 » Wed May 11, 2011 2:31 am

Ah, okay well that fixed that issue but now I'm back to the path or file location issue. Here is the screenshot.
Image
zerome1221
 
Posts: 19
Joined: Tue May 03, 2011 2:17 am

Re: Game Client modified by Ender

Postby DatOneGuy » Wed May 11, 2011 8:08 am

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.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .Hi. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User avatar
DatOneGuy
 
Posts: 5553
Joined: Sun Apr 18, 2010 7:50 am
Location: I'm in Miami, trick.

Re: Game Client modified by Ender

Postby MagicManICT » Wed May 11, 2011 3:56 pm

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.
User avatar
MagicManICT
 
Posts: 18436
Joined: Tue Aug 17, 2010 1:47 am

Re: Game Client modified by Ender

Postby SpineApple » Wed May 11, 2011 7:34 pm

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).
Panem et circenses.

11 Minutes of awesome.
User avatar
SpineApple
 
Posts: 111
Joined: Tue May 10, 2011 11:45 pm

Re: Game Client modified by Ender

Postby zerome1221 » Wed May 11, 2011 11:38 pm

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
zerome1221
 
Posts: 19
Joined: Tue May 03, 2011 2:17 am

Re: Game Client modified by Ender

Postby sheltem » Thu May 12, 2011 12:12 am

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.
sheltem
 
Posts: 22
Joined: Sat Apr 30, 2011 1:31 pm

Re: Game Client modified by Ender

Postby zerome1221 » Thu May 12, 2011 1:25 am

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.
Image
zerome1221
 
Posts: 19
Joined: Tue May 03, 2011 2:17 am

Re: Game Client modified by Ender

Postby sheltem » Thu May 12, 2011 1:33 am

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.
Image


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.
sheltem
 
Posts: 22
Joined: Sat Apr 30, 2011 1:31 pm

PreviousNext

Return to The Wizards' Tower

Who is online

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