Difference between revisions of "SkibUserMacros:Destroy Protection"

From Protoi Healing

Jump to: navigation, search
(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}}
  
# Write the code lines of the algorithm here...
+
# 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

Skib User Macro
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

Destroy Protection <protection context> {Use butterfly}






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

  1. All things used by this macro always have to be optimal protected, if this got declared in the calling macro.
  2. THREAD-START <1>
  3. THREAD <1> Find counter protection
    1. LOOP <T:1minutes>
      1. Scan and scan-off-grid all of 'protection context'.
      2. 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'.
      3. TRY to trace all found 'counter protections'.
      4. TRY to identify all 'origins' and all 'creators' in all found with trace.
      5. IF any of the found 'counter protections', 'origins' or 'creators' are new since the last THREAD <2> call, DO:
        1. DEFINITION of 'new protections': all found 'counter protections', 'origins' or 'creators' which are new since the last THREAD <2> call.
        2. THREAT-START <2>
      6. IF-END
    2. LOOP-END
  4. THREAD-END
  5. THREAD <2> Destroy counter protection
    1. Create an optimal solution to destroy all 'new protections'.
    2. Create optimal procedures for the solution.
    3. TRY to apply the solution by using the optimal solution procedures.
    4. IF the former solution or parts of the solution failed and the option {Use butterfly} was given, DO:
      1. TRY again to apply the failed solution or the failed parts of the solution by using butterfly-method.
    5. IF-END
  6. THREAD-END