Page MenuHomeWildfire Games
Feed All Stories

Nov 22 2020

vladislavbelov added a comment to D3075: Identify controller client via a secret key.

This is essentially what this diff does though. Except there's no "passing" since the server can 'peek' via being in the same process. Doesn't work for dedicated servers but I don't think it's a huge concern.

That sounds a bit unsafe. Since two parallel object creations depend on the global state. When you create NetClient and NetServer you know that they're on the same machine/in the same process. Why do you need to hide it and delay it?

Nov 22 2020, 1:10 AM
vladislavbelov added inline comments to rP24228: Allow registering hooks that trigger on config changes..
Nov 22 2020, 1:04 AM
vladislavbelov added inline comments to D3131: Fix assertion failure in rP24228 caused by a race condition..
Nov 22 2020, 1:02 AM
Stan added inline comments to D3126: Fix MSVC 2015 Warnings for C++14.
Nov 22 2020, 12:20 AM
Stan requested changes to D3131: Fix assertion failure in rP24228 caused by a race condition..

Still get this when running the game:

Nov 22 2020, 12:05 AM

Nov 21 2020

Vulcan added a comment to D3126: Fix MSVC 2015 Warnings for C++14.

Build failure - The Moirai have given mortals hearts that can endure.

Nov 21 2020, 11:55 PM
Vulcan added a comment to D3126: Fix MSVC 2015 Warnings for C++14.

Build failure - The Moirai have given mortals hearts that can endure.

Nov 21 2020, 11:55 PM
Stan updated the diff for D3126: Fix MSVC 2015 Warnings for C++14.

Rebase

Nov 21 2020, 11:54 PM
Vulcan added a comment to D3126: Fix MSVC 2015 Warnings for C++14.

Build failure - The Moirai have given mortals hearts that can endure.

Nov 21 2020, 11:44 PM
Vulcan added a comment to D3126: Fix MSVC 2015 Warnings for C++14.

Build failure - The Moirai have given mortals hearts that can endure.

Nov 21 2020, 11:44 PM
Stan updated the diff for D3126: Fix MSVC 2015 Warnings for C++14.

Fix notes

Nov 21 2020, 11:42 PM
Vulcan added a comment to D3130: Updates for compiling with VS2017.

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

Nov 21 2020, 8:18 PM
wraitii added inline comments to D3130: Updates for compiling with VS2017.
Nov 21 2020, 7:14 PM
wraitii added inline comments to D3130: Updates for compiling with VS2017.
Nov 21 2020, 7:12 PM
Silier added inline comments to D3130: Updates for compiling with VS2017.
Nov 21 2020, 7:09 PM
wraitii updated the diff for D3130: Updates for compiling with VS2017.

Fix the boost compilation. The autolink tries to use the vc141 libraries otherwise, and they don't exist. Since the vc140 ought to work as they are ABI compatible, we can just force using those.
(Coincidentally, the vc120 libs are still there and should be removed).

Nov 21 2020, 6:53 PM
wraitii committed rP24229: Make JS GUI Objects Proxy objects..
Make JS GUI Objects Proxy objects.
Nov 21 2020, 6:49 PM
wraitii closed D2768: Switch JS GUI Objects to a Proxy class, cleaning custom function definition..
Nov 21 2020, 6:49 PM
wraitii added a comment to D3126: Fix MSVC 2015 Warnings for C++14.

I'm not a super big fan of what seems to be warning against implicit bool conversions here and there (the nullptr one in particular), I'm kind of wondering what the warnings are.

Nov 21 2020, 6:18 PM
Stan added a comment to D3131: Fix assertion failure in rP24228 caused by a race condition..

This fixes the assertion. Can't tell if it's proper though.

Nov 21 2020, 6:11 PM
wraitii requested review of D3131: Fix assertion failure in rP24228 caused by a race condition..
Nov 21 2020, 6:06 PM
Vulcan added a comment to D3126: Fix MSVC 2015 Warnings for C++14.

Build failure - The Moirai have given mortals hearts that can endure.

Nov 21 2020, 6:06 PM
Vulcan added a comment to D3126: Fix MSVC 2015 Warnings for C++14.

Build failure - The Moirai have given mortals hearts that can endure.

Nov 21 2020, 6:04 PM
Stan updated the diff for D3126: Fix MSVC 2015 Warnings for C++14.

Restore the complete patch

