Code center > Darwinbots Program Source Code

concerning leagues

<< < (3/8) > >>

Griz:
now what about my original post ... for this topic ...
can you point me towards the code where one might find a way to
enable the user to limit the number of cycles in a round in the league play?
I mean it is obvious you intened to 'go there' at some point as the form
is there ... just won't accept input.

ver 2.36.5 [I guess the newer versions will be the same]

~griz~

Numsgil:
I had the idea of doing it, but I never implemented it.  At onec point I added like 20 new fields to options form that were all things I wanted to add.  And I added maybe 16 of those.

If you want to implement it yourself, I'd put the code in the Sec_timer or whatever in Form1.  Have it check to see if SimOpts.TotRunCycle or SimOpts>TotRunTime (depending on which you want) is less than or equal to some user preset value.

If it isn't then restart the round, or give one bot the win, or whatever.

Botsareus:
Well, 2.37 has a "max time in round" option. As far as making your own ristrictions you have to make a "catchy" for it in the timer executed parts of the program. I would go to "Form1 > cyccaption" to write the actual code. But my code will "effect" what is happening at "F1Mode > Countpop".

lol Num beat me to the post ONLY because I am looking to my second time attachment of my damed placement control. god dam it every time I attach it I cant find it.

Griz:

--- Quote ---Well, 2.37 has a "max time in round" option
--- End quote ---
well the box is there ... but last I knew it wouldn't accept input.

but I copied both Num's and your suggestions ...
and will file them away until I can get into the prog and see if I can
find my way about.

thanks

~griz~

Griz:

--- Quote ---If it isn't then restart the round, or give one bot the win, or whatever.
--- End quote ---
yes. also ... when I did that manually with two bots that were too evenly matched to end it on their own ... it would still go into extra rounds if one was not statistically ahead ...
so it would also be nice to say ... STOP after 5 or whatever is selected. period.

ok.
I should have it fixed by 2008. ;)

~griz~

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version