Jump to content

badosu

Balancing Advisors
  • Posts

    859
  • Joined

  • Last visited

  • Days Won

    16

Posts posted by badosu

  1. When I close atlas executed via `0ad -editor` or any other method, the whole X session crashes and I am sent back to the tty.

    This is the whole output:
     

    Spoiler
    
    TIMER| LoadDLL: 51.5459 ms
    TIMER| InitVfs: 60.9659 ms
    Writing the mainlog at /home/badosu/.config/0ad/logs/mainlog.html
    TIMER| CONFIG_Init: 1.39374 ms
    Sound: AlcInit success, using OpenAL Soft
    TIMER| shutdown ConfigDB: 0.696 us
    TIMER| resource modules: 85.1935 ms
    TIMER TOTALS (9 clients)
    -----------------------------------------------------
      tc_pool_alloc: 0 c (0x)
      tc_png_decode: 0 c (0x)
      tc_dds_transform: 0 c (0x)
      tc_transform: 0 c (0x)
      tc_plain_transform: 0 c (0x)
      tc_ShaderGLSLLink: 0 c (0x)
      tc_ShaderGLSLCompile: 0 c (0x)
      tc_ShaderValidation: 0 c (0x)
      xml_validation: 0 c (0x)
    -----------------------------------------------------
    TIMER| shutdown misc: 179.959 us
    TIMER| InitVfs: 66.646 ms
    Writing the mainlog at /home/badosu/.config/0ad/logs/mainlog.html
    TIMER| CONFIG_Init: 1.56701 ms
    Sound: AlcInit success, using OpenAL Soft
    Unknown cache/TLB descriptor 0xc3
    UserReport written to /home/badosu/.config/0ad/logs/userreport_hwdetect.txt
    TIMER| RunHardwareDetection: 18.4556 ms
    TIMER| InitRenderer: 847.828 us
    TIMER| ps_console: 1.43787 ms
    TIMER| ps_lang_hotkeys: 603.365 us
    GAME STARTED, ALL INIT COMPLETE
    TIMER| shutdown TexMan: 15.603 us
    TIMER| shutdown Renderer: 1.80881 ms
    TIMER| shutdown SDL: 532.909 us
    TIMER| shutdown UserReporter: 0.325 us
    TIMER| shutdown ConfigDB: 0.196 us
    TIMER| resource modules: 536.941 ms
    TIMER TOTALS (0 clients)
    -----------------------------------------------------
    -----------------------------------------------------
    TIMER| shutdown misc: 172.355 us
    Profiler2.cpp(236): Assertion failed: "ThreadUtil::IsMainThread()"
    os_path.h(48): Assertion failed: "(unsigned)wstring[i] <= (unsigned)UCHAR_MAX"
    Assertion failed: "(unsigned)wstring[i] <= (unsigned)UCHAR_MAX"
    Location: os_path.h:48 (OsString)
    
    Call stack:
    
    (0x558f2ad700e6) /usr/bin/pyrogenesis(+0x5dc0e6) [0x558f2ad700e6]
    (0x558f2ad22962) /usr/bin/pyrogenesis(+0x58e962) [0x558f2ad22962]
    (0x558f2ad23d3c) /usr/bin/pyrogenesis(+0x58fd3c) [0x558f2ad23d3c]
    (0x558f2ad2441a) /usr/bin/pyrogenesis(+0x59041a) [0x558f2ad2441a]
    (0x558f2ad736bf) /usr/bin/pyrogenesis(+0x5df6bf) [0x558f2ad736bf]
    (0x558f2ad232be) /usr/bin/pyrogenesis(+0x58f2be) [0x558f2ad232be]
    (0x558f2ad23d49) /usr/bin/pyrogenesis(+0x58fd49) [0x558f2ad23d49]
    (0x558f2ad2441a) /usr/bin/pyrogenesis(+0x59041a) [0x558f2ad2441a]
    (0x558f2aa6f6a7) /usr/bin/pyrogenesis(+0x2db6a7) [0x558f2aa6f6a7]
    (0x558f2aa6f725) /usr/bin/pyrogenesis(+0x2db725) [0x558f2aa6f725]
    (0x7f76b7407537) /usr/lib/libc.so.6(+0x3e537) [0x7f76b7407537]
    (0x7f76b74076ee) /usr/lib/libc.so.6(+0x3e6ee) [0x7f76b74076ee]
    (0x7f76b2fb0b01) /usr/lib/libgdk-x11-2.0.so.0(+0x61b01) [0x7f76b2fb0b01]
    (0x7f76b7e1769e) /usr/lib/libX11.so.6(_XIOError+0x4e) [0x7f76b7e1769e]
    (0x7f76b7e156aa) /usr/lib/libX11.so.6(+0x416aa) [0x7f76b7e156aa]
    (0x7f76b7e10bff) /usr/lib/libX11.so.6(XSync+0x4f) [0x7f76b7e10bff]
    
    errno = 0 (No error reported here)
    OS error = ?
    
    
    


     

  2. Hello, I thought of making a 0adstats website, where one can inspect their and others progress, activity history, etc...

    Do we have an API of sorts to listen to stats changes/communicate with bot?

    I would assume not, if that's the case, would it be under TOS to register a bot listening on the lobby xmpp channel to gather this data?

    Initial implementation would be to just listen to ranked results messages, but if there could be any other additional data to be gathered would be great!

  3. LSP are programs that perform static analysis of the codebase to extract the AST and provide facilities for development (autocomplete, function signatures, refactoring utilities, go-to definition and so on).

    Most of the ones available for C++ use clang though it seems it may be possible to use with gcc. I was wondering if someone had been able to setup that already.

    This is the LSP I was trying to setup specifically: https://github.com/cquery-project/cquery

  4. As a beginner it's always best to master your economy, especially if you are playing against nubs, you can worry about tactics when you get gud enough that your opponents can rush or match your units decently (just search for valihrant guide on youtube and enjoy)
     

     

  5. New development version, fourth release candidate:

    - Bring in Britannic Road, props to @Feldfeld!!! :banana:
    - Fix sunken minerals on hyrcanian
    - Port optimization fixes for DiskPlacer and AnnulusPlacer
    - Optimize placements by constraining on areas instead of placer functions
    - Adjustments for tiny balanced maps
    - Memoize areas for food creation
    - Rearchitecture the helper functions (new library balancedHelpers)

    From now on I expect to only generate map previews and address any further issues found on playtesting. Thanks for the help!!

     

    balanced-maps.pyromod

  6. An alternative would be to have categories of mods, e.g. spec mods (e.g. autociv, fgod) are never checked for compatibility, maps mods are checked only when the map is loaded (like we do here), etc... But these would be ad-hoc solutions, I think a compatibility constraint would be best. As to avoid abuse, it would be impossible and made easier but I guess it's better to have it explicit than some kind of security through obscurity (stanza and hasSameMods can be patched regardless).

    As for maps, language-packs, etc a resource distribution mechanism would be a better delivery system than packaging them as mods, thought the mod specification could be reused possibly with a tagging mechanic (as described above) if a proper resource delivery system is too ambitious for a first step.

    A proper resource delivery system would download the assets on the fly, like for example when you download a map when playing a typical fps, with all textures, templates, etc... That would imply in additional complexity to be sure maps are compatible with mods, possibly even chaining on mod delivery. But I guess mod constraint specification would be a huge step in the right direction at least.

  7. New development version, third release candidate:

    - Introduce wood generator, guarantees fair global 3/4 patches to each player

    I won't expect to introduce any new features now.

    My focus is on playtesting, rearchitecture of the helper functions, generating map previews and possibly including britannic_road (when @Feldfeld feels its ready)

    Please test if possible and let me know your feedback.

    balanced-maps.pyromod

×
×
  • Create New...