None of the errors are network related and the errors generated by the graphics section don't normally appear. also they originate in the Graphics library, not in my code, which leads me to believe that they aren't really to do with graphics, but are rather a by-product of the Main thread crashing.
my command prompt won't let me copy past but the errors start out with things such as "java.awt.event.InvocationEvent.dispatch< Unknown source>" and "javax.swing.RepaintManager$Paintmanager,paint< Unknown suorce>" and "exception in thread "AWR_EcentQueue_0" java.lang.nullPointerException"
It is worth noting that the most recent time I ran the game, it was perfectly playable for all of 5 seconds before it crashed. A record so far.
As for the portion about the router, I have no idea. I probably have the default setting on everything local network related, but the game doesn't work on local networks either so idk...
Im sorry I don't have many leads for figuring out the problem, but if I did I might have done a better job myself.
I guess I will try to explain the communication protocol I wrote... basically their is one Main thread for the host, which runs just about the same as in single player, and one thread per client which collects keystrokes from clients. The Main thread than prepares an array list of custom data holding objects, sends them over the network with a few Strings as well for other info, and the client uses the data to render an image on the screen. The graphics are really simple so it just uses a for loop and goes through the data points, painting one after another. I don't think I'm overloading the network, because according to the task manager the game never exceeds 0.50% of the network capacity. also at the beginning of the game their are only 2-3 data points, even though it can get to hundreds later on.
P.S while I was writing this another post came through, which I will now respond to. I alredy made somthing similer at the begining that tested weather the connection worked, but I guess I've chanegd alot since than, so it might be a good idea to redo that. It will take a bit of time though, so I will post the results when I'm done.