Darwinbots Forum

Code center => Bugs and fixes => Confirmed & Outstanding bugs => Topic started by: Testlund on July 14, 2014, 04:50:44 PM

Title: Run-time error 6
Post by: Testlund on July 14, 2014, 04:50:44 PM
This happened when I was testing mutation oscillation for the first time ever.

I was preparing folders to run multiple instances so it's also possible I might have missed to copy over some important file. The zip contains all the files I thought I needed to just run an internal sim. Edit: It has nothing to do with that.

No need to have Internet Mode files if I'm not going to run in Internet Mode, right?

I made the zip directly after running in Safe Mode.

Oh, and I was also trying to run a script that would make DB pause whenever a bot gets a .repro gene. Haven't tried running such scripts before.
Title: Re: Run-time error 6
Post by: Shadowgod2 on July 14, 2014, 05:31:44 PM
it's due to the mutation oscillation settings. it doesn't work for some reason and crashes at about 32700 cycles every time i've run it.
Title: Re: Run-time error 6
Post by: Testlund on July 14, 2014, 05:34:52 PM
OK, that's unfortunate. It would be cool if it worked.
Title: Re: Run-time error 6
Post by: Shadowgod2 on July 14, 2014, 05:44:53 PM
i tried getting bots on it
Title: Re: Run-time error 6
Post by: Testlund on July 15, 2014, 04:47:15 AM
Actually, it DOES work if you don't exceed the number 16000.
Title: Re: Run-time error 6
Post by: Botsareus on July 15, 2014, 12:15:23 PM
Yea, this thing still lives! apparently. I thought I took care of that one. Back to the drawing toolz.
Title: Re: Run-time error 6
Post by: Botsareus on July 15, 2014, 01:01:52 PM
Oh, looky here. Testlund got me an autosave that actually crashes! Good Job!
There is no specific description on the mod operater that it does not handle anything greater then an unsigned integer, proof:

Quote
Used to divide two numbers and return only the remainder.

Syntax

result = number1 Mod number2

The Mod operator syntax has these parts:

Part Description
result Required; any numericvariable.
number1 Required; anynumeric expression.
number2 Required; any numeric expression.


Remarks

The modulus, or remainder, operator divides number1 by number2 (rounding floating-point numbers to integers) and returns only the remainder as result. For example, in the followingexpression, A (result) equals 5.

A = 19 Mod 6.7

Usually, thedata type of result is aByte, Byte variant,Integer, Integer variant,Long, orVariant containing a Long, regardless of whether or not result is a whole number. Any fractional portion is truncated. However, if any expression isNull, result is Null. Any expression that isEmpty is treated as 0.
Title: Re: Run-time error 6
Post by: Botsareus on July 15, 2014, 01:14:09 PM
It is a long, damn.
Title: Re: Run-time error 6
Post by: Botsareus on July 15, 2014, 01:32:21 PM
My result is an integer, that was stupid. Here we go, this should work:



Once again, robots I can debug, people entering retarded numbers I can not. I can not be expected to put floor and ceil on every damn text box can I?

New project for Shadowgod: I want you do go trough ALL the textboxs you can find in Darwinbots and check if you can crash Darwinbots by putting goofy values in teh textboxes.
Title: Re: Run-time error 6
Post by: Shadowgod2 on July 15, 2014, 01:38:01 PM
oh boy, this will be fun. i'll start tonight, 2 sims at a time.
Title: Re: Run-time error 6
Post by: Botsareus on July 15, 2014, 01:40:32 PM
I seriously hope that was sarcasm, otherwise my view on the whole planet will be complete.
Title: Re: Run-time error 6
Post by: Shadowgod2 on July 15, 2014, 02:35:43 PM
which part the fun or the i'll start tonight.
Title: Re: Run-time error 6
Post by: Botsareus on July 15, 2014, 02:43:56 PM
Ok fine you win:

Evolution is a blow, and the only way to stimulate anything intelligent is to use a neural network!

Happy now?

edit:

Breaking news: Botsareus quits DB because he can not handle the administrative work!

That should make several people happy imo, eh?

edit:

I love when people only add fual to the fire instead of letting things go, the only thing left in life worth really working toward.
Title: Re: Run-time error 6
Post by: Botsareus on July 15, 2014, 02:53:52 PM
Wow, nice. This people forced me to actually follow the logic of what my picy and signature under picy supposed to mean. Usually, at least what I thought about Numsgil's picy you are supposed to act the opposite of what your picy and signature under picy supposed to mean.

Awesome job! I like a good kick in the ass!
Title: Re: Run-time error 6
Post by: Shadowgod2 on July 15, 2014, 04:10:41 PM
Don't you think your over reacting a bit. I was just messing with you and yes I was being sarcastic in the one post.
Title: Re: Run-time error 6
Post by: Testlund on July 15, 2014, 04:19:00 PM
My result is an integer, that was stupid. Here we go, this should work:

Once again, robots I can debug, people entering retarded numbers I can not. I can not be expected to put floor and ceil on every damn text box can I?


No need for that. I remember though that 32000 was a limit standard implemented by Eric L a long time ago. In the case of the mutation oscillation it seems to be 16000 for the 16x field + 16000 1/16x field = 32000.
Title: Re: Run-time error 6
Post by: Botsareus on July 15, 2014, 04:39:59 PM
Shadowgod, at least you got a good Laugh out of it.  :) We should change both of our picys to something that looks like a masochist.
On a side note, Numsgil is quietly thinking "Alright, last time Botsareus snapped, I gave him what he wanted. Should I do it again? But no, he is pretending he snapped to get my attention again, humm... interesting"
Title: Re: Run-time error 6
Post by: Botsareus on July 15, 2014, 04:47:35 PM
No need bro. I do not really care at this point. I got what I wanted out of it. Now If only I can edit wikipedia to add to interesting bit about molers ratchet on sexual reproduction that I finally figured out how to make sexual reproduction produce results. And also in wikipedia, ah never mind, they randomly deleted the English version just now. I was trying to create an account.
Title: Re: Run-time error 6
Post by: Botsareus on July 15, 2014, 04:49:45 PM
wikipedia quote:

Quote
This page has been deleted. The deletion and move log for the page are provided below for reference.

    01:34, 17 December 2013 Secret (talk | contribs) deleted page Darwinbots (Wikipedia:Articles for deletion/Darwinbots (2nd nomination))
    05:57, 26 March 2005 Geogre (talk | contribs) deleted page Darwinbots (Spam: content was: '{{del}}'''DarwinBots''' is a software application that performs artificial life simulations. It tries to simulate evolution. More info comin...')

Note that I will have never chosen a name such as "Secret" or "George" even.
Title: Re: Run-time error 6
Post by: Botsareus on July 15, 2014, 04:51:06 PM
Hmm... and I will forever wonder what else I wanted to update to make my current research more public.
Title: Re: Run-time error 6
Post by: Botsareus on July 15, 2014, 05:44:02 PM
lol Testlund, you knew that and still reported it as a bug? You could have sayed simply "put a ceil on the textboxes so they conform to EricLs stranded"

Anyway it is fixed. Done is done. Unless they block Darwinbots completely or force Numsgil to permanently ban me and disable my account.
Title: Re: Run-time error 6
Post by: Testlund on July 15, 2014, 07:56:45 PM
lol Testlund, you knew that and still reported it as a bug? You could have sayed simply "put a ceil on the textboxes so they conform to EricLs stranded"

I didn't know that when I made the first post. I found that out the next day.

I've had trouble tonight to understand if you've been humorous or upset. OK, good night.