Code center > Bugs and fixes

League Problems

(1/19) > >>

Jez:
Deleted bots from text file and put irish guys bot in first place, the idea being to run all the other bots, in alphabetical order, against it to create new league positions.

Problem being that each time I try to run a new sim with a new bot to enter into the league I get the message "Challenger and defender are same bot do you want to continue?" and when I go back to new sim the bot I tried to add has been replaced by two copies of Irish guys bot.

EricL:
Part of my problem is that I have never run leagues and there is no documentation as to how to do so so I'm kind of learning how they work  - ui.e. what is suppose to happen - by reverse engineering the code.

Could I ask you to post your leagues file?  I don't think I need the bots.  Thanks.

Jez:
The text file? that has one bot in it atm so I don't think that'd do, I'll post the old Fl text file that I had instead. You need the darwinbotsII/leagues folder and in that should be the 'F1leaguetable.text' file and an 'F1league' folder with all bots you want to run in the league.

If you don't have the code for a particular bot for the F1 league just remove its name from the .text file.

It's not the most bug free system ever invented for DB, things like a bak? file in the leagues folder have to be manually deleted if they appear or the leagues won't work for instance.

If you feel it would be easier rewriting the code for leagues instead of reverse engineering it then don't let me stop you

I also don't know what I've done to get Irish guys bot to keep reappearing in every rerun I've tried so far, doesn't matter which league I try!

F1leaguetable.text file;


#F1
1 - Blue on Blue
3 - UNA 3.0
4 - The One
5 - DIN
6 - Destinatus Preliator
7 - Dominator Invincibalis
8 - Carnatus Orbis
9 - Kyushu
10- Darth Shimazu
11- Spanish Conquistador
12- Animal Supremus
13- Callidus
14- DIN 2
15- Duplo Simpleboticus
16- HDV4
17- James 4
18- Devincio Eversor
19- D Scarab 3
20- Devincio Dominator
21- Queen Julianna
22- Scratch DJ
23- Vector 1.0
24- Umbra Draconis
25- Anon Terrifica
26- Hunter 2.13
27- Shimazu
28- EMPTY
29- EMPTY
30- EMPTY

Numsgil:
Leagues were really the first major improvement I made in Darwinbots.  About 90% of the functionality is really easy.  The last 10% was made from special cases that quickly got out of control.

Jez:
Oh don't get me wrong, it's a great idea and I was really chuffed you implemented it. It's just one of those things, when it goes well it's brilliant and when, like today, the only bot you can get to enter any league is irish guys then it can be a tinsy winsy little bit annoying

It's still miles ahead of the old days when bots had to be competed against each other one at a time to get the league results!!

Navigation

[0] Message Index

[#] Next page

Go to full version