Author Topic: 33 energy weirdness!  (Read 6555 times)

Offline Ulciscor

  • Moderator
  • Bot Destroyer
  • *****
  • Posts: 401
    • View Profile
33 energy weirdness!
« on: July 31, 2005, 05:25:23 AM »
I'm using the new update [Num] uploaded, 2.37.4 and am having a weird problem with the energy level of veggies when they are being shot.

When being shot at with -1 shots, the veggie's energy drops fine but for some reason gets stuck on 33, and stays there indefinitely until I either move the bot firing or the veggie being fired upon.

I'm not sure if this has already been reported or is because I am doing something wrong but it is very weird to be sure.
« Last Edit: July 31, 2005, 10:38:53 AM by Ulciscor »
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
33 energy weirdness!
« Reply #1 on: July 31, 2005, 06:06:57 AM »
Quote
I'm using the new update Num uploaded, 2.37.4 and am having a weird problem with the energy level of veggies when they are being shot.

When being shot at with -1 shots, the veggie's energy drops fine but for some reason gets stuck on 33, and stays there indefinitely until I either move the bot firing or the veggie being fired upon.

I'm not sure if this has already been reported or is because I am doing something wrong but it is very weird to be sure.
I noticed this too.  What's happening is that the robots are being updated from a list of their positions, but this list is only updated when the bots actually move.

I could spend a couple of hours and fix it, but the upcoming major release makes this entire bug moot.
« Last Edit: July 31, 2005, 06:07:30 AM by Numsgil »

Offline Ulciscor

  • Moderator
  • Bot Destroyer
  • *****
  • Posts: 401
    • View Profile
33 energy weirdness!
« Reply #2 on: July 31, 2005, 08:30:58 AM »
OK cool I'll stick with 2.37.3 then?

I also noticed the energy shots being fired back from a veggie being shot 90 degrees to the angle they should have been, if you get what I mean.
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
33 energy weirdness!
« Reply #3 on: July 31, 2005, 09:12:24 AM »
As far as I can tell all 2.37s have the immortal bot bug.  I'm not sure exactly when it was introduced, or what did it.  I know my simulation I was running in 2.37.2 suffered from it.

Shots have also been vastly improved in the upcoming version (specifically shot collision) so hopefully any weird shot problems will disappear.

Offline Ulciscor

  • Moderator
  • Bot Destroyer
  • *****
  • Posts: 401
    • View Profile
33 energy weirdness!
« Reply #4 on: July 31, 2005, 09:41:43 AM »
Just out of interest, why were the veggies latching on 33 energy?
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
33 energy weirdness!
« Reply #5 on: July 31, 2005, 10:29:08 AM »
The nrg can go as close to zero as it likes, as long as the next shot would normally kill it.  The code to kill bots isn't activating unless the bot moves.  I've had vegs at 1.5 nrg indefinately.  Alot depends on your sim settings.

Offline Ulciscor

  • Moderator
  • Bot Destroyer
  • *****
  • Posts: 401
    • View Profile
33 energy weirdness!
« Reply #6 on: July 31, 2005, 10:38:30 AM »
I have been trying to learn how to write components for VB and was wondering if it could be used for DB to make a "Bot" object. I was thinking it could generate events such as collisions so you wouldn't have to check for them.

Although I must admit I don't fully understand the whole concept yet; am I missing something important?
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
33 energy weirdness!
« Reply #7 on: July 31, 2005, 10:41:05 AM »
I haven't explored much of the built in class-esque components of VB because they are SLOW.  Really slow.  And VB isn't that fast to begin with.

Maybe you could, but if speed is what you're after (and it is here) you should stick with simple procedural programming.

Offline Ulciscor

  • Moderator
  • Bot Destroyer
  • *****
  • Posts: 401
    • View Profile
33 energy weirdness!
« Reply #8 on: July 31, 2005, 10:57:47 AM »
Ah well that's no good then; I was thinking it would speed up sims because collision, death and related events could be dealt with when called without having to be checked every cycle.
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
33 energy weirdness!
« Reply #9 on: August 02, 2005, 04:26:08 PM »
The bog is quite moot , but I would like to see vags actualy die and get repopulated on the screen. The way it happens with TheOne. So I am staying with 2.37.3 until you get it fixed. I will however see the new virsion with energy proportional to size of bots. I have got to see that.
« Last Edit: August 02, 2005, 04:52:17 PM by Botsareus »

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
33 energy weirdness!
« Reply #10 on: August 02, 2005, 04:33:14 PM »
Quote
The bog is quite moot

Do you get this problem often?

You should really get that looked at. Moot bogs can be pretty nasty if you leave them that way for too long.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
33 energy weirdness!
« Reply #11 on: August 02, 2005, 04:40:03 PM »
Moot bogs make my head hurt...  And the story stops in the most interesting place, right before the true nature of moot bogs is revealed!!!
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Ulciscor

  • Moderator
  • Bot Destroyer
  • *****
  • Posts: 401
    • View Profile
33 energy weirdness!
« Reply #12 on: August 02, 2005, 04:42:06 PM »
Lmao [Bots] what the hell were you trying to say? I can't work it out.
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
33 energy weirdness!
« Reply #13 on: August 02, 2005, 04:51:34 PM »
Num , quote:

Quote
I could spend a couple of hours and fix it, but the upcoming major release makes this entire bug moot.

I was replying (/ranting) about that...

Offline Ulciscor

  • Moderator
  • Bot Destroyer
  • *****
  • Posts: 401
    • View Profile
33 energy weirdness!
« Reply #14 on: August 02, 2005, 05:15:50 PM »
Ahhh he's got you there. Sorry [bots] it all makes sense now.
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.