You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Unreal Admins > Unreal Tournament 2003/2004 > UT2003/4 Server - General Chat

Reply
Thread Tools Display Modes
  #1  
Unread 15th March, 2004, 11:53 PM
handgrenade handgrenade is offline
Forum Newcomer
 
Join Date: Mar 2004
Posts: 4
Default

Hey all,

Is it possible to reserver only a few player slots in UT2003/4? I would like to be able to have a 26 player server with 4 reserved slots that require a password. I've looked carefully through the UT2004.ini and this forum, but I cant find any guides for this. Is it possible?

Thanks again.

HG
Reply With Quote
  #2  
Unread 16th March, 2004, 10:10 AM
Bry's Avatar
Bry Bry is offline
Super Moderator
 
Join Date: Aug 2002
Location: Uk
Posts: 395
Default

Nope its not possible
__________________
Reply With Quote
  #3  
Unread 16th March, 2004, 11:33 AM
handgrenade handgrenade is offline
Forum Newcomer
 
Join Date: Mar 2004
Posts: 4
Default

:angry: well, that seems surprisingly 'budget' from a game that is ptherwise extremely well done. Are there any mods or hacks that allow this? Any way around this limitation?

I ask because my clan would like me to run the game (we have 100 active members), but I need to have some spacve held for them or they arent going to be able to get in (I will run Onslaught on a dual-xeon so its probably going to be packed).

HG
Reply With Quote
  #4  
Unread 16th March, 2004, 12:34 PM
Bry's Avatar
Bry Bry is offline
Super Moderator
 
Join Date: Aug 2002
Location: Uk
Posts: 395
Default

Nope unfortunately it has never been included by EPIC. Remember not even valve (cs team) have included it in cs but it was added my adminmod/amxmod. Unfortunately, there has never been a reserved slot/private slot system made for any of the Unreal based games
__________________
Reply With Quote
  #5  
Unread 19th March, 2004, 01:16 PM
Cirr Cirr is offline
Killing Spree
 
Join Date: Mar 2004
Location: Germany
Posts: 37
Default

Hi,

I've written a small extension to UT2004 which adds 'reserved slots' functionality, but I didn't have much chance testing it very thoroughly yet. If you or someone else would like to try it:
http://x0z.de/reservedslots.zip
A readme.txt explaining installation and configuration is included. If you have any trouble getting it to run or if you find a bug, please tell me about it.
Reply With Quote
  #6  
Unread 19th March, 2004, 02:17 PM
Bry's Avatar
Bry Bry is offline
Super Moderator
 
Join Date: Aug 2002
Location: Uk
Posts: 395
Default

sounds good if only i had my copy so i could test it
__________________
Reply With Quote
  #7  
Unread 19th March, 2004, 03:37 PM
beren beren is offline
Killing Spree
 
Join Date: Feb 2004
Posts: 23
Default

OMFG! I was just going to do this when I got home tonight! You rock!

Ok, so my enthusiasm for writing my own extension was going to be tempered by my utter lack of knowledge about the Unreal Engine and it's editors, but I am a perl/web developer that has written several authen/authz schemes and was hoping I could pick it up.

Is this module/extension viewable in the Unreal Editor so I can see how/what you did?

I'm SFP! (So Fucking Pumped!)

Beren
Reply With Quote
  #8  
Unread 19th March, 2004, 04:31 PM
Cirr Cirr is offline
Killing Spree
 
Join Date: Mar 2004
Location: Germany
Posts: 37
Default

You can see the class by adding
[code:1:1a97aab529]EditPackages=ReservedSlots[/code:1:1a97aab529]
to the section [Editor.EditorEngine] in your UT2004.ini.
Then you can find it in the Unreal Editor under Object->Actor->Info->AccessControl->ReservedSlots.
I didn't comment it, but it's rather short (just over one screen) and self-explanatory, so you should have no trouble understanding it.
Reply With Quote
  #9  
Unread 19th March, 2004, 04:36 PM
beren beren is offline
Killing Spree
 
Join Date: Feb 2004
Posts: 23
Default

If I were a Metro or Homo Sexual, I would kiss you. But I'm not, so how bout a hearty "You R0XX0rs!" and I'll buy you a beer (or other Adult Beverage of your choice), providing you are 21 the next time you are in Louisville, KY.
Reply With Quote
  #10  
Unread 19th March, 2004, 06:20 PM
Fatty Fatty is offline
Killing Spree
 
Join Date: Mar 2004
Posts: 37
Default

Please post back if it works.
__________________
Fatty
www.gamerscoalition.com
UT2k4 66.225.196.62:27015 MOBOCRACY
CS 66.225.196.211:27015 TROPOLIS II
CoD 66.208.101.200:28960 RfR
www.fragfestohio.com
Reply With Quote
  #11  
Unread 19th March, 2004, 06:39 PM
beren beren is offline
Killing Spree
 
Join Date: Feb 2004
Posts: 23
Default

