316
Dead-End and Solved Suggestion Requests / Arrays
« on: February 20, 2005, 04:11:47 AM »
I'd like to propose splitting the 1000 memory locations into 20 arrays of 50 elements each.
Arrays 1,2 are for custom labels and bot specific memory locations
Arrays 3-11 are for eyes 1 through 9
Array 12 is for Internal Self Information
Array 13 is for External Self Information
Array 14 is for Self Commands
Array 15 is for tierefs
Array 16 is for tiecommands
That leaves 4 arrays for future developments. Every sysvar would be put into one of these arrays.
The advantage lies in the fact that now we can look at more than just what's in front of us.
Something like:
cond
*.eye3(.refeye) *.myeye !=
start
blah...
stop
The sysvars could be arranged so that *.myeye refers to InternalInfo(.myeye), so the arrays could be transparent to the bot programmer if they like.
This is mostly a way to organize the sysvars. Understanding which sysvars are for reading data from and which are for writing data too can be confusing some times.
Arrays 1,2 are for custom labels and bot specific memory locations
Arrays 3-11 are for eyes 1 through 9
Array 12 is for Internal Self Information
Array 13 is for External Self Information
Array 14 is for Self Commands
Array 15 is for tierefs
Array 16 is for tiecommands
That leaves 4 arrays for future developments. Every sysvar would be put into one of these arrays.
The advantage lies in the fact that now we can look at more than just what's in front of us.
Something like:
cond
*.eye3(.refeye) *.myeye !=
start
blah...
stop
The sysvars could be arranged so that *.myeye refers to InternalInfo(.myeye), so the arrays could be transparent to the bot programmer if they like.
This is mostly a way to organize the sysvars. Understanding which sysvars are for reading data from and which are for writing data too can be confusing some times.