Raised This Month: $12 Target: $400
 3% 

server load metamod-question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Monkwarrior
Junior Member
Join Date: Oct 2005
Location: Holland
Old 10-24-2005 , 14:03   server load metamod-question
Reply With Quote #1

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
Monkwarrior is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 10-24-2005 , 15:21  
Reply With Quote #2

Why would you get this position every 3 seconds instead of just when they connect?
__________________
"Good grammar is essential, Robin."
- Batman
L. Duke is offline
Monkwarrior
Junior Member
Join Date: Oct 2005
Location: Holland
Old 10-24-2005 , 15:30  
Reply With Quote #3

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.
Monkwarrior is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode