Jump to content


Photo
- - - - -
Declined

TF2Center Autohost Plugin



  • Please log in to reply
10 replies to this topic

#1 yttrium

yttrium

    Newbie

  • Users
  • Pip
  • 8 posts

Steam Profile

Posted 26 September 2014 - 01:47 AM

Hey, I'd like to request or suggest that someone develop a plugin so that TF2 servers with it installed can automatically host new games after a set period of time passes from their last game concluding.

 

For instance, I have a server that has four powerful cores that I would happily like to donate to the TF2Center community, and have it running four separate server instances 24/7, having it automatically host new lobbies once previous ones close. It would be optimal if the plugin could check to see what kinds of lobbies are open and determine what to host from that; for example, it should host HL (configurable) if there are mostly 6s lobbies open, and it shouldn't host duplicates of the same map. Slot requirements should also be configurable.

 

I'm not overestimating the power of my hardware and setup here - this dedicated server has already hosted multiple TF2Center lobbies at once before. The hardware can handle it and the network can handle it. It's just a shame to have to host these manually.

 

I recognize that this could be taken advantage of - people would be able to spam really terrible servers and clog up the list with something like this. Perhaps the plugin should require an API key and those keys should only be given to trusted members of the community? Not sure, you guys can figure that one out.



#2 VoidWhisperer

VoidWhisperer

    Void

  • Users
  • PipPipPip
  • 683 posts

Steam Profile

Posted 26 September 2014 - 10:36 AM

You could just contact Arie and donate the servers to serveme.tf, which would serve virtually the same purpose.



#3 yttrium

yttrium

    Newbie

  • Users
  • Pip
  • 8 posts

Steam Profile

Posted 26 September 2014 - 12:18 PM

You could just contact Arie and donate the servers to serveme.tf, which would serve virtually the same purpose.

 

I would rather have direct control over the servers than do that. Plus, I want TF2Center to be the only use of these servers, I don't want random people reserving them for private tr_walkway matches for hours at a time (yes I have actually seen that happen).


Edited by yttrium, 26 September 2014 - 12:26 PM.


#4 slayer

slayer

    Advanced Member

  • Members
  • PipPipPip
  • 136 posts

Posted 26 September 2014 - 10:50 PM

 

You could just contact Arie and donate the servers to serveme.tf, which would serve virtually the same purpose.

 

I would rather have direct control over the servers than do that. Plus, I want TF2Center to be the only use of these servers, I don't want random people reserving them for private tr_walkway matches for hours at a time (yes I have actually seen that happen).

 

 

One other thing I guess you could do would be to give admin access to a handful of trusted people in the community that host a fair amount of decent lobbies.  An automated type script thing would probably take a lot of work to implement, so this might be the next best thing to do.  I've hosted probably around a hundred lobbies so far, and would be happy to have access to another server.  But obviously I understand you probably don't know me nor most of the other random people that host a fair amount of lobbies.  :P



#5 yttrium

yttrium

    Newbie

  • Users
  • Pip
  • 8 posts

Steam Profile

Posted 26 September 2014 - 11:00 PM

An automated type script thing would probably take a lot of work to implement

 

Not really, and that's why I'm suggesting this. All it has to do is wait until 2 minutes have passed from the end of a match (configurable), and then determine what map to host that isn't being hosted from a list that it picks at random that isn't the last one it played, and then it just has to start a new lobby. It's not really that hard to do as long as TF2Center adds support for it (some form of API to dial into).



#6 slayer

slayer

    Advanced Member

  • Members
  • PipPipPip
  • 136 posts

Posted 27 September 2014 - 01:21 AM

 

An automated type script thing would probably take a lot of work to implement

 

Not really, and that's why I'm suggesting this. All it has to do is wait until 2 minutes have passed from the end of a match (configurable), and then determine what map to host that isn't being hosted from a list that it picks at random that isn't the last one it played, and then it just has to start a new lobby. It's not really that hard to do as long as TF2Center adds support for it (some form of API to dial into).

 

 

While I do like your idea, I do know that the admins/devs of TF2C already have a long to do list of upgrades/bug fixes/new features to implement etc.  I know I have suggested much more simple features which have been approved but are still on the "to do list."  I suppose an admin/dev will have to chime in and say if its something thats do-able and if they'll give priority to it.  If not, I don't see it happening anytime soon.



#7 yttrium

yttrium

    Newbie

  • Users
  • Pip
  • 8 posts

Steam Profile

Posted 27 September 2014 - 01:43 AM

An automated type script thing would probably take a lot of work to implementWhile I do like your idea, I do know that the admins/devs of TF2C already have a long to do list of upgrades/bug fixes/new features to implement etc.  I know I have suggested much more simple features which have been approved but are still on the "to do list."  I suppose an admin/dev will have to chime in and say if its something thats do-able and if they'll give priority to it.  If not, I don't see it happening anytime soon.

 

If someone were to give access to that sort of API, I could look into writing a SourceMod plugin. I'm sure it wouldn't be hard.


Edited by yttrium, 27 September 2014 - 01:44 AM.


#8 MasterNoob

MasterNoob

    Founder

  • Users
  • PipPipPipPipPip
  • 3757 posts

Steam Profile

Posted 29 September 2014 - 08:51 AM

I appreciate your gesture, but servers is not our problem right now: time is. We have a pretty ambitious schema, which includes finalizing our final release and after that Advanced Lobbies, and this is just not something we would like to do short term.



#9 ProfessorCake

ProfessorCake

    Advanced Member

  • Users
  • PipPipPip
  • 58 posts
  • LocationPixels

Posted 10 October 2014 - 02:10 PM

So there are times when there are no lobbies anywhere, and not everyone has a server to make one.

Thought maybe there could be an automated TF2Center lobby creation by a Bot? Random maps each time, and Mumble required. 

Bot for EU, NA, Ect. I'd really enjoy that.


Yes mom, I'm thou Heavy main.


#10 TheMattgician

TheMattgician

    Supreme Poster Overlord

  • Members
  • PipPipPipPipPip
  • 1210 posts

Posted 12 October 2014 - 03:51 AM

I believe Advanced Lobbies will be using this.



#11 ProfessorCake

ProfessorCake

    Advanced Member

  • Users
  • PipPipPip
  • 58 posts
  • LocationPixels

Posted 12 October 2014 - 07:54 PM

Great! :D


Yes mom, I'm thou Heavy main.






Also tagged with one or more of these keywords: Declined