Coh3n
2010-03-14 23:07:27
I started to try to add the reflection walking (I did manage to add the path to and from the bank - update and look at Walking_Reflection), and I ran into a few problems that I could use some help with. From my understanding, we would like to use reflection walking, with color failsafes, correct? We would also like to have the option to disable the reflection if the hooks are outdated. We would do this using Defines, right?
Problem:
Using reflection and color failsafes isn't as simple as saying:
Well, okay, simple, just do each point individually. Well, again, not so simple. It could easily be done, but then we would have to include reflection no matter what because the color failsafe would have to be right in the MSI_Walk function, which is in a {$IFDEF REFLECTION}.
Possible Solution:
Keep reflection and color walking completely separate. Use one or the other, not both. Let's be honest, what exactly are the chances that the reflection walking is going to fail? This way, the user can easily comment out the {$DEFINE REFLECTION}, telling the script to only use color. I'm sure you know, but it would be useful for when the hooks are outdated, or when using a script that doesn't include any walking.
I, personally, don't see the need for using a failsafe for reflection. I say either use one or the other. You can disagree with me all you want, but I'm easily persuaded to another opinion if I'm presented with reasonable information. :rolleyes:
If everyone is content on using color failsafes, please figure out a way to use it efficiently because I can't. :p
Problem:
Using reflection and color failsafes isn't as simple as saying:
if (not ReflectionWalk) then
ColorWalk;
What if the reflection walk failed on the third point on the path? That would leave the color method in the wrong location to start, thus causing it to most likely fail.Well, okay, simple, just do each point individually. Well, again, not so simple. It could easily be done, but then we would have to include reflection no matter what because the color failsafe would have to be right in the MSI_Walk function, which is in a {$IFDEF REFLECTION}.
Possible Solution:
Keep reflection and color walking completely separate. Use one or the other, not both. Let's be honest, what exactly are the chances that the reflection walking is going to fail? This way, the user can easily comment out the {$DEFINE REFLECTION}, telling the script to only use color. I'm sure you know, but it would be useful for when the hooks are outdated, or when using a script that doesn't include any walking.
I, personally, don't see the need for using a failsafe for reflection. I say either use one or the other. You can disagree with me all you want, but I'm easily persuaded to another opinion if I'm presented with reasonable information. :rolleyes:
If everyone is content on using color failsafes, please figure out a way to use it efficiently because I can't. :p