Jump to content

Home

New Server Creator Tool


zerted

Recommended Posts

I am finally publishing the program :cowdance I've been posting about. You can use this program, along with a formatted text file, to easily create batch files which start game servers.

 

Download everything HERE. The program (.jar file), the readme, and the formatted text file for SWBF2 Beta are all in the Zip file. Read the ReadMe file. To run a *.jar file, you just double-click on it like a *.exe file.

 

How the program works is explained in its ReadMe file. If you have any questions/comments you can post them here, send me a PM, or email me at zerted@gmail.com. You can customize the program :blast5: by editing the formatted text file. If you want the source code (in Java), send me an email.

Link to comment
Share on other sites

you must have used WinRar to Extract the .jar File? Because i noticed that, you aren't supposed to Open it with WinRar you are just supposed to Double click the Icon then a Browse should pop up, then browse for the SWBF2 Formatted Argument thingy or whatever then it will let you create, But there is LOADS of glitches because when you click the Checkmark you can't even type in the Textfield?

 

p.s. I figured it out NVM my post before

Link to comment
Share on other sites

Hmm, sorry but this wasn't very helpful. All it did was take my batch file and erase everything in it.

 

I couldn't choose any options. I tried creating a new one, but it didn't have anything in it when done except the location of the exe file.

 

I thought this program was going to be like some other server launchers wherein it was an exe file, that when launched brought up a window with checkboxes. You put up all the options you wanted, saved the file from within the program and launched it, and that you could then load and launch various batch files from it.

 

Instead it looks more like you've just helped the people who don't know how to rename a txt file to .bat and a listing of the possible commands. Am I missing something? How is this more helpful than just reading the thread and piecing it together on your own? If I am I misunderstanding this, I apologize...

 

Basically all I can do is create the batch file, and then it's done. There's nothing more it lets me do!

 

Also it doesn't save the directories when locating files, so it takes awhile to locate the files each and every time, which is somewhat annoying if the point of the program is to save time creating these things!

 

Anyway, hope you take that constructively or show me where I'm wrong!

 

 

Also I think this portion is in error:

 

-Capture the Flag maps

 

//uta1g_1flag

/~Utapau Rebel vs Empire Capture the Flag

/:Capture the Flag mode between the Rebels and the Empire on Utapau.

/\side1

\~Captured Flags

\:The amount of caputred flags needed for the Empire to win the round.

/\side2

\~Captured Flags

\:The amount of caputred flags needed for the Rebels to win the round.

 

(from the command line arguments.txt). First off "captured" is misspelled, but also the number after the command, ex:

 

uta1g_1flag 200 200

The numbers are the number of reinforcements, NOT the number of captures. I honeslty don't know how to change the number of captures. It's always just the first team to 5 caps wins.

 

 

Rather than describing the sides as "number of kills needed to win" it should just be "the number of respawns available to the team" or something of that nature. Having "200 tickets" really just means you have 200 "lives" for your team to use until you lose. Now of course there are other ways to lose tickets, such as having your control points captured (in conquest), which is why they say "our reinforcements are being drained/cut off/we're losing reinforcements" etc. Killing your self or your teammates contributes to losing the tickets as well.

 

In Conquest your team loses under two conditions:

 

1) You run out of tickets before the other team (ie: your army wiped out completely).

 

2) All the control points on the map are captured for a certain period of time (Victory in ... 10... 9... 8... etc).

 

In Assault however, (space map) the team who destroys all the enemy targets AND gets 180 kills wins, regardless of how many tickets are left (though of course if a team runs out of tickets first, they automatically lose). So you could have 1500 units each and still lose because your targets were all destroyed and you lost 180 units.

 

In CTF its based on captures, but again, theoretically if you lose all your troops, you lose. But with only 5 captures, chances are you'll lose based on that 99% of the time rather than on tickets (unless the server set it really low for some reason, but 200 should "never" run out first).

Link to comment
Share on other sites

Well, first off, sorry if you guys don't like it. The program is for not having to remember or type in all the commands. I do not know how to get stats from an open server or send commands to that server. If someone knows a place on the net that has that information, please send me the link. The real strength of the program I think, is its inputed text file. Anyone can change it to add their commonly used commands or remove ones he or she never uses. To create batch files to run server for other games, all you need to do is create a different input text file. An updated text file is HERE or just download the zip again.

 

