07-11-2016, 07:32 PM
I'm not 100 percent sure how T2A accurate you want to get with the stealing system but something I've noticed here (and double-check tested with Veranis's help) is that perma-grey flagging is not working correctly with respect to T2A mechanics.
Given two players [i]nnocent and [t]hief, if [t] steals from [i] a few correct things happen:
1) [t] becomes "perma-grey" to everyone. Anyone can freely perform any actions on [t] without fear of criminal flagging or guards. This effect persists until [t] dies. [t] can appear innocent (blue) or criminal (grey) but is always treated as criminal until death.
2) A check is made based on the weight of the item and the number of spectators to see if anyone actually noticed [t] steal. If someone did, [t] not only becomes perma-grey (as in 1) but also is flagged criminal (grey) to everyone for the normal 120 second period.
The missing piece to the correct-ness puzzle, however, is what happens when [i] attacks [t].
Currently if [i] attacks [t], [i] becomes flagged as an aggressor to [t], meaning that [t] can now fight back against, steal from, or whatever to [i]. What should happen is that if [i] attacks [t] within 2 minutes of being perma-flagged, [i] should remain innocent toward [t]. If [t] were to fight back and kill [i] he should be able to be given a murder count. If [t] were to steal from [i] or attack [i] in town he should be able to have the guards called on him.
A very important piece of this mechanic is that an aggressor to [t] while he is within the 2 minute timer of the start of his perma-flag should not be able to trigger [t]'s auto-attack/auto-defend. This prevents players who are stolen from, from chasing the thief, getting the thief to do 1 damage of auto-defense, killing themselves, then reporting the thief for murder thereby suspending him from the thieves guild.
I hope all this makes sense, lemme know if you have questions or if there is information I need to provide to help make this happen.
Given two players [i]nnocent and [t]hief, if [t] steals from [i] a few correct things happen:
1) [t] becomes "perma-grey" to everyone. Anyone can freely perform any actions on [t] without fear of criminal flagging or guards. This effect persists until [t] dies. [t] can appear innocent (blue) or criminal (grey) but is always treated as criminal until death.
2) A check is made based on the weight of the item and the number of spectators to see if anyone actually noticed [t] steal. If someone did, [t] not only becomes perma-grey (as in 1) but also is flagged criminal (grey) to everyone for the normal 120 second period.
The missing piece to the correct-ness puzzle, however, is what happens when [i] attacks [t].
Currently if [i] attacks [t], [i] becomes flagged as an aggressor to [t], meaning that [t] can now fight back against, steal from, or whatever to [i]. What should happen is that if [i] attacks [t] within 2 minutes of being perma-flagged, [i] should remain innocent toward [t]. If [t] were to fight back and kill [i] he should be able to be given a murder count. If [t] were to steal from [i] or attack [i] in town he should be able to have the guards called on him.
A very important piece of this mechanic is that an aggressor to [t] while he is within the 2 minute timer of the start of his perma-flag should not be able to trigger [t]'s auto-attack/auto-defend. This prevents players who are stolen from, from chasing the thief, getting the thief to do 1 damage of auto-defense, killing themselves, then reporting the thief for murder thereby suspending him from the thieves guild.
I hope all this makes sense, lemme know if you have questions or if there is information I need to provide to help make this happen.