Jump to content

hyperion

WFG Programming Team
  • Posts

    1.120
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by hyperion

  1. On 12/12/2023 at 8:06 PM, rossenburg said:

    Even if there's a slip-up and a cheat mod accidentally gets approved and reported

    Does this mean the authority to decide doesn't lie with the dev signing? So how should it work then, some user claiming the mods I use are fine but the one you use is not gets to make the call?

    I struggle to see why WFG should even try to get involved in this mess (a social problem with not technical solution at all). Why not simply add a vanilla badge to user in lobby that don't use any mods and make the only form of cheating recognized by WFG modifications to show said badge when not appropriate. If hosts of games or even tournaments want random mods rules then it's their business.

     

  2. 3 hours ago, rossenburg said:

    Here's an idea to ensure fairness and block cheat mods: why don't we consider permitting only verified mods through mod.io? These mods undergo manual checks before being signed. If a mod isn't listed on mod.io, its not compatible even tho it can still be used in single player games. This approach ensures fairness as any mod used should be available to everyone.  if your mod isn't signed, it won't be usable in multiplayer games.

    So instead of a dev just checking if there is no malicious code you want to put him into the crossfire of the vocal and abusive community for signing the wrong mod? Given that it's outright impossible to implement so that it can't be sidestepped I suggest to give up the notion of this being a good idea.

    • Like 1
  3. 48 minutes ago, zozio32 said:

    Linux 22.04

    Mh, probably Ubuntu 22.04. python-is-python3 sounds like a package installing a symlink python pointing to python3 and the the package python-is-python3 just so depends on a package python3 which in turn depends on a package python3.10 for example. My guess the package python3 if it exists would be what you want.

    Not sure what the canonical way to install python 3 on Ubuntu is but looking at the results of "apt search python" should probably make it obvious.

    • Thanks 1
  4. 5 hours ago, phosit said:

    Can you upload a patch? (I'm shy of patching libraries)

    Is correct but might be incomplete.

    Edit: tested to be complete, builds with 2.11.5, 2.12.1, 2.12.2 and git HEAD.

     

    5 hours ago, phosit said:

    To address the readability issue we could use a temporary/using.

    using MaybeConstXmlError = std::conditional_t<LIBXML_VERSION >= 21200, const xmlError, xmlError>;
    void errorHandler(void* UNUSED(userData), MaybeConstXmlError* error)

    Don't think this improves readability over your first suggestion. It's not complexity that is the issue just that people aren't used to it in this context so it takes an extra one or two seconds to mentally parse, at least for me. The greater than char in the greater than equal token doesn't help ;) Whether or not the tradeoff vs. not using the preprocessor is worth it I don't know.

  5. 20 minutes ago, phosit said:

    I don't like preprocessor directives. We could go for:

    void errorHandler(void* UNUSED(userData), std::conditional_t<LIBXML_VERSION >= 21200, const xmlError, xmlError>* error)

    As long as it's not the cast variant of solving this I'd be fine with either.

     

    21 minutes ago, phosit said:

    @hyperion Does Fcollada also have an issue with newer lxbxml2 version?

    Looking at the linked ticket a future 2.12.3 should no longer have any issue, still technically it's a downstream bug, just that the fallout was unexpectedly large and the missing headers where injected back upstream. So I'd add the parser header regardless as this also allows the use of all 2.12.x releases.

  6. On 14/10/2023 at 3:11 AM, The Undying Nephalim said:

     - Glow Shader: Another feature I have been practically begging for since as far back as 2017. I have seen various implementations of this in screenshots but it has to this day never been released. There are many ghostly units and creatures known for their glow effects that are missing them and they look terrible in the game at the moment.

    Alpha channel of spec map can be used for emission with corresponding material definition, eg see basic_glow_norm_spec.xml

    Another option would be to grab a Kronos ref implementation of PBR shader and modify it to work with pyrogenesis, Vladislav has plans to move to PBR at some point, so you'd be somewhat future proof and have a probably better time using modern tools.

  7. Finite resources are somewhat important for rts, so me think it's up to mapmakers to add more fish (more or bigger patches) if that improves a certain map.

    One problem is the role of fishing isn't that obvious in 0ad as let's say aoe2, where its used to grow eco faster early on and still not lose all purpose later with fish traps by converting wood to food over time in balance with fields.

    • Like 1
  8. Well, for Linux only sources are provided and distributions have to build 0ad themself. Also they wouldn't accept bundled deps and so the situation is different than for Mac where the goal is an all-in-one dmg. If you build for yourself fixing the build script to use homebrew packages is obviously possible. At least you get a working build script you can use as base unlike on Windows where the deps are prebuilt. :)

     

  9. 8 hours ago, LienRag said:

    Well, for starters the "terain tab" subsection doesn't say a thing about elevations...

    (which is what would have interested me as I tried to make some on a map, and wasn't able to understand what makes them buildable upon or not)

    I can certainly not fix the manual for a part I don't understand, but I could report an issue is there's a git somewhere (I mean, not a Microsoft-owned one, of course).

     

    Well, guess you figured out at least 90%, so if you add that and then post in the forum asking for review and pose a question or two, you likely get proper answers for the reminder if you really can't figure it out.

     

    I don't intend to target you but there is a rather common pattern here, complain and expect someone else to sit down and do research or do work. So it comes down to if you can't be bothered why should I be. While not absolute, I'm far more willing to help people who actually contribute. As for brilliant ideas, I'm sure all contributors have lots of them, so why would they need others to provide more. ;)

×
×
  • Create New...