Subcategories

  • Some units not showing up properly

    3
    2
    0 Votes
    3 Posts
    533 Views
    jkprinceJ
    Thanks for the help! it works now. [image: 1591359867268-d.png] [image: 1591359873717.png]
  • How to change unit appearance?

    13
    1
    0 Votes
    13 Posts
    2k Views
    jkprinceJ
    Thanks for the help you two! It looks great now and I think I got the hang of it! [image: 1591288850120-yay2.png]
  • Adding triggers to a Map that doesn't have them

    6
    0 Votes
    6 Posts
    683 Views
    B
    @Cernel GD it you sure got the eye. "Also be sure the phase is exactly called "russiansPurchase" (not validated)." It's "russianPurchase" Had me chasing my tail for half a day. Big thanks
  • Please Help with Github upload

    6
    0 Votes
    6 Posts
    1k Views
    Joe GJ
    @LaFayette no. redrum helped me out. thanks lafayette.
  • Kamikazi's Still Not Working

    2
    0 Votes
    2 Posts
    529 Views
    Joe GJ
    I figured it out! You have to designate Japan as the initial territoryowner for each of the Kamikaze sea zones! YAAAAAAAAAH
  • Scramble from a Carrier? Is it possible?

    13
    0 Votes
    13 Posts
    2k Views
    Joe GJ
    thanks man.
  • Can the value for createResourcesList be 0?

    5
    0 Votes
    5 Posts
    861 Views
    Michael HooverM
    Right on! Thanks for the info
  • Changing Mongolia to Russian when Japan Declares war on Russia

    10
    0 Votes
    10 Posts
    1k Views
    Joe GJ
    I figured it out thanks to Hepp's help in private chat. Here was the solution: changeOwnership only seems to work if the players changing ownership are at WAR with each other. So the trigger now has 3 steps. First it changes relationship to WAR. then another trigger does the change in ownership. And then a third trigger changes the relationship back to Allied.
  • EnemyPresence Trigger not working

    14
    0 Votes
    14 Posts
    2k Views
    RogerCooperR
    @Cernel Here is the panel [image: 1590528965253-844c0c9d-d5a3-4dcb-b165-45d2ad417fa2-image.png] The trick is that A&B start at war and the real players randomly ally with A or B. A & B are nominal players with no territories or units.
  • Objectives Panel WORKING but one of the objectives/triggers not appearing

    3
    0 Votes
    3 Posts
    628 Views
    Joe GJ
    Yah. that was it. And another typo. thanks man
  • White Squares around units

    5
    0 Votes
    5 Posts
    830 Views
    G
    @Hepps Thanks for your help, but I just researched it and found out how to remove the background.
  • 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
    580 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
    7k Views
    G
    Ok thanks, that worked!
  • Conditional Landbridge. . .

    5
    0 Votes
    5 Posts
    938 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
    653 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
    453 Views
    Joe GJ
    @Joe-G FIgured this out. A list of playerattachments at the end was missing from my XML.

Recent Posts

  • @wc_sumpton

    thanks a lot!

    So far it seems to work perfectly!

    read more

  • @RogerCooper
    Thanks!

    read more

  • Removed https://github.com/triplea-maps/settlers_fallen_empire-08

    It's fun to play the Dragonkin and conquer the world.

    read more

  • @Ramon

    Try something like this:

    <attachment name="unitAttachment" attachTo="landmine" javaClass="UnitAttachment" type="unitType"> <!-- <option name="defense" value="0"/> removed --> <!-- <option name="attack" value="0"/> removed --> <!-- <option name="isAA" value="true"/> removed --> <!-- Expanding "isAA" values --> <option name="isAAforCombatOnly" value="true"/> <option name="isAAforFlyOverOnly" value="true"/> <option name="typeAA" value="Landmines"/> <option name="attackAA" value="1"/> <option name="maxAAattacks" value="6"/> <option name="targetsAA" value="infantry:tank:cavalry"/> <option name="isInfrastructure" value="true"/> <!-- Changed so units can't be taken as fodder --> <!-- <option name="isFirstStrike" value="true"/> removed --> <option name="isConstruction" value="true"/> <option name="constructionType" value="Landmines"/> <!-- Changed --> <option name="constructionsPerTerrPerTypePerTurn" value="1"/> <option name="maxConstructionsPerTypePerTerr" value="10"/> <!-- The following is added so that mines operate on defense --> <option name="isSuicideOnDefense" value="true"/> <!-- only those units that gets a hit are removed --> <option name="isSuicideOnHit" value="true"/> <!-- Unit can not be captured --> <option name="destroyedWhenCapturedBy" value="BY:$ListOfAllPlayers$"/> </attachment>

    Also "Units Can Be Destroyed Instead Of Captured" will need to be set.

    Cheers...

    read more