Author Topic: ServerName  (Read 578 times)

0 Members and 1 Guest are viewing this topic.

Offline VinceBros

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 275
ServerName
« on: July 28, 2009, 04:15:43 pm »
Is it possible without loading any Configs to change the ServerName in a script ?

Offline freestyler

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 326
Re: ServerName
« Reply #1 on: July 28, 2009, 04:52:34 pm »
No, the severname is stored in config, so you would have to do /loadcon after altering the INI file.

Offline VinceBros

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 275
Re: ServerName
« Reply #2 on: July 28, 2009, 05:22:12 pm »
Okay thanks.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: ServerName
« Reply #3 on: July 28, 2009, 10:35:07 pm »
Or create a new soldatini file, and /loadcon <filename>; don't have to necessarially modify soldat.ini.

Offline VinceBros

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 275
Re: ServerName
« Reply #4 on: July 30, 2009, 04:09:09 pm »
Can i work with ReadFile so it reads the Server_Name part and can i modify it with WriteFile ...Hrmmm... through a command by example ? ( That part would have /loadcon soldat )