Page MenuHomeWildfire Games
Feed Advanced Search

Aug 16 2022

Stan added a comment to D4765: Fix Mod.json issues..

Perfect, thank you guys, sorry for the waste of time :)

Aug 16 2022, 4:54 PM
Stan added inline comments to D4705: Remove sys_generate_random_bytes.
Aug 16 2022, 4:53 PM
Stan added reviewers for D4766: [WIP] PS::Execution: Restricted Owners Package, vladislavbelov, wraitii.

Gotta have to check those includes, lots are missing. Can we do without boost? We're trying to reduce the dependency on it where possible.

Aug 16 2022, 4:51 PM
Stan requested review of D4765: Fix Mod.json issues..
Aug 16 2022, 2:10 PM
Stan added a comment to D4758: Rearrange GC scheduling for reduced lag.

Some unsigned / signed mismatches. There might be more. Sorry for all the nitpicks.

Aug 16 2022, 10:03 AM

Aug 15 2022

Stan abandoned D2019: [ATLASUI] Main Thread Checker: UI API called on a background thread: -[NSView initWithFrame:].
Aug 15 2022, 6:00 PM
Stan added a comment to D4758: Rearrange GC scheduling for reduced lag.
<Vladislav Belov>  might be worth mentioning that we don't have a dedicated thread for simulation. And we call update on the same thread as rendering.
<Stan> But do we have turns where we don't call simulation, only rendering? Those patches are a bit hard for me since I don't have enough knowledge about how things work...
<Vladislav Belov> I don't remember, anyway spikes inside simulation might cause visual lagging.
<wraitii> we run the sim every 200ms. if that takes 200ms, then we don't have turns that only render. otherwise we do. I think unless you get heavy lag, you'll see turns take like 20ms/20ms/60ms/20ms/20ms
<Vladislav Belov> Frames?
<wraitii> yeah. I mean ideally it'd be 16ms for a graphics frame
<Vladislav Belov> Decoupling would be cool.
<wraitii> yeah would be nice to run the sim in a thread the problem is that in late MP games sim can take > 100ms so we start getting really choppy frames.
[...]
<wraitii>:But rendering must be on the main thread because of macOS
Aug 15 2022, 5:09 PM
Stan added inline comments to D4705: Remove sys_generate_random_bytes.
Aug 15 2022, 2:56 PM
Stan added a comment to D2772: Prevent Upgrading units from moving.

Maybe I could just set unit to uncontrollable @Freagarach ? Since 1960 got merged.

Aug 15 2022, 10:10 AM

Aug 14 2022

Stan added inline comments to D4758: Rearrange GC scheduling for reduced lag.
Aug 14 2022, 11:17 PM
Stan committed rP27056: Fix previous commit. .
Fix previous commit.
Aug 14 2022, 8:23 PM
Stan committed rP27055: Fix mod installation in non latin folders. Use OSString for consistency. .
Fix mod installation in non latin folders. Use OSString for consistency.
Aug 14 2022, 7:55 PM
Stan committed rP27054: Fix replay cache creation in non latin folders..
Fix replay cache creation in non latin folders.
Aug 14 2022, 7:24 PM
Stan closed D4763: Fix broken rename and copy on Windows..
Aug 14 2022, 7:24 PM
Stan requested review of D4763: Fix broken rename and copy on Windows..
Aug 14 2022, 7:13 PM
Stan added a comment to D4762: [gui] remove the 'trained by' and 'builds' string from the extended tooltip.

Gotta check what this do to translations.

Aug 14 2022, 7:00 PM
Stan committed rP27053: Fix an edge case when you would delete the last savegame and thus, the metadata….
Fix an edge case when you would delete the last savegame and thus, the metadata…
Aug 14 2022, 5:11 PM
Stan updated the summary of D4760: Reduce simulation turns per second from 5 to 4.
Aug 14 2022, 12:40 PM
Stan committed rP27051: Fix Athenian Gymnasion counting as a City Phase building, when it's actually a….
Fix Athenian Gymnasion counting as a City Phase building, when it's actually a…
Aug 14 2022, 12:38 PM
Stan committed rP27050: Recenter Han emblem logo slightly and fix the name..
Recenter Han emblem logo slightly and fix the name.
Aug 14 2022, 12:31 PM
Stan added a comment to D4758: Rearrange GC scheduling for reduced lag.

If SM allows to get a size of currently allocated memory it should be easy to write a unit test. We already have some unit tests for ScriptInterface.

Aug 14 2022, 11:58 AM
Stan added a comment to D4760: Reduce simulation turns per second from 5 to 4.

Mmh I'm not sure this is a good idea. What are the advantages?
See rP25001 and #3752

Aug 14 2022, 10:53 AM

