Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Linux FDS » RenRem
RenRem [message #34735] Tue, 29 July 2003 05:49 Go to previous messageGo to previous message
mac is currently offline  mac
Messages: 1018
Registered: February 2003
Karma:
General (1 Star)
Administrator/General
===============================
=====renrem.pl readme======
===============================

Filename: renrem.pl

Creator: mac

Email: mac@oneshell.de

Homepage: http://www.tactical-command.de

Description: Replacement for the LFDS' non working remote administration capability.


Description:
=============

The Linux FDS doesn't come with a working remote administration capability. This utility provides a
multi threading telnet server, that listens to requests and sends incoming commands to the renegade server.
renrem.pl assumes that the server runs in a specifically named screen session. It detaches it when
it receives a program and writes it output into the screen using expect.

Installation:
==============

renrem.pl uses POE, a powerful multitasking framework. you need to install the following modules:

POE
Expect::Simple
Expect
Time::localtime
Time::ParseDate

Edit your server.ini to include a working renrem configuration. renrem.pl reads the password out
of the config file.

Example:

AllowRemoteAdmin = true
RemoteAdminIP =
RemoteAdminPassword = password

Start your renegade server in a screen session and give it a specific name. Example:
screen -S renegade_server -l -d -m /home/mac/renegade/renegade_server

renegade_server is the screen title. you need to remember this.

Usage:
======

Start renrem.pl like this:
nohup ./renrem.pl renegade_server /home/mac/renegade 31337 &

(screenname fdsdir port)

After this, you can connect to the listening daemon at port 31337:

mac@defiant:~> telnet localhost 31337
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Welcome to Renegade Remote Control. Enter your password.
password
Password accepted.
Use help to get a list of available commands.
game_info
[08:21] GameSpy mode active since Thu Feb 13 08:20:34 2003
[08:21] Gameplay in progress
[08:21] Map : C&C_Hourglass.mix
[08:21] Time : 0.29.09
[08:21] Fps : 48
[08:21] GDI : 0/1 players 0 points
[08:21] NOD : 0/1 players 0 points
[08:21]

Notes:
=====

You can quit the session with "quit". This will not be sent to the LFDS.

The script switches its logfile every day, there is no need to re-start it every day using cron.

You can NOT start this script using cron, the parent needs a terminal. renrem.pl is using
screen, and screen needs a valid terminal when doing screen -r <sessionname>.

Credits:
========
Greg Underwood for making the LFDS.
Blazer for helping with POE.


Copyright
=========
This file is the property of the creator, all copyrights belong to him
This tool may not be used in _any_ commercial form without written permission from the author!
Do not copy, alter, or claim credit for this tool without permission from creator.

--

You can get the requires Perl moules at http://search.cpan.org

BR for Linux (aka brenbot) is in development and currently only available for oneShell customers as part of the testing.


Quote:


danpaul88: buggy bugs brenbot because buggy befriends brainlessness

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Project Make THAT LAG DISAPPEAR!
Next Topic: *SIMPLE* How do I install this freakin LFDS
Goto Forum:
  


Current Time: Wed Jun 19 01:13:44 MST 2024

Total time taken to generate the page: 0.00666 seconds