Rename the mod filename and others cant watch the replay.

Rename the mod filename and others cant watch the replay.

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Rename the mod filename and others cant watch the replay.

Post 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
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

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

Post 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.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

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

Post 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?
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

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

Post 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.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

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

Post by Auswaschbar »

Done.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

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

Post by Pxtl »

Auswaschbar wrote:Done.
You mean the mutator problem? How do you reference the dependancy, (if not by filename) then?
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

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

Post 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", ...)
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

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

Post 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....
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

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

Post 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.
Post Reply

Return to “Help & Bugs”