Page 1 of 1

Rename the mod filename and others cant watch the replay.

Posted: 23 Apr 2008, 15:23
by TradeMark
http://replays.adune.nl/?act=replay&id=32

For example in that, it seems like it uses the filename as identifier for the mod, when it should be the checksum?

Edit:
Oh nevermind, seems like there is a thread about this already:
http://spring.clan-sy.com/phpbb/viewtop ... 11&t=14616

Re: Rename the mod filename and others cant watch the replay.

Posted: 23 Apr 2008, 18:17
by Pxtl
Has this been logged as a bug?

Likewise, the same problem exists for referencing other packages. You can't make a mutator for BA anymore since you don't know what the filename is (BA62X or InstallerVersion) - and if you make a version for each filename, then you've changed the hash of your own mutator package, which makes the mutator incompatible with itself depending on which BA file it depends on.

Re: Rename the mod filename and others cant watch the replay.

Posted: 23 Apr 2008, 18:29
by Auswaschbar
Pxtl wrote:Has this been logged as a bug?
It has had its own mantis entry, but I fixed this bug a while ago.
Pxtl wrote:Likewise, the same problem exists for referencing other packages. You can't make a mutator for BA anymore since you don't know what the filename is (BA62X or InstallerVersion) - and if you make a version for each filename, then you've changed the hash of your own mutator package, which makes the mutator incompatible with itself depending on which BA file it depends on.
Where do you reference them? I'm not sure how mutators work, so you may explain?

Re: Rename the mod filename and others cant watch the replay.

Posted: 23 Apr 2008, 18:41
by Peet
Auswaschbar wrote:Where do you reference them? I'm not sure how mutators work, so you may explain?
Mutators list another mod (by file name) as a dependency in modinfo.tdf.

Re: Rename the mod filename and others cant watch the replay.

Posted: 23 Apr 2008, 20:17
by Auswaschbar
Done.

Re: Rename the mod filename and others cant watch the replay.

Posted: 23 Apr 2008, 21:37
by Pxtl
Auswaschbar wrote:Done.
You mean the mutator problem? How do you reference the dependancy, (if not by filename) then?

Re: Rename the mod filename and others cant watch the replay.

Posted: 23 Apr 2008, 21:43
by Auswaschbar
Pxtl wrote:
Auswaschbar wrote:Done.
You mean the mutator problem? How do you reference the dependancy, (if not by filename) then?
Either you use the filename like before or by modname ("Balanced Annihilation V6.21", "OTA Content", ...)

Re: Rename the mod filename and others cant watch the replay.

Posted: 23 Apr 2008, 22:10
by Pxtl
Great!... which package does it use in the event of multiple packages with the same modname (but different version numbers and mutators)? The one with the highest version number? Or is including the version number and mutator mandatory? Of course, I don't know how much engine support those new tags even have....

Re: Rename the mod filename and others cant watch the replay.

Posted: 23 Apr 2008, 22:49
by Auswaschbar
The one which is found first is used? It will use the same file like it would use if you had this string as Gametype in the startscript.
BA for example has "Balanced Annihilation V6.21" as name.