Discussion:
Robocode crashes to desktop when I run my bot
Jonathan Lamb
11 years ago
Permalink
Hey, I've had a functioning C# advanced robot for a few months now, and
last week I did a giant architecture change. After the change, running my
bot crashes Robocode to desktop - I don't see any errors in the robocode or
my robot's console before Robocode dies. After much fiddling, I discovered
that if I only have basic Robot commands (TurnGunRight(), Ahead(), etc) my
robot loads and runs fine. If I put any set and/or execute calls in my
robot it now crashes. Any ideas what would cause this? I've been using
this bot for awhile now, and I'm completely confused why he crashes
Robocode now.
--
You received this message because you are subscribed to the Google Groups "robocode" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
fnl
11 years ago
Permalink
I have not heard about anyone experiencing this kind of trouble with a C#
robot.
Did you change something on your system, e.g. the .NET framework or similar?

I should like to try out your robot. It might be a new bug in Robocode,
which your code is able to trigger.
So I should like you to send me the source code in a mail to: fnl (at)
users.sourceforge.net
I will not share or spread your source code in any way. It will just be
used for debugging. :-)

Cheers,
- Flemming
...
--
You received this message because you are subscribed to the Google Groups "robocode" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Pavel Šavara
11 years ago
Permalink
I wonder if jni4net works well with JDK 8. Jonathan what version of Java
and .NET you are running ? What OS version ?
...
--
You received this message because you are subscribed to the Google Groups "robocode" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
fnl
11 years ago
Permalink
Hi Pavel, :-)

Just for info:
I am running on Windows Pro 8.1 (64-bit) with the JDK 8 (64-bit) and the
.NET framework 4.5.
I have no problem running the .NET robots on my system - meaning that
jni4net 0.8.6 is doing a great job with these versions. :-)

That is why I am curious if something triggers a bug somewhere?

Cheers,
- Flemming
...
--
You received this message because you are subscribed to the Google Groups "robocode" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Pavel Šavara
11 years ago
Permalink
Glad to hear it :)
...
--
You received this message because you are subscribed to the Google Groups "robocode" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
d***@isev.k12.tr
9 years ago
Permalink
Are you sure that you write the command setAhead(double)
setTurnGunRight(double),
--
You received this message because you are subscribed to the Google Groups "robocode" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...