PDA

View Full Version : server load metamod-question


Monkwarrior
10-24-2005, 14:03
Gentlemen,

I have an idea about a mmS-plugin, but before I try to code it I could use your advice about the serverload it could create.

What I want to do is get the geografical position of all 28 players on the server every 3 seconds and save these position in memory for further use. I am not sure if something like this will overload the HL2-server or not. Of course I will try to do some extra calculations based on these positions but that's about it.

Will this work or will it be causing too much lag / server-overload ?

Can this be hooked into the engine ?

Thanks for your time, Monk :)

L. Duke
10-24-2005, 15:21
Why would you get this position every 3 seconds instead of just when they connect?

Monkwarrior
10-24-2005, 15:30
Well let me explain some further.
There is a mod named Battle Grounds, it's all about line-formations (standing in a line and firing).
So I need to find out where everybody is on a regular basis. If I know where they are I can grant them a special status named "Line-formation-mode". It will give them better accuracy etc. etc.

So that's why I want to know where they are and especially who's in their neighbourhood.

Can this be done without too much server-load ?

Monk.