Code center > Bugs and fixes

2.43 Changes

<< < (7/18) > >>

EricL:
Bump.  2.42.9i released.


2.42.9i Buddy Drop Download

F1 League Contest conditions defaults, fix for the species list issue and for Testlund's visable shapes overflow.  Still working on the league freeze issue.

Jez:
I'll see if I can reproduce that league freeze issue again before I download and test your latest drop.

EDIT

Only took 20 rounds, definetely when both bots die out at same time.  

EricL:

--- Quote from: Jez ---Only took 20 rounds, definetely when both bots die out at same time.  
--- End quote ---
I have no problem reproducing it.  It's a tight loop somewhere in the routine that picks league winners.  The problem is VB6's damned single threaded IDE means that when the program freezes, the IDE freezes too!  I'll have to do it via code inspection and the exit conditions are a little convoluted.  Should have it soon.

Numsgil:
The way leagues are done is generally convoluted.

I've had great success with a Game state manager in other projects.

Basically you'd push the league state onto the game state stack.  The league would then push the individual competitions onto the stack, and the competitions would push the individual simulations onto the stack.  The code to update the simulation would call an overloaded Execute() method of whatever state is on the top of the stack.

Not sure if this is possible in VB though.

Jez:

--- Quote from: EricL ---I'll have to do it via code inspection and the exit conditions are a little convoluted.  Should have it soon.
--- End quote ---
Ouch, nasty.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version