Thread: Box System
View Single Post
Lopol2010
Junior Member
Join Date: Aug 2015
Location: Russia
Old 09-24-2021 , 13:28   Re: Box System
Reply With Quote #33

Everyone who use this great plugin for start and finish zones must know this!

1. Since box_stop_touch is called during 100ms after you actually leave the box, it may introduce undefined behaviour when used in conjuction with other plugins.
Example:
Quote:
In SpeedrunMod by Mistrick. You can leave start zone without starting timer. Which can lead to finish map with unfair time. Steps to reproduce: open /save menu, issue +strafe in console, using mouse slowly move towards exit of start zone and at the same time clicking 'Save start point' in menu, if timer is started then say /start and keep repeating until you exit with no timer.
2. FPS matters a lot. You can easily test this on straight maps such as timecheck_long_v2. Try to do 2k run multiple times on 100+ fps and then do the same on 20fps. You'll see that 20fps let you save 50ms!

I have fixed both (i guess)
Lopol2010 is offline