I get the following error when I try to run my jar file from a Batch file and CMD manually (The batch file is just set to run the jar and record any output to a text file, and open it after).
...
Type: Posts; User: BlueEyesWhiteDragon
I get the following error when I try to run my jar file from a Batch file and CMD manually (The batch file is just set to run the jar and record any output to a text file, and open it after).
...
If you're interested in trying to fix this, well here's the zip file: Zippyshare.com
Thanks if you do fix this, I am quite confused by this; it seems to escape my logic.
Sorry about the lack of information, the thread has been updated now. Thanks again.
No, my Card Class has the int: cardwidth set, and the int: cardheight set also.
So I'm using NetBeans 8.0 IDE, and I've compiled my main class (YuGiOh Game I'm working on):-
/*
* Copyright (c) 2014 Jack Andrew Loudon, All Rights Reserved.
* Author: Jack Andrew Loudon,...
You can format Java Code this way.
Sorted it now by declaring an int with a for loop further up; thanks.
How would I go about fixing this?
My code (below) occasionally decides to return this error:
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at...
Thanks for the advice; I was keeping it old school leaving the GX and onwards cards out of it just now! But thanks.
Ahah, sorry about that, thanks. n_n
So I am writing a YuGiOh game (personal reasons; may release to the public though) in Java (obviously, why I am here) and I came to a conundrum: should I put the following code into different...