Difference between revisions of "SkibUserMacros:Destroy Protection"
From Protoi Healing
(Created page with "{{UserMacroMainBox |nameUserMacro = Destroy Protection |authorUserMacro = Frank |descrUserMacro = Destroys all dark protection |statusUserMacro = public |termsUserMacro...") |
|||
Line 49: | Line 49: | ||
{{TextColor|#215a97}}'''Algorithm of User Macro'''{{EndText}} | {{TextColor|#215a97}}'''Algorithm of User Macro'''{{EndText}} | ||
− | # | + | # All things used by this macro always have to be optimal protected, if this got declared in the calling macro. |
+ | # '''THREAD-START <1> | ||
+ | <!-- | ||
+ | ####################################################################### | ||
+ | ################### <1> Find counter protection ###################### | ||
+ | ####################################################################### | ||
+ | --># '''THREAD''' <1> {{Comment|Find counter protection}} | ||
+ | ## '''LOOP''' <T:1minutes> | ||
+ | ### {{Method|Scan}} and {{Method|scan-off-grid}} all of 'protection context'. | ||
+ | ### '''TRY''' to {{Method|identify}} all 'counter protections' in 'protection context', which tries to block or limit our actions or our access to and in the 'protection context'. | ||
+ | ### '''TRY''' to {{Method|trace}} all found 'counter protections'. | ||
+ | ### '''TRY''' to {{Method|identify}} all 'origins' and all 'creators' in all found with {{Method|trace}}. | ||
+ | ### '''IF''' any of the found 'counter protections', 'origins' or 'creators' are new since the last '''THREAD''' <2> call, '''DO:''' | ||
+ | #### '''DEFINITION''' of 'new protections': all found 'counter protections', 'origins' or 'creators' which are new since the last '''THREAD''' <2> call. | ||
+ | #### '''THREAT-START''' <2> | ||
+ | ### '''IF-END''' | ||
+ | ## '''LOOP-END''' | ||
+ | # '''THREAD-END''' | ||
+ | <!-- | ||
+ | |||
+ | ################### <2> Destroy counter protection ###################### | ||
+ | |||
+ | --># '''THREAD''' <2> {{Comment|Destroy counter protection}} | ||
+ | ## {{Method|Create}} an optimal solution to destroy all 'new protections'. | ||
+ | ## {{Method|Create}} optimal procedures for the solution. | ||
+ | ## '''TRY''' to apply the solution by using the optimal solution procedures. | ||
+ | ## '''IF''' the former solution or parts of the solution failed and the option ''{Use butterfly}'' was given, '''DO:''' | ||
+ | ### '''TRY''' again to apply the failed solution or the failed parts of the solution by using {{Method|butterfly-method}}. | ||
+ | ## '''IF-END''' | ||
+ | # '''THREAD-END''' | ||
{{EndBox}} | {{EndBox}} |
Revision as of 20:12, 8 February 2017
Name | Destroy Protection |
---|---|
Author | Frank |
Brief descr. | Destroys all dark protection |
Status | public |
Terms | sub-macro only |
Resources for the UserMacro | |||||
---|---|---|---|---|---|
1 | 10 | 100 | |||
1k | 100k | 1kk | |||
10kk | Gmax | Omax | |||
Resources with butterfly option | |||||
1 | 10 | 100 | |||
1k | 100k | 1kk | |||
10kk | Gmax | Omax |
Command syntax
Description
- Destroys all dark protection in <protection context>, which tries to block or limit our actions or our access to and in the 'protection context'.
<protection context>
- The calling program MUST define this. Example:
# Add all 'parallel-to-reality' and all 'support mechanic' and all 'VRs' to the common '''DEFINITION''' of 'ambient'. # '''DEFINITION''' of 'protection context': It's <whatever it is here> and it's related 'ambient'.
{Use butterfly}
- Whatever option 1 does..
Algorithm of User Macro
- All things used by this macro always have to be optimal protected, if this got declared in the calling macro.
- THREAD-START <1>
- THREAD <1> Find counter protection
- LOOP <T:1minutes>
- Scan and scan-off-grid all of 'protection context'.
- TRY to identify all 'counter protections' in 'protection context', which tries to block or limit our actions or our access to and in the 'protection context'.
- TRY to trace all found 'counter protections'.
- TRY to identify all 'origins' and all 'creators' in all found with trace.
- IF any of the found 'counter protections', 'origins' or 'creators' are new since the last THREAD <2> call, DO:
- DEFINITION of 'new protections': all found 'counter protections', 'origins' or 'creators' which are new since the last THREAD <2> call.
- THREAT-START <2>
- IF-END
- LOOP-END
- LOOP <T:1minutes>
- THREAD-END
- THREAD <2> Destroy counter protection
- Create an optimal solution to destroy all 'new protections'.
- Create optimal procedures for the solution.
- TRY to apply the solution by using the optimal solution procedures.
- IF the former solution or parts of the solution failed and the option {Use butterfly} was given, DO:
- TRY again to apply the failed solution or the failed parts of the solution by using butterfly-method.
- IF-END
- THREAD-END