View Issue Details

IDProjectCategoryView StatusLast Update
0003792Spring engineGeneralpublic2014-11-05 23:39
ReporterLicho Assigned TojK  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version94.1 
Summary0003792: If two mods have same name first one is used even if second archive is specified in startscript
DescriptionEven if specific archive is requested in startscript, if there are two mods with the same name, engine uses first one (or random one) instead of archive requested.
Steps To ReproduceCreate two mutators with same name in modinfo.

Use startscript to request gametype=mutator1.sdd; and then gametype=mutator2.sdd;

Same mutator will be used in both cases.

TagsNo tags attached.
Checked infolog.txt for Errors

Activities

abma

2013-05-14 19:17

administrator   ~0010694

imo .sdd shouldn't be used...

Licho

2013-05-15 02:11

reporter   ~0010695

What do you think sdd shoudlnt be used?
Its the main way to develop things for this engine!
Dont know any game dev not using it.

Also this bug probably applies to other archives as well though i didnt test.

abma

2013-05-15 02:22

administrator   ~0010696

with .sdd i meant that an archive depends on an .sdd. it always should depend on the archive name. .sdd itself should be used for developing... sure!

Licho

2013-05-15 10:22

reporter   ~0010697

Its not about mutator dependency.
Archive does not depend on .sdd, it depends on "Zero-K v1.1.3.6" in both cases.
It is about startscript + archive.

You can do the same but with regular mods.

abma

2013-05-15 10:44

administrator   ~0010698

Last edited: 2013-05-15 10:49

then don't use .sdd in startscript?

imo filename dependencies should be removed... they only will cause trobule at few / no benefit. instead you should use the archive name. (name + version tag of modinfo.lua)

Licho

2013-05-20 22:26

reporter   ~0010714

There are multiple sdd with same name .. using ".sdd" in startscript is the way to fix it and determine which one i want :-)

Its used by benchmarker to specify sdd mutator (modified by it).

jK

2014-11-05 05:00

developer   ~0013804

filenames shouldn't be used in startscript
there is also a ticket to remove that `feature`

Licho

2014-11-05 13:30

reporter   ~0013805

Ok, how do you then tell engine which game to use if two have same name? (Case of sdd mods or benchmarker mods) ?

abma

2014-11-05 23:39

administrator   ~0013807

thats simple: you can't.

Issue History

Date Modified Username Field Change
2013-05-14 17:17 Licho New Issue
2013-05-14 19:17 abma Note Added: 0010694
2013-05-15 02:11 Licho Note Added: 0010695
2013-05-15 02:22 abma Note Added: 0010696
2013-05-15 10:22 Licho Note Added: 0010697
2013-05-15 10:44 abma Note Added: 0010698
2013-05-15 10:47 abma Note Edited: 0010698
2013-05-15 10:49 abma Note Edited: 0010698
2013-05-20 22:26 Licho Note Added: 0010714
2014-11-05 05:00 jK Note Added: 0013804
2014-11-05 05:00 jK Status new => closed
2014-11-05 05:00 jK Assigned To => jK
2014-11-05 05:00 jK Resolution open => won't fix
2014-11-05 13:30 Licho Note Added: 0013805
2014-11-05 13:30 Licho Status closed => feedback
2014-11-05 13:30 Licho Resolution won't fix => reopened
2014-11-05 23:39 abma Note Added: 0013807
2014-11-05 23:39 abma Status feedback => closed
2014-11-05 23:39 abma Resolution reopened => fixed