Author Topic: Where are the Setup parameters?  (Read 859 times)

0 Members and 1 Guest are viewing this topic.

Offline Lt. Sprizz

  • Major
  • *
  • Posts: 79
  • I'm sorry if I offended you.
Where are the Setup parameters?
« on: March 28, 2009, 10:43:17 am »
Yeah, in the readme it says you have to change the setup parameters to set the max numer of scripts you can use. Where do I change this at? The readme just has something like "./soldatserver -ls #" Is this while you're in the server? I need help
"I am Jack's lack of surprise..." ~(Tyler Durden)
-=::SPOILER::=-
Edward Norton and Brad Pitt are the same person...:)
In-game: \Biz|Niz/

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Re: Where are the Setup parameters?
« Reply #1 on: March 28, 2009, 11:32:55 am »
It's for when you start the server up from a command line. (In Windows, this is known as the command prompt.)

Offline Lt. Sprizz

  • Major
  • *
  • Posts: 79
  • I'm sorry if I offended you.
Re: Where are the Setup parameters?
« Reply #2 on: March 28, 2009, 12:53:23 pm »
So, I open up CMD, open up the soldatserver, and then I can edit it from there?
"I am Jack's lack of surprise..." ~(Tyler Durden)
-=::SPOILER::=-
Edward Norton and Brad Pitt are the same person...:)
In-game: \Biz|Niz/

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Re: Where are the Setup parameters?
« Reply #3 on: March 28, 2009, 01:16:46 pm »
Possibly.

Open up a command prompt (Start -> Run -> "cmd"), make your way to the server directory (look up how to use the cd command using Google) and then type in, say, "soldatserver -ls 5".

Alternatively, create a .bat file (batch file - just a good ol' text document) inside the server's directory with your desired commands in (again, "soldatserver -ls 5" is how you do it) and double click it. Be certain to save the file with the file extension ".bat".

Offline Lt. Sprizz

  • Major
  • *
  • Posts: 79
  • I'm sorry if I offended you.
Re: Where are the Setup parameters?
« Reply #4 on: March 28, 2009, 01:47:10 pm »
Lol, I'm feeling like the Biggest noob ever right now :-[.

okay, where is the server directory to save the .bat file? Are you talking about the entire Folder that contains the server(soldatserver263)? Or just one of the of the many subfolders(objects, scenery-gfx, scripts)? Or do I need to open up a .bat file in the soldatserver263 folder(mapslist, soldat, server) and edit it somewhere in the text? I am lost.

Sorry for asking all these questions, I know you're trying to help but I ama complete noob at all this stuff :(
"I am Jack's lack of surprise..." ~(Tyler Durden)
-=::SPOILER::=-
Edward Norton and Brad Pitt are the same person...:)
In-game: \Biz|Niz/

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Re: Where are the Setup parameters?
« Reply #5 on: March 28, 2009, 03:05:49 pm »
Are you talking about the entire Folder that contains the server(soldatserver263)? Or do I need to open up a .bat file in the soldatserver263 folder(mapslist, soldat, server) and edit it somewhere in the text?
Yes, the folder that contains soldatserver.exe.

Open up Notepad and type this in: (or whatever parameters you want to use)
Code: [Select]
soldatserver -ls 5
Now save this file as "run.bat" (keep the quotes) in the soldatserver263 directory. Then simply double click the run.bat file to start it up.

Offline Lt. Sprizz

  • Major
  • *
  • Posts: 79
  • I'm sorry if I offended you.
Re: Where are the Setup parameters?
« Reply #6 on: March 29, 2009, 02:37:11 pm »
O sweet thx. prolem solved :)
"I am Jack's lack of surprise..." ~(Tyler Durden)
-=::SPOILER::=-
Edward Norton and Brad Pitt are the same person...:)
In-game: \Biz|Niz/