Search:

Type: Posts; User: GeekWarth

Search: Search took 0.21 seconds.

  1. Replies
    12
    Views
    1,599

    Re: AI Search Simulator Assistance

    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...
  2. Replies
    12
    Views
    1,599

    Re: AI Search Simulator Assistance

    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...
  3. Replies
    12
    Views
    1,599

    Re: AI Search Simulator Assistance

    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...
  4. Replies
    12
    Views
    1,599

    Re: AI Search Simulator Assistance

    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...
  5. Replies
    12
    Views
    1,599

    Re: AI Search Simulator Assistance

    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...
  6. Replies
    12
    Views
    1,599

    AI Search Simulator Assistance

    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....
  7. Replies
    21
    Views
    4,144

    Re: IllegalBlockSizeException Problem

    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.
  8. Replies
    21
    Views
    4,144

    Re: IllegalBlockSizeException Problem

    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...
  9. Replies
    21
    Views
    4,144

    Re: IllegalBlockSizeException Problem

    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...
  10. Replies
    21
    Views
    4,144

    Re: IllegalBlockSizeException Problem

    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...
  11. Replies
    21
    Views
    4,144

    Re: IllegalBlockSizeException Problem

    Actually it is Spidey because I did it with the testSystem function I threw in there. There are three students added.
  12. Replies
    21
    Views
    4,144

    Re: IllegalBlockSizeException Problem

    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.
  13. Replies
    21
    Views
    4,144

    Re: IllegalBlockSizeException Problem

    Everything from the Console"

    Exception in thread "main" javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
    at...
  14. Replies
    21
    Views
    4,144

    Re: IllegalBlockSizeException Problem

    The complete code for the encryption class:

    import javax.crypto.Cipher;
    import javax.crypto.BadPaddingException;
    import javax.crypto.IllegalBlockSizeException;
    import javax.crypto.KeyGenerator;...
  15. Replies
    21
    Views
    4,144

    Re: IllegalBlockSizeException Problem

    The complete code for this class:


    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.FileWriter;

    import java.io.IOException;
    import...
  16. Replies
    21
    Views
    4,144

    Re: IllegalBlockSizeException Problem

    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,...
  17. Replies
    21
    Views
    4,144

    IllegalBlockSizeException Problem

    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...
  18. Replies
    3
    Views
    2,306

    String and Bit Array conversion issues

    Here is my code:

    byte[] temp1 = EMan.EncodeDataString(ExportStudent.FirstName);

    System.err.println("Original String");
    System.err.println(ExportStudent.FirstName);
    ...
Results 1 to 18 of 20