It is currently Thu May 01, 2025 3:43 pm

RUNNING WITH RIFLES Multiplayer

test

Game servers 53 List provided by EpocDotFr | Players online 173


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Apr 03, 2013 5:24 pm 
Offline
User avatar

Joined: Mon Feb 25, 2013 12:24 pm
Posts: 283
Pasik, how hard would it be to implement a system where server commands can be input in-game by certain players with Admin capabilities?

For example:

On our server a player using the username {SAS}DocStone would require a password to join, which would be set up on the remote box. Once logged in, then by using the standard chat interface he would have the ability to give certain commands which would be picked up by the server:

/restart map - to restart map
/map{n} - to change to map{n}
/declare winner [faction] - declare one side a winner
/switch [playername] - switch a player to the other team

You could possibly add in all the rest of the commands as well, if required. This would mean that for events like Saturday's, I could have set Jack up as an admin on the server so he could switch maps etc without hoping I would appear and RDP into the box and break things (haven't tried changing the commands.txt file yet, server hasn't been empty long enough for me to fart around with things, which is amazing!) :D

Yeah, so just a couple of thoughts from a server admin side, would make life a lot easier, and would allow me to play the game instead of alt+ tabbing out the whole time and dying :D

_________________
Image


Top
 Profile  
 
PostPosted: Wed Apr 03, 2013 5:58 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
{SAS}DocStone wrote:
Pasik, how hard would it be to implement a system where server commands can be input in-game by certain players with Admin capabilities?

For example:

On our server a player using the username {SAS}DocStone would require a password to join, which would be set up on the remote box. Once logged in, then by using the standard chat interface he would have the ability to give certain commands which would be picked up by the server:

/restart map - to restart map
/map{n} - to change to map{n}
/declare winner [faction] - declare one side a winner
/switch [playername] - switch a player to the other team

You could possibly add in all the rest of the commands as well, if required. This would mean that for events like Saturday's, I could have set Jack up as an admin on the server so he could switch maps etc without hoping I would appear and RDP into the box and break things (haven't tried changing the commands.txt file yet, server hasn't been empty long enough for me to fart around with things, which is amazing!) :D

Yeah, so just a couple of thoughts from a server admin side, would make life a lot easier, and would allow me to play the game instead of alt+ tabbing out the whole time and dying :D


In 0.85, stuff like this could be done in the metagame script if I get everything hooked up right. The metagame component receives chat messages as events so the script could detect commands through the chat system and then send appropriate commands back to the game server. The script can use the chat sender id to query more data about the sender, name, profile id, rank, whatever, and determine if the sender has the permission to call such commands.

Command such as switch would not be possible yet as the game doesn't support live team change.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group