It is currently Sat Apr 27, 2024 6:27 am

RUNNING WITH RIFLES Multiplayer

test

Game servers 41 List provided by EpocDotFr | Players online 90


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Jan 24, 2017 12:46 pm 
Offline

Joined: Tue Jan 24, 2017 12:34 pm
Posts: 3
I have built a rwr server with Ubuntu server 16.04/64bit.
And follow the post run "./launch_server" then "start_script start_invasion.as", eveything is ok.
But when i use command "exit" and then run the server again, the game just start as a new process.
How to make the game save and load? or use some command to change the stage?

Can u write a post to explain the server commands?
like this
Code:
start_game [param1] [param2] ...
param1 : means ...


rwr is a good game.
thx.


Top
 Profile  
 
PostPosted: Wed Jan 25, 2017 10:14 am 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
The server doesn't have proper support for that unfortunately, the server is intended to be run 24/7. The player profiles are stored permanently when running Invasion so player progress is preserved over server restarts.

Basically, it would be possible for the Invasion server scripts to be extended so that it would save the info to which stage the game got to, and when starting the script, make it query the saved data and initialize the gamemode state so that it at least continues from the last reached stage, even if the actual stage progression would be lost.

Alternatively the script could be extended with a chat command that completes the stages up to a wanted stage, this would allow you to manually skip some stages. Currently there is /0_win in-game chat command (or declare_winner 0 in server console) that admins can use that completes the current stage and prepares to advance to the next one.

Some info about the server console commands can be found with help and also with e.g. help start_server. I guess console commands are largely not used these days apart from start_script and status as there's a bit more power in the XML commands http://runningwithrifles.gamepedia.com/ ... _interface that can be useful in some rare scenarios. XML commands in files can be executed in the console with execute 1.xml style.


Top
 Profile  
 
PostPosted: Thu Jan 26, 2017 2:17 am 
Offline

Joined: Tue Jan 24, 2017 12:34 pm
Posts: 3
pasik wrote:
The server doesn't have proper support for that unfortunately, the server is intended to be run 24/7. The player profiles are stored permanently when running Invasion so player progress is preserved over server restarts.

Basically, it would be possible for the Invasion server scripts to be extended so that it would save the info to which stage the game got to, and when starting the script, make it query the saved data and initialize the gamemode state so that it at least continues from the last reached stage, even if the actual stage progression would be lost.

Alternatively the script could be extended with a chat command that completes the stages up to a wanted stage, this would allow you to manually skip some stages. Currently there is /0_win in-game chat command (or declare_winner 0 in server console) that admins can use that completes the current stage and prepares to advance to the next one.

Some info about the server console commands can be found with help and also with e.g. help start_server. I guess console commands are largely not used these days apart from start_script and status as there's a bit more power in the XML commands http://runningwithrifles.gamepedia.com/ ... _interface that can be useful in some rare scenarios. XML commands in files can be executed in the console with execute 1.xml style.


Thx, i have a try :)
Do u have a plan to make all the server used script(s) and config(s) together?
Make the folder tree as follow:

rwr_server
|
|-- [server_configs]
|-- [server_scripts]
|-- media
|-- profiles
|-- tools
|-- ...

The config files in one place will meke the server admin more easier to set and control.
And, the wiki of dedicated server is waiting for updating :)


Top
 Profile  
 
PostPosted: Thu Jan 26, 2017 1:44 pm 
Offline

Joined: Tue Jan 24, 2017 12:34 pm
Posts: 3
pasik wrote:
The server doesn't have proper support for that unfortunately, the server is intended to be run 24/7. The player profiles are stored permanently when running Invasion so player progress is preserved over server restarts.

Basically, it would be possible for the Invasion server scripts to be extended so that it would save the info to which stage the game got to, and when starting the script, make it query the saved data and initialize the gamemode state so that it at least continues from the last reached stage, even if the actual stage progression would be lost.

Alternatively the script could be extended with a chat command that completes the stages up to a wanted stage, this would allow you to manually skip some stages. Currently there is /0_win in-game chat command (or declare_winner 0 in server console) that admins can use that completes the current stage and prepares to advance to the next one.

Some info about the server console commands can be found with help and also with e.g. help start_server. I guess console commands are largely not used these days apart from start_script and status as there's a bit more power in the XML commands http://runningwithrifles.gamepedia.com/ ... _interface that can be useful in some rare scenarios. XML commands in files can be executed in the console with execute 1.xml style.


Another problem, when a stage is over, the server change to next stage, the server has a chance to disappear from the servers list.
I have to "stop_server" and use xml command start again, it will be shown.
Plz take a check.
Thx :)


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 13 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:  
cron
Powered by phpBB® Forum Software © phpBB Group