Clicking the checkmark locks its text fields. If you want to edit the text field again, uncheck the check mark. What other glitches did you come across?

 

For Kurgan: I'm not sure why you couldn't choose any options. Was there no options being displayed or was it when you clicked on a check box, nothing happened? As for saving the locations of your files, yes I was going to add that. My amount of school work suddenly jumped up and I didn't have much time to work on the program. I wanted to get it out before SWBF2. When SWBF2 comes out, everyone will just use: http://www.blackbagops.com/swbf2/index.shtml . At least you can pass in the text file so you don't need to select it every time.

 

For yellowblood: you need to run the .jar file not extract/open it with WinRAR. If you have any type of Java Virtural Machine (JVM) installed, you should be able to double-click on it and the program will run. If WinRAR opens it when you double-click, try right clicking on it and selecting 'Open With...' then pick something that looks like Java.exe, JVM, or Java Standard Binary.

Link to comment
Share on other sites

No offense was intended. I just wondered what would make a person want to use this program to create batch files vs. just renaming a text file? That's all.

 

One could just download a text file with a full list of commands and edit that, couldn't they? I agree, everyone will just use the other program when the game comes out, but I'm just wondering what the advantage of this program is over the manual method. I mean that's the point isn't it? I'm busy with school myself, so I understand the lack of time to work on it.

 

PS: No options were being displayed. I could create a batch file and close the program. No other options. I created the text file and that was it, done, nothing more I was allowed to do.

I understand that programming has its limitations, just offering my feedback, which I assume you wanted since you posted. Just trying to help! ;)

Link to comment
Share on other sites

Do you open an existing bat file or create a new blank text file?

 

Because I tried that I thought, and all it did was let me "create" the file, and then that was it. No options anywhere. I ended up with a text file that just executes the exe, that's it.

Link to comment
Share on other sites

Are you supposed to create a text file with all the commands in it, then use the JAR file to open it, which turns the text file into a batch file? Because that's all it appears to do for me.

 

It doesn't display any option check boxes or anything of that nature. I just get "create batch file" and "exit program."

Link to comment
Share on other sites

When you run the program, it should pop-up an open file prompt. Select the file: SWBF2 Beta Formatted Command Arguments.txt. It is included in the zip file. The program should open up with all the options which are formatted in the text file.

Link to comment
Share on other sites

There is a Mistake with your .txt file it should be:

;

;how to edit these files:

;

; ';' = comments out the line

; '-' = a new tab, all the commands under this will be in this tab in the GUI

; '//' = a command line argument (a chech box in GUI)

; '/\' = a parameter for the above command

; '\~' = the prompt for the command

; '/~' = the prompt for the parameter

; '/:' = a tool tip explaning the above command

; '\:' = a tool tip explaning the above parameter

;

; every command is to be on its own line

; every line with a command has to be at least 3 characters long

; every command must be the first two characters on a new line

;

; Linear format:

; o) new tab

; 1) new command

; 2) command prompt

; 3) the above command's tool tip

; 3) a new parameter for above command

; 4) the above parameter's prompt

; 5) the above parameter's tool tip

; 6) any more parameters, following the format: 3 then 4 then 5

;

;

; Version 1.1

; October, 20th 2005

; by [RDH]Zerted, zerted@gmail.com

 

-Game Startup

 

///nointro

/~No Intro Movies

/:Turns off the intro movies when the game is first started.

 

 

///nomovies

/~No background menu animation

/:Turns off the background animations in the menus.

 

 

 

-Sound Settings

 

///nosound

/~No sound

/:Turns off the sound for the server machine.

 

///nomusic

/~No Music

/:Turns off the music for the server machine.

 

 

-Video Settings

 

///win

/~Windowed mode

/:Runs the game in a windowed mode.

 

 

///norender

/~No graphics

/:Prevents the display of the game's graphics.

 

 

///resolution

/~Server window's size (width, height)

/:Sets the game's window size.

/\width

\~Screen Width

\:Screen width in pixels

/\height

\~Screen height

\:Screen height in pixels

 

 

 

-Hero Settings

 

///heroes 1

/~Heros On

