Jump to content

Photo
- - - - -

Admin reserved slot


  • Please log in to reply
22 replies to this topic
Thread Starter
whisper
whisper

    Chief Warrant Officer

  • Members
  • 3478 posts

#1

Posted 24 June 2009 - 09:59

After a bit of server administration and running once into the issue, the lack of reserved slot for servers can really be hindering, if not worse when no admin can connect to a server having issues.

Reserved slot would be a good solution, but the changing nature of missions and number of slots available could lead to some problems.

I was thinking more to an always up "admin slot" for dedicated servers, requiring a special password set in configuration file, which would not give access to a player character slot, but only a camera spawned in the middle of the currently played map (or [0,0,0] if "middle of map" is too hard to code :) ), enabling a server admin to log in, chat with players and take appropriate actions if needed.

In an ideal world, one could even make a lil client application which would connect this way to a server, without having to launch the game itself, and give acces to the chat and inline commands
Whisper / Kalbuth / MrK
ex-OFrP member.
ArmA3 / Planetside 2, member of MercenaryS
Planetside / ET:QW / Tribes Ascend, member of Formido Clan

jipeto
jipeto

    Rookie

  • Members
  • 4 posts

#2

Posted 19 July 2009 - 10:39

hi,
My problem is the same as yours.
Have you found a way to add reserved slot to your server ?
thanks

llama_thumper
llama_thumper

    Private First Class

  • Members
  • 29 posts

#3

Posted 13 July 2010 - 17:33

would be interested in this. any solution?

Xeno
Xeno

    ACE Team Leader

  • Members
  • 1814 posts

#4

Posted 13 July 2010 - 17:40

What you could do is, add a special slot and kick the player who connected into this slot when he doesn't log in with the server password after some time, let's say 20 seconds, with some onscreen warnings.

There are ways to detect if a player has logged in as admin and there are ways to kick a player from the server with scripting.

Xeno
[SIZE=1][/SIZE]

SP33Dkt
SP33Dkt

    Lance Corporal

  • Members
  • 41 posts

#5

Posted 22 March 2012 - 19:48

What you could do is, add a special slot and kick the player who connected into this slot when he doesn't log in with the server password after some time, let's say 20 seconds, with some onscreen warnings.

There are ways to detect if a player has logged in as admin and there are ways to kick a player from the server with scripting.

Xeno


So how do you do this? :)
- Com. SP33D [1RTC]
1St Royal Tactical Commandos
www.The1RTC.com

[hud]dorph
[hud]dorph

    First Sergeant

  • Members
  • 813 posts

#6

Posted 23 March 2012 - 09:24

You can look at doomi mission as xeno put it in a long time ago, i dont have the skills to explain how its done, but at the start of the
i_client.sqf are the ability to reserve adminslot. Latest beta even have ability to reserve slots for clan-members related to their guid.
Play pc:
I7 4790K@4.6GHz
2 x Nvidia gtx780-SLI
Intel 160gb + 250gb ssd
16gb DDR3 2400MHz ram
win7 64
---------
Dedi Server: (91.100.101.163)
I7 4770K@4.3GHz
Intel 250gb ssd sata3
16gb DDR3 2100MHz ram
win7 64

dirty haz
dirty haz

    Master Sergeant

  • Members
  • 613 posts

#7

Posted 24 March 2012 - 07:47

// GVAR(reserved_slot) gives you the ability to add a reserved slot for admins
// if you don't log in when you've chosen the slot, you'll get kicked after ~20 once the intro ended
// default is no check, example: GVAR(reserved_slot) = "RESCUE";
GVAR(reserved_slot) = "";

Xeno already has provided a example, the names can be found by clicking on units in editor.

// GVAR(uid_reserved_slots) and GVAR(uids_for_reserved_slots) gives you the possibility to limit a slot
// you have to add the var names of the units to GVAR(uid_reserved_slots) and in GVAR(uids_for_reserved_slots) the UIDs of valid players
// GVAR(uid_reserved_slots) = ["alpha_1", "bravo_3"];
// GVAR(uids_for_reserved_slots) = ["1234567", "7654321"];
GVAR(uid_reserved_slots) = [];
GVAR(uids_for_reserved_slots) = [];

The above has a example done but the 1234567 will not work, put the guids of clan members in the quote marks. You can find out your guid in the bottom right in the profile screen. Note: You can not see other players so if you want to reserve for clan members then you will need to ask them theres.

Edited by Dirty Haz, 24 March 2012 - 07:55.


SP33Dkt
SP33Dkt

    Lance Corporal

  • Members
  • 41 posts

#8

Posted 01 April 2012 - 09:12

GVAR(reserved_slot) = "RESCUE";
GVAR(uid_reserved_slots) = ["alpha_1", "bravo_3"];
GVAR(uids_for_reserved_slots) = ["1234567", "7654321"];


So i put this/these in the Init.sqf?
- Com. SP33D [1RTC]
1St Royal Tactical Commandos
www.The1RTC.com

160thSOAR
160thSOAR

    Staff Sergeant

  • Members
  • 227 posts

#9

Posted 09 April 2012 - 21:08

This seems quite useful. I've been around the block, and I've been on some of the more-full servers where a rule breaker was able to create a lot of havoc thanks to the server being full.
Force is the best negotiator.

[hud]dorph
[hud]dorph

    First Sergeant

  • Members
  • 813 posts

#10

Posted 09 April 2012 - 23:06

