Page MenuHomeWildfire Games
Feed All Stories

Apr 22 2019

wraitii added reviewers for D1777: Move maptype and mapfilter from gui/gamesetup/ to gui/common/settings.js: Restricted Owners Package, wraitii.
Apr 22 2019, 9:34 AM
wraitii added a reviewer for D1650: GridBrowser GUI addon: Restricted Owners Package.
Apr 22 2019, 9:33 AM
wraitii added a reviewer for D1702: GUI addon to animate objects proprieties: wraitii.
Apr 22 2019, 9:33 AM
wraitii added a reviewer for D1825: Resize (XML object) bar JS GUI addon: Restricted Owners Package.

This does sound like a 'core' c++ feature to me, but having a JS implementation first and then possibly porting it to C++ sounds like an interesting approach to me.

Apr 22 2019, 9:30 AM
wraitii requested changes to D1815: match unit classes with templates.

Care to do the siege units as well? If not, I'll un-request changes.

Apr 22 2019, 9:24 AM
wraitii added a reviewer for D1775: Delete unused technologies: Restricted Owners Package.
Apr 22 2019, 9:23 AM
wraitii added a reviewer for D1838: Add proximity attack component.: Restricted Owners Package.

Open question for other devs: don't we already have a patch for trample damage somewhere?

Apr 22 2019, 9:23 AM

Apr 21 2019

bb added a comment to D1613: Improve the plural translation of the "<players> have won" string.

k, now I understand the problem, gaelic hardcodes that 1 and 11 must always be the singular form, however that isn't the case in this string.

Apr 21 2019, 10:32 PM
bb accepted D1663: Display lobby bots differently in the lobby.

Patch still applies correctly, reads correct, front doesn't fall => accept

Apr 21 2019, 9:39 PM
wraitii added inline comments to rP22203: Communicate field diminishing returns to the player in the fields tooltip.
Apr 21 2019, 8:46 PM
elexis added inline comments to rP22203: Communicate field diminishing returns to the player in the fields tooltip.
Apr 21 2019, 8:42 PM
Stan raised a concern with rP22203: Communicate field diminishing returns to the player in the fields tooltip.
Apr 21 2019, 8:38 PM
elexis removed 2 auditor(s) for rP22197: Change Run Speed into a Run multiplier.: bb, elexis.

Given that the statement m_SpeedRatio = is only intended for the switch fallthrough cases and not MT_Deserialize the basis for my suspicion fall away.

Apr 21 2019, 7:36 PM
elexis added a comment to D1840: RunSpeedMultiplier cleanup: improve variable names and reuse a duplicated function (rP22197).

So if you want to keep the statement that is a null-statement in the MT_Deserialize case in order to minimize the code, okay.

Apr 21 2019, 7:33 PM
elexis added inline comments to D438: Change Run Speed into a Run multiplier.
Apr 21 2019, 7:32 PM
wraitii added a comment to rP22204: Rename generic ballista template to boltshooter and onager to stonethrower to….

