Bots and Simulations > DNA - General

Tie question (2.4A)

<< < (3/3)

EricL:
Okay, I've stepped through the code in 2.37.6.  The names of the routines have changed, updatepos() became UpdateBots() and the mainline sim loop moved out of cycle() in console.frm to the new master.bas, but the order of execution and the behaviour is the same in both versions.  In short, the results of the n cycles' tie shots don't get updated until after the DNA executes in the n+1 cycle.  Numties does NOT update in time for it to be used by the DNA in the n+1 cycle in either version.

Numsgil:
I think I rearranged things in 2.4 to fix some bug or other I found with the order of operations.

EricL:
Things got rearranged/renamed, but the order of operations as far as this specific issue goes remained the same.  This isn't something you introduced in 2.4 Nums, it was this way before.

Bottom line for me is that I'm not going to attempt to fix/change this in 2.4.  The last thing I want to do is open that can of worms.  Mucking about with order of operations I'm more likely to break things than fix them.

It's a separate issue as to whether this behaviour should be addressed in the C++ version.  I leave that question to larger brains than myself.

Navigation

[0] Message Index

[*] Previous page

Go to full version