Page MenuHomeWildfire Games
Feed Advanced Search

May 25 2017

Sandarac added a comment to D461: Prevent players from sending useless diplomacy changed messages.
In D461#22270, @elexis wrote:

Just like all the other patches that disable things if the game is officially paused

Such as?

I'm not a fan of this patch since I've always used pauses to already queue some commands in advance.

This doesn't seem like it should be allowed to happen, as if the game is paused, it should be (by definition) actually paused, and prevent players from spamming commands (possibly unintentionally, from new players) that can build up without any response or indication from the gui.

Besides preventing players from sending useful diplomacy changed messages, it also doesn't prevent sending of useless (duplicate) diplomacy cahnged messages, so the title is misleading.

Actually, if one follows the test plan for this diff, they would notice it does prevent sending of useless/duplicate diplomacy changed messages, so I'm not sure where exactly this is coming from.

May 25 2017, 9:01 PM
Sandarac updated the diff for D432: Visual Heal Range.

Actually fix the hero healer bug.

May 25 2017, 7:34 PM
Sandarac added a comment to D544: Petra: Send diplomacy requests to other players on occasion.
In D544#22420, @mimo wrote:

Thanks for the patch. It looks good, although i'm a bit afraid that the logic is becoming quite complex (and difficult to extend in the future).

May 25 2017, 7:32 PM
Sandarac updated the diff for D544: Petra: Send diplomacy requests to other players on occasion.

Fix comments.

May 25 2017, 7:27 PM
Sandarac added a comment to D545: Petra: fix a case where the AI loose control of its units (they become only driven by UnitAI).
In D545#22430, @mimo wrote:

Could you be more explicit? this replay has 24000 turns, and watching such a long game to catch a unit jerking is too much for me. Do you know approximately the turn number, otherwise if it happens again, the simpler is to save a game when this happen and upload it here. I've tried several times on my side, and could not reproduce it.

May 25 2017, 7:09 PM
Sandarac added a comment to D545: Petra: fix a case where the AI loose control of its units (they become only driven by UnitAI).

I believe it may happen in this one, for player 4 in particular.

May 25 2017, 5:44 PM
Sandarac added a comment to D544: Petra: Send diplomacy requests to other players on occasion.
In D544#22311, @mimo wrote:

I'll review it tomorrow, but in the meantime (and as it is one of the comments i had from a quick look at the patch), could you add some comments in the diplomacy manager explaining what are the differents objects, in particular the difference between this.diplomacyRequests and this.sentDiplomacyRequests and what is the exact role of each one.

May 25 2017, 4:12 PM
Sandarac updated the diff for D544: Petra: Send diplomacy requests to other players on occasion.

Add some more comments to be more clear as to the purpose of the different DiplomacyRequests Maps.

May 25 2017, 3:58 PM
Sandarac added a comment to D545: Petra: fix a case where the AI loose control of its units (they become only driven by UnitAI).

I have noticed something else. When territory boundaries are close, it can happen that units can get stuck in a loop between retreating to the nearest structure and moving out towards enemy units, and this results in jerky movements for the units back and forth (It's kind of hard to explain). Maybe there needs to be a threshold set up with metadata or something (I'm not entirely sure).

May 25 2017, 2:49 PM

May 24 2017

Sandarac updated the diff for D461: Prevent players from sending useless diplomacy changed messages.

Don't send the diplomacy network command if it a pointless one (i.e. clicking on the enemy button with a player you are already allies with).

May 24 2017, 8:09 PM
Sandarac updated the diff for D544: Petra: Send diplomacy requests to other players on occasion.

Don't send requests to defeated players, and don't include gaia when determining mutual enemies.

May 24 2017, 5:47 PM
Sandarac requested changes to D545: Petra: fix a case where the AI loose control of its units (they become only driven by UnitAI).

It will be good to have these improvements to Petra's behavior towards "kiting" :)

