MantisBT - Zandronum
View Issue Details
0002182Zandronum[All Projects] Bugpublic2015-04-11 00:512018-09-30 21:38
DevilHunter 
Dusk 
normalminoralways
closedfixed 
LinuxUbuntu10.04 x86-64
2.0 
2.12.1 
0002182: -optfile thinks .cfg files are optional wads
Just as the title says, when using -optfile in a sh file, it will also say that the config file is an optional wad. Dunno any other way to explain that heh.
1. make a .sh file; dump the cmd line in there like
"/home/zandronum/zandronum-server/zandronum-server -iwad doom2.wad -file something.wad -optfile derp.wad +exec /home/zandronum/serverconfigs/doom2.cfg"
3. run it
4. look at your server in either Doom Explorer or Doomseeker. (I think IDE did not get the optfile support added in)
5. the config file will show as Optional wad.
That's about it really..
No tags attached.
child of 0001473closed Dusk "Optional Wads" for servers 
png optfilebug.PNG (39,332) 2015-04-11 00:51
/tracker/file_download.php?file_id=1456&type=bug
png

? 00-doom.sh (241) 2015-04-11 00:53
/tracker/file_download.php?file_id=1457&type=bug
png OptionalWadBug.PNG (40,584) 2015-04-11 21:19
/tracker/file_download.php?file_id=1458&type=bug
png
Issue History
2015-04-11 00:51DevilHunterNew Issue
2015-04-11 00:51DevilHunterFile Added: optfilebug.PNG
2015-04-11 00:53DevilHunterFile Added: 00-doom.sh
2015-04-11 00:53DevilHunterNote Added: 0012082
2015-04-11 21:17DevilHunterNote Edited: 0012082bug_revision_view_page.php?bugnote_id=12082#r6942
2015-04-11 21:19DevilHunterFile Added: OptionalWadBug.PNG
2015-04-11 21:21DevilHunterNote Edited: 0012082bug_revision_view_page.php?bugnote_id=12082#r6943
2015-04-11 23:35DevilHunterNote Added: 0012088
2015-04-12 10:02cobaltAssigned To => Dusk
2015-04-12 10:02cobaltStatusnew => needs testing
2015-04-12 10:02cobaltTarget Version => 2.1
2015-04-12 10:02cobaltSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6947#r6947
2015-04-12 10:02cobaltNote Added: 0012092
2015-04-12 10:02DuskStatusneeds testing => resolved
2015-04-12 10:02DuskFixed in Version => 2.1
2015-04-12 10:02DuskResolutionopen => fixed
2015-04-16 12:18DuskRelationship addedchild of 0001473
2018-09-30 21:38Blzut3Statusresolved => closed

Notes
(0012082)
DevilHunter   
2015-04-11 00:53   
(edited on: 2015-04-11 21:21)
Forgot to add.. the sh file uploaded on this ticket is for testing. Adjust the paths in it before running it. Mind you, this is on Linux.

EDIT: Come to figure out, if you move the cfg bit in the sh file before the -optfile, it will not show it as an optional wad.

It also shows in Doomseeker. Doomseeker screenshot posted

(0012088)
DevilHunter   
2015-04-11 23:35   
'https://bitbucket.org/crimsondusk/zandronum-sandbox/commits/f70acd0f2d5da883c9c3a88bbf2a59e0059030d7 [^]'

This is fixed now. Sucks having to wait for 2.1 or whateva but eh. Goes to show this feature wasn't tested well enough.
(0012092)
cobalt   
2015-04-12 10:02   
Issue addressed by commit a2f01a773285: Fixed: -optfile would eat away ccmd calls (such as +exec) and their arguments.
Committed by Teemu Piippo [Dusk] on Sunday 12 April 2015 00:29:48

Changes in files:
 docs/zandronum-history.txt | 1 +
 src/d_main.cpp | 1 +
 2 files changed, 2 insertions(+), 0 deletions(-)