Discussion:
Robocode crashes to desktop when I run my bot
Jonathan Lamb
2014-03-24 17:01:12 UTC
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
2014-03-24 21:21:56 UTC
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
Post by Jonathan Lamb
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.
Pavel Šavara
2014-03-25 08:34:32 UTC
Permalink
I wonder if jni4net works well with JDK 8. Jonathan what version of Java
and .NET you are running ? What OS version ?
Post by fnl
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
Post by Jonathan Lamb
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
For more options, visit https://groups.google.com/d/optout.
--
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
2014-03-27 20:24:34 UTC
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
Post by Pavel Å avara
I wonder if jni4net works well with JDK 8. Jonathan what version of Java
and .NET you are running ? What OS version ?
Post by fnl
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
Post by Jonathan Lamb
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
For more options, visit https://groups.google.com/d/optout.
--
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
2014-03-27 22:09:25 UTC
Permalink
Glad to hear it :)
Post by fnl
Hi Pavel, :-)
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
Post by Pavel Å avara
I wonder if jni4net works well with JDK 8. Jonathan what version of Java
and .NET you are running ? What OS version ?
Post by fnl
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
Post by Jonathan Lamb
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
For more options, visit https://groups.google.com/d/optout.
--
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
For more options, visit https://groups.google.com/d/optout.
--
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
2015-11-19 18:39:05 UTC
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...