May 24 2017, 4:15 PM
elexis awarded D544: Petra: Send diplomacy requests to other players on occasion a Like token.
May 24 2017, 2:42 AM
Sandarac updated the summary of D544: Petra: Send diplomacy requests to other players on occasion.
May 24 2017, 2:23 AM
Sandarac added a comment to rP19647: River Archipelago random map script..

It seems gaia entities can spawn completely submerged, although I'm not familiar with the relevant code:

May 24 2017, 1:31 AM

May 23 2017

Sandarac accepted D495: Show replay directory name in the replay menu.

This is was discussed again, and I believe that this would be good to have for the next release. Being able to copy the replay path is not as important as
actually making it clear for new-comers where replays are stored.

May 23 2017, 10:51 PM
Sandarac added a comment to D545: Petra: fix a case where the AI loose control of its units (they become only driven by UnitAI).

Nice! I will test.

May 23 2017, 9:37 PM
Sandarac added inline comments to D546: Optionally assign only buddies to unused playerslots.
May 23 2017, 9:15 PM
Sandarac updated the summary of D544: Petra: Send diplomacy requests to other players on occasion.
May 23 2017, 8:40 PM
Sandarac created D544: Petra: Send diplomacy requests to other players on occasion.
May 23 2017, 8:37 PM
Sandarac added inline comments to rP19644: Petra: Improve relic capturing.
May 23 2017, 7:47 PM
Sandarac added inline comments to D532: Petra: Improve relic capturing.
May 23 2017, 7:07 PM
Sandarac updated the diff for D532: Petra: Improve relic capturing.

Address remarks.

May 23 2017, 5:35 AM

May 22 2017

Sandarac added a comment to D539: Add raindrops to Extinct Volcano.

