So, I'm a casual programmer currently running a Jump Server, been running source-mod servers for almost 3 years now. But only recently took it upon myself to make myself some plugins since not everything exists.
Currently running a few customized plugins, and we're getting some high CPU use. So going through them(slowly) to just try improve them.
As most would know an update was made to try stop Engies building places where they can't regularly (some time back) . (Checks with 'trigger_hurt' Which broke Engy jumping on about.. well every map. I made a very small and quick plugin
which essentially just removes trigger_hurt from maps.
Now, I'm not super familiar with the workings of sourcepawn, nor the source engine.
Few Questions to those willing to part some wisdom.. c:
1. Could removing trigger_hurt from maps cause problems? I've had this plugin running for over 2 months, and seems so far the answer to that is No.
2. Is "while((i = FindEntityByClassname(i,"trigger_hurt")) != -1)" The correct setup for a loop through all the trigger_hurt's? Seems most logical to me.
3. Would this remove it from server/client, both? Would i need to call this on every client that joins the server? (I've tried to test this with mixed results, I ended up making a 2 min timer to just keep removing them, Since not so many engy jumpers around)
Much thanks to anyone who can help, or point some fingers at documents on related topics.
Thanks again