Nov 21 2020, 6:03 PM
wraitii added inline comments to rP24228: Allow registering hooks that trigger on config changes..
Nov 21 2020, 5:39 PM
vladislavbelov added inline comments to rP24228: Allow registering hooks that trigger on config changes..
Nov 21 2020, 5:38 PM
wraitii updated the diff for D2757: i18n scripts - switch from pology to Babel for .POT generation and update to python3.

Tweaks from @Gallaecio 's comments.

Nov 21 2020, 5:28 PM
Stan added a comment to rP24227: Clean up header includes, add new forward declarations..

Missing #include <map> in LongPathfinder.h

Nov 21 2020, 5:26 PM
wraitii requested review of D3130: Updates for compiling with VS2017.
Nov 21 2020, 5:19 PM
Vulcan resigned from D2768: Switch JS GUI Objects to a Proxy class, cleaning custom function definition..

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

Nov 21 2020, 5:11 PM
wraitii added a comment to D3075: Identify controller client via a secret key.

So it does auth correctly on if ps_generate_guid() will be the same for client and server? So it might mean that someone can relatively easily generate it?

Nov 21 2020, 5:10 PM
vladislavbelov added a comment to D3075: Identify controller client via a secret key.

So it does auth correctly on if ps_generate_guid() will be the same for client and server? So it might mean that someone can relatively easily generate it? Why to not generate a GUID with some randomness before and pass it to both?

Nov 21 2020, 5:03 PM
vladislavbelov added a comment to rP18140: Network cleanup, fixes #3953..
Nov 21 2020, 5:03 PM
wraitii added a comment to D2857: Matrix3D SSE.

I'm not convinced TBH. If this is hardcoded at compile-time, either we drop support or it's pretty much useless for releases. SIMD-capable compilers seem able to vectorise this functions, so custom versions don't seem particularly useful.
If there was a runtime switch that actually increased performance, might be more interesting.

Nov 21 2020, 4:45 PM
wraitii added inline comments to D3126: Fix MSVC 2015 Warnings for C++14.
Nov 21 2020, 4:31 PM
Nescio edited reviewers for D3122: Fixes after rP24216., added: Restricted Owners Package; removed: Restricted Owners Package, Nescio.

grep -r '"units/"' suggest you should also have a look at the maps/scripts/Regicide.js and maps/random/rmgen-common/player.js files.
There might be more, I don't know what to look for, and I can't say I understand map scripts.

Nov 21 2020, 4:30 PM
s0600204 updated the diff for D3127: Change when system-provided mozjs headers are searched.
  • Refactor the pkgconfig premake5 module
  • Attempt to place Windows includes in premake5 into the correct place in the include search order
  • Sort the new aftersysincludedirs premake5 global to a better location (alphabetically) in its file
Nov 21 2020, 4:29 PM
s0600204 added inline comments to D3127: Change when system-provided mozjs headers are searched.
Nov 21 2020, 4:29 PM
Silier added inline comments to D3126: Fix MSVC 2015 Warnings for C++14.
Nov 21 2020, 4:27 PM
wraitii added inline comments to D3126: Fix MSVC 2015 Warnings for C++14.
Nov 21 2020, 4:22 PM
Silier added inline comments to D3126: Fix MSVC 2015 Warnings for C++14.
Nov 21 2020, 4:21 PM
wraitii added inline comments to D3126: Fix MSVC 2015 Warnings for C++14.
Nov 21 2020, 4:08 PM
wraitii added inline comments to D3096: Fix notes in rP24161..
Nov 21 2020, 4:06 PM
wraitii added a comment to D3122: Fixes after rP24216..

Broke my patches 😠

Nov 21 2020, 4:04 PM
wraitii added a comment to D3129: More header tweaks.

We gained a big 30 seconds of 23 minutes compilation time on the CI with is like 2% :p

Nov 21 2020, 4:03 PM
Vulcan requested changes to D2768: Switch JS GUI Objects to a Proxy class, cleaning custom function definition..

Build failure - The Moirai have given mortals hearts that can endure.

Nov 21 2020, 3:26 PM
Vulcan added a comment to D2768: Switch JS GUI Objects to a Proxy class, cleaning custom function definition..

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

Nov 21 2020, 3:16 PM
Vulcan added a comment to D2768: Switch JS GUI Objects to a Proxy class, cleaning custom function definition..

Build failure - The Moirai have given mortals hearts that can endure.