I'm wondering the real usefulness of the bolt shooter vs stonethrower templates also. It seems to me basically all "shooter" siege engines of the time were torsion engines, which could fire smaller or bigger projectiles and arrows or stone sort of indifferently.
The main difference was mostly whether they could shoot precisely (aka be used as a marksman's tool) and mostly horizontally to target enemy units, which was in general a factor of size it seems.
Might be more interesting to have a "light" and "heavy" variant or something. Or just merge them and specialize derived templates since siege engines were kind of civ-specific beyond rams.

Apr 21 2019, 7:18 PM
wraitii added inline comments to D438: Change Run Speed into a Run multiplier.
Apr 21 2019, 7:08 PM
wraitii committed rP22204: Rename generic ballista template to boltshooter and onager to stonethrower to….
Rename generic ballista template to boltshooter and onager to stonethrower to…
Apr 21 2019, 7:04 PM
wraitii closed D1760: Remove template_unit_mechanical.xml.
Apr 21 2019, 7:04 PM
elexis added inline comments to D438: Change Run Speed into a Run multiplier.
Apr 21 2019, 7:00 PM
bb added inline comments to D1727: Update auras when a formation member renames..
Apr 21 2019, 6:53 PM
bb added a comment to D1840: RunSpeedMultiplier cleanup: improve variable names and reuse a duplicated function (rP22197).
In D1840#75562, @elexis wrote:

If the value that SetSpeedRatio computes differs from the serialized value, by definition it's OOS?

Yes.

However, that value can only differ if m_SpeedRatio > std::min(ratio, m_RunSpeedMultiplier).
Which is impossible because the only place modifying m_SpeedRatio is SetSpeedRatio, which does m_SpeedRatio = std::min(ratio, m_RunSpeedMultiplier).

consider modifiying m_RunSpeedMultiplier too, which is only done on ownershipchange and valuemodification (afaik), where we set the value too

Apr 21 2019, 6:46 PM
wraitii added a comment to D1840: RunSpeedMultiplier cleanup: improve variable names and reuse a duplicated function (rP22197).
In D1840#75562, @elexis wrote:

If the value that SetSpeedRatio computes differs from the serialized value, by definition it's OOS?

Apr 21 2019, 6:42 PM
wraitii added inline comments to D438: Change Run Speed into a Run multiplier.
Apr 21 2019, 6:41 PM
elexis added inline comments to D438: Change Run Speed into a Run multiplier.
Apr 21 2019, 6:33 PM
elexis added a comment to D1840: RunSpeedMultiplier cleanup: improve variable names and reuse a duplicated function (rP22197).

If the value that SetSpeedRatio computes differs from the serialized value, by definition it's OOS?

Apr 21 2019, 6:33 PM
bb committed rP22203: Communicate field diminishing returns to the player in the fields tooltip.
Communicate field diminishing returns to the player in the fields tooltip
Apr 21 2019, 6:26 PM
bb closed D1803: Communicate field diminishing returns to the player.
Apr 21 2019, 6:26 PM
bb accepted D1803: Communicate field diminishing returns to the player.

when someone decides to have something other than a grain field, one can always change it in the parent.

Apr 21 2019, 6:24 PM
wraitii added a comment to D438: Change Run Speed into a Run multiplier.
In D438#75552, @elexis wrote:

(See also comments in rP22197.)

But m_SpeedRatio is serialized and then replaced by m_SpeedRatio = std::min(m_SpeedRatio, m_RunSpeedMultiplier);.
This sounds like it would go OOS if that line changes the value,
or if the line never changes the value, is a useless line (misleading the reader to believe that it has use)?

See D1840, but this is only to check if the "new" m_RunSpeedMultiplier isn't actually lower than m_SpeedRatio, which can happen after an aura/tech/ownership change.
Deserialization actually uses this call solely to recompute m_Speed.

Apr 21 2019, 6:06 PM
Vulcan added a comment to D1829: Fix Pathgoal::RectContainsGoal family of function for SQUARE goals, reduce ambiguities, improve coherence among the different functions..

Successful build - Chance fights ever on the side of the prudent.

Apr 21 2019, 6:01 PM
elexis added a comment to D438: Change Run Speed into a Run multiplier.

(See also comments in rP22197.)

Apr 21 2019, 6:01 PM
wraitii added inline comments to D1828: Health.js cleanup: add tests, add an "IsInjured" function, use GetHitpoints everywhere.
Apr 21 2019, 6:00 PM
wraitii updated the diff for D1829: Fix Pathgoal::RectContainsGoal family of function for SQUARE goals, reduce ambiguities, improve coherence among the different functions..

Mhpf, you're right. Fix other whitespace in this file while I'm at it.

Apr 21 2019, 5:59 PM
Vulcan added a comment to D1840: RunSpeedMultiplier cleanup: improve variable names and reuse a duplicated function (rP22197).

Successful build - Chance fights ever on the side of the prudent.

Apr 21 2019, 5:56 PM
wraitii added a comment to D438: Change Run Speed into a Run multiplier.

See D1840.

Apr 21 2019, 5:54 PM
wraitii created D1840: RunSpeedMultiplier cleanup: improve variable names and reuse a duplicated function (rP22197).
Apr 21 2019, 5:53 PM
bb added inline comments to D1829: Fix Pathgoal::RectContainsGoal family of function for SQUARE goals, reduce ambiguities, improve coherence among the different functions..
Apr 21 2019, 5:51 PM
wraitii added a comment to D438: Change Run Speed into a Run multiplier.

This code is safe.

Apr 21 2019, 5:46 PM
Vulcan added a comment to D1828: Health.js cleanup: add tests, add an "IsInjured" function, use GetHitpoints everywhere.

Successful build - Chance fights ever on the side of the prudent.

Apr 21 2019, 5:39 PM
Vulcan added a comment to D1829: Fix Pathgoal::RectContainsGoal family of function for SQUARE goals, reduce ambiguities, improve coherence among the different functions..

Successful build - Chance fights ever on the side of the prudent.

Apr 21 2019, 5:36 PM
elexis added a comment to D1837: Input.js refactoring - separate diplomatic tribute in their own file..

It appears an NDA can result in multiple states

For the deterministic automaton there is at most one transition for the current character of the word that the automaton processes.
For the non-deterministic automaton, there are zero or more states that follow for a any given character.
But every transition transitions between two states of the automaton.

Apr 21 2019, 5:34 PM
bb added inline comments to rP22197: Change Run Speed into a Run multiplier..
Apr 21 2019, 5:34 PM
wraitii updated the diff for D1828: Health.js cleanup: add tests, add an "IsInjured" function, use GetHitpoints everywhere.

Remove the helpers mock for now.

Apr 21 2019, 5:33 PM
bb added a comment to D438: Change Run Speed into a Run multiplier.
In D438#75520, @elexis wrote:
In D438#74992, @bb wrote:

(we also need to do an OOS test on this btw)
did a quick rejoin test, which did not oos

What does quick rejoin test mean? Which steps did you perform?

Host a game and join with another player (both with the patch ofc), load the game and move stuff around (in formation, guard, attack a deer, do a tech etc.), leave with the joiner, and rejoin. Now move some more stuff and wait a little.

UnitMotion cannot know if this speed is on purpose or not so always adjust and let unitAI and such adapt

Assume this comment is true,
then UnitAI changes the runmultiplier and it yields an OOS, correct?

How will UnitAI change the runMultiplier? it is a template value, maybe modified by some tech...

Isn't serialization of the run multiplier so that UnitMotion can know if this speed is on purpose?

Where is it serialized? It is desirialized such that the rejoiner knows that a tech is researched, further it is a template value.

Is the deserialized runmultiplier read from? It looks like it's overwritten with a different value before it's read from.

The only other place I see it is set, is the init, which should be earlier right?

Apr 21 2019, 5:31 PM
elexis added a comment to D438: Change Run Speed into a Run multiplier.
In D438#74992, @bb wrote:

(we also need to do an OOS test on this btw)
did a quick rejoin test, which did not oos

Apr 21 2019, 5:16 PM
wraitii updated the diff for D1829: Fix Pathgoal::RectContainsGoal family of function for SQUARE goals, reduce ambiguities, improve coherence among the different functions..

Hopefully clarify comments.

Apr 21 2019, 5:11 PM
wraitii added a comment to D1837: Input.js refactoring - separate diplomatic tribute in their own file..

About creating new files, Im skeptical if they are 120 lines short, since the other files are couple of thousand lines long

Apr 21 2019, 5:06 PM
bb committed rP22202: Bring the palisade templates under their own parent (instead of the stone wall)..
Bring the palisade templates under their own parent (instead of the stone wall).
Apr 21 2019, 4:55 PM
bb closed D1796: create template_defensive_palisade.xml.
Apr 21 2019, 4:55 PM
bb accepted D1796: create template_defensive_palisade.xml.

I noticed that some structures have smaller cost than loot, which looks a bit weird. Leaving that as is for now, this patch doesn't change this.

Apr 21 2019, 4:51 PM
elexis added a comment to D1837: Input.js refactoring - separate diplomatic tribute in their own file..

I'm switching from an FSM to a non-deterministic state machine so we could be in multiple states at once

Last time I checked, an automaton is always in exactly one state at a time, but a specific word that an NDA processes can result in one of multiple states, otherwise it would be a deterministic one.

Apr 21 2019, 4:35 PM
Vulcan added a comment to D1839: Fix hotkey event sync with hotkey state..

Successful build - Chance fights ever on the side of the prudent.

Apr 21 2019, 4:25 PM
wraitii added inline comments to D1839: Fix hotkey event sync with hotkey state..
Apr 21 2019, 4:23 PM
wraitii created D1839: Fix hotkey event sync with hotkey state..
Apr 21 2019, 4:19 PM
Stan added a comment to D1691: Remove boost "system" from Mac OS build system..

Both hunks are Mac OS :) I was just stating that since we didn't remove it for Linux it wasn't an argument for doing it on Mac ;) I don't see a problem with committing this but since @wraitii seems to think this is not worth it I wanted to know why.

