Author Topic: Let's make a stable platform  (Read 39195 times)

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Let's make a stable platform
« Reply #105 on: October 27, 2005, 11:27:30 PM »
Quote
Now my veggies have started mutating. I'm sure they shouldn't be doing that.

Theoretically given enough time just about anything in DB can start mutating/evolving. If a veggie happens to absorb a stray -2 shot it will gain waste, potentially enough waste to cause a mrepro.

I remember Wall and Son. It was a kind of freak event but basically the wall absorbed nrg and of course digested it to make waste. It started spinning, shooting, and reproducing randomly. :lol:
« Last Edit: October 27, 2005, 11:32:15 PM by Endy »

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Let's make a stable platform
« Reply #106 on: October 28, 2005, 08:49:17 AM »
Quote
If a veggie happens to absorb a stray -2 shot it will gain waste, potentially enough waste to cause a mrepro.
Except that on every cycle, a veg converts 1/2 of his current waste directly into energy so it can never build up.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Let's make a stable platform
« Reply #107 on: October 28, 2005, 08:56:34 AM »
Well my sim just ran another 5,000,000 cycles overnight without any kind of crash.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Let's make a stable platform
« Reply #108 on: October 28, 2005, 09:06:00 AM »
Veggies might be building up pwatste.  Pwaste acts like residue that can't ever be removed that lowers the effective threshold for the bot.

That is, if pwaste + waste > threshold, bad stuff happens ;)

So if pwaste is, say, 200 in a veggy, and it gets 200 waste, it's already at the threshold.

I don't know if pwaste builds up in veggies or no...

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Let's make a stable platform
« Reply #109 on: October 28, 2005, 09:38:41 AM »
Veggies don't make pwaste (unless that was something you changed recently)
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Let's make a stable platform
« Reply #110 on: October 28, 2005, 12:00:39 PM »
May have without meaning too.  But I don't think so.  I ahven't touched much of waste et al routines.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Let's make a stable platform
« Reply #111 on: October 28, 2005, 12:14:21 PM »
I just checked the code and it looks like veggies can build up pwaste if they pick up -2 shots.

Active veggies do too. That is to say, if a veggie actively runs around the screen doing stuff then it will build up pwaste just like any other bot will.

Once there, they have no way to deal with it.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Let's make a stable platform
« Reply #112 on: October 28, 2005, 12:17:12 PM »
I think this is something of a design issue.  I mean, if veggies are actively behaving like bots, maybe they should build up pwaste...

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Let's make a stable platform
« Reply #113 on: October 28, 2005, 12:19:53 PM »
I don't have a problem with that.

They still have the advantage of not building up regular waste.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Let's make a stable platform
« Reply #114 on: November 01, 2005, 10:20:49 PM »
Might have an additional cause:
Code: [Select]
 If .nrg + (.Waste / 2) < 32000 Then
    .nrg = .nrg + (.Waste / 2)
    .Waste = .Waste - (.Waste / 2)

If Waste/2 +nrg > 32000 waste remains to be converted to pwaste.

I know nrg can get up pretty high on occasion for vegs, but not sure how likely this is. Probably not a major concern though; more of a handy object lesson why never to use the word never.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Let's make a stable platform
« Reply #115 on: November 02, 2005, 08:56:56 AM »
Pwaste is only created from waste when waste is removed from the system by any active means like firing a poop shot or transferring it along ties.

The veg feeding routine doesn't add any so in a normal veggie, the scenario you described should not be a problem.

If you have a very active veggie such as a combat bot with "autotroph" checked then it deserves to fill up with pwaste.

The routine here is just to make sure we don't convert too much energy and overflow the .nrg register.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Let's make a stable platform
« Reply #116 on: November 02, 2005, 09:35:22 AM »
Yes, but since it's not converting it to nrg, it can probably build up above the Bad Waste threshold.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Let's make a stable platform
« Reply #117 on: November 02, 2005, 11:28:24 AM »
I guess it could but it would have to come in at a constant rate, and/or the veggie would have to be at or near to maximum energy.
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
Let's make a stable platform
« Reply #118 on: November 07, 2005, 05:56:48 PM »
So, where is this going?  I got some time and want to start running 2.37 through VB.  Do we have an updated 2.37 source with some bugs fixed?  And could you point me to the place with VB download again?  I lost the file somewhere.

EDIT:  never mind, I found the VB6.  Still - is there an updated source for 2.37?  is PY fixing bugs or people decided to give up on that?

EDIT 2: Can't install the VB6.  Says:
Quote
"C:\Windows\System32\Autoexec.nt.  The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose "Close" to terminate the application"
« Last Edit: November 07, 2005, 06:15:51 PM by shvarz »
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Let's make a stable platform
« Reply #119 on: November 07, 2005, 07:24:43 PM »
Up to now I hav ebeen fixing the bugs as we go along as well as giving instructions how to fix them yourselves.

In the next day or so I will upload the fixed source and the executable to the Darwinbots FTP server.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D