Difference between revisions of "SkibUserMacros:Defend"
From Protoi Healing
Line 174: | Line 174: | ||
#### '''THREAD-START''' <3.1> 'inside shit' | #### '''THREAD-START''' <3.1> 'inside shit' | ||
### '''IF-END''' | ### '''IF-END''' | ||
− | |||
### {{Comment|Healing the attack damages}} | ### {{Comment|Healing the attack damages}} | ||
− | + | ### '''TRY''' to {{Method|identify}} all damages done to the 'juridical person' by the attacks, or done by any of our reactions to the attacks. | |
− | ### '''TRY''' to {{Method|identify}} | + | ### {{Method|Trace-recursive}} all damages done to the 'juridical person' by the attacks, or done by any of our reactions to the attacks. |
− | ### {{Method| | + | ### '''IF''' {{Method|Trace-recursive}} found damages, which/who are new since the last call of THREAD <3.2> by this THREAD, '''DO''': |
− | + | #### '''DEFINITION''' of 'damages to heal': All found in {{Method|Trace-recursive}}, what is new since the last call of THREAD <3.2> by this THREAD | |
− | + | #### '''THREAD-START''' <3.2> Heal all damages caused by the attacks | |
+ | ### '''IF-END''' | ||
### {{Method|Scan}} and {{Method|scan-off-grid}} all 'juridical person' of ''<person(s)>'' and the belonging 'ambient'. | ### {{Method|Scan}} and {{Method|scan-off-grid}} all 'juridical person' of ''<person(s)>'' and the belonging 'ambient'. | ||
### '''TRY''' to {{Method|identify}} all 'kinds of attacks' and all attacks on the 'juridical person' of ''<person(s)>'' and in the belonging 'ambient'. | ### '''TRY''' to {{Method|identify}} all 'kinds of attacks' and all attacks on the 'juridical person' of ''<person(s)>'' and in the belonging 'ambient'. | ||
Line 189: | Line 189: | ||
################### <3.1> Remove all inside and attached shit ###################### | ################### <3.1> Remove all inside and attached shit ###################### | ||
− | --># '''THREAD''' <3.1> {{Comment|Remove all inside and attached shit ( | + | --># '''THREAD''' <3.1> {{Comment|Remove all inside and attached shit (00%)}} |
## {{Method|Create}} optimal {{Method|remove}} procedures for all 'inside shit'. | ## {{Method|Create}} optimal {{Method|remove}} procedures for all 'inside shit'. | ||
## '''TRY''' to {{Method|remove}} all 'inside shit' by using the {{Method|remove}} procedures. | ## '''TRY''' to {{Method|remove}} all 'inside shit' by using the {{Method|remove}} procedures. | ||
## '''IF''' not all 'inside shit' has been removed, and the option ''{Use solver}'' was given, '''DO:''' | ## '''IF''' not all 'inside shit' has been removed, and the option ''{Use solver}'' was given, '''DO:''' | ||
### '''THREAD-START''' <5> { ('inside shit' & {{Method|remove}}) as 'solve topic' } | ### '''THREAD-START''' <5> { ('inside shit' & {{Method|remove}}) as 'solve topic' } | ||
+ | ## '''IF-END''' | ||
+ | # '''THREAD-END''' | ||
+ | <!-- | ||
+ | |||
+ | ################### <3.2> Heal all damages caused by the attacks ###################### | ||
+ | |||
+ | --># '''THREAD''' <3.2> {{Comment|Heal all damages caused by the attacks (00%)}} | ||
+ | ## {{Method|Create}} optimal healing procedures for all 'damages to heal'. | ||
+ | ## '''TRY''' to heal all 'damages to heal' by using the healing procedures. | ||
+ | ## '''IF''' not all 'damages to heal' have been healed, and the option ''{Use solver}'' was given, '''DO:''' | ||
+ | ### '''THREAD-START''' <5> { ('damages to heal' & heal) as 'solve topic' } | ||
## '''IF-END''' | ## '''IF-END''' | ||
# '''THREAD-END''' | # '''THREAD-END''' |
Revision as of 14:52, 9 February 2017
Name | Defend |
---|---|
Author | Drack, Grayfox, Frank |
Brief descr. | Defends, blocks and reflects attacks and starts counterattacks. |
Status | public |
Terms | Usable on oneself and others |
Resources for the UserMacro | |||||
---|---|---|---|---|---|
1 | 23 | 10 | 63 | 100 | 86 |
1k | 122 | 100k | 422 | 1kk | 2300 |
10kk | 7300 | Gmax | 1,2kkk | Omax | 6,1kk |
Resources with butterfly option | |||||
1 | 853 | 10 | 2200 | 100 | 7000 |
1k | 13k | 100k | 18k | 1kk | 43k |
10kk | 50k | Gmax | 43kk | Omax | 36 |
Command syntax
Description
- This Macro tries to defend you or the person you use it on, blocking the attacks on you or the person the macro is used on and reflecting it back and starts counterattacks on the attackers.
<person(s)>
- Defines who this macro is used on. It might be used for a person (by name) or for a group of persons (for more than 1 names at the same time) or on oneself.
{Use butterfly}
- This option activates the use of the butterfly-method inside the macro algorithm. This gives much more power, but also needs a lot of resources from Skib. You should be aware of this!
Algorithm of User Macro
- Initializing the macro
- Use DATABASE 'Malfunction'.
- Use DATABASE 'AttackKinds'.
- Use DATABASE 'Defend'.
- Always store or update all in this macro identified 'kinds of attacks' in the 'AttackKinds' DATABASE.
- All things used by this macro always have to be optimal protected.
- DEFINITION of 'juridical person': It's the <person(s)> with all parts and all other what juridical belongs to a <person(s)>.
- DEFINITION of 'passive attacks': It's all, what is in the 'juridical person' but don't belong to the 'juridical person'. Excluded from this is all, what got permission to be there from the <person(s)>.
- All 'Passive attacks' are classified as 'attacks'.
- DEFINITION of 'influences': It's all, what is enters the 'juridical person' through official interfaces of the 'juridical person'. Excluded from this is all, what got permission to be there from the <person(s)>.
- All 'influences' are classified as 'attacks'.
- DEFINITION of 'manipulations': All of 'juridical person' what got modified. Excluded from this is all, what got permission for the modification from the <person(s)>.
- All 'manipulations' are classified as 'attacks'.
- DEFINITION of 'Attachments': It's all, what is attached to the 'juridical person'. Excluded from this is all, what got permission for the attachment from the <person(s)>.
- All 'attachments' are classified as 'attacks'.
- Add all 'parallel-to-reality' and all 'support mechanic' and all 'VRs' to the common DEFINITION of 'ambient'.
- DEFINITION of 'protection context': It's the 'juridical person' and it's related 'ambient'.
- DEFINITION of 'illegals': It's all in or all 'attached' to 'juridical person' and 'juridical persons ambient, what is against the rules.
- All 'illegals' are classified as 'attacks'.
- IF the option {Use butterfly} was given, DO:
- Use DATABASE 'Butterfly'.
- Always use in the macro the butterfly-method for all soft-blocked things.
- Store or update all butterfly-methods, which have been successful used in this macro, in the 'Butterfly' DATABASE.
- IF-END
- All attacks, which cause harm of any kind at the 3D body or which cause pain of any kind or which cause mental harm or which cause mental pain, have priority.
- Start of THREADS and LOOPS
- Scan and scan-off-grid all 'juridical person' of <person(s)> and the belonging 'ambient'.
- TRY to identify all 'kinds of attacks' and all attacks on the 'juridical person' of <person(s)> and in the belonging 'ambient'.
- SUBMACRO-START 'Destroy Protection' 'protection context' {Use butterfly}
- THREAD-START <6> <7>
- LOOP <T:3seconds> until no more attacks identified.
- THREAD-START <1> <2> <3>
- IF found new 'manipulations', DO:
- THREAD-START <8>
- IF-END
- Scan and scan-off-grid all 'juridical person' of <person(s)> and the belonging 'ambient'.
- TRY to identify all 'kinds of attacks' and all attacks on the 'juridical person' of <person(s)> and in the belonging 'ambient'.
- LOOP-END
- THREAD <1> Defend against the attacks (98%)
- LOOP <T:4seconds> until no more attacks identified.
- TRY to identify all 'origins of the attacks' and all 'attackers' on the 'juridical person' of <person(s)> and in the belonging 'ambient'.
- Trace-recursive all 'origins of the attacks' and all 'attackers'.
- Inside attacks
- IF 'origins of the attacks' found which are inside 'juridical person', and which are new since the last call of THREAD <1.1> by this THREAD, DO:
- DEFINITION of 'all inside attacks': All found with Trace, which belong to attacks that have their origin inside the 'juridical person', and which are new since the last call of THREAD <1.1> by this THREAD.
- THREAD-START <1.1> 'all inside attacks'
- IF-END
- External attacks
- IF 'origins of the attacks' found which are not inside 'juridical person', and which are new since the last call of THREAD <1.2> by this THREAD, DO:
- DEFINITION of 'all external attacks': All found with Trace, which belong to attacks that have their origin not inside the 'juridical person', and which are new since the last call of THREAD <1.2> by this THREAD.
- THREAD-START <1.2> 'all external attacks'
- IF-END
- Scan and scan-off-grid all 'juridical person' of <person(s)> and the belonging 'ambient'.
- TRY to identify all 'kinds of attacks' and all attacks on the 'juridical person' of <person(s)> and in the belonging 'ambient'.
- LOOP-END
- LOOP <T:4seconds> until no more attacks identified.
- THREAD-END
- THREAD <1.1> Remove all attacks which have their origin inside
- Create optimal removal procedures for 'all inside attacks'.
- TRY to remove 'all inside attacks' with the removal procedures.
- IF not 'all inside attacks' have been removed, DO:
- THREAD-START <5> { ('all inside attacks' & remove) as 'solve topic' }
- IF-END
- THREAD-END
- THREAD <1.2> Defend all external attacks
- Create optimal defend procedures for 'all external attacks'.
- TRY to defend 'all external attacks' with the defend procedures.
- IF not 'all external attacks' have been defended, DO:
- THREAD-START <5> { ('all external attacks' & defend) as 'solve topic' }
- IF-END
- THREAD-END
- THREAD <2> Counter attacks (96%)
- LOOP <T:3seconds> until no more attacks identified.
- TRY to identify all 'origins of the attacks' and all 'attackers' in the 'juridical person' of <person(s)> and in the belonging 'ambient'.
- Trace-recursive all 'origins of the attacks' and all 'attackers'.
- IF 'origins of the attacks' or 'attackers' found in Trace which are new since the last call of THREAD <2.1> by this THREAD, DO:
- Definition of 'counter attack targets': All found in Trace which are new since the last call of THREAD <2.1> by this THREAD.
- THREAD-START <2.1> 'counter attack targets'
- IF-END
- Scan and scan-off-grid all 'juridical person' of <person(s)> and the belonging 'ambient'.
- TRY to identify all 'kinds of attacks' and all attacks on the 'juridical person' of <person(s)> and in the belonging 'ambient'.
- LOOP-END
- LOOP <T:3seconds> until no more attacks identified.
- THREAD-END
- THREAD <2.1> Execute the counter attacks
- Create optimal attack procedures for all 'counter attack targets'.
- TRY to attack all 'counter attack targets' with the attack procedures.
- IF not all 'counter attack targets' have been successfully attacked, and the option {Use solver} was given DO:
- THREAD-START <5> { ('counter attack targets' & attack) as 'solve topic' }
- IF-END
- THREAD-END
- THREAD <3> Healing the attack damages (98%)
- LOOP until no more attacks identified.
- Removing placed inside and attached shit
- TRY to identify all placed inside 'juridical person' and it's related 'ambient' during attacks, or attached to 'juridical person' and it's related 'ambient' during attacks.
- Trace-recursive all placed inside 'juridical person' and it's related 'ambient' during attacks, or attached to 'juridical person' and it's related 'ambient' during attacks.
- IF Trace-recursive found anything or anyone, which/who are new since the last call of THREAD <3.1> by this THREAD, DO:
- DEFINITION of 'inside shit': All found in Trace-recursive, what is new since the last call of THREAD <3.1> by this THREAD
- THREAD-START <3.1> 'inside shit'
- IF-END
- Healing the attack damages
- TRY to identify all damages done to the 'juridical person' by the attacks, or done by any of our reactions to the attacks.
- Trace-recursive all damages done to the 'juridical person' by the attacks, or done by any of our reactions to the attacks.
- IF Trace-recursive found damages, which/who are new since the last call of THREAD <3.2> by this THREAD, DO:
- DEFINITION of 'damages to heal': All found in Trace-recursive, what is new since the last call of THREAD <3.2> by this THREAD
- THREAD-START <3.2> Heal all damages caused by the attacks
- IF-END
- Scan and scan-off-grid all 'juridical person' of <person(s)> and the belonging 'ambient'.
- TRY to identify all 'kinds of attacks' and all attacks on the 'juridical person' of <person(s)> and in the belonging 'ambient'.
- LOOP-END
- LOOP until no more attacks identified.
- THREAD-END
- THREAD <3.1> Remove all inside and attached shit (00%)
- Create optimal remove procedures for all 'inside shit'.
- TRY to remove all 'inside shit' by using the remove procedures.
- IF not all 'inside shit' has been removed, and the option {Use solver} was given, DO:
- THREAD-START <5> { ('inside shit' & remove) as 'solve topic' }
- IF-END
- THREAD-END
- THREAD <3.2> Heal all damages caused by the attacks (00%)
- Create optimal healing procedures for all 'damages to heal'.
- TRY to heal all 'damages to heal' by using the healing procedures.
- IF not all 'damages to heal' have been healed, and the option {Use solver} was given, DO:
- THREAD-START <5> { ('damages to heal' & heal) as 'solve topic' }
- IF-END
- THREAD-END
- THREAD <5> {'solve topic'} Solver
- LOOP until all 'solve topic' is solved.
- Trace-recursive all 'solve topic'.
- Add all new found in Trace-recursive to 'solve topic'.
- Create an optimal solution for all 'solve topic'.
- Create optimal procedures for the created solution.
- TRY to apply the solution by using the solution procedures.
- IF not all 'solve topic' was solved, and the option {Use butterfly} was given, DO:
- TRY to apply the solution by using the solution procedures and by using the butterfly-method.
- IF-END
- TRY to identify the success of the solution and the procedures.
- Store all successful parts of the solution and the procedures in the 'Defend' DATABASE.
- LOOP-END
- LOOP until all 'solve topic' is solved.
- THREAD-END
- THREAD <6> Try to solve malfunctions (93%)
- IF option {Use solver} was not given, DO:
- THREAD-STOP <6>.
- IF-END
- SUBMACRO-START 'SolveMalfunctions' {Use butterfly}
- IF option {Use solver} was not given, DO:
- THREAD-END
- THREAD <7> Close all interfaces/doors (96%)
- Scan and scan-off-grid all 'juridical person' of <person(s)> and the belonging 'ambient'.
- TRY to identify all 'interfaces' in 'juridical person' and it's related 'ambient'.
- TRY to close all found 'interfaces' and allow only what has permission from <person(s)>.
- MONITOR all found 'interfaces'.
- IF any use of an interface occur, which has no permission from <person(s)>, DO:
- TRY to trace any 'use of interfaces', which has no permission from <person(s)>.
- TRY to identify all 'origins' and all 'use and users' of all 'use of interfaces' found by trace in the 'juridical person' and it's related 'ambient'.
- TRY to trace all found 'origins' and all 'use and users'.
- Declare all found in trace as 'attack'.
- IF-END
- IF any use of an interface occur, which has no permission from <person(s)>, DO:
- MONITOR-END
- LOOP <T:5seconds>
- TRY to close all found 'interfaces' and allow only what has permission from <person(s)>.
- LOOP-END
- THREAD-END
- THREAD <8> Care about manipulations (93%)
- Scan 'juridical person' and it's related 'ambient'.
- TRY to identify all 'what got modified' in 'juridical person' of <person(s)>.
- TRY to trace all found 'what got modified'.
- TRY to identify all 'manipulations' in all found with trace.
- Store all found with trace in the 'Defend' DATABASE.
- Create an optimal solution for all found 'manipulations'.
- 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
- TRY to identify the success of the solution and procedures.
- Store all successful parts of the solution and the procedures in the 'Defend' DATABASE.
- THREAD-END
Topics 13(13)