Apr 21 2019, 3:45 PM
wraitii added a comment to D1837: Input.js refactoring - separate diplomatic tribute in their own file..

@elexis I'm inviting you to look at this, from playing around with it it feels much nicer to me.

Apr 21 2019, 11:11 AM
Vulcan added a comment to D1837: Input.js refactoring - separate diplomatic tribute in their own file..

Successful build - Chance fights ever on the side of the prudent.

Apr 21 2019, 11:09 AM
wraitii added inline comments to D1837: Input.js refactoring - separate diplomatic tribute in their own file..
Apr 21 2019, 11:08 AM
wraitii updated the diff for D1837: Input.js refactoring - separate diplomatic tribute in their own file..

More complete example of what I'm envisioning. We'd have possibly multiple "Input State" components that listen to events and possibly 'kill' themselves - so no transition from an input state to another input state except "no input".

Apr 21 2019, 11:05 AM
fabio added a comment to D1691: Remove boost "system" from Mac OS build system..

Ok, so just commit the second hunk?

Apr 21 2019, 10:17 AM
elexis added 2 auditor(s) for rP22197: Change Run Speed into a Run multiplier.: bb, elexis.
Apr 21 2019, 10:08 AM
Freagarach updated the summary of D1838: Add proximity attack component..
Apr 21 2019, 9:35 AM
Freagarach added a comment to D1838: Add proximity attack component..

