-
Notifications
You must be signed in to change notification settings - Fork 7
Add LBH with Anti-Grief, consider replacement of old method. #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Removed code that was used in the Directional version which now serves no function in slim
The anti-grief shown works against both large AND recursive damage sources without filling up the list with each individual hit. This is, obviously, slower and will more likely drops hits during high latency BUT it should be very rare if not virtually impossible for it to stack-heap under stressful conditions. However since damage is still updated at the time of impact and instead of waiting on the timer event, it should overall perform better in a majority of situations.
…onal Armor v1.2.5.lsl
The intent is to grab the source's location with llDetectedPos during the collision event and using that as a reference. If no such reference exists, the system will just default to the current method. The goal is to clamp how the list is generated so it doesn't cause the system to stack-heap when exposed to many damage sources at a time. The eldest entries in the list will be dropped once it fills.
Now calculates and stores the modifier instead of the position. Removed a bunch of commands and otherwise unused code.
|
As per Criss' report in Discord it appears that Damage Messages from things that don't collide with the Armored object are blocked. For Example I'll try to Lint the code in a bit, but when it was initially reported I thought it was an issue with the merged 1.2.3. So I logged in to verify. |
|
I'll do a bit more testing on your fork on Saturday, and probably Merge on Monday. I don't really see any issues, and I agree it might be time to consider reworking the existing Anti-Grief system in the core LBA. |
|
I'm gonna be testing this over the weekend. If you're satisfied that it's stable, I'll merge after testing. |
Top and Bottom thresholds have been separated for more versatile configurations.
|
Are you ready for me to test this this week or do you think you're gonna make a ton more commits? Sorry it took me so long to get around to it dude. |
- Adjusted detection for some LBA sources rezzed by a non-attached object
…al Armor v1.4.1.lsl
…ectional Armor v1.4.1.lsl
…irectional Armor v1.4.2.lsl
…onal Armor v1.4.2.lsl
The anti-grief shown works against both large AND recursive damage sources without filling up the list with each individual hit. This is, obviously, slower and will more likely drops hits during high latency than the slim or directional variants BUT it should be very rare if not virtually impossible for it to stack-heap under stressful conditions. However since damage is still updated at the time of impact and instead of waiting on the timer event, it should overall perform better in a majority of situations.