Well after improving my history functions and some little tweaks to the next coordinate function I have made progress, but now it is getting stuck on one shape and I have no idea why. Any...
Type: Posts; User: GeekWarth
Well after improving my history functions and some little tweaks to the next coordinate function I have made progress, but now it is getting stuck on one shape and I have no idea why. Any...
I changed that to something a bit more reliable as well as removing the code in the AStar function that preloaded the start location. It seems to work much batter and is actually trying to navigate...
It goes out of bounds and stays there. I ended the tracing print at that point. Sorry I should have stated that. It should also be making some sort of attempt to head in the direction of the end...
I beleive the problem lies within this function:
//Find the next coordinate for the bot to travel to
public Point AStarFindNext(Point now)
{
Point next = now; //So we don't send back a...
I apologize and Norm is right about the other forum, I will stop updating there. I updated the attachment with comments in the NavigationBot class since it is most definitely the source of my...
I am trying to make a A-Star, Breadth-First, and Depth-First simulator for a homework assignment. I'm not sure what I am doing wrong as the search always tries to go out of bounds of the environment....
Umm...actually I beleive the programming gods were seriously screwwing with me last night. Because I woke this morning, cleaned out a few little pieces of unused extra and this works now. Go figure.
OK since I am only making changes at this point to Import and Export Array functions so far, I am only including those. I changed things again, but to greatly simplify and remove the process of...
Junky, I spent most of my day doing that very thing. All I know is that if System.err.print for byte[] temp1 throughout byte[] temp5 in the ExportArray function, they will look exactly the same to...
all I can tell you with the length is that if I do a System.err.print for byte[] temp1 in each of the functions, the ExportArray lenght comes up as 8816 and the ImportArray function has 111111. No...
Actually it is Spidey because I did it with the testSystem function I threw in there. There are three students added.
I understood that. However, I don't see what it would no longer have a length of 8. It had one before it was exported.
Everything from the Console"
Exception in thread "main" javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
at...
The complete code for the encryption class:
import javax.crypto.Cipher;
import javax.crypto.BadPaddingException;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.KeyGenerator;...
The complete code for this class:
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import...
The program stores student account information which would include first name, last name, what the name of the current test is, if the student has completed it, and if they have a grade for the test,...
I am working on a school project and am having a bit of a problem with the two following functions. If I use the ImportArray function it will throw an IllegalBlockSizeException: Input length must be...
Here is my code:
byte[] temp1 = EMan.EncodeDataString(ExportStudent.FirstName);
System.err.println("Original String");
System.err.println(ExportStudent.FirstName);
...