User Details
- User Since
- Dec 22 2016, 11:05 AM (352 w, 2 h)
- Roles
- Disabled
Apr 22 2018
The part about not indicating something that I don't.
Ah, it most likely fails because it cannot nicely convert the enum class into an int (which is the whole point of using an enum class), while not having a hash specialization for the enum class. Seems very much like something that's too complicated. Use a map.
Meh, use a normal map if that works. Not worth worrying to much about this (like it seems last) issue.
I suppose the naming helps with that yes. But the main issue was (and to some extent maybe still is) too much code for what is actually required.
Apr 21 2018
I suppose if you fix those, and think a lot about the struct thing this is close enough to a state I'm not going to disagree with too much...
Apr 20 2018
The below should be most of the things that are still not fixed, there might be more, but there are more interesting things to do than complain about things that were broken relatively recently...
Apr 18 2018
One of the recent gui changes seems a step on the road of using stale data if things go wrong.
Apr 17 2018
I take it some of the last batch of comments are yet to be done.
Apr 16 2018
Just to provide some sense of scale, the original patch managed to fit download+verify into 137 lines. This patch here needs 101 lines for most of the status struct.
Apr 15 2018
And while I might not agree with a bunch of commits to the mod selector that happened recently (the count of which has increased recently), I'm still somewhat bound to complain about certain things, even though I know some of you would prefer if I wouldn't.
Mar 21 2018
Clarify some things, since people seem to get tons of things wrong anyway.
Mar 8 2018
Some cleanup, slightly nicer gui, connection warning message box.
Feb 20 2018
Use similar external_libs block for libsodium as for other libs.
Feb 19 2018
Move rationale to the header, and extend it a bit.
Feb 18 2018
Feb 17 2018
Open file as binary to make downloads actually work on win32.
Small cleanup, correct handling of malformed trusted comments.
Feb 15 2018
Verify the global sig, add some rationale, some cleanup.
Feb 9 2018
Feb 7 2018
With tests. One of which exposes breakage in the conversion code.
Feb 6 2018
Support for multiple signatures, some cleanup, temp file name to handle program termination during the download nicely.
Feb 1 2018
Jan 30 2018
Untested signature checking implementation (because downloads from upstream are
currently broken).
Jan 22 2018
Update for upstream API changes.
Jan 13 2018
Jan 9 2018
Upstream does not require secrets for downloads anymore.
Some cleanup.
Jan 8 2018
Use a custom write function to simplify hash computation.
Now check the hash. Currently not checking the length (which should be done as long as there's only md5...).
Jan 2 2018
It's more of an API and depending on some development some parts might be open source so one could host it. That said this is both WIP and a PoC.
Dec 31 2017
In case someone didn't notice that this is based on top of my working branch which will not move forward past r20551, then consider yourself informed now.
Small updates for API changes.
Dec 19 2017
I guess the RL test isn't going to happen, and me caring to update this in case someone actually gets around to check this also isn't.
Feel free to commit this in case you think it helps with not invoking undefined behaviour.
Feel free to take over, I guess here you're unlikely to break things you don't care to understand.
Still broken. Well I guess because at some point I stopped reading commits that fixed one thing and broke at least two others.
Thanks for giving the user an easy way to enable and disable mods!
Thanks for cleaning this up, breaking parts of it, not caring about invalidating possibly not obvious parts of the design instead of figuring out or even just asking to clarify that, then being smug about having done so. Have fun mainta^W breaking this more.
Dec 1 2017
I could have written that yesterday already if we would focus our energy on the partial agreement instead of the partial disagreement.
Given that you went ahead and decided to commit something broken I'll take the liberty of not doing the work of fixing your breakage. Have fun.
Nov 29 2017
Does this actually differ from D1081?
See comments elsewhere.
Does not really seem any cleaner.
- The simulation shouldn't be able to read anything apart from files under simulation/.
- rmgen shouldn't be able to read anything apart from things in maps/ and simulation/.
- GUI can read anything, because why not.
Works without pch.
I assume you built passed the parameter for building the shared glooxwrapper?
Now with UNUSED().
Given a quick grep there are 2 cases in which JSON files are read in maps/. That is not counting the one that reads civ files that already uses the helper. I'm not sure why we should have a generic function (that does not have the same behaviour everywhere) and then make things more complicated by restricting that. Two wrappers around the common function including the registration part should count in at something around 12 lines and that is counting blank lines.
Then factor out those common things into two XML files, or possibly even one and unify the capitalization of those. Oh, wait, parts of that have already been done, maybe just do the others instead of trying to do something because something must be done and this is something.
I'd still prefer getting rid of the individual non-{civ} and non-generic techs, might need a little cleanup in a few places, or introduction of replaces: "phase_x", though probably with an array. (Though I guess not introducing the latter is a lot cleaner.
This also removes the "preferential" treatment of enemies over gaia. Not that I guess any of that has been considered since fixing a single map seems important.
Why can't page_foo_bar.xml not be for foo/bar/? Not that there is any need to have all of that in a single folder. Folders make things easier to compartmentalize, use them.
Doesn't fix the one invalid comment before the actual replacement.
Something something reviews.
Nov 26 2017
No, what was done previously just had no sense. If we want to only allow to build structures from the Identity civ, then the unit template should just not have {civ} but the civ we want: It would be useless to have that {civ} replacement here,. The behaviour of the patch (replaced by the civ player, as is done in the ProductionQueue for units) is what has always been expected but was buggy.
Ah, I guess I was somewhat confused by the comment that wasn't fixed in rP16506 that still talks about the entity. Same for the schema here and in the production queue.
Nov 25 2017
Those just state "Yeah, that shouldn't be done and now we'll enshrine that after not checking any previous discussion after less than a day of discussion.".
This now prevents C&C style capturing (which allows one to build everything from the other faction). It also somewhat breaks that one cheat.
That seems limiting. Imagine a case where a ship can and does garrison siege engines. Assuming sane people they would try to get to land, but nobody would care about dying just to save some heavy equipment.
The logic is, if a unit can ungarrison when we click the ungarrison button then they should also ungarrison when the ship dies, the two behaviors should be exactly the same.
Depends if we want to reward players for being lazy. Also it seems that the consensus was that we don't want to do that in this case at some point.
Sentinel might be the word you are looking for.
For example, healers and cavalry can garrison in a bireme, but when it sinks they'll die rather than try to ungarrison:
<GarrisonHolder> <EjectClassesOnDestroy datatype="tokens">FemaleCitizen Infantry Dog</EjectClassesOnDestroy> <List datatype="tokens">Support Infantry Cavalry Dog</List>I feel the lists should be the same (which means we can get rid of EjectClassesOnDestroy).
That seems limiting. Imagine a case where a ship can and does garrison siege engines. Assuming sane people they would try to get to land, but nobody would care about dying just to save some heavy equipment.
Probably not, still it doesn't really hurt to include it.
Ah, hadn't noticed that one.
I'll keep the current thing in my local tree, in case someone cares enough about this to do the work take over.
Now with the correct commit.
Actually fail. Not really more tested than the previous iteration, though I have had this iteration in my local copy for a while.
Remove now useless include. Also include network code changes.