Page 1 of 1

Stop unitsync from bundling the version with the modname

Posted: 06 Nov 2010, 12:26
by Forboding Angel
[06:21:33] <LadderBot> modname: Evolution RTS
[06:21:33] <LadderBot> Blacklisted options ( if a value is present for a key, such value won't be allowed ):
[06:21:57] <BrainDamage> modname is wrong
[06:22:08] <BrainDamage> it has to contain the version
[06:22:16] <BrainDamage> it matches exactly the name
[06:22:17] <[Evo]Forboding_Angel> Assuming it uses modname from modinfo.lua, it's correct
[06:22:21] <BrainDamage> no
[06:22:34] <[Evo]Forboding_Angel> augh
[06:22:35] <BrainDamage> unitsync automatically appends the version
[06:22:41] <BrainDamage> to modname
[06:22:49] <BrainDamage> it's rather silly actually
[06:23:04] <[Evo]Forboding_Angel> no way to use wildcards in the modname?
[06:23:07] <[Evo]Forboding_Angel> :-(
[06:23:17] <BrainDamage> patches welcome :p
[06:23:27] <[Evo]Forboding_Angel> well wait
[06:23:32] <[Evo]Forboding_Angel> if that doesn't work
[06:23:41] <[Evo]Forboding_Angel> then why did it join my game without complaining?
[06:24:09] <BrainDamage> there's a function to check options
[06:24:11] <BrainDamage> run it
[06:24:20] <BrainDamage> it's able to join any game
[06:24:36] <BrainDamage> it can switch ladder on the fly
[06:24:47] <[Evo]Forboding_Angel> oh
[06:24:51] <[Evo]Forboding_Angel> well crud
[06:25:05] <[Evo]Forboding_Angel> That means it only works with "Latest" versions
[06:25:17] <[Evo]Forboding_Angel> sigh, time to make a feature request

Re: Stop unitsync from bundling the version with the modname

Posted: 06 Nov 2010, 12:29
by Licho
When you do it FA, also don't forget to disable mod and map hash checks when running in dedicated server.

Re: Stop unitsync from bundling the version with the modname

Posted: 08 Nov 2010, 19:59
by Tobi
Not disable, but compare players' hashes against each other.

Re: Stop unitsync from bundling the version with the modname

Posted: 09 Nov 2010, 12:32
by Hoi
lua it.

That was a pretty good troll, right?

Anyway:

- User asks something
- Devs tell him to do it himself

Maybe it is better to be nicer?

Re: Stop unitsync from bundling the version with the modname

Posted: 09 Nov 2010, 13:44
by Licho
Tobi wrote:Not disable, but compare players' hashes against each other.
Thats too hard, we need it to be fixed about 3 years ago :(

Simplest fix is to not check hash if host hash is 0.