Perhaps my summary is a bit ambiguous, this allows a unit to have trample damage, so it can charge 'through' a formation of units whilst dealing damage. Useful for e.g. chariots, elephants, macadonian fire-raiser et alii.

Apr 21 2019, 9:33 AM
Stan added a comment to D1838: Add proximity attack component..

Don't we have splash damage for it ?

Apr 21 2019, 8:57 AM
Stan added a comment to D1691: Remove boost "system" from Mac OS build system..
In D1691#75466, @fabio wrote:

I said system, which got removed from Linux times ago, as I wrote here:
https://trac.wildfiregames.com/ticket/4362#comment:26
And which is removed in the second hunk of the patch.

Apr 21 2019, 8:54 AM
fabio added a comment to D1691: Remove boost "system" from Mac OS build system..

I said system, which got removed from Linux times ago, as I wrote here:
https://trac.wildfiregames.com/ticket/4362#comment:26
And which is removed in the second hunk of the patch.

Apr 21 2019, 7:49 AM
autobuild committed rP22201: [Windows] Automated build..
[Windows] Automated build.
Apr 21 2019, 7:43 AM

Apr 20 2019

Nescio added a comment to D1042: rename maps/ file names to use underscores (instead of spaces and capitalization).

Yes, I mean the height maps in the maps/scenarios/ folder:

  • Height Map 03.png
  • Height Map Import Demo Image.png
  • Height Map Import Demo Image 512x512.png
  • Height Map Import Demo Image - Fractal.png
  • Height Map Import - Four Oases.png
  • Height Map Import - Oasis 12.png
Apr 20 2019, 10:23 PM
Nescio removed a reviewer for D1711: map preview naming consistency: Gallaecio.

It's about file names in the art/ folder; I thought of you because you mentioned the art design document today.

Apr 20 2019, 10:16 PM
Vulcan added a comment to D1838: Add proximity attack component..

Successful build - Chance fights ever on the side of the prudent.

Apr 20 2019, 10:16 PM
Freagarach created D1838: Add proximity attack component..
Apr 20 2019, 10:08 PM
Stan added a reviewer for D1711: map preview naming consistency: Gallaecio.

I don't really have the time now, sorry but maybe gallaecio does :)

Apr 20 2019, 9:11 PM
wraitii added inline comments to D1829: Fix Pathgoal::RectContainsGoal family of function for SQUARE goals, reduce ambiguities, improve coherence among the different functions..
Apr 20 2019, 7:35 PM
wraitii added inline comments to D1828: Health.js cleanup: add tests, add an "IsInjured" function, use GetHitpoints everywhere.
Apr 20 2019, 7:35 PM
elexis added a comment to D1042: rename maps/ file names to use underscores (instead of spaces and capitalization).

opinion on renaming heightmaps

I thought you mean the heightmaps that were used: rmgen, but they already have that naming pattern. But you mean those scenario/skirmish png copies that are not used by the game? Perhaps just move to art_source? Just adding a comment and link to the XML file instead of a copy of the source? (And maybe a reference to the commit IDs so that people can click from one to the other to find the source)

