Ok, 8 mos is long enough to try fixing this myself. I need someone with a brain to look at this.
I have tried using an
order by id, command_text where entity_commands are loaded, yet it makes no difference. What keeps coming out (always) is the LAST, highest entity_command.id first, followed by the command_primary, then the second (or next few) command_secondaries...
it makes no sense.
These are all the hail, buy, sell commands from our database:
Code: Select all
id, command_list_id, command_text, distance, command, error_text
5, 5, hail, 10, hail,
8, 8, buy from merchant, 10, frommerchant,
544, 100, hail, 10, hail,
547, 101, hail, 10, hail,
548, 101, sell to merchant, 10, frommerchant,
558, 102, hail, 10, hail,
I should see in position #1: (8) buy from merchant, because that is his PRIMARY command
Followed by #2: (101) hail
Followed by #3: (101) sell to merchant
commands.jpg
This probably has something to do with some diabolical C++ crap with the vector/iterator blahblahblahblah... that I cannot figure out.
Is there a way to sort a list after it's made? Maybe it'd be that simple. A push in the right direction would be appreciated on this miniscule bug.
TIA,
You do not have the required permissions to view the files attached to this post.