Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-09-22 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
September 21, 2012, 09:43:03 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [Extension] ServerTools  (Read 100 times)
Revan
Sr. Member
****
Posts: 263



View Profile
« on: June 02, 2012, 12:21:04 PM »

ServerTools

I've just throwed something together for El Diablo and thought this is probably intresting/usefull for others too
This is similar to the Oil MetaMod:Source Plugin by L.Duke or its SourceMod port

It gets the IServer pointer from SDKTools and hooks it's GetMaxClients function so the returnvalue can be changed easily(via cvar)
btw. there are also new natives(servertools.inc) that comes with this extension
source, binary & changelog

cvars:
Quote
sm_fakeslots - amount of reported slots


EDIT:
If you wan't this to be autoloaded on SM load put the attached file into your addons/sourcemod/extension folder
lol or just create a empty file called "servertools.autoload" in that directory

btw. didn't tested this
« Last Edit: June 02, 2012, 01:17:22 PM by Revan » Logged

-El Diablo
Full Member
***
Posts: 175


View Profile
« Reply #1 on: June 02, 2012, 12:36:42 PM »

So it might be possible to use this to report 24 players when you actually have 32 or 64?

I would love to run a 64 player TF2 server if possible, I know I'd have to find big enough maps to support it or have somone make a huge map for me, but as of right now I'm not yet popular enough for it to be reasonable.

I do have funds, and the ability to do this 64 player server... and would be really nice to try sometime.  As of right now, i'll probably bump it up to 32 slot player.  Soon, I want to support 64 players, but I'll have to get myself a dedicated server where I can control all the files remotely.  Gameservers.com doesn't support more than 32, and won't give me a 100 tickrate for 32 Sad

When I have modded war3source enough to create a "good vs evil" type of server, and it gets really popular, I'll rent a fully dedicated server that will allow me unlimited control over it remotely.  As of right now, im just renting slots.



« Last Edit: June 02, 2012, 12:46:57 PM by -El Diablo » Logged
Revan
Sr. Member
****
Posts: 263



View Profile
« Reply #2 on: June 02, 2012, 12:40:00 PM »

So it might be possible to use this to report 24 players when you actually have 32 or 64?
Yes, I've didn't tested this but this is similar to Tsunami's "Oil" SourceMod extension, and that's a port of a MM:Source Plugin which was called Oil and was used to increase the amount of reportet slots the server shows(it was created for reserved slot plugins)
Logged

-El Diablo
Full Member
***
Posts: 175


View Profile
« Reply #3 on: June 02, 2012, 12:54:02 PM »

So it might be possible to use this to report 24 players when you actually have 32 or 64?
Yes, I've didn't tested this but this is similar to Tsunami's "Oil" SourceMod extension, and that's a port of a MM:Source Plugin which was called Oil and was used to increase the amount of reportet slots the server shows(it was created for reserved slot plugins)

Sweet!
Logged
Revan
Sr. Member
****
Posts: 263



View Profile
« Reply #4 on: June 02, 2012, 01:11:11 PM »

Don't except to much, idk if this works but if not: report it to me and I'll try to fix it if it's possible and not restricted due to some valve employees
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!