Subcategories

  • Objectives Panel issue

    7
    0 Votes
    7 Posts
    1k Views
    Joe GJ
    @Cernel well damn. now its working. that so weird. cuz all the other Objectives.Properties files i've checked 'appear" to have linebreaks there. But hey, it worked, so i'm happy. THanks man. When u gonna be back on to continue our game
  • No Such Element Exception

    14
    0 Votes
    14 Posts
    2k Views
    RogerCooperR
    @danelyoung The scenario is still not working in pre-release, but works in the stable version.
  • java error

    Moved
    6
    0 Votes
    6 Posts
    2k Views
    D
    A StackOverflowError is simply signals that there is no more memory available. It is to the stack what an OutOfMemoryError is to the heap: it simply signals that there is no more memory available. JVM has a given memory allocated for each stack of each thread, and if an attempt to call a method happens to fill this memory, JVM throws an error. Just like it would do if you were trying to write at index N of an array of length N. No memory corruption can happen. The stack can not write into the heap. The common cause for a stackoverflow is a bad recursive call. Typically, this is caused when your recursive functions doesn't have the correct termination condition, so it ends up calling itself forever. Or when the termination condition is fine, it can be caused by requiring too many recursive calls before fulfilling it. Here's an example: public class Overflow { public static final void main(String[] args) { main(args); } } That function calls itself repeatedly with no termination condition. Consequently, the stack fills up because each call has to push a return address on the stack, but the return addresses are never popped off the stack because the function never returns, it just keeps calling itself. If the stack is full you can't push, if you do you'll get stack overflow error. StackOverflowError is avoidable if recursive calls are bounded to prevent the aggregate total of incomplete in-memory calls (in bytes) from exceeding the stack size (in bytes).
  • Measuring Allies & Enemies

    3
    1 Votes
    3 Posts
    659 Views
    RogerCooperR
    @Frostion I am actually close to getting something working. <attachment name="conditionAttachmentJapaneseEnemyUnitPresent" attachTo="Japanese" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="enemyPresenceTerritories" value="all" count="each"/> </attachment> <attachment name="triggerAttachmentJapaneseEnemyUnitCount" attachTo="Japanese" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player"> <option name="conditions" value="conditionAttachmentJapaneseEnemyUnitPresent"/> <option name="resource" value="PUs"/> <option name="resourceCount" value="1"/> <option name="when" value="after:BBidplace"/> </attachment> The trigger is not firing, but I am getting close to having a way of counting all enemy units and all friendly units. I can then use the difference for some rough handicapping. In many scenarios, there is no obvious historical (or hypothetical) conflict. This way I can just assign random sides and balance them, rather than having a free-for-all, which I find makes for uninteresting play.
  • Map error help

    25
    0 Votes
    25 Posts
    8k Views
    G
    Ok thanks, that worked!
  • Conditional Landbridge. . .

    5
    0 Votes
    5 Posts
    1k Views
    Joe GJ
    thanks guys!
  • Maximum Unit Size?

    7
    0 Votes
    7 Posts
    1k Views
    Michael HooverM
    @Frostion Yes it does, thank you for the additional information.
  • Can't Get Politics Phase to Work on Map

    4
    0 Votes
    4 Posts
    721 Views
    Joe GJ
    Hey Cernel, thanks for your guidance here. I figured out the problem. Did not have a relationshipinitialize section Did not have any true neutral territories on the board so it interfered with stuff. It works now! Thanks for all your help.
  • Error When Taking Other Faction's Capital

    2
    0 Votes
    2 Posts
    506 Views
    Joe GJ
    @Joe-G FIgured this out. A list of playerattachments at the end was missing from my XML.
  • Defense Bonus for Tank Support

    4
    0 Votes
    4 Posts
    769 Views
    C
    @Joe-G No problem. TripleA is fairly evenly split between British and American English. It can be easily confusing. I would personally prefer if TripleA would follow British English fully.
  • 0 Votes
    7 Posts
    1k Views
    Joe GJ
    @Frostion thanks. you guys rock. I got it working
  • Changing Territory Owner with a User Action

    11
    0 Votes
    11 Posts
    2k Views
    FrostionF
    @Cernel @stalinpasha I just use drag and drop when I want to upload an image to forum.
  • Zombie Spawning

    3
    0 Votes
    3 Posts
    824 Views
    C
    @Cernel Mind you that, this way, removed attacking units will turn into zombies owned by the attacking player, if you retreat, or owned by the defending player, if you lose the battle without retreating. For the losing battle without retreating part, you can have a trigger conquering the territory in favour of the "Zombies" player before the infrastructure unit repairs and, immediately thereafter, another trigger re-establishing ownership without conquering the territory (just check that a battle has happened for the attacker but the territory is owned by an enemy of the attacker, if you have a basic 2 sides scenario). For the retreat part, you can hack it by having the intermediate infrastructure unit being a movement 0 air unit (so it won't retreat with the rest and will never move out of it), but I personally strongly disagree on the current behaviour that attacking air infrastructures are conquered (since they are hovering the territory, they should not be influenced by any ownership changes, until after they landed on it, which they never can) (I believe a @Frostion map uses this behaviour for Nuke, if I recall correctly, but I consider this being a case of exploiting a wrong engine behaviour (bug)).
  • What Map Category?

    6
    0 Votes
    6 Posts
    3k Views
    Michael HooverM
    @Frostion thanks for the info I wasn't sure. Yeah in the yaml its version 1 so I'll pull it now and update it. I've already updated the repository on github (getting used to that as I am a noob there too :face_with_raised_eyebrow: ).
  • List of possible sounds in sounds.properties

    25
    1
    1 Votes
    25 Posts
    8k Views
    Michael HooverM
    @Frostion - thank you for all the advice on sounds. I finally have everything lined out thanks to your tips and tricks! I'll be updating Twelve Clans later with music and sounds. :beaming_face_with_smiling_eyes:
  • Trigger createsUnitsList count from 1 to 0 ?

    5
    1
    0 Votes
    5 Posts
    1k Views
    Michael HooverM
    Me too - this has some intriguing applications...
  • "Unit Help" Showing units that don't exist as option for nation

    3
    1
    0 Votes
    3 Posts
    828 Views
    S
    Ah yes.. I see the problem. I have a local copy of the xml and "unit" folder for development purposes and I have simply been adding my new units to the existing folder in the actual game. I see the original author of this game did have these two units in the folder. If I move them out.. the problem is solved! Thanks. Also, I agree it would be better to look at production frontier, but minor problem. Thanks for the help. I think my new version is ready to release to the public.
  • How to use Variables

    variable variablelist
    6
    0 Votes
    6 Posts
    3k Views
    RogerCooperR
    I am now using variables successfully..
  • Hard or Does Nothing AI for unactive players

    34
    0 Votes
    34 Posts
    9k Views
    C
    @LaFayette Yeah, that's why DNAI needs to be figured out and documented (and fixed to work with no capitals without crashing, possibly), as it is now going one way in the moment you can use it for attacking with its own phases and another way in the moment it substantially skips the collect phase, plus the strange behaviour of a first purchase then nevermore, that it is a complete surprise to everyone. Substantially, Veqryn made this AI probably based on something he was planning, but that never happened and, as far as I know, nothing was documented about all this more or less artificial and likely sigle-game tailored construct, that has been since available to all users and map makers. I would personally prefer it being just 100% like assigning the player to somebody that just keeps skipping everything it can skip and clicks randomly on anything it must do (but this would require fixing the placement phase itself as being a must do, preferably with a property to allow having the current free-not-to-place behaviour for custom maps).
  • "Could not find territory. name: " error

    3
    0 Votes
    3 Posts
    1k Views
    Z
    @Hepps Yeah thats what it looks like and what I initially thought but I double-triple checked and didnt find anything. But you did just give me the idea of searching for "" in the file and I found a unit placed with no territory. I probably wouldnt have thought of searching for that if I didnt read your comment tho, so thank you alot.

Recent Posts

  • If there is no agreement, it may be just better to go with the official terms.

    "Player" is the official term in TripleA (within the game file at least).

    "Power" is the official term in the games to which TripleA is inspired the most.

    read more

  • @xxXEddieXxx said:

    @cernel
    The term Nation will stay.

    Not only because i like it, and it fits 95% of maps.

    But also the examples you made are only based on the ethnocultural definition. But civic nations are a thing. Switzerland despite having four national languages and distinct cultural communities, constitutes a nation.

    Most importantly games like Hoi4 and EuV use the term nation so many people are familiar with it .

    If you want something like that, I would rather suggest "country". I do not like it very much, but it is very akin to "nation" but better.

    From Cambridge:

    Nation:

    a country, especially when thought of as the people who live there, often with its own culture, language, and customs

    Country:

    an area of land with fixed borders that has full or limited control over its own government and laws

    As you can see, using "country" eliminates the idea of being one people (not peoples) with shared "culture, language, and customs" which is at the root of the idea of "nation" (as well as "nationalism").

    read more

  • @RogerCooper To clarify, I agree with @rogercooper that "power" is much better than "nation" in general. Moreover, during the Second World War, the Tripartite parties themselves self-identified as powers in the name of the alliance itself, the "Dreimächtepakt".

    However, I do not like "power" very much because that is the same name which which you may (and TripleA does in the battle-calculator) define the hitting power (the sum of all dice strength), but I agree that it is one of the best picks, I tend to think better than "faction".

    In my opinion, "player" per se is a better pick (Germany, Japan and so on were indeed "players"), but I see that one may want to reserve the term to the human players. I think this can be addressed by just agreeing to call one "player" and the other one "participant". I do not think that players being sometimes unplayable is a problem: those are clearly fake players, and it is clear enough if they are assigned to Does Nothing.

    An other good term is "belligerent". You may argue that in some games it may happen not to be at war with anyone, but I think that in virtually any game whatever real player will eventually be a "belligerent", so it is fitting also when it is not yet.

    Good terms are also "polity" or "civilization". Depending on maps, one or the other one may be better, the former being better for World War maps.

    Starting from the fact that you have alliances, also "member" would be a good term, but it would become weird when you have single-member alliances. However, for something making the game-file, that is a particularly good term because that is how it actually works: when you do not have an alliance but a single power on its own, you have actually to define an alliance of a single member anyway.

    read more

  • @xxXEddieXxx said:

    The term Nation will stay.

    Not only because i like it, and it fits 95% of maps.

    I disagree. It does not even fit all players in World War 2 maps: the British Empire and the Soviet Union were not nations (they were very much multi-nations) as I said.

    read more