LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

Arma3Server START vs DEBUG error

Open Talven81 opened this issue 10 years ago • 6 comments

When issuing ./arma3server START the following mod variable works. mods="@CBA_A3;@ace;"

When issuing DEBUG the escape backslashes cause the mods to fail to load and only works if as such. mods="@CBA_A3;@ace;"

This is due to direct issuing of the command in DEBUG vs. issuing the command during START through tmux requiring escape backslashes for the string to be accepted.

This can be fixed by modifying command_debug.sh and adding in on line 56 a translation string to strip out the backslashes. parms=$(echo $parms | tr -d )

This also applies to servermods variable, but the above takes care of both.

Talven81 avatar Mar 04 '16 19:03 Talven81

i have just noticed this also. in compiling a tutorial for the mods folders, i was double checking and came across this issue, @Talven81 i will test it out under both debug and standard. @UltimateByte if it pans out i will do a pull request for it. Testing it out tonight.

Thanks @Talven81 i think you have saved a lot of tooth pulling :)

igeighty avatar Jun 15 '16 07:06 igeighty

Nope I can't make it work, @Talven81 could you post your modified command_debug.sh to pastbin please mate ?

igeighty avatar Jun 15 '16 10:06 igeighty

Is there an update to this? Or can it be closed?

dgibbs64 avatar Jul 17 '16 00:07 dgibbs64

Hi Dan, @Talven81 never posted back his solution, indeed there is a difference in how debug and start works. I have got nowhere with this though as i cannot code tmux, it is well above me.

for now i have been just working around this issue. i am more than happy to test any ideas on it you may have.

i did notice that parms=$(echo $parms | tr -d \) threw errors, yet parms=$(echo $parms | tr -d \ ) (with space before trailing bracket got further. but errored.

in #651 i posted a few example of what works and what doesn't. in all honesty though i stopped hosting mods and just went vanilla.

regards. Doug

igeighty avatar Jul 17 '16 02:07 igeighty

https://github.com/GameServerManagers/LinuxGSM/wiki/Arma-3

All works as it should. Confirmed with @XxROBOTICSxX today, walking him through the process.

cedarlug avatar Oct 11 '16 02:10 cedarlug

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jul 19 '18 04:07 lock[bot]