Apr 20 2019, 7:14 PM
elexis added inline comments to rP22197: Change Run Speed into a Run multiplier..
Apr 20 2019, 7:05 PM
bb added inline comments to D1829: Fix Pathgoal::RectContainsGoal family of function for SQUARE goals, reduce ambiguities, improve coherence among the different functions..
Apr 20 2019, 6:55 PM
bb added inline comments to D1828: Health.js cleanup: add tests, add an "IsInjured" function, use GetHitpoints everywhere.
Apr 20 2019, 6:13 PM
Stan added a comment to D1042: rename maps/ file names to use underscores (instead of spaces and capitalization).

@elexis Do you have an opinion on renaming heightmaps to match their map name ? I guess the only trouble would be what to do in case two maps use the same heightmaps.

Apr 20 2019, 6:08 PM
Stan added a comment to D1691: Remove boost "system" from Mac OS build system..

Actually it was not removed, else I would have kept the previous diff :)

Apr 20 2019, 6:06 PM
Nescio added a comment to D1042: rename maps/ file names to use underscores (instead of spaces and capitalization).

That's not currently the case, though.

Apr 20 2019, 5:57 PM
fabio added a comment to D1691: Remove boost "system" from Mac OS build system..

Why not? system was already removed from Linux since it is no longer used, OS X should follow...

Apr 20 2019, 5:57 PM
wraitii added a comment to D1691: Remove boost "system" from Mac OS build system..

I feel extremely "meh" about this :p
Commit it if you want, don't if you don't. It's unlikely I'll do it myself is my point.

Apr 20 2019, 5:51 PM
wraitii committed rP22200: Remove workaround in GetGUIObjectByName.
Remove workaround in GetGUIObjectByName
Apr 20 2019, 5:49 PM
wraitii closed D1701: GUIManager m_CurrentPage workaround removal.
Apr 20 2019, 5:49 PM
Stan added a comment to D1411: Add commandline flag to set source and execution charsets to utf-8.

@Itms anything wrong with that patch ?

Apr 20 2019, 5:46 PM
Stan added a comment to D1437: Disable shadows if we can't create a shadow map.

Well this patch is just disabling shadows if the user can't handle it because he doesn't have enough VRAM. Currently it only disables it but the user doesn't know about it.

Apr 20 2019, 5:44 PM
Stan added a comment to D1691: Remove boost "system" from Mac OS build system..

I though Mac OS had a tendency to link dynamically when it could ? It isn't a big change, it more of a cleanup. If you have a good argument against committing it, I can just abandon the revision :)

Apr 20 2019, 5:38 PM
Stan added a comment to D1042: rename maps/ file names to use underscores (instead of spaces and capitalization).

Well heightmaps should have the same name as the map with a different extension ?

Apr 20 2019, 5:36 PM
wraitii committed rP22199: Cleanup deprecated SM-specific syntax in ExtractFormations in Commands.js.
Cleanup deprecated SM-specific syntax in ExtractFormations in Commands.js
Apr 20 2019, 5:35 PM
wraitii closed D1724: Cleanup ExtractFormations in Commands.js.
Apr 20 2019, 5:35 PM
Stan added inline comments to D1837: Input.js refactoring - separate diplomatic tribute in their own file..
Apr 20 2019, 5:32 PM
wraitii added a comment to D1804: Fixes black water glitches for certain wind angles.

Wouldn't it be better to max(0, ...) the whole calculation? This is magic-graphical-code but you're changing behaviour a lot here.

Apr 20 2019, 5:30 PM
Vulcan added a comment to D1074: Walk to target rather than walk to point.

Successful build - Chance fights ever on the side of the prudent.

Apr 20 2019, 5:28 PM
wraitii updated the diff for D1074: Walk to target rather than walk to point.

Remove the "only if blocking pathfinding" because I don't see the point tbh.

Apr 20 2019, 5:26 PM
wraitii commandeered D1074: Walk to target rather than walk to point.
Apr 20 2019, 5:25 PM
Nescio added a comment to D1042: rename maps/ file names to use underscores (instead of spaces and capitalization).

Actually I think removing demo and Demo from file names won't be an improvement, because it would result in potentially confusing map file names, e.g. combat, multiplayer, territory, etc.

Apr 20 2019, 5:23 PM
wraitii added a comment to D665: Make ship pickup nicer.

At this point it'd probably be usefully rebased on top of D1834... I'll keep this in my review queue as I might commandeer at some point in the future.

Apr 20 2019, 5:16 PM
Nescio updated subscribers of D1711: map preview naming consistency.

@Stan, perhaps you could review this? (@Itms seems to be busy.)

Apr 20 2019, 5:15 PM