Starsiege: Tribes Community Archive

cAdmin (Console Administration) v.01

by Shayk-N'-Bake
⤓ Download · 12.2 KB
By: Shayk-N'-Bake This is a harmless piece of code made for the sole purpose of making certain tasks easier to do in Tribes. Usage: ------ Connect to a server running the cAdmin script, open up console and simply submit "cAdmin();" and the server will then ask you for the username, password and then display the list of options available. At present only mod-changing and restarting the server is available. Perhaps more will come available over the next few weeks as I fiddle with this script. The missionMenu.cs file has the Change Mission menus that I've altered to include More, Previous and Back To Types options for easier skimming through map titles. This isn't necessary for the cAdmin script, and doesn't even have anything to do with cAdmin's functionality. - Shayk-N'-Bake -aka- Kirkesp
Filename
cAdmin_v.01.zip
Size
12.2 KB (listed 12.2KB)
Type
ZIP
Version
.01
Developer
Shayk-N'-Bake
Last update
Jul 01, 2009 - 18:22
Format
Zip archive data, at least v1.0 to extract, compression method=store
Readme — readme.txt (from the archive itself)
***********************************
* cAdmin (Console Administration) *
* By: Shayk-N'-Bake               *
***********************************

Note:
-----
I don't accept any responsibility for damage that may be direct cause from using this script. 
As far as I know this is a harmless piece of code made for the sole purpose of making
certain tasks easier to do in Tribes. However, if you do not trust me or my work I welcome
and insist you to not use it.


Requirements:
-------------
A Tribes server, the ability to overwrite/upload/edit files on the Tribes server
(particularly console.cs) and a program that restarts Tribes when it closes, such as
InfiniteSpawn or EZServer.


Credits:
--------
Writer - Safe-Schedule functions.
WorstAim - Ban and related functions.


Installation:
-------------
This is the easiest script to install.
1. Simply overwrite (or I prefer renaming) you console.cs and replace it with the one
   included in this distribution.
2. Place the cAdmin.s.cs, execShayk.cs and cAdmin.s.serverOverwrites.cs files in the
   TRIBES/config folder of the Tribes server. - Place the missionMenu.cs file if preferred.
3. Configure script with installed mods on the server and cAdmin usernames/passwords by
   opening up and editing cAdmin.s.cs. Editing below the line marked NO EDITING BELOW
   REQUIRED could cause the script to not work. So, do so at your own risk.
4. Place the cAdmin.c.cs file in your own client TRIBES/config folder and execute it via
   autoexec.cs: add exec("cAdmin.c.cs"); to bottom of autoexec.cs file.
-- FINISHED.


Usage:
------
Connect to a server running the cAdmin script, open up console and simply submit "cAdmin();"
and the server will then ask you for the username, password and then display the list of
options available. At present only mod-changing and restarting the server is available.
Perhaps more will come available over the next few weeks as I fiddle with this script.

The missionMenu.cs file has the Change Mission menus that I've altered to include More,
Previous and Back To Types options for easier skimming through map titles. This isn't
necessary for the cAdmin script, and doesn't even have anything to do with cAdmin's
functionality.


Support:
--------
You can get support for this by posting in the forums at http://tribes.zapto.org. I'd love to
be notified and get copies of any variations of the script anyone might modify to improve. I
don't claim to be even a great coder, much less the best, but it would be appreciated if any
such changes were shared with me so that they could be considered for any official changes
that might be made later.


Thanks for using the script, and hope it helps you out.
- Shayk-N'-Bake -aka- Kirkesp
Readme — server files/consoleReadme.txt (from the archive itself)
Console Work-Around
By: Shayk-N'-Bake -aka- sh0rtfu$3 (and Kirkesp for the Annihilation.info peeps)


What it does:
--------------------
It allows you to basically bypass the information sent to the server within it's Target: line such
as -mod, +exec, -dedicated, etc. Instead, it allows you to set these variables within console.cs
by entering the values into a variable there $targetLine. If the variable [$targetLine] exists, it
is used and the information on the Target: line of your shortcut is ignored, else the server starts
up as usual using whatever information is given by original means.


Why I made it:
--------------------
A friend of mine runs a server for us and unfortunately the service(s) we use don't make it
available for us to alter the target line manually. Instead of asking them to do it for us every
time we want to change mods, I decided to make this so that it's easily done by opening and editing
console.cs. You can simply edit the file and restart the server by quit(); if the server is using
a restart service program such as InfiniteSpawn or Serverdoc and it works that easily.


Support:
--------------------
Obviously this is straight-forward and unless you tamper with it and change things nothing should
go wrong. But if you do tamper with things, then it's your problem. As it is, this script is simply
another means to set what mod folder to load from and such. Even if you do have control over the
target execution of your server, this can still be helpful. For example, I sometimes run a server 
from another computer in my home (which is downstairs in my basement). Instead of having to go
downstairs every time I want to change the mod or something, I can simply edit the file via my
LAN connection and restart the server over telnet. Saves a lot of hassle.


Peace.
Contents — 12 files (inside the archive)
consoleadministrationadminserver
Source: The Exiled — Tribes Repository
Original page: https://library.theexiled.pwnageservers.com/file.php?id=2489
Archived source HTML: _source/file/2489.html