(I didn't do any proper testing/measuring, but it seems this rain impacts performance quite a bit.)

May 22 2017, 10:44 PM
Sandarac added a comment to D532: Petra: Improve relic capturing.
In D532#21817, @mimo wrote:

I missed something previously: it is not clear to me if the targetedRelics should only contains gaia relics (which i would support as a raid may not be adapted to fight for an enemy relic) or not: if yes, i've indicated inlined some changes which are needed. If not (i.e. if targetedRelics also contains player relics), we should add a way to remove them if the relic has been moved into enemy territory.

May 22 2017, 9:25 PM
Sandarac updated the diff for D536: Fix Valgrind complaints in CRenderer.

Set m_WaterUgly to true.

May 22 2017, 8:55 PM
Sandarac added inline comments to D532: Petra: Improve relic capturing.
May 22 2017, 8:31 PM
Sandarac updated the diff for D532: Petra: Improve relic capturing.

Missing semicolon.

May 22 2017, 8:27 PM
Sandarac added inline comments to D536: Fix Valgrind complaints in CRenderer.
May 22 2017, 8:02 PM
Sandarac updated the diff for D532: Petra: Improve relic capturing.

Remove duplicated code for raids, and rename targetEntity function to raidTargetEntity.

May 22 2017, 7:57 PM
Sandarac updated the summary of D536: Fix Valgrind complaints in CRenderer.
May 22 2017, 3:24 PM
Sandarac created D536: Fix Valgrind complaints in CRenderer.
May 22 2017, 1:17 AM

May 21 2017

Sandarac updated the diff for D528: Petra: Account for relics and wonder in last man standing mode.

Update.

May 21 2017, 7:58 PM
Sandarac added a comment to D528: Petra: Account for relics and wonder in last man standing mode.

Thanks mimo for the remarks!

May 21 2017, 7:48 PM
Sandarac created D532: Petra: Improve relic capturing.
May 21 2017, 7:22 PM
Sandarac updated the diff for D104: Regicide game - Gamesetup Option to Disable Garrisoning of Heroes.

More style fixes after discussion with @elexis. Move the regicide garrison option below the name of the victory condition in gamedescription, check for capture_the_relic in Setup.js, rename potentialSpawnPoints to potentialNeutralSpawnPoints in TriggerHelper.js

May 21 2017, 6:41 PM
Sandarac accepted rP19615: Add barter multiplier for barter prices. They can be altered by technologies or….

Thanks for the fixes rP19622 and rP19623!

And rP19627 for rP19622.

May 21 2017, 6:35 PM
Sandarac updated the diff for D104: Regicide game - Gamesetup Option to Disable Garrisoning of Heroes.

Move a function to TriggerHelper and use it for regicide and capture the relic to remove duplication.

May 21 2017, 4:25 AM
Sandarac updated the diff for D104: Regicide game - Gamesetup Option to Disable Garrisoning of Heroes.

Check for UnitMotionFlying.

May 21 2017, 3:54 AM
Sandarac updated the diff for D104: Regicide game - Gamesetup Option to Disable Garrisoning of Heroes.

Regicide.js cleanup.

May 21 2017, 3:37 AM
Sandarac raised a concern with rP19615: Add barter multiplier for barter prices. They can be altered by technologies or….
May 21 2017, 12:13 AM

May 20 2017

Sandarac created D528: Petra: Account for relics and wonder in last man standing mode.
May 20 2017, 8:53 PM
Sandarac updated the diff for D104: Regicide game - Gamesetup Option to Disable Garrisoning of Heroes.

Update after rP19614, remove unneeded check in unit_actions.js, and handle maps with no neutral territory.

May 20 2017, 5:24 PM

May 19 2017

Sandarac updated the diff for D515: Petra: gameTypeManager cleanup.

Check for getStance() in setStance().

May 19 2017, 8:30 PM
Sandarac added inline comments to D515: Petra: gameTypeManager cleanup.
May 19 2017, 8:29 PM
Sandarac added inline comments to D515: Petra: gameTypeManager cleanup.
May 19 2017, 8:04 PM
Sandarac updated the diff for D515: Petra: gameTypeManager cleanup.

Check for getStance() on init, remove uneeded setMetadata, and properly get garrisonEmergency.

May 19 2017, 8:01 PM
Sandarac updated the diff for D515: Petra: gameTypeManager cleanup.

Allow getStance() to be used by the AI.

May 19 2017, 7:11 PM
Sandarac added inline comments to D515: Petra: gameTypeManager cleanup.
May 19 2017, 8:51 AM

May 18 2017

Sandarac created D515: Petra: gameTypeManager cleanup.
May 18 2017, 9:12 AM

May 17 2017

Sandarac added a comment to D333: Petra: Capture gaia relics.
In D333#20534, @mimo wrote:

Sorry, i forgot to add you on the commit message :(

May 17 2017, 7:50 AM

May 16 2017

Sandarac added a comment to D333: Petra: Capture gaia relics.

Thanks mimo, I've updated the patch.

May 16 2017, 8:36 AM
Sandarac updated the diff for D333: Petra: Capture gaia relics.
May 16 2017, 8:31 AM
Sandarac planned changes to D432: Visual Heal Range.

Thanks for the comments.

May 16 2017, 8:28 AM
Sandarac added inline comments to D104: Regicide game - Gamesetup Option to Disable Garrisoning of Heroes.
May 16 2017, 8:21 AM

May 15 2017

Sandarac updated the diff for D104: Regicide game - Gamesetup Option to Disable Garrisoning of Heroes.

Use "Hero Garrison: Enabled" and "Hero Garrison: Disabled" for the label strings in gamedescription.js.

May 15 2017, 8:32 AM
Sandarac added a comment to D333: Petra: Capture gaia relics.

Ok, I have done some updates.

May 15 2017, 6:44 AM
Sandarac updated the diff for D333: Petra: Capture gaia relics.

Update.

May 15 2017, 6:11 AM
Sandarac awarded rP19578: Make initialization of phase techs for AI more robust. Refs r19569. Fix #4573. a Like token.
May 15 2017, 4:03 AM

May 14 2017

Sandarac updated the summary of D496: Petra: Fix missing check for getEntityById.
May 14 2017, 8:45 AM
Sandarac created D496: Petra: Fix missing check for getEntityById.
May 14 2017, 7:19 AM
Sandarac added a comment to D104: Regicide game - Gamesetup Option to Disable Garrisoning of Heroes.

Petra is fairly easy to defeat when regicide garrison is disabled, as it will only pick one location to "retreat" the hero to when its health decreases (the closest base/CC), but I am working on some improvements for another diff similar to the regicide AI additions in rP18731 and rP19085.

May 14 2017, 6:11 AM
Sandarac added a comment to D495: Show replay directory name in the replay menu.
In D495#19828, @elexis wrote:

Is it a must have? because read-only input text fields are not implemented yet and I don't see me having time for this in the next 2 weeks

May 14 2017, 5:33 AM
Sandarac requested changes to D495: Show replay directory name in the replay menu.

While at it, the replay filename should become copyable.

May 14 2017, 5:17 AM
Sandarac awarded D492: Cleanup of the FSM and NetMessage code in network. a Like token.
May 14 2017, 4:52 AM
Sandarac updated the diff for D104: Regicide game - Gamesetup Option to Disable Garrisoning of Heroes.

Rebase

May 14 2017, 4:42 AM

May 13 2017

Sandarac updated the diff for D461: Prevent players from sending useless diplomacy changed messages.

Toggle diplomacy and barter buttons of menus that are open when the game becomes paused.

May 13 2017, 8:47 AM

May 11 2017

Sandarac added a comment to D468: follow-up and complement of D446 to adapt garrisoning to the structure attackers.

There is also a check for target.healthLevel() < 0.55 in defenseManager.js and some other places, but these are special cases.

May 11 2017, 3:04 AM
Sandarac added a comment to rP19548: Botswanan Haven random map..

May 11 2017, 2:23 AM
Sandarac updated the test plan for D432: Visual Heal Range.
May 11 2017, 1:55 AM
Sandarac updated the diff for D432: Visual Heal Range.

Move the range visualization options to "General" in the options menu, and use "display" instead of "rendering" in the comment in the config file.

May 11 2017, 1:51 AM

May 10 2017

Sandarac added a comment to rP19548: Botswanan Haven random map..

I've noticed on this map that sometimes trees spawn very close to each other and clip sharply, kind of like what happens sometimes on the "Kerala" random map.

May 10 2017, 4:34 AM

May 9 2017

Sandarac added a comment to D446: petra: adapt garrisoning to the attackers.

Also, I think at some point it would be best to explicitly target melee siege units, as they do a lot of damage to structures.

May 9 2017, 7:55 AM
Sandarac accepted D446: petra: adapt garrisoning to the attackers.
May 9 2017, 7:52 AM
Sandarac added a comment to D463: Danubius Cinematic Path.

When starting the map, this warning always appears: WARNING: Path with name 'danubius' doesn't exist

May 9 2017, 7:29 AM
Sandarac updated the diff for D461: Prevent players from sending useless diplomacy changed messages.

Disable the buttons in the diplomacy menu when the game is paused, and do the same in the barter menu for consistency (after discussion with @elexis).

May 9 2017, 7:26 AM
Sandarac accepted D195: Prevent Out-Of-Sync in TriggerScripts by preventing Out-Of-Scope references.

This has already been done for CaptureTheRelic.js in rP19345.

May 9 2017, 5:40 AM
Sandarac added inline comments to D457: Add dynamic fitting for COList.
May 9 2017, 3:57 AM
Sandarac created D461: Prevent players from sending useless diplomacy changed messages.
May 9 2017, 2:43 AM

May 8 2017

Sandarac added a comment to D446: petra: adapt garrisoning to the attackers.

Nice! These sorts of improvements to garrisoning attacked structures are great to have.

May 8 2017, 9:02 AM
Sandarac accepted D424: Pass CVector3D as const reference in a few places..

Well, this diff doesn't seem to break cinematic camera functionality anymore :)

May 8 2017, 5:43 AM
Sandarac updated the diff for D104: Regicide game - Gamesetup Option to Disable Garrisoning of Heroes.
May 8 2017, 5:26 AM
Sandarac updated the diff for D104: Regicide game - Gamesetup Option to Disable Garrisoning of Heroes.

Update after the changes made in the commits in the last day. The failing test is expected, as this patch adds a new component.

May 8 2017, 2:05 AM
Sandarac updated the diff for D305: Do not reset the capture the relic countdown if a non-allied player changes diplomacy.

Reset only if the original team of mutual allies is altered, removing the need to modify the player component.

May 8 2017, 1:56 AM

May 7 2017

Sandarac added a comment to D305: Do not reset the capture the relic countdown if a non-allied player changes diplomacy.

@elexis believes that the timer shouldn't be reset when a player on the team-to-win changes their diplomacy with some other player from neutral to enemy - that makes sense. But what if player A is allied with player B, but player B has their diplomacy stance with player A set to enemy, and then later, when player A's team starts the countdown, B switches to become allies with A? Should the countdown reset then? Maybe not, but it certainly comes down to a design decision.

May 7 2017, 8:31 AM
Sandarac planned changes to D305: Do not reset the capture the relic countdown if a non-allied player changes diplomacy.
May 7 2017, 4:31 AM
Sandarac added a comment to D95: Atlas - Wonder Victory Timeout and Last Man Standing Checkbox.

Now with the recent changes in gamesetup.js, no warnings are thrown when a map specifies a Victory Duration value that is not in victory_times.json, but when looking under "More Options", the Victory Duration value is displayed as "Unknown" (even though it is shown correctly in the game-description, and the value is also passed correctly to the simulation).

May 7 2017, 2:55 AM
Sandarac added a comment to D432: Visual Heal Range.

Using a heart-shaped texture/mask:

May 7 2017, 12:45 AM

May 6 2017

Sandarac updated the diff for D104: Regicide game - Gamesetup Option to Disable Garrisoning of Heroes.

Use a Garrisonable component based on the way that cmpWonder is used, and update after the gamesetup changes in rP19504.

May 6 2017, 11:53 PM
Sandarac accepted D434: Persistmatchsettings bug that assigned both AI player and local player to the same slot.

Tested, fixes the bug as advertised.

May 6 2017, 10:25 PM
Sandarac added inline comments to D433: Add an error message for crashes without required UV sets.
May 6 2017, 8:43 PM
Sandarac updated the summary of D432: Visual Heal Range.
May 6 2017, 8:25 AM
Sandarac created D432: Visual Heal Range.
May 6 2017, 8:16 AM
Sandarac updated the diff for D238: Visual Aura Range.

Update after rP19517, and reduce the thickness for the inspiration aura so that it is not very visible unless zoomed in.

May 6 2017, 12:33 AM

May 5 2017

Sandarac created D430: Don't send useless "Invalid command" debug warnings when regaining capture points.
May 5 2017, 11:25 PM
Sandarac updated the diff for D305: Do not reset the capture the relic countdown if a non-allied player changes diplomacy.

Update after rP19518.

May 5 2017, 10:48 PM
Sandarac added a comment to P41 WIP Ambient emitters (#1962).

Thanks for the comments!

May 5 2017, 8:16 AM
Sandarac updated the diff for D238: Visual Aura Range.

Add a missing check before the submit call in cmpselectable line 672; if the game was paused while hovering an entity with an aura overlay, then the cursor was moved away and then back onto the entity, it would crash. There are already equivalent checks for these null cases before submit calls in cmpselectable (f.e. line 663 if (m_UnitOverlay)).

May 5 2017, 7:57 AM
Sandarac accepted D410: Number of relics Gamesetup option.

This will be a great option to have for this victory condition! This diff also showcases the ease-of-use of the gamesetup code after the changes in rP19504.

May 5 2017, 4:27 AM
Sandarac updated the diff for D238: Visual Aura Range.

Remove an uneeded continue in GuiInterface.SetRangeOverlays, remove a redundant comment in RangeVisualization.js and change the formatting of cmpSelectable.AddRangeOverlay.

May 5 2017, 4:15 AM