Nov 21 2020, 3:14 PM
wraitii updated the diff for D2768: Switch JS GUI Objects to a Proxy class, cleaning custom function definition..

Needed a rebase ofc.

Nov 21 2020, 3:01 PM
Vulcan added a comment to D2768: Switch JS GUI Objects to a Proxy class, cleaning custom function definition..

Build failure - The Moirai have given mortals hearts that can endure.

Nov 21 2020, 2:46 PM
Vulcan added a comment to D2768: Switch JS GUI Objects to a Proxy class, cleaning custom function definition..

Build failure - The Moirai have given mortals hearts that can endure.

Nov 21 2020, 2:41 PM
Vulcan added a comment to D2768: Switch JS GUI Objects to a Proxy class, cleaning custom function definition..

Build failure - The Moirai have given mortals hearts that can endure.

Nov 21 2020, 2:39 PM
wraitii updated the diff for D2768: Switch JS GUI Objects to a Proxy class, cleaning custom function definition..

Fix MSVC warnings, ready for merge.

Nov 21 2020, 2:36 PM
Harbormaster failed to build B13854: rP24228: Allow registering hooks that trigger on config changes. for rP24228: Allow registering hooks that trigger on config changes.!
Nov 21 2020, 2:17 PM
Stan added a comment to D3129: More header tweaks.

Also copyright headers.

Nov 21 2020, 1:42 PM
wraitii requested review of D3129: More header tweaks.
Nov 21 2020, 1:39 PM
wraitii committed rP24228: Allow registering hooks that trigger on config changes..
Allow registering hooks that trigger on config changes.
Nov 21 2020, 12:57 PM
wraitii closed D2293: Allow code to register hooks which get called whenever a function value changes, use this to clean rendering options further..
Nov 21 2020, 12:57 PM
s0600204 added a comment to D2689: Update fmt to the most recent release.

Maybe it has a different name on Debian? E.g. fmt-dev, fmtlib, libfmt.

Nov 21 2020, 12:36 PM
wraitii committed rP24227: Clean up header includes, add new forward declarations..
Clean up header includes, add new forward declarations.
Nov 21 2020, 12:20 PM
wraitii closed D3128: Clean up header includes, add new forward declarations..
Nov 21 2020, 12:20 PM
Harbormaster failed to build B13851: rP24226: [gameplay] tweak human training times to make them feel less "spammy" for rP24226: [gameplay] tweak human training times to make them feel less "spammy"!
Nov 21 2020, 12:15 PM
wraitii added a comment to D3128: Clean up header includes, add new forward declarations..

Seems no real benefit to compilation time found on CI (I suspect our precompiled headers are too good), though the incremental one remains, particularly on the simulation side with the pathfinding cleanup.

Nov 21 2020, 12:15 PM
Harbormaster failed to build B13850: rP24225: [gameplay] Remove structure <Loot/xp> as most builings are destroyed by siege. for rP24225: [gameplay] Remove structure <Loot/xp> as most builings are destroyed by siege.!
Nov 21 2020, 12:14 PM
Stan committed rP24226: [gameplay] tweak human training times to make them feel less "spammy".
[gameplay] tweak human training times to make them feel less "spammy"
Nov 21 2020, 12:13 PM
Stan closed D2866: [gameplay] tweak human training times.
Nov 21 2020, 12:13 PM
wraitii updated the summary of D3128: Clean up header includes, add new forward declarations..
Nov 21 2020, 12:12 PM
Stan committed rP24225: [gameplay] Remove structure <Loot/xp> as most builings are destroyed by siege..
[gameplay] Remove structure <Loot/xp> as most builings are destroyed by siege.
Nov 21 2020, 12:09 PM
Stan closed D2992: [gameplay] remove structure <Loot/xp>.
Nov 21 2020, 12:09 PM
Stan added inline comments to D3128: Clean up header includes, add new forward declarations..
Nov 21 2020, 11:53 AM
wraitii requested review of D3128: Clean up header includes, add new forward declarations..
Nov 21 2020, 11:46 AM
Stan added a member for Contributors: Samulis.
Nov 21 2020, 11:38 AM
Nescio added a comment to D2886: introduce crossbowman templates.

D2901/rP23890 added the champion crossbowman to the arsenal. Moreover, various crossbowman units are available in the Han China mod: https://github.com/0ADMods/han_china

Nov 21 2020, 10:45 AM
Nescio added a comment to D2689: Update fmt to the most recent release.

