Author Topic: MWLL Server Control Utility  (Read 3441 times)

0 Members and 1 Guest are viewing this topic.

Offline ratbuddy

  • Star Colonel
  • ****
  • Posts: 1337
  • Karma: 75
MWLL Server Control Utility
« on: January 15, 2011, 06:31:09 PM »
I'm writing something that'll let server admins easily change stuff on the fly without having to remember or type a bunch of commands. First version should be done in a little while, but for now, I'm using this post to lay out any prereqs or other random stuff.

You must have Java Runtime Environment installed, grab it here and you need to be able to run the java command from the prompt, directions here if yours isn't working.

1. Your server.cfg should include http_password (password) and http_startserver port:64087 (or whatever) on seperate lines. You may need to open that port on your router.
2. Unzip the utility to wherever, make it someplace easy to navigate to in a cmd window. I use c:\rcon\.
3. Edit worker.bat with your server's IP, port, and password. The format is exactly as I have it listed, and the line should read "java -jar crysisrcon.jar 127.0.0.1:64087 password %*" or whatever your actual info is.
4. Run ratpanel.bat.

Please report any issues and I'll fix em up.

I know, there's more elegant ways to do this, web panels and whatnot, but that's not my style. I wanted something as basic as posible that anyone can run and modify as they see fit. This is my own original work*, and I release it to the public domain.
 
*obviously the only part that I made is the .BAT stuff, the rest belongs to Crytek.

edit: Removing old versions since the new one seems to work.

[attachment deleted by admin]
« Last Edit: May 29, 2011, 04:33:30 PM by ratbuddy »

Offline ratbuddy

  • Star Colonel
  • ****
  • Posts: 1337
  • Karma: 75
Re: MWLL Server Control Utility
« Reply #1 on: January 16, 2011, 02:02:54 AM »
OK. Here's first release. Huge thanks to ~SJ~ Zathrus for debugging and advice. Use at your own risk. Yes, the 'remove server password' function doesn't work yet. Anyone know how to pass "" through a call command?

Anyway, enjoy, and please report bugs or suggestions here.

« Last Edit: January 25, 2011, 05:56:07 PM by ratbuddy »

Offline MerfMerf

  • Apprentice Dev
  • Star Colonel
  • *
  • Posts: 1530
  • Karma: 71
  • Clan Smoke Jaguar, 331st Feral Fangs
Re: MWLL Server Control Utility
« Reply #2 on: January 16, 2011, 03:13:56 PM »
Use 0 (Zero).
For some reason I think at least normal Crysis used this to remove password.

/Merf - Worth a try!

Offline ratbuddy

  • Star Colonel
  • ****
  • Posts: 1337
  • Karma: 75
Re: MWLL Server Control Utility
« Reply #3 on: January 16, 2011, 03:37:01 PM »
I'll try that..

So, 9 downloads and no feedback so far?  :'(

Zathrus-SPARTA-

  • Guest
Re: MWLL Server Control Utility
« Reply #4 on: January 16, 2011, 08:47:56 PM »
Thankyou Merf  ;)

After putting a password on the server.
I have used 0 (zero) as the password entry and it clears the password. 8) YAY!

After putting a password on:
Select enter password again (select number 1) and enter 0 to clear it.
« Last Edit: January 16, 2011, 08:53:02 PM by -SJ-Zathrus »

Offline ratbuddy

  • Star Colonel
  • ****
  • Posts: 1337
  • Karma: 75
Re: MWLL Server Control Utility
« Reply #5 on: January 16, 2011, 08:55:36 PM »
OK, adding it in and updating file now.

Offline ratbuddy

  • Star Colonel
  • ****
  • Posts: 1337
  • Karma: 75
Re: MWLL Server Control Utility
« Reply #6 on: January 24, 2011, 07:06:21 PM »
Any feature requests or server commands I've forgotten? Gonna bump out a new version soon including server message options and a few other things :)

Offline ratbuddy

  • Star Colonel
  • ****
  • Posts: 1337
  • Karma: 75
Re: MWLL Server Control Utility
« Reply #7 on: January 25, 2011, 05:57:06 PM »
New version in top post, added announcement functions. Place your message in announce.txt and run announce.bat to send it out. Default is 2 seconds between lines, you must set your own repeat timer after running announce.bat.


Feedback and feature requests, and criticism are most welcome.

« Last Edit: January 25, 2011, 06:02:23 PM by ratbuddy »

Offline ratbuddy

  • Star Colonel
  • ****
  • Posts: 1337
  • Karma: 75
Re: MWLL Server Control Utility
« Reply #8 on: January 31, 2011, 08:07:46 PM »
New version, per request, kick/ban seperated and also include a player list when invoked.

Offline ratbuddy

  • Star Colonel
  • ****
  • Posts: 1337
  • Karma: 75
Re: MWLL Server Control Utility
« Reply #9 on: February 05, 2011, 09:21:50 PM »
Added clan vs IS mode.

Offline (TLL)Siilk

  • Techpriest software engineer
  • Apprentice Dev
  • Living Legend
  • *
  • Posts: 3021
  • Karma: 124
  • A single trueborn is an army by himself
    • My facebook profile
Re: MWLL Server Control Utility
« Reply #10 on: February 06, 2011, 08:05:27 AM »
 Nice one, Ratbuddy. Neat and useful, karma for you. For some reason it failed to change starting cbills value, but I cannot change it manually either so I presume it's something in my configs that prevents this value from changing.



"This Clan posses intelligence, the burning passion of true hunters, and a spirit that serves as a beacon to the rest. I mingle my blood with the Wolves."
- ilKhan Nicholas Kerensky, Strana Mechty, 2815

Offline ratbuddy

  • Star Colonel
  • ****
  • Posts: 1337
  • Karma: 75
Re: MWLL Server Control Utility
« Reply #11 on: February 06, 2011, 03:33:00 PM »
Thanks.

Did ya put it on ToS mode before setting the cbills? It doesn't work on TSA or TC modes.

Offline Cygma

  • MWLL Developer
  • Star Colonel
  • *
  • Posts: 1452
  • Karma: 62
    • 7th Regiment Wolfs Dragoons
Re: MWLL Server Control Utility
« Reply #12 on: February 06, 2011, 04:05:21 PM »
I only gave it a quick try, but nice one.
It would be nice to be able to back out of all sub-menus though, e.g. the map selection doesn't allow you to quit it if you have something misconfigured and thus can't change maps.
<Insert cool content here>

Offline ~SJ~ Xarg Talasko

  • Living Legend
  • *******
  • Posts: 2300
  • Karma: 110
  • KANE LIVES!
Re: MWLL Server Control Utility
« Reply #13 on: February 06, 2011, 07:45:52 PM »
Like a 'back' or 'start over' button?


Thief gameplay + Doom3 engine = The Dark Mod

Offline ratbuddy

  • Star Colonel
  • ****
  • Posts: 1337
  • Karma: 75
Re: MWLL Server Control Utility
« Reply #14 on: February 06, 2011, 08:38:09 PM »
Not sure where ya mean. I just gave it a quick glance, and it looks like every menu has a 'main menu' option to go back?