Original Post
This is the same game as I mentioned in the "screen update" post (I''ve cured the that problem now, thanks guys) but with a new problem! To recap:
I''m developing a simple 2D top-down multiplayer Java game. Each player controls a tank that they use to shoot at other player''s tanks.
I''m using the java.net.Socket class to send messages between players concerning the state of the game (e.g. where their tank is, its current speed, health level etc) through a central server program.
My problem is that after about a minute of play the client program crashes (I''m developing on Solaris and using the KDE window manager which catches the crash and reports it as being a sigsegv fault). This problem does not occur if I run the game single player (i.e. not sending the messages across the network).
I''m developing this using Java 1.1.6 (not Java 1.2 as it needs to run as an applet in Netscape) on Unix (Solaris, version 5.6 I think).
Does anyone have any idea what could cause this kind of problem or a method of debugging this, I would be very grateful as its part of my university project and I''m running out of time.
Thanks,
Martyn
(dogbert@madasafish.com)