Maybe it has a different name on Debian? E.g. fmt-dev, fmtlib, libfmt.

Nov 21 2020, 10:42 AM
Stan added inline comments to D2563: NVTT build fixes.
Nov 21 2020, 10:31 AM
Stan added inline comments to D1781: Fix lobby chat performance issue..
Nov 21 2020, 9:59 AM
Stan added inline comments to D3127: Change when system-provided mozjs headers are searched.
Nov 21 2020, 9:50 AM
wraitii added a comment to D2689: Update fmt to the most recent release.

We have a minor pickle: our GCC CI runs from the gcc:6 docker image, which is built on Debian 8, and I can't apt-get install fmt on that (there's just no package). It's also no longer on Buster, which ships gcc7 minimum.

Nov 21 2020, 9:44 AM
wraitii added a comment to D3127: Change when system-provided mozjs headers are searched.

This looks fairly good to me, and seems a nice solution for clang and gcc.

Nov 21 2020, 8:15 AM
Freagarach added a comment to D2886: introduce crossbowman templates.

That is exactly what I meant also :) But I understand my wording was wrong.

Nov 21 2020, 7:41 AM
autobuild committed rP24224: [Windows] Automated build..
[Windows] Automated build.
Nov 21 2020, 7:30 AM
s0600204 added inline comments to D3127: Change when system-provided mozjs headers are searched.
Nov 21 2020, 12:28 AM

Nov 20 2020

s0600204 requested review of D3127: Change when system-provided mozjs headers are searched.
Nov 20 2020, 10:58 PM
ValihrAnt added a comment to D2886: introduce crossbowman templates.

(They _are_ in the game already.)

What I meant is available to be trained by a civilization, so we can see how they actually behave in a real game.

Nov 20 2020, 8:57 PM
Vulcan added a comment to D3126: Fix MSVC 2015 Warnings for C++14.

Build failure - The Moirai have given mortals hearts that can endure.

Nov 20 2020, 8:06 PM
Vulcan added a comment to D3126: Fix MSVC 2015 Warnings for C++14.

Build failure - The Moirai have given mortals hearts that can endure.

Nov 20 2020, 8:05 PM
Vulcan added a comment to D3126: Fix MSVC 2015 Warnings for C++14.

Build failure - The Moirai have given mortals hearts that can endure.

Nov 20 2020, 8:04 PM
Stan updated the diff for D3126: Fix MSVC 2015 Warnings for C++14.

Fix notes, more warnings

Nov 20 2020, 8:04 PM
Silier requested changes to D3126: Fix MSVC 2015 Warnings for C++14.

why are you removing size_t ?

Nov 20 2020, 7:40 PM
Stan requested review of D3126: Fix MSVC 2015 Warnings for C++14.
Nov 20 2020, 7:14 PM
Vulcan added a comment to D2293: Allow code to register hooks which get called whenever a function value changes, use this to clean rendering options further..

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

Nov 20 2020, 6:56 PM
Stan added inline comments to D613: Remove UniqueRange custom code in favour of unique_ptr.
Nov 20 2020, 6:31 PM
Stan added a comment to D2768: Switch JS GUI Objects to a Proxy class, cleaning custom function definition..

As noted in D3126 there are a few warnings on MSVC2015 C++14

Nov 20 2020, 6:25 PM
wraitii added a comment to D613: Remove UniqueRange custom code in favour of unique_ptr.

Committing this over the WE.

Nov 20 2020, 6:24 PM
Vulcan resigned from D613: Remove UniqueRange custom code in favour of unique_ptr.

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

Nov 20 2020, 6:02 PM
Freagarach added a comment to D3124: Switch to C++14.

Working fine here (GCC 7.5, Lubuntu 18.04).

Nov 20 2020, 5:42 PM
wraitii updated the diff for D2293: Allow code to register hooks which get called whenever a function value changes, use this to clean rendering options further..

Rebased before committing.

Nov 20 2020, 5:40 PM
Vulcan added a comment to D1781: Fix lobby chat performance issue..

Build failure - The Moirai have given mortals hearts that can endure.

Nov 20 2020, 4:57 PM
Vulcan added a comment to D1781: Fix lobby chat performance issue..

Build failure - The Moirai have given mortals hearts that can endure.

Nov 20 2020, 4:56 PM
Vulcan added a comment to D1781: Fix lobby chat performance issue..

Build failure - The Moirai have given mortals hearts that can endure.

Nov 20 2020, 4:56 PM