/:Turns Heros on

 

 

///hrunlock

/~Hero Unlock Mode

/:1 = kills, 2 = points, 3 = ???

/\hero unlock

\~Enter the unlock mode

\:1 = kills, 2 = points, 3 = ???

 

 

///hrunlockvalue

/~Hero unlock value

/:The hero unlock value.

/\hero unlock value

\~Enter the value

\:Sets the threshold of the unlock. (ex. 15 = first team with a member to reach 15 points)

 

 

///hrplayer

/~Hero Award Mode

/:Sets the mode in which determines who get the hero.

/\hero award mode

\~Award Mode

\:1 = top player gets the hero, 7 = worst player gets the hero.

 

 

///hrteam

/~Hero Team Mode

/:Sets which teams get heros.

/\hero team mode

\~Hero Team Mode

\:Sets which team gets heros (ex 3 = both teams have heros on the field at the same time, but not always)

 

 

///hrrespawn 2

/~Hero Respawn

/:Not sure what this does, but should be selected.

 

 

///hrrespawnvalue

/~Hero Respawn Value

/:Time for respawning as a hero.

/\hero respawn value

\~Respawn Seconds

\:Time in seconds between hero respawning.

 

 

 

-Network Settings

 

///lan

/~LAN Game

/:Turns your game into a LAN game. Only people on your LAN will be able to join the game.

 

 

///autonet dedicated

/~Dedicated Server

/:Makes the game run as a dedicated server.

 

 

///autonet listen

/~Non-Dedicated Server

/:Lets you play on the server. Your name will be "AUTONET".

 

 

///bootlagger

/~Boot Laggers

/:Boot any player who's ping gets above the limit.

/\boot laggers

\~Ping Limit

/:The ping limit. Any player with a ping higher than the limit will get booted.

 

 

///throttle

/~Bandwidth

/:Sets the amount of bandwidth the server uses.

/\throttle

\~Bandwidth Amount

\:Sets the maximum bandwidth per client (in KB) for the server. The higher the bandwidth, the more human players can join.

 

 

///tps

/~Ticks

/:Server tick rate. This determines the maximum FPS for clients.

/\ticks

\~Tick Rate

\:An integer which will be the tick rate for the server.

 

 

///netregion

/~Network region

/:Sets the region for the server.

/\net reigon

\~Server Reigon

\:The reigon your server is in. (ex. USA).

 

 

 

-Game Settings

 

///gamename

/~Game Name

/:Sets the server's name.

/\server name

\~Enter the server's name

\:Sets the server's name.

 

 

///pregametime

/~Warm-up Time

/:The time after a map loads and before the round starts.

/\pregame

 

 

///spawn

/~Spawn Invincibility

/:Set the amount of time a unit is invincible after respawning.

/\spawn invincibility

\~Time in seconds

\:Invincibility time after unit respawning.

 

 

///playerlimit

/~Player Limit

/:Limits the maximum about of human plays that can join the server.

/\player limit number

\~Maximum human players

\:Sets the maximum amount of human players allowed to play on the server.

 

 

///playercount

/~Player Count

/:Sets the amount of human players needed for the round to begin.

/\playercount number

\~Human players required for round start

\:Sets the minimum numbers of human players need to connect before the round will start.

 

 

///noteamdamage

/~Team damage off

/:Turns off friendly fire. You cannot hurt teammates.

 

 

///sideselect

/:Select Team

/~Lets players choose/switch sides during a battle.

 

 

///autoassign

/:Auto-assign team

/~The server will automatically set a player's team/side.

 

///noaim

/~Auto-Aim off

/:Turns off auto-aimming

 

 

///voicemode 2

/~Voice Mode 2

/:Not sure waht this does. Maybe voice chat?

 

 

 

-Bot Settings

 

///bots

/~Minimum Bots

/:Sets the minimum number of bots in the game.

/\min bots

\:Amount of Bots

\~The minimum number of bots in the game.

 

 

///difficulty

/~AI Difficulity

/:Sets how hard the AI is.

/\ai skill level

\~AI Skill

\:1 = easy, 2 = normal, 3 = elite

 

 

 

-Map Settings

 

///randomize

/~Random Map Rotation

/:Makes the server load the maps in a random order.

 

 

