MantisBT - Doomseeker
View Issue Details
0001640Doomseeker[All Projects] Bugpublic2014-01-04 16:452018-09-29 14:44
Monsterovich 
Zalewa 
normalmajoralways
closedfixed 
LinuxUbuntuany
0.12 Beta 
0.12 Beta0.12 Beta 
0001640: Shell (bash) don't understand double '"string!"' symbols and turns them into null string.
In Doomseeker command line:

'/usr/bin/zandronum-server' '-iwad' '/home/monsterovich/.zandronum/doom2.wad' '-file' '/home/monsterovich/.doomseeker/skulltag_actors_1-1-1.pk3' '-file' '/home/monsterovich/.doomseeker/skulltag_data_126.pk3' '-file' '/home/monsterovich/.doomseeker/HellVsMarinesAdv-4.44.pk3' '-file' '/home/monsterovich/.doomseeker/gw2.wad' '-port' '10777' '+timelimit' '0' '+winlimit' '8' '+sv_maxlives' '0' '-host' '+alwaysapplydmflags' '1' '-skill' '4' '+teamlms' '1' '+sv_hostemail' '"Monsterovich@gmail.com"' '+map' 'map01' '+sv_maprotation' '0' '+sv_randommaprotation' '0' '+sv_motd' '"Welcome!\nAdmin: Monsterovich!"' '+sv_hostname' '"Hell Vs Marines BloodyMatch"' '+sv_website' '"http://submarine.strangled.net/wads/"' '+sv_password' '""' '+sv_forcepassword' '0' '+sv_joinpassword' '""' '+sv_forcejoinpassword' '0' '+sv_rconpassword' '":D"' '+sv_broadcast' '1' '+sv_updatemaster' '1' '+sv_maxclients' '24' '+sv_maxplayers' '24' '+dmflags' '5120' '+dmflags2' '1048576' '+dmflags3' '32' '+compatflags' '0' '+compatflags2' '0' '+lmsallowedweapons' '0' '+lmsspectatorsettings' '3' '+sv_afk2spec' '0' '+sv_coop_damagefactor' '1' '+sv_defaultdmflags' '0'

------------------------------------------------------------------

Bad way:
sv_whydoomseekerhasbugs '"string"'

Good way:
sv_whydoomseekerhasbugs "string"
or
sv_whydoomseekerhasbugs 'string'
Remove '' from

Then command line should be:
/usr/bin/zandronum-server -iwad /home/monsterovich/.zandronum/doom2.wad -file /home/monsterovich/.doomseeker/skulltag_actors_1-1-1.pk3 -file /home/monsterovich/.doomseeker/skulltag_data_126.pk3 -file /home/monsterovich/.doomseeker/HellVsMarinesAdv-4.44.pk3 -file /home/monsterovich/.doomseeker/gw2.wad -port 10777 +timelimit 0 +winlimit 8 +sv_maxlives 0 -host +alwaysapplydmflags 1 -skill 4 +teamlms 1 +sv_hostemail "Monsterovich@gmail.com" +map map01 +sv_maprotation 0 +sv_randommaprotation 0 +sv_motd "Welcome!\nAdmin: Monsterovich!" +sv_hostname 'Hell Vs Marines BloodyMatch' +sv_website "http://submarine.strangled.net/wads/" +sv_password "" +sv_forcepassword 0 +sv_joinpassword "" +sv_forcejoinpassword 0 +sv_rconpassword ":)" +sv_broadcast 1 +sv_updatemaster 1 +sv_maxclients 24 +sv_maxplayers 24 +dmflags 5120 +dmflags2 1048576 +dmflags3 32 +compatflags 0 +compatflags2 0 +lmsallowedweapons 0 +lmsspectatorsettings 3 +sv_afk2spec 0 +sv_coop_damagefactor 1 +sv_defaultdmflags 0
No tags attached.
Issue History
2014-01-04 16:45MonsterovichNew Issue
2014-04-06 14:04ZalewaAssigned To => Zalewa
2014-04-06 14:04ZalewaStatusnew => assigned
2014-04-06 14:04ZalewaTarget Version => 0.12 Beta
2014-04-06 14:48ZalewaNote Added: 0008504
2014-04-06 14:48ZalewaStatusassigned => needs review
2014-04-07 21:50ZalewaNote Added: 0008517
2014-04-07 21:50ZalewaStatusneeds review => needs testing
2014-05-11 16:51ZalewaNote Added: 0008780
2014-05-11 16:51ZalewaStatusneeds testing => resolved
2014-05-11 16:51ZalewaFixed in Version => 0.12 Beta
2014-05-11 16:51ZalewaResolutionopen => fixed
2018-09-29 14:44WubTheCaptainStatusresolved => closed

Notes
(0008504)
Zalewa   
2014-04-06 14:48   
- Zandronum: excessive wrapping of server host arguments in quotation marks.
- CMD line arguments weren't cleaned when being wrapped in standard server console.

These changes need to be thoroughly tested on all systems that we support. I've briefly tested them on Windows and Linux and both systems seem to respond properly.
(0008517)
Zalewa   
2014-04-07 21:50   
Windows update available on beta update channel and on DRD team page. Please test thoroughly. Linux users will have to compile by themselves.
(0008780)
Zalewa   
2014-05-11 16:51   
Resolving due to release of version 0.12 where this is implemented.