Help - Search - Members - Calendar
Full Version: Frustrated with command line in Cortex
The Planet Forums > Control Panels > Cortex
pagehosting4u
I am trying to understand the command line feature in the Cortex web admin page for an instance of UT2004.
It doesn't matter if I am logged in as admin or as a user with permissions to modify the command line, I can't modify it.
Right now it is showing the default command line: System/ucc-bin server AS-Convoy? port=7777?multihome=xxx.xxx.xxx.xxx -nohomedir

This is great and all, but I want to load a Death Match map by default and not AS-Convoy. I would also like to set the username and password for the UT2004 web admin interface.

The command line I like to use is something more like this:
System/ucc-bin server DM-Map?port=7777?multihome=xxx.xxx.xxx.xxx? game=XGame.xDeathMatch?AdminName=XXXXX?AdminPassword=XXXX?Mutator=mutators -nohomedir

QUOTE
Customize the game server's startup command line. Use the command line additions to add extra directives into your instance's command line. These options get added in front of the standard command line options.


If I follow what http://dev.insomnia365.com/wiki/index.php/...ting_for_Admins states above I should at least be able to add ?DM-Map?game=XGame.xDeathMatch?AdminName=XXXXX?AdminPassword=XXXX?Mutator=mutators to the Command Line Additions box. Even though I am not sure how it would be interpreted with both DM-Map and AS-Convoy, when I click save and start the Instance, Cortex states that it starts ok. I then try to access the UT2004 Admin web interface with the username and password placed in the command line additions box, XXXXX/XXXX, and find that the web admin is still using the default username and password of Admin/Admin. UT2004 web admin shows that it is running map AS-Convoy and that known of my mutators are loaded. I do see all of the mutators in the mutators section from when I imported my own ut2004.ini file. When I SSH into the server I see that there is a start_instance.sh file in the directory of the instance I am running. The file contains the command line information, but does not have the command line addition stuff.

So here are my questions:
Why can't I edit the actual command line?
When I click on the save button to save changes to what was added to the command line additions box, where does this information get saved?
If it is suppose to be saved in the start_instance.sh file, why is the information not showing up in the file but is showing up in Cortex?
When I start an instance, ut2004 usually creates a ut2004.log file in the System folder. This very important log file for troubleshooting problems is not being created. If so, where is it being stored?

Any assistance with this would be great.
Thanks.
Rick
doc
Have you configured the server's ini file as well? If you put something in the command line and then the game server reads the ini file and it contains something different, the command line parameters are overwritten.
pagehosting4u
QUOTE (doc @ Aug 11 2007, 07:43 AM) *
Have you configured the server's ini file as well? If you put something in the command line and then the game server reads the ini file and it contains something different, the command line parameters are overwritten.


Yes, I import a configuration file from another server of mine that is not running Cortex. I am comparing Cortex to cPanel GS. I like how Cortex doesn't duplicate the files for each user like cPanel GS does, but I like the complete control cPanel GS gives you. Anyways, a couple of things I have found. While making backup copies of start_instance.sh, the ownership had gotten changed from i365 to root. This has been corrected and the changes made in Cortex does get saved to start_instance.sh upon starting the game. I also notice that my imported UT2004.ini (server ini) file gets stripped of all of my added mutators listed as ServerActors and ServerPackages. It also strips out my GameConfig (under Core.System) and strips out my added games to the Engine.MaplistManager as well as their corresponding Maplist Record. I find that Cortex is reading what is under the Edit Maps section, strips out my map information from the imported configuration and places its map information. Oh and the whole deal with using the Edit Maps page to load maps so they appear in Cortex's list of Maps is a joke. I had over 4 GB of maps compressed to just over 1 GB. I first tried it out with a single compressed map file. It loaded into Cortex, but when I went to press the unzip icon all I got was a Blank Cortex page. I had to SSH in to unzip it.

So this brings me to another question. If I ftp my maps, how do I add them to Cortex's database of Maps so that they show up in Edit Maps?

Some more questions:
Why does Deatmatch Maps only show DM-1on1 maps and not all of the DM and DM-1on1 maps?
How do I get DM maps added to it, as any DM map should be able to be listed in both the Deatmatch and TDM Game types.
How do I add Mutators with Cortex? I am trying to figure out how to do all of this from within Cortex, if it is not going to take my imported configuration file from another Linux server that has been running UT2004 just fine?

Sorry if it seems like I am ranting here, I just expected a little bit more basic control of setting up a game server instance.
Thanks for any assistance that anyone could give me to help me better understand how Cortex works, as I have read the information at http://dev.insomnia365.com/wiki/index.php/Main_Page several times now.
Rick
doc
I ran a UT2004 server a long time ago and what I did was configure the web admin panel, turn on the server and setup the mutators, maps and settings via the UT built in web admin. I could never get Cortex to do what I wanted for my UT2004 server but the UT Web Admin panel is awesome.

Let me know if you have any more questions.
pagehosting4u
Thanks for your help doc. I can get the Web Admin panel to work, but it defaults to the default username and password to Admin, regardless what I put in the command line additions box in Cortex or what I put in the UT2004.ini file. I have also tried modifying the start_instance.sh file and starting the instance using SSH command "service i365-username-instancename". The instance starts but the web admin interface username and password is still Admin, which is a big security issue.
Thanks again for your help, and I'll keep plugging at it. So far I am not pleased and I am going to have to seriously think about Cortex as a control panel for gaming customers... I don't want to have to be spending a lot of resources just for supporting the types of questions I am going to be getting.
Rick
KennyM
Edit the SQL database to what you want it to become. Refresh, and problem solved.
pagehosting4u
QUOTE (KennyM @ Aug 11 2007, 02:26 PM) *
Edit the SQL database to what you want it to become. Refresh, and problem solved.


Sorry Kenny, but I have been looking at some many configurations that my head is spinning. What part of the database are you talking about and what should I edit?
Rick
doc
The admin panel is controlled via the server.ini and an admin ini file, can't remember the name. Do a search on Google to find out the files to edit. Another good resource is www.unrealadmin.org

Jason F
admin@vetwebhosting.com
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.