Aug 13 2022

Stan added a comment to D4759: UTF-8 as execution caracter set.

Might want to check premake :)

Aug 13 2022, 2:04 PM
Stan added a reviewer for D4758: Rearrange GC scheduling for reduced lag: Restricted Owners Package.
Aug 13 2022, 1:01 PM
Stan added a comment to D4758: Rearrange GC scheduling for reduced lag.

Hey, thanks for another very promising patch. Is there a way you could add some tests for it?

Aug 13 2022, 1:00 PM

Aug 11 2022

Stan accepted D4757: Workaround main menu buttons to be able to exit for low resolutions.

LGTM.

Aug 11 2022, 8:11 PM
Stan committed rP27045: Fix mipmap issue with the camel rein. Use a very light texture as most details….
Fix mipmap issue with the camel rein. Use a very light texture as most details…
Aug 11 2022, 7:47 PM
Stan published D4756: Minor fixes for NSIS - Windows distribution script for review.
Aug 11 2022, 7:26 PM

Aug 10 2022

Stan added inline comments to D4718: Allocator and generator for component data..
Aug 10 2022, 1:03 AM

Aug 9 2022

Stan added a comment to D4718: Allocator and generator for component data..

@Mercury thanks for all the work on this so far. Can you address the not done inlines? Did you test in multiplayer? @vladislavbelov said he would look after Feature Freeze.

Aug 9 2022, 11:46 AM
Stan updated subscribers of D4718: Allocator and generator for component data..

How does this new version perform with regards to performance?

Aug 9 2022, 9:07 AM
Stan updated subscribers of D4428: SM91 upgrade.

@jprahman the issue is that the new patches applied on top of sm91 prevented it to build on Windows. We first need to address those before switching to 102.

Aug 9 2022, 8:13 AM

Aug 8 2022

Stan added a comment to rP26956: Make formations respond as one to threats..

Either accept or resign from the revision.

Aug 8 2022, 7:21 PM
Stan requested review of D4753: Fix VS2022 build.
Aug 8 2022, 6:41 PM
Stan added a comment to D4718: Allocator and generator for component data..