I'm not off work for another hour and a half, and then I've got 2 sick kids at home to take care of. I guarantee I'll try it this weekend, though!
Reply With Quote
  #12  
Unread 19th March, 2004, 06:44 PM
Cirr Cirr is offline
Killing Spree
 
Join Date: Mar 2004
Location: Germany
Posts: 37
Default

Ok, sorry about that. The first version probably didn't work for anybody except me.
I needed to change the way it works; now it kicks a in at e.g. 18/20 when you set MaxPlayers to 20 and NumSlots to 2, instead of the previous 20/20 up to 22/20.
The new version can be found at:
http://x0z.de/ReservedSlots101.zip

It's not enough to simply overwrite the old file. Please read the readme.txt.
Reply With Quote
  #13  
Unread 19th March, 2004, 06:55 PM
beren beren is offline
Killing Spree
 
Join Date: Feb 2004
Posts: 23
Default

Not complaining, but the behaviour that you fixed is how I would have expected it to work. If I advertise a 20 player server, I would want 20 public players on it. If I have 4 reserved slots, I would want it to kick in at 20, not 16.

Caveat: I am coming from a RTCW:ET background, where it is common to see servers with 23/20 listed as the server population. I'll work on making it a configurable option if you don't want to.

I just know that with 8 reserved slots (the people in my clan who shell out the $$), we'd have to advertise a 24 player server, and then have people complain when it filled up at 16, rather than advertise a 16 player server, and have the reserved folk connect on top of that.

Either way, it beats not having it at all!
Reply With Quote
  #14  
Unread 19th March, 2004, 07:03 PM
Cirr Cirr is offline
Killing Spree
 
Join Date: Mar 2004
Location: Germany
Posts: 37
Default

The problem with this is the following:
When the client sees that the server is full, it seems as if it doesn't even try to connect anymore, so the server has no chance of saying "Wait, give me the password and I will still let you in."
I must have made some mistake when testing it before; it seemed that the client asked the server regardless of it being full. Unfortunately, this actually doesn't seem to be the case.
From what I've seen now, it looks like the client would also need to be modified to work the way you described it (and which I would favor).

I've also been fooled by some error-messages which the server is allowed to send, one of them being SERVERFULL. The only possibility that it sends this message though, is when the client thinks the server isn't full yet (because of update-delay) and tries to connect anyway.
Reply With Quote
  #15  
Unread 19th March, 2004, 07:10 PM
beren beren is offline
Killing Spree
 
Join Date: Feb 2004
Posts: 23
Default

Well, then, regardless of my preferences, I vote it gets implemented in such a way that it works.

(By client modified, do you mean that there would be a client download for those clients who wish to join a reserved slot?)
Reply With Quote
  #16  
Unread 19th March, 2004, 07:22 PM
Cirr Cirr is offline
Killing Spree
 
Join Date: Mar 2004
Location: Germany
Posts: 37
Default

I'm really confused now. Now it seems to be the other way 'round again. Sorry for wasting the time of the people who already downloaded and tried it. I'll completely rewrite it and post a (hopefully) working version tomorrow.
Reply With Quote
  #17  
Unread 19th March, 2004, 07:43 PM
beren beren is offline
Killing Spree
 
Join Date: Feb 2004
Posts: 23
Default

Hey, don't rush it. I'm willing to wait (and so are the rest of my lame ass bunch of gamers) for a solid release. I'll hit the forums a couple times this weekend in between looking around at the code.

Beren
Reply With Quote
  #18  
Unread 19th March, 2004, 11:25 PM
Cirr Cirr is offline
Killing Spree
 
Join Date: Mar 2004
Location: Germany
Posts: 37
Default

Ok, this time everything should work as expected (and most importantly: for everyone).
I'm now using a hybrid solution: The server gets full as usual, e.g. up to 20/20. From then on, when correctly authenticated people (password or PlayerID) log in, MaxPlayers gets increased just as they login, so it will be 21/21, 22/22... When a player disconnects, MaxPlayers gets decreased again, until it hits the original value: 22/22, 21/21, 20/20 19/20...
Get it here:
http://x0z.de/ReservedSlots103.zip

This time I've also included a class for people who use AccessControlIni.
Reply With Quote
  #19  
Unread 20th March, 2004, 12:08 AM
xdragosanix xdragosanix is offline
Forum Newcomer
 
Join Date: Mar 2004
Posts: 2
Default

First off, great mod. I just set up a new server, and this was one of the first things I was looking for. I have just one question for you.

Is there a way to take a private slot before the server is full? For instance, if the server has a max of 20 people, and I join at 15, do I take a private slot or a public slot.
Reply With Quote
  #20  
Unread 20th March, 2004, 12:49 AM
DeaD DeaD is offline
Forum Newcomer
 
Join Date: Mar 2004
Posts: 2
Default

Awsome dude.. i am going to test it out.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:43 PM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.