-Conquest Maps

 

//uta1g_con

/~Utapau Rebel vs Empire Conquest

/:Conquest mode between the Rebels and the Empire on Utapau.

/\side1

\~Reinforcments

\:The amount of reinforcements for the Rebels.

/\side2

\~Reinforcments

\:The amount of reinforcements for the Empire.

 

 

//uta1c_con

/~Utapau CIS vs Republic Conquest

/:Conquest mode between the CIS and the Republic on Utapau.

/\side1

\~Reinforcments

\:The amount of reinforcements for the CIS.

/\side2

\~Reinforcments

\:The amount of reinforcements for the Republic.

 

 

//tan1g_con

/~Tantive IV Rebel vs Empire Conquest

/:Conquest mode between the Rebels and the Empire on Tantive IV.

/\side1

\~Reinforcments

\:The amount of reinforcements for the Rebels.

/\side2

\~Reinforcments

\:The amount of reinforcements for the Empire.

 

 

//tan1c_con

/~Tantive IV CIS vs Republic Conquest

/:Conquest mode between the CIS and the Republic on Tantive IV.

/\side1

\~Reinforcments

\:The amount of reinforcements for the CIS.

/\side2

\~Reinforcments

\:The amount of reinforcements for the Republic.

 

 

-Capture the Flag maps

 

//uta1g_1flag

/~Utapau Rebel vs Empire Capture the Flag

/:Capture the Flag mode between the Rebels and the Empire on Utapau.

/\side1

\~Reinforcments

\:The amount of reinforcements for the Rebels.

/\side2

\~Reinforcments

\:The amount of reinforcements for the Empire.

 

 

//uta1c_1flag

/~Utapau CIS vs Republic Capture the Flag

/:Capture the Flag mode between the CIS and the Republic on Utapau.

/\side1

\~Reinforcments

\:The amount of reinforcements for the CIS.

/\side2

\~Reinforcments

\:The amount of reinforcements for the Republic.

 

 

//tan1g_1flag

/~Utapau Rebel vs Empire Capture the Flag

/:Capture the Flag mode between the Rebels and the Empire on Utapau.

/\side1

\~Reinforcments

\:The amount of reinforcements for the Rebels.

/\side2

\~Reinforcments

\:The amount of reinforcements for the Empire.

 

 

//tan1c_1flag

/~Tantive IV CIS vs Republic Capture the Flag

/:Capture The Flag mode between the CIS and the Republic on Tantive IV.

/\side1

\~Reinforcments

\:The amount of reinforcements for the CIS.

/\side2

\~Reinforcments

\:The amount of reinforcements for the Republic.

 

 

-Space Maps

 

//spa1g_ass

/~Space Yavin Rebels vs Empire Assualt

/:Assualt mode between the Rebels and the Empire on Space Yavin.

/\side1

\~Reinforcments

\:The amount of reinforcements for the Rebels.

/\side2

\~Reinforcments

\:The amount of reinforcements for the Empire.

 

 

//spa1g_1flag

/~Space Yavin Rebels vs Empire Capture The Flag

/:Capture The Flag mode between the Rebels and the Empire on Space Yavin.

/\side1

\~Reinforcments

\:The amount of reinforcements for the Rebels.

/\side2

\~Reinforcments

\:The amount of reinforcements for the Empire.

 

Link to comment
Share on other sites

Let me Make This Simplier,

Problems:

- "/pregame" is Actually supposed to be "/pregametime"

- No Admin Password Option

- No Game Password Option

As for my P.S.:

Do you want my program converted into a Java applet for your web page? It would lose the first prompt about selecting the formatted text file and depending how you build the web site, it would lose the second prompt of selecting the location of the game's .exe file.[/Quote]
Link to comment
Share on other sites

Most people have some verson of Java installed on their computers (a lot of web sites use it). Use Java to run the .jar file. The executible is located somewhere. Here is an example: C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe

 

Right-click on the jar file. Select 'Open With...' Go to the above directory (might be a little different on each machine) and select javaw.exe. If you can't find it, you can try searching for javaw.exe.

 

Also, you are not stupid.

 

NOTE: I just updated the text file to include some missing commands (the ones two posts up).

 

 

Thanks (to the post below)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...