 |  | | | | | 
05-20-2008
|  | Administrator | | Join Date: Aug 19th, 01 Location: Planet Earth
Posts: 2,717
Name: Spamminator Hours: 474 Last played: November 15, 2008, 6:18 PM | | Experimental Server Changes. Hi everyone,
I am about to put an experimental change onto the server, this change will affect the high priority slots (donator slots) on the server.
Right now, the current slot system I implemented on the server has a few problems.
1. It requires a 'fake' slot on the server that reduces our max players by 1.
2. When multiple donators try to connect at the same time they still get a server is full message.
3. Players who take a long time for their ID to authenticate tie up the "free" slot preventing donators from connecting.
The advantage of this system, is that donators receive their donator slots immediate when donating, because the server has time to query the sql database when their ID authenticates.
However, I want to fix the first 3 problems.
I have implemented a method of detecting steamids immediatly upon connection, and I can reject the connection, or kick someone and allow the connection, this has a few advantages.
1. Donators able to get on when the server is truely 30/30
2. The ability to run a 32 player server and still have donators able to connect.
3. Banned players not being able to spam connections to the server.
This has one downside.
The server must change maps after a player donates for the first time for his slot to work, but this can be resolved.
This will be on the servers within an hour of this post. | 
05-20-2008
|  | Community Regular | | Join Date: Nov 29th, 07
Posts: 1,077
Name: |TV| Σvilpeяsoи -V- Hours: 275 Last played: October 10, 2008, 8:40 PM | | Re: Experimental Server Changes. sweetcakes, sounds like an extremely small price to pay for some well done benefits.
__________________ |ғλстіои| RavinReverend [PFK]: like trying to give a woman an orgasm by eating her hair | 
05-20-2008
|  | Server Subscriber | | Join Date: Apr 24th, 08 Location: Charleston, SC
Posts: 357
Name: |TV| Groo -V- Hours: 561 Last played: October 30, 2008, 1:45 PM | | Re: Experimental Server Changes. If I understand this correctly, I should get in first try unless the server is full of ALL donators. No auto-connect or console connect commands will be necessary.
That about right? | 
05-20-2008
|  | Super Moderator | | Join Date: Feb 11th, 03 Location: Vancouver, Canada
Posts: 3,037
Name: Chronopolis -V- Hours: 621 Last played: November 17, 2008, 1:57 PM | | Re: Experimental Server Changes. Thanks for the changes. It all sounds good.
__________________ | 
05-20-2008
|  | Server Admin | | Join Date: Mar 15th, 03 Location: Moooooooonsiiiiiiiiiideeee
Posts: 1,215
Name: TheGuy -V- Hours: 200 Last played: October 17, 2008, 7:28 AM | | Re: Experimental Server Changes. No, due to the way steam works you'll still have to use the console to connect. But this way the server will know as you connect vs the old way which is when you authenticate.
__________________ | 
05-20-2008
| | Server Subscriber | | Join Date: Jan 17th, 08
Posts: 388
Name: Drayth -V- Hours: 538 Last played: October 24, 2008, 3:59 PM | | Re: Experimental Server Changes. The only "Downside" isn't much of a downside at all...games don't last all that long anyways lol | 
05-20-2008
|  | Administrator | | Join Date: Aug 19th, 01 Location: Planet Earth
Posts: 2,717
Name: Spamminator Hours: 474 Last played: November 15, 2008, 6:18 PM | | Re: Experimental Server Changes. This also gives us the ability to go to 32 players and still have slots working.
But I have to get rid of the sourcetv bot. | 
05-20-2008
|  | Server Subscriber | | Join Date: Apr 24th, 08 Location: Charleston, SC
Posts: 357
Name: |TV| Groo -V- Hours: 561 Last played: October 30, 2008, 1:45 PM | | Re: Experimental Server Changes. Quote:
Originally Posted by TheGuy No, due to the way steam works you'll still have to use the console to connect. But this way the server will know as you connect vs the old way which is when you authenticate. |
Good to know, thanks for the info. I can see the usefulness in this method. I deal with this stuff on firewalls all day long, wasn't sure what the application/server differences were vs the steam relationships.
So console it shall remain - for now... There's always hope that the Steam developers will make some changes to allow more server friendly methods. Certs, cookies, tokens...
This hurts my brain when I'm not at work so I'm just going to stop rambling now and go play... later  | 
05-20-2008
|  | Server Subscriber | | Join Date: Feb 18th, 08 Location: Huntington Beach, CA
Posts: 315
Name: Baskanavitch -V- Hours: 335 Last played: November 20, 2008, 1:09 AM | | Re: Experimental Server Changes. Quote:
Originally Posted by voogru But I have to get rid of the sourcetv bot. | Awwww, does that mean no more cheater videos?
Other than that, good jorb voogru. As Drayth said, the downside doesn't seem to be much of a downside. | 
05-20-2008
|  | Administrator | | Join Date: Aug 19th, 01 Location: Planet Earth
Posts: 2,717
Name: Spamminator Hours: 474 Last played: November 15, 2008, 6:18 PM | | Re: Experimental Server Changes. Quote:
Originally Posted by Baskanavitch Awwww, does that mean no more cheater videos?
Other than that, good jorb voogru. As Drayth said, the downside doesn't seem to be much of a downside. | Only if I want to go to 32 players. | 
05-21-2008
|  | Community Regular | | Join Date: Feb 5th, 08 Location: GA
Posts: 245
Name: beatniki Hours: 646 Last played: November 14, 2008, 1:52 AM | | Re: Experimental Server Changes. No more bot vids tho? Of speed hackers going "omg. that person hacks more than i do!!!"
Small price to pay I guess. | 
05-21-2008
| | Server Subscriber | | Join Date: Jan 17th, 08
Posts: 388
Name: Drayth -V- Hours: 538 Last played: October 24, 2008, 3:59 PM | | Re: Experimental Server Changes. Those vids're awesome and we're used to 30 anyways...I think their entertainment outweighs the slot  Speaking of which, got any new ones to show us Voogy?  | 
05-22-2008
|  | Administrator | | Join Date: Aug 19th, 01 Location: Planet Earth
Posts: 2,717
Name: Spamminator Hours: 474 Last played: November 15, 2008, 6:18 PM | | Re: Experimental Server Changes. Quote:
Originally Posted by beatnik No more bot vids tho? Of speed hackers going "omg. that person hacks more than i do!!!"
Small price to pay I guess. | Seems a lot of people are confused about this so I'll sort it out.
In order to record videos, I need a SourceTV bot. The server forcefully doesn't report this bot outside the game to prevent our servers from showing up with bots.
Nonetheless, the bot for the past few months has _always_ been on the server.
In order to allow 30 players, the server slots were increased to 31.
Essentially, this would allow 30 people to connect to the server, the server would be at 31 slots when it was full.
The problem however, was in order for donator slots to work, I had to have an invisible slot that could never be permanently occupied, so the server became a 32 player server. One slot for SourceTV, the other one so the server could accept connections from potential donators, if a donator tried to connect when another player was being authenticated, he'd be denied connecting because the server would actually be full (and can't accept new connections)
This change removed that requirement, I don't need to hold an empty slot open anymore for donators, the server was still set to 32 maxplayers (intentially) to see if I could still accept connections from donators when the server was really full. It worked, so I set the server down 1 slot to 31 slots. The extra slot is now just for the SourceTV, and 30 player slots for everyone else.
The 24 server server was also changed from 26 slots to 25 slots.
The only weakness is that occasionally someone has a bad steamid, when they do, I outright reject the connection, where as they would have likely been able to authenticate. When I logged all of these bad steamids, it was about 120 ID's out of 26,000. So it's rare.
I've also modified this so that bans are also handled through here as well (and where they were handled previously as well to prevent manipulation of the system). | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:25 PM. | | | | | |  |