Remote acess via BERCon/Battleye can always be used for kick, ban, you can even chat/warn players without being on the server :)
Play pc:
I7 4790K@4.6GHz
2 x Nvidia gtx780-SLI
Intel 160gb + 250gb ssd
16gb DDR3 2400MHz ram
win7 64
---------
Dedi Server: (91.100.101.163)
I7 4770K@4.3GHz
Intel 250gb ssd sata3
16gb DDR3 2100MHz ram
win7 64

Xeno
Xeno

    ACE Team Leader

  • Members
  • 1814 posts

#11

Posted 10 April 2012 - 07:33

Dorph;2132541']Remote acess via BERCon/Battleye can always be used for kick, ban, you can even chat/warn players without being on the server :)

Only if Battleye is running and somebody with access to it is available :P
There are many clans which don't give full access to every member.

Anyways, reserved slots should be part of the engine, then no scripted solutions or Battleye would be needed.

Xeno
[SIZE=1][/SIZE]

TriGGa
TriGGa

    Corporal

  • Members
  • 73 posts

#12

Posted 20 November 2012 - 03:34

GVAR(reserved_slot) = "RESCUE";
GVAR(uid_reserved_slots) = ["alpha_1", "bravo_3"];
GVAR(uids_for_reserved_slots) = ["1234567", "7654321"];

So i put this/these in the Init.sqf?


Is this how you use it?
Posted Image

SP33Dkt
SP33Dkt

    Lance Corporal

  • Members
  • 41 posts

#13

Posted 20 November 2012 - 07:05

GVAR(reserved_slot) = "RESCUE";
GVAR(uid_reserved_slots) = ["alpha_1", "bravo_3"];
GVAR(uids_for_reserved_slots) = ["1234567", "7654321"];



Is this how you use it?


Hey, nah not really. That was what got stated above but I have another way to prevent others to access the vehicles/planes instead, like I've done so my clan's Air Force crew can fly the combat fixed/rotary-wings, and only my army "ground" units can use the armors etc.

But it would be good to also get the reserved slots up because it is quite annoying that guests enters a slot even thought it says in the name/description for example:

"SP33D *RSERVED*"

So yup.
- Com. SP33D [1RTC]
1St Royal Tactical Commandos
www.The1RTC.com

TriGGa
TriGGa

    Corporal

  • Members
  • 73 posts

#14

Posted 23 November 2012 - 10:43

So are there any scripts to reserve a slot for a GUID with a specific character etc otherwise a non verified player would get kicked

In the unit.sqf?
Posted Image

TheGreatBenji
TheGreatBenji

    Private First Class

  • Members
  • 19 posts

#15

Posted 24 November 2012 - 16:12

You can just do as Xeno said, put in an admin slot.
Then have several warnings if people connect to it.

TriGGa
TriGGa

    Corporal

  • Members
  • 73 posts

#16

Posted 02 December 2012 - 13:04

You can just do as Xeno said, put in an admin slot.
Then have several warnings if people connect to it.


And that's done how? I want to create slots for clan members only that detects their GUID and it the GUID doesn't match the user gets kicked after a warning message is displayed.
Posted Image

TriGGa
TriGGa

    Corporal

  • Members
  • 73 posts

#17

Posted 05 December 2012 - 14:28

is there a command i can simply put into the players init box?

You can just do as Xeno said, put in an admin slot.
Then have several warnings if people connect to it.


where can i find the code for this in the domination mission?
Posted Image

[hud]dorph
[hud]dorph

    First Sergeant

  • Members
  • 813 posts

#18

Posted 06 December 2012 - 08:37

At top of i_client.sqf
Play pc:
I7 4790K@4.6GHz
2 x Nvidia gtx780-SLI
Intel 160gb + 250gb ssd
16gb DDR3 2400MHz ram
win7 64
---------
Dedi Server: (91.100.101.163)
I7 4770K@4.3GHz
Intel 250gb ssd sata3
16gb DDR3 2100MHz ram
win7 64

TriGGa
TriGGa

    Corporal

  • Members
  • 73 posts

#19

Posted 08 December 2012 - 07:41

Cant get it working!!!

Im using

GVAR(reserved_slot) = "indep1";

and put it in the init.sqf file inthe main directory

the soldiers name is "indep1"

I get - error missing ;

---------- Post added at 06:41 PM ---------- Previous post was at 06:35 PM ----------

[/COLOR]

Hey, nah not really. That was what got stated above but I have another way to prevent others to access the vehicles/planes instead, like I've done so my clan's Air Force crew can fly the combat fixed/rotary-wings, and only my army "ground" units can use the armors etc.

But it would be good to also get the reserved slots up because it is quite annoying that guests enters a slot even thought it says in the name/description for example:

"SP33D *RSERVED*"

So yup.


Can you elaborate on what script you used to create reserved slots for individual players? And to be clear does the script from xeno go in the init.sqf file?

Edited by TriGGa, 08 December 2012 - 10:57.

Posted Image

TriGGa
TriGGa

    Corporal

  • Members
  • 73 posts

#20

Posted 28 December 2012 - 15:14

Dorph;2261298']At top of i_client.sqf



Found it but when i use it in my mission file it shows errors. Does this go in the init file?

Im using the following:

GVAR(reserved_slot) = "RESCUE";
GVAR(uid_reserved_slots) = ["alpha_1", "bravo_3"];
GVAR(uids_for_reserved_slots) = ["1234567", "7654321"];
Posted Image