Question: Should we use a custom allocator for the std::vectors? Those in source/lib/allocators/*

Aug 8 2022, 11:27 AM
Stan added a comment to D4718: Allocator and generator for component data..

So better than initial? Nice. Would be nice to compare a frame to see what's reduced.
Still 10% sounds almost too good to be true.
EDIT: Can't read.

Aug 8 2022, 10:42 AM
Stan added a comment to D4718: Allocator and generator for component data..

@jprahman @Mercury
Some areas of improvement are probably the messaging system; For instance in late game, each entity that dies notifies all the entities on the map through a global message, while it's not really necessary, but we don't have dynamic subscription. All of that has to be copied to the AI too might be no longer relevant since the unthreading of the ai (D3769
);
frame of units combat (huge):

Aug 8 2022, 10:35 AM
Stan added a comment to D4718: Allocator and generator for component data..

How does this new version perform with regards to performance?

Aug 8 2022, 9:43 AM
Stan removed 1 auditor(s) for rP25123: Technically seperate Turrets from GarrisonHolder.: Silier.
Aug 8 2022, 9:08 AM
Stan updated subscribers of D4747: Adjust playerPlacementRiver to group teams on the same side for the most part.

@lyv

Aug 8 2022, 8:33 AM

Aug 7 2022

Stan added inline comments to D4752: [WIP] - Rebuildable Structures.
Aug 7 2022, 3:59 PM

Aug 6 2022

Stan accepted D4732: Fix crash in Atlas when switching from the Actor viewer.

Works for me.

Aug 6 2022, 9:11 PM
Stan added a comment to rP25123: Technically seperate Turrets from GarrisonHolder..

@Freagarach

Aug 6 2022, 5:11 PM
Stan committed rP27033: Add a function to handle custom phase techs, so they do not show as unused..
Add a function to handle custom phase techs, so they do not show as unused.
Aug 6 2022, 5:06 PM
Stan added inline comments to D4752: [WIP] - Rebuildable Structures.
Aug 6 2022, 4:38 PM
Stan added a comment to D4752: [WIP] - Rebuildable Structures.
ERROR: JavaScript error: simulation/components/Builder.js line 100
cmpFoundation is null
  Builder.prototype.StartRepairing@simulation/components/Builder.js:100:6
  testRepairing@simulation/components/tests/test_Builder.js:178:23
  @simulation/components/tests/test_Builder.js:194:1
Aug 6 2022, 4:34 PM

Aug 5 2022

Stan committed rP27031: Fix writing mod.json on Windows in non Latin user folders..
Fix writing mod.json on Windows in non Latin user folders.
Aug 5 2022, 7:56 PM
Stan closed D4741: Fix writing mod.json with non latin chars in path..
Aug 5 2022, 7:56 PM
Stan added inline comments to D4751: Fix the specialness of `FindTemplatesUnrestricted`..
Aug 5 2022, 12:38 PM
Stan added a reviewer for D4718: Allocator and generator for component data.: jprahman.

@jprahman could you have a look at it?

Aug 5 2022, 11:47 AM
Stan added a comment to D4719: graph2.html and graph2.js.

Did you get a chance to look at it?

Aug 5 2022, 11:46 AM
Stan added a comment to D4736: [Gameplay] Differentiating Sparta.

@asterix please don't accept for the sake of accepting it, and instead state the reasons of your acceptance. Else accepting has a very minimal value...

Aug 5 2022, 11:41 AM · Balancing
Stan updated subscribers of D4751: Fix the specialness of `FindTemplatesUnrestricted`..
Aug 5 2022, 11:40 AM

Aug 4 2022

Stan updated subscribers of D4732: Fix crash in Atlas when switching from the Actor viewer.

@Langbart can you test this?

Aug 4 2022, 10:49 PM
Stan updated the diff for D4741: Fix writing mod.json with non latin chars in path..

Windows only fix.

Aug 4 2022, 2:05 PM
Stan added a comment to D4750: possible hotfix for wrong tech tooltips and structure tree.

Wait why would one have Researcher with no techs? Only tech removal?

Aug 4 2022, 11:09 AM

Aug 3 2022

Stan added a comment to rP26859: Fixes dynamic GL buffer orphaning forgotten in rP26406. Fixes #6533.

I guess you can resign here too since it's the SDK bug.

Aug 3 2022, 6:45 PM
Stan committed rP27028: Fix issues with the sandbox_han.xml map in Phab:rP27009..
Fix issues with the sandbox_han.xml map in Phab:rP27009.
Aug 3 2022, 5:56 PM
Stan committed rP27027: Fix false positive missing file in checkrefs.py in Phab:rP27011 (Game ignores….
Fix false positive missing file in checkrefs.py in Phab:rP27011 (Game ignores…
Aug 3 2022, 5:43 PM
Stan committed rP27026: Fix material not using spectex in Phab:rP27012.
Fix material not using spectex in Phab:rP27012
Aug 3 2022, 5:42 PM
Stan added a comment to D4749: Apply stylesheet to template files.

Note there is also a sorter in https://code.wildfiregames.com/P238 . This one also sorts subcomponents which might not be wanted though. It was useful for hyrule since they have/had many duplicate subnodes.

Aug 3 2022, 11:11 AM

Aug 2 2022

Stan accepted D4748: Remove redundant references to deleted .dtd files.

LGTM.

Aug 2 2022, 12:42 PM
Stan added a comment to D4748: Remove redundant references to deleted .dtd files.

I'm not sure about the last one since it's an external lib. Otherwise looks good. I wonder if DTDs give more useful messages than RNG.

Aug 2 2022, 11:13 AM

Jul 31 2022

Stan added a comment to D1581: Mod Interface: Enable setting territory visibility.

A27

Jul 31 2022, 10:10 PM
Stan added inline comments to D4736: [Gameplay] Differentiating Sparta.
Jul 31 2022, 9:45 PM · Balancing
Stan added a comment to D4746: Smaller adjustments to the building order.

Sounds safer indeed. Sometimes I wonder if special buildings should not just all be named special_01 or something to remove duplication

Jul 31 2022, 9:31 PM

Jul 30 2022

Stan added a comment to D4741: Fix writing mod.json with non latin chars in path..

Seems also to be a windows only issue. No problem with Ubuntu. @vladislavbelov is it acceptable to use the windows proprietary overload with an #ifdef?

Jul 30 2022, 2:29 PM

Jul 29 2022

Stan committed rP27020: Add more world population options..
Add more world population options.
Jul 29 2022, 9:51 PM
Stan closed D4742: Add more world population options.
Jul 29 2022, 9:50 PM

Jul 27 2022

Stan added a comment to D3601: [gameplay] lower city phase territory increase.

Missing pers phase but should work

Jul 27 2022, 3:04 PM

Jul 26 2022

Stan added inline comments to D4718: Allocator and generator for component data..
Jul 26 2022, 11:48 AM
Stan added a comment to D4718: Allocator and generator for component data..

Dumb question. Aren't indexes of standard containers all size_t in C++?

Jul 26 2022, 10:48 AM

Jul 25 2022

Stan added inline comments to D4743: Ignore broken symlinks.
Jul 25 2022, 11:09 PM
Stan committed rP27016: Fix assertion when trying to draw a line with one point. This would trigger an….
Fix assertion when trying to draw a line with one point. This would trigger an…
Jul 25 2022, 10:08 PM
Stan added a comment to D4743: Ignore broken symlinks.
In D4743#201732, @Stan wrote:

They trigger Assertion popups. You're free to ignore suppress them. Except in Atlas where it goes south and crashes the entire game.

So what is the diference betwen WARN_ON_ERROR and ENSURE?

Jul 25 2022, 10:04 PM
Stan added a comment to D4743: Ignore broken symlinks.

Might try filesystem if that works. I don't remember if nothing worked, or only a subset.

Jul 25 2022, 9:58 PM
Stan added a comment to D4743: Ignore broken symlinks.

They trigger Assertion popups. You're free to ignore suppress them. Except in Atlas where it goes south and crashes the entire game.

Jul 25 2022, 9:14 PM
Stan added a comment to D4743: Ignore broken symlinks.

On Windows in C:\Users\{username}\Documents\My Games\0ad\mods

Jul 25 2022, 3:50 PM
Stan added a comment to D4743: Ignore broken symlinks.

https://github.com/0ad/0ad/blob/f314b5b9d2be852a4d25f4b9ef40ab4acf4f2002/source/lib/file/io/io.cpp#L29

Jul 25 2022, 12:19 PM
Stan added a comment to D4735: Move all buildings to the builder mixin.

No definitive guidelines.
First consider the gains and the losses of waiting to commit the patch, the current stage of release we're in, the urgency etc

Jul 25 2022, 10:32 AM

Jul 24 2022

Stan updated the Trac tickets for D4743: Ignore broken symlinks.
Jul 24 2022, 11:53 PM
Stan added inline comments to D4740: [WIP] - Allow to limit the structures a builder can construct..
Jul 24 2022, 11:46 PM
Stan updated the diff for D1581: Mod Interface: Enable setting territory visibility.

Fix warning.

Jul 24 2022, 6:39 PM
Stan requested review of D4742: Add more world population options.
Jul 24 2022, 5:48 PM
Stan updated the diff for D1581: Mod Interface: Enable setting territory visibility.

Rebase, use enum.

Jul 24 2022, 5:06 PM
Stan commandeered D1581: Mod Interface: Enable setting territory visibility.
Jul 24 2022, 5:06 PM
Stan removed a reviewer for D1581: Mod Interface: Enable setting territory visibility: elexis.
Jul 24 2022, 5:06 PM
Stan added inline comments to D4740: [WIP] - Allow to limit the structures a builder can construct..
Jul 24 2022, 4:09 PM
Stan requested review of D4741: Fix writing mod.json with non latin chars in path..
Jul 24 2022, 3:42 PM

Jul 23 2022

Stan added a comment to D4735: Move all buildings to the builder mixin.

Another issue to me is that stuff that should be upgrades (stone walls, various towers) are not which make the panel fuller that needs be. But that's another topic.

Jul 23 2022, 8:13 PM
Stan updated subscribers of D3544: Regroup members at most once when formation and its members get idle.
Jul 23 2022, 7:15 PM
Stan added a comment to D3544: Regroup members at most once when formation and its members get idle.

@Freagarach @marder

Jul 23 2022, 7:14 PM
Stan added a reviewer for D4735: Move all buildings to the builder mixin: Balancing.

I think you should ask balancing. I don't have a strong opinion.
I sometimes wonder if one should see all the buildings they can't build, or if they should be revealed when they become available.
Or if the UI is good at all, and it should not be more starcrafty (It's a gif)

Jul 23 2022, 12:15 PM

Jul 22 2022

Stan added a comment to D4705: Remove sys_generate_random_bytes.

Header date, the test has been lost,

Jul 22 2022, 4:45 PM
Stan added a comment to D4735: Move all buildings to the builder mixin.
  • vlad is on windows also does not use arcanist and on his patches it works. (D4434)
  • works for smiley too (D4611)
Jul 22 2022, 4:36 PM

Jul 21 2022

Stan added inline comments to D4705: Remove sys_generate_random_bytes.
Jul 21 2022, 2:39 PM
Stan abandoned D3047: Add a getrandom() codepath on Linux.

Superseeded by D4705

Jul 21 2022, 2:32 PM
Stan added a comment to D4737: Allow setting biome in Atlas.

Maybe you can extract the js code that does that for the game settings and then call it?

Jul 21 2022, 8:10 AM

Jul 20 2022

Stan added inline comments to D4705: Remove sys_generate_random_bytes.
Jul 20 2022, 8:56 PM

Jul 19 2022

Stan added inline comments to D4705: Remove sys_generate_random_bytes.
Jul 19 2022, 11:10 PM