Jump to content

nwtour

Community Members
  • Posts

    229
  • Joined

  • Days Won

    1

Posts posted by nwtour

  1. Just now, SciGuy42 said:

    Thanks. The first error I get when I load Macedonia_1 is:

    Writing replay to /home/<my user name>/.local/share/0ad/replays/0.0.25/2021-11-03_0001
    terminate called after throwing an instance of 'PSERROR_Game_World_MapLoadFailed'
      what():  Could not load terrain file - too old version!

    Are you sure you downloaded Branch 25 to your mods folder? Version from https://github.com/nwtour/Macedonia_0ad.git this error should be fixed * (PMP files upgraded to 7 version)

  2. 21 minutes ago, SciGuy42 said:

    Is there a script you have to run?

    I have not found a way to do this automatically
    I search in
    https://github.com/nwtour/0ad_path_backward_capability/blob/main/24/map_backward_capability_list.json and the history of git (example git whatchanged -n 5000 | grep gaul_infantry_javelinist_e) and substitute it into the command line :
     

    sed -i 's|other/fence_short|structures/fence_short|' maps/scenarios/*
    sed -i 's|other/palisades_rocks_watchtower|structures/palisades_watchtower|' maps/scenarios/*
    sed -i 's|geology_stonemine_tropic_quarry|rock/tropical_large|' maps/scenarios/*
    sed -i 's|gaia/fauna_hawk|birds/buzzard|' maps/scenarios/*
    sed -i 's|other/bridge_wooden|structures/bridge_wooden|' maps/scenarios/*
    sed -i 's|geology_metal_alpine|ore/alpine_small|' maps/scenarios/*
    sed -i 's|geology_stonemine_temperate_formation|rock/temperate_large_02|' maps/scenarios/*
    sed -i 's|flora_tree_aleppo_pine|tree/aleppo_pine|' maps/scenarios/*
    sed -i 's|geology_stonemine_alpine_quarry|rock/alpine_large|' maps/scenarios/*

     

     

  3. 10 hours ago, Freagarach said:

    If you need the kennel, you'll have to make the template yourself.

    This is to @SciGuy42. I just convert without loss to the 25th version objects from the first three maps. I hope this will help the author hold a full transition

    I can also offer a database of renamed files - it is very accelerating the migration process:

    https://github.com/nwtour/0ad_path_backward_capability/blob/main/24/map_backward_capability_list.json

  4. 3 hours ago, SciGuy42 said:

    Hi folks, it is now time for me to convert this to A25. Does anyone have a pointer to what scripts I need to run?

    I sent a pull request with the conversion results. The first mission launches successfully
    https://github.com/SciGuy42/Macedonia_0ad/pull/2
    But some models have been removed from the game and cannot be automatically converted

    binaries/data/mods/public/simulation/templates/units/mace_support_healer_e.xml
    binaries/data/mods/public/simulation/templates/units/mace/champion_cavalry_barracks.xml
    binaries/data/mods/public/simulation/templates/units/gaul/champion_infantry_barracks.xml
    binaries/data/mods/public/simulation/templates/structures/brit_kennel.xml

     

    • Like 2
  5. 2 hours ago, nani said:

    That was one time hardcoded feature, for a general case I not sure I could pull it off as a mod and seem too much work/reward ratio

    Ok. If you suddenly change your mind, I threw in the code that was trying to implement this function (though it is not working - It turns out that Engine::ConfigDB cannot be accessed at the time of loading).
    I will be once if something from my code helped

    https://github.com/nwtour/mod-setdefaultstance
    264724888_2021-09-1801-27-46.png.329bbd663ea48cfa07bd071384be3ac3.png

    • Like 1
  6. 11 minutes ago, Ceres said:

    "Write a faction and a building with false data" means what?

    https://nwtour.github.io/compare-0ad/de.html
    If you think that the data here is outdated. Choose some kind of civilization, run the game and compare the numbers. For example, the Athenian Farmstead in reality has "X" hitpoints, and on page "Y". I will fix the cause

    If we are talking about the interface:
    http://s06eye.co.uk/0ad/techtree-v2/

    I'm not the author. It is necessary to contact  @s0600204

    • Thanks 1
  7. The default stance is a requested feature.
    I have to click on each type of unit: ram aggressive, archers defend, medics passive
    .

    It would be great to implement setting default stance for each type of unit.

    IMHO best place in unit type tooltip (Available in-game and in Structure tree)
    Stance buttons:
    https://github.com/0ad/0ad/blob/master/binaries/data/mods/public/gui/session/selection_panels.js#L927

    Place in tooltip:

    https://github.com/0ad/0ad/blob/master/binaries/data/mods/public/gui/common/tooltips.js#L1185

    It remains to find how to merge it with https://github.com/nanihadesuka/autociv/commit/a1daba4d4e4b5ca5a1984dca231bce45d8f470f5

    Снимок экрана от 2021-09-05 20-10-00.png

    • Like 3
  8. 9 hours ago, Ceres said:

    The patch is ready for review

    Cool. Step by step and soon it will be possible to play without a TOEFL diploma :)

    9 hours ago, Ceres said:

    Is the greenbox in your screenshots just to focus readers to the most important content, or do you use it also for in-game testing, where background does not matter? How do you do this?

    This is for performance and fast loads. Monotonous textures look ugly, but the smallest in size
    1156706457_2021-09-0513-39-10.thumb.png.37d2896f06117d45335617aebea3f134.png

    Снимок экрана от 2021-09-05 13-40-40.png

    • Like 1
  9. 1 hour ago, Ceres said:

    It's set to false on my end, so I wonder why I saw this message at all.

    Debug messages look different. 
    Most likely you are in a situation when the territory under your building is captured at the moment when the building is selected.
    In the center, it is messages related to the game and not debugging that appear.

    Снимок экрана от 2021-09-04 22-20-12.png

    Снимок экрана от 2021-09-04 22-30-41.png

    • Thanks 1
  10. 1 hour ago, Ceres said:

    Would you mind that I provide your patch in https://code.wildfiregames.com? See below (not full context):

    Yes, sure. I wrote it for this.

    1 hour ago, Ceres said:

    Currently, I don't  know, though, how to test it. I would need to have a unit that cannot be controlled - for whatever reason. Thanks for sharing further thoughts from your end.

    Try comment 1786 line:
     

    -        if (!canBeControlled)
    +        //if (!canBeControlled)
                    notifyOrderFailure(entity, player);

    and all buildings will lose control...

    • Thanks 1
  11. 40 minutes ago, Gurken Khan said:

    The game will generate a new dump when there's a crash?

    Yes. Saturday at 05:44 dump was created successfully

    Perhaps deleting this file will fix the problem - but I cannot guarantee B)

    47 minutes ago, Gurken Khan said:

    When I whitelist a directory like \0ad\* in my antivir, sub-directories like \0ad\logs\ will be whitelisted too, right?

    Perhaps your antivirus is now blocking the system function MiniDumpWriteDump(). If the game continues to create empty crashlog.dmp on crash - you need to somehow tell the antivirus that the whole process pyrogenesys.exe is not a virus.

    • Thanks 1
  12. 6 minutes ago, Gurken Khan said:

    Was that addressed at me or the devs? Because I wouldn't have an idea what to do.

    I also have no idea what that os error regarding a device wants to tell me.

    The error says that the game does not have permission to write the file crashlog.dmp (in directory "logs")
    It may be worth trying to remove it - in its current state it will reproduce the error

    • Thanks 1
  13. On 29/08/2021 at 10:49 PM, Gurken Khan said:

    Crash while trying to save in the dialogue. All saves were deleted after my last report. Load & save possible after restart


    Maybe fix the minidump recording?

    crashlog.txt:
    errno = 13 (Insufficient access rights to open file)
    OS error = -2147024865 (Ein an das System angeschlossenes Gerät funktioniert nicht.)

    I see a comment in code like this:

            // a dump file is essential for debugging, so write it before
            // anything else goes wrong (especially before showing the error
            // dialog because the user could choose to exit immediately)
            wdbg_sym_WriteMinidump(ep);

    Perhaps a service exception is triggered and already on the minidump record it finally crashes...
    Try remove empty file crashlog.dmp in directory
     

    • Thanks 1
  14. 1 hour ago, Ceres said:

    I cannot find the message "Civic Center can't be controlled." under any of the 2 links. What am I missing?

    String "%(unit)s can't be controlled.", patch on my local machine to fix missing translation (if I guessed the place of issue correctly):

    -               "message": sprintf(markForTranslation("%(unit)s can't be controlled."), {
    -                       "unit": cmpIdentity.GetGenericName()
    -               }),
    +               "message": markForTranslation("%(unit)s can't be controlled."),
    +               "parameters": {"unit": cmpIdentity.GetGenericName()},
    +               "translateParameters": ["unit"],

     

    Снимок экрана от 2021-08-31 12-36-49.png

    • Like 1
    • Thanks 1
×
×
  • Create New...