Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    1. Home
    2. TheDog
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups
    • Invitations

    TheDog

    @TheDog

    41
    Reputation
    140
    Posts
    473
    Profile views
    0
    Followers
    1
    Following
    Joined Last Online

    TheDog Follow

    Best posts made by TheDog

    • RE: Factory Scroller for Placement Phase

      Im sure its on LaFayette very nice to have list. šŸ™‚

      As Im biased I would put the improvement of the AI at the top of the to do list and thats a very big project.

      posted in Feature Requests & Ideas
      TheDog
      TheDog
    • RE: Factory/Town building in version TripleA v2.3+

      @ff03k64 @beelee
      Yes Im hoping this is the reason why the AI is not building factories.

      To turn the logs on.
      Load TripleA,
      click Debug (top row)
      click Show Hard AI logs
      Tick Enable logging
      Log Depth: = Finest
      Tick Limit Log History to: xx (I have mine set at 99 rounds)
      Click OK button at the bottom
      Play your game against the AI
      Look at the logs when its your turn.

      To copy a log, select the Round-Faction tab that you want and click in the log window,
      press ctrl+A (to select all)
      press ctrl+C (to copy)
      then paste it into your favourite text editor, I use Notepad++ (set it to Yaml to help read the text)
      Save it, upload it. to TripleA

      posted in Development
      TheDog
      TheDog
    • RE: Where should TripleA focus efforts and improvements?

      I play against the AI, so would like an improved AI., ie.

      • Stop the over stacking of units at Capitals when there is no threat within say 3 Territories.

      • In mid to end game the AI appears to lose the ability to expand and capture new territories.

      • To fix building new Factories.

      I am still on 1.9, it builds factories, so I am missing out on all the new features being added šŸ˜ž

      New, it would be great if the map designer could pick an aggression level for each AI faction say 51 to 100, this is the Battle Calculator average chance of winning, where 60 is very aggressive, meaning the AI has 60% chance of winning (Germans, Orcs), verses say an AI set at 90 (Americans, Dwarves).

      posted in The War Club
      TheDog
      TheDog
    • RE: Middle Earth: Battle For Arda - Official Thread

      @alkexr
      I would like to help with balancing your game, are you at this stage?

      Some of your units need their PUs reviewing, but Im sure you know that.

      Thanks to you and all who have brought it this far, it looks and feels awesome.

      I did the coding and balancing for The Tyranids for the Original Dawn of War, so Im used to the repetitive cycle of testing. šŸ˜‰

      posted in Maps & Mods
      TheDog
      TheDog
    • RE: Maps for AI Testing

      @beelee Good call, I have the chess map.

      @Trevan put me down for #1.
      Do you have a preference for which WWII map xml, I should take the unit stats/rules from?

      As beelee suggested I will use the chess map, it will not be pretty, but it will be functional. I will put a few mountain squares on it, to break up the grid.

      If no one else offers I will also do #2.

      Ideally when do you need the test maps by?

      posted in AI
      TheDog
      TheDog
    • RE: Is there a flowchart or similar for the AIs?

      @aardvarkpepper

      I fell across this in my travels, hope it helps.

      https://github.com/triplea-game/triplea/blob/master/docs/development/ai-overview-and-backlog.md

      posted in Development
      TheDog
      TheDog
    • RE: RFC - In-Game Map Uploads

      As a newbie to creating a map game there is a lot that one person needs to learn and do before a map game can be polished and uploaded to Github, in my case I dodged it and just hosted the file on my Google Drive.

      Github game map hosting appears to be unnecessarily complex, I just want to upload so others can enjoy the map.

      My question is, do you really need to have version control of all the individual files in a game map?

      I hope the answer is no, because;

      On Github could this work;

      Uploading 3 files;
      • Zip of the game map
      • Png Screenshot of the map for triplea-game.org/maps-list/maps/
      • Game Notes for triplea-game.org/maps-list/maps/

      The uploader would fill in a form depending on which option was selected, New, Minor Revision, Major Revision
      • New - provide the 3 file above
      • Minor revision – requires say 50+ characters to say what has changed and 3 files above
      • Major revision – requires say 100+ characters to say what has changed and 3 files above

      Intended download access has two choices,
      • TripleA Forum user ID required to download – this to encourage people to join the forum and to get feedback before being released to the public. This is a bit like me hosting on Google Drive as you have to read the post to get the link. To put a label on this its Experimental.
      • Public access/release

      Request to stop sharing a game map - only admins can do this.

      Game map files are treated as a file set, so they are never deleted or added to or overwritten, except by admins.

      There is a version control of sorts its based on the latest date of a file set and the zip file name.

      Hopefully you get the idea.
      .

      posted in Map Engine Development
      TheDog
      TheDog
    • RE: 2.3 is Released!

      Try and reinstall in a different directory other than the default, as its all good for me.

      posted in Announcements
      TheDog
      TheDog
    • AI and over stacking of defensive units on Capitals

      Beware guesswork follows;

      This bit of code it taken from here
      \TripleaCode\game-core\src\main\java\games\strategy\triplea\ai\pro\ProNonCombatMoveAi.java
      line 582
      // Calculate defense value for prioritization
      final double territoryValue =
      unitOwnerMultiplier
      * (2.0 * production
      + 10.0 * isFactory
      + 0.5 * cantMoveUnitValue
      + 0.5 * neighborValue)
      * (1 + 10.0 * isMyCapital)
      * (1 + 4.0 * isEnemyOrAlliedCapital);
      moveMap.get(t).setValue(territoryValue);
      }

      Having looked through the whole file, a pure guess is that the isMyCapital and isFactory and production all combine to have a very high defensive value that causes over stacking of Defensive units?

      I notice that 2.0 * production + 10.0 * isFactory will give a value that exceeds the isMyCapital alone, does this mean that a Factory with 3 production with have a value of 16 verses 11 for isMyCapital ?

      Also should there more brackets in the math to make sure the logic is clear?

      If so I think this is wrong, maybe the following values might go towards fixing the over stacking of defensive units.
      1.0 * production
      2.0 * isFactory
      This would still give a working production 3 isFactory a value of 5, that would equal isEnemyOrAlliedCapital, so these values might have to be lower?
      .

      posted in AI
      TheDog
      TheDog
    • Factory/Town building in version TripleA v2.3+

      @LaFayette @redrum @prastle and other Devs

      Factory/Town building in version TripleA v2.3+

      I have a map I have been working on, it is War of the Lance with fixed links and my xml, a Fantasy map.

      It is easy for me to use this map to test Factory/Town building, as I know it well.

      By turn 5 the Imperial faction should of built another Town/Factory because they have spare PUs to do so.

      Attached are two outputs from the Hard AI logs;
      One from version TripleA 1.9.0.0.13066 and one from version 2.3.21625

      v1.9 line 508 Best factory unit: Town
      v2.3 line 615 should say Best factory unit: Town, but it is missing

      Both versions have the line above
      507 and 614 Try to purchase factory for territory: Heartlund

      Im guessing, it would appear it i s a logic problem or the routine is missing?

      .
      A request to aid Testing, please put on line 1 of ALL Hard AI log files something like;
      TripleA version, Map name, Map version, Faction and Turn number

      This way the Devs know what they are looking at when I send them copies of the Hard AI logs.

      .
      Finally in my testing I have noticed that ver 2.3 AI is significantly faster than 1.9, thanks Devs!!!

      2.3-WotL-Imp-T05.txt 1.9-WotL-Imp-T05.txt

      posted in Development
      TheDog
      TheDog

    Latest posts made by TheDog

    • RE: Two proposals to give more default screen to games

      Also I think the Notes tab is not need and can be removed to save space.

      • As some map makers including me have their Notes as images, so need a much bigger space
      • Those that use text the rendering in such a small space is poor.

      The game notes are also duplicated in the menu under Help> Game Notes, I feel this is the best place.

      posted in Feature Requests & Ideas
      TheDog
      TheDog
    • RE: Magic Files for Map Indexing

      We humans can easily read the Date+Time stamp and interpret it. It was just an idea.

      posted in Map Engine Development
      TheDog
      TheDog
    • RE: Magic Files for Map Indexing

      Could the version number of the map be automatically calculated?
      Something like;
      Date+Time stamp YYYY-MM-DD---HH:MM:SS

      So the person uploading the map does not have to worry about the version?

      This also has the advantage, it shows when the map was last changed/updated/fixed.

      posted in Map Engine Development
      TheDog
      TheDog
    • RE: Lets help the AI purchase the unpurchaseable

      @redrum Wow already have a design that looks like it should work, when can you start work. šŸ˜›

      Seriously though, are you back as an observer or as a Dev?

      Either way good to have you back!

      Some questions
      Would you limit the number of non-PU resources? If so, to how many? Frostions Warcraft map has 6.
      Could it be done in two phases, the 'supply' side and then the 'demand' side or would it be better to do as one phase?
      Would this AI project conflict with what Trevan is currently doing?

      posted in AI
      TheDog
      TheDog
    • RE: Replace Console Logging with a File

      @LaFayette Dont forget to add triplea.log to the list of files to uninstall.

      posted in Development
      TheDog
      TheDog
    • RE: Lets help the AI purchase the unpurchaseable

      The AI would need to know the value/ratio of a resource, compared to 1 PU.
      Resource1,fuel,0.5
      Resource2,iron,1.25
      Resource3,wood,2
      etc

      But the more resources the harder it will be for the AI to work out what is the best value per resource combo. The more resources the longer time it will take to come to a conclusion.

      I dont think there is a quick fix for this one.

      posted in AI
      TheDog
      TheDog
    • RE: Need help about new German flag.

      What pixel width and height do you want the final image to be?
      Do you need 3 versions?
      If so what are their dimensions?

      Do you have a link to the image your looking at as the source?

      posted in Player Help
      TheDog
      TheDog
    • RE: Replace Console Logging with a File

      Installed latest 2.6.22481 in my home folder, yes it is there.

      A few lines from it
      9474 23:07:15.212 [Thread-2] DEBUG g.s.e.f.m.f.s.l.AvailableGamesFileSystemReader - Found game: Neusch. DH's Ultimate FFA @ file:///C:/Users/RYZEN/triplea/downloadedMaps/neuschwabenland-master/map/games/Neuschwab_Naval_Ed.xml
      9476 23:07:15.214 [Thread-2] DEBUG g.s.e.f.m.f.s.l.AvailableGamesFileSystemReader - Found game: Battle of Aventurica @ jar:file:/C:/Users/RYZEN/triplea/downloadedMaps/battle_of_aventurica-master.zip!/battle_of_aventurica-master/map/games/Battle_of_Aventurica.xml
      9476 23:07:15.214 [Thread-2] DEBUG g.s.e.f.m.f.s.l.AvailableGamesFileSystemReader - Found game: Test1 @ jar:file:/C:/Users/RYZEN/triplea/downloadedMaps/map_making_tutorial-master.zip!/map_making_tutorial-master/map/games/Test1.xml
      9476 23:07:15.214 [Thread-2] DEBUG g.s.e.f.m.f.s.l.AvailableGamesFileSystemReader - Found game: TAW_Roman_Campaign @ file:///C:/Users/RYZEN/triplea/downloadedMaps/total_ancient_war-master/map/games/TAW_Roman_Campaign.xml

      posted in Development
      TheDog
      TheDog
    • RE: Replace Console Logging with a File

      Yes C:\Program Files\TripleA is the default

      C:\Program Files\ is a somehow restricted system directory.
      Yes Windows tries to protect itself.

      posted in Development
      TheDog
      TheDog
    • RE: Replace Console Logging with a File

      For reference, I am a default installer.

      posted in Development
      TheDog
      TheDog