Raised This Month: $32 Target: $400
 8% 

Linux server not reading .cfg properly


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
suhdude
Senior Member
Join Date: Mar 2016
Location: Sweden
Old 11-16-2017 , 21:39   Linux server not reading .cfg properly
Reply With Quote #1

I have a config that i execute when match is live.
It is supposed to restart the round three times.

But I don't think my new linux server reads the alias or wait command properly.
I have saved the .cfg file in UNIX(LF) and the section looks like this:

Quote:
say -| Loading gather configuration! |-
alias wait10 "wait; wait; wait; wait; wait; wait; wait; wait; wait; wait;"
alias "wait50" "wait10; wait10; wait10; wait10; wait10"
alias "wait100" "wait50; wait50"

sv_restart 1
wait100
sv_restart 1
wait100
sv_restart 1
wait100
Is there a way to fix this? I have these resets timed to match a VOX speech message.
It stopped working when I switched to linux, everything else is working.

Thank you.

Last edited by suhdude; 11-16-2017 at 21:39.
suhdude is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 11-16-2017 , 22:51   Re: Linux server not reading .cfg properly
Reply With Quote #2

How do you execute this config? via RCON or directly from server? Need more output on this to be able to solve.

Also, do these commands work, if you push them through RCON or server console?
__________________
Spirit_12 is offline
suhdude
Senior Member
Join Date: Mar 2016
Location: Sweden
Old 11-16-2017 , 23:24   Re: Linux server not reading .cfg properly
Reply With Quote #3

Quote:
Originally Posted by Spirit_12 View Post
How do you execute this config? via RCON or directly from server? Need more output on this to be able to solve.

Also, do these commands work, if you push them through RCON or server console?
When I use the exact same config on windows, it works.
I load it using rcon exec gather.cfg


I also tried this in console, in both windows and linux:
wait100; wait100; wait100; sv_restart 1

it did not work.
My guess is alias don't work with linux.
suhdude is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode