Jump to content

Kleston

Member
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Kleston

  1. I'm having the same issue as DennisMidjord. I created a game config, it just does not download anything. Even when I try manually through shell I get the same results.
  2. Ahh, problem solved, i had to quote the variable so it's outside of the sed call. #!/bin/bash sed -i 's/name="ServerPort"\s*value=".*"/name="ServerPort" value="'${ThisService_GamePort}'"/g' serverconfig.xml; sed -i 's/name="ServerMaxPlayerCount"\s*value=".*"/name="ServerMaxPlayerCount" value="'${ThisService_Slots}'"/g' serverconfig.xml; sed -i 's/name="ControlPanelPort"\s*value=".*"/name="ControlPanelPort" value="'${ThisService_QueryPort}'"/g' serverconfig.xml; sed -i 's/name="TelnetPort"\s*value=".*"/name="TelnetPort" value="'${ThisService_RConPort}'"/g' serverconfig.xml;
  3. Yea I pasted the wrong copy initially in here. I do have linux variables but it still just passes the variable phrase rather than the actual service variable. If i throw in an echo to print the variable the echo works, it's just not passing with the script to the file.
  4. I have the following script set up as a custom icon for the user to execute to update the config file. #!/bin/bash sed -i 's/name="ServerPort"\s*value=".*"/name="ServerPort" value="%ThisService_GamePort%"/g' serverconfig.xml; sed -i 's/name="ServerMaxPlayerCount"\s*value=".*"/name="ServerMaxPlayerCount" value="%ThisService_Slots%"/g' serverconfig.xml; sed -i 's/name="ControlPanelPort"\s*value=".*"/name="ControlPanelPort" value="%ThisService_RConPort%"/g' serverconfig.xml; sed -i 's/name="TelnetPort"\s*value=".*"/name="TelnetPort" value="%ThisService_QueryPort%"/g' serverconfig.xml; Unfortunately when it's run, it does not pass the variable results, just the variable name. Has anyone else come across this issue?
  5. It looks like you don't have glibc properly installed. I don't know your OS so I can't direct you further but that'll take you to the right spot. Google for this and you'll get some info. ld-linux.so.2 bad elf interpreter As far as mumble, that's a different issue. The command line is bad. The default is -ini murmur.ini -fg -v $[service.Slots] There is no actual flag or method of passing the server slots to the ini correctly so if you run it without $[service.Slots] it will start, but the user can then edit slots in the .ini. I'm still looking for a solution on that issue myself.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use