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

  • @xxxeddiexxx

    Lay out unit places
    Could do with showing the px size of the unit & its zoom size from the map.properties file, before placment

    Need to show the direction of unit overflow of the last unit in a TT/SZ. The default is to the Right, but depending on where the last unit appears in the TT/SZ the mapmaker might want to the left.
    Using a toggle say ctrl+O to switch between Right and Left overflow.
    On screen an arrow should indicate the current overflow direction.
    In place.txt overflow is seen as
    | overflowToLeft=true (overflows to the left)
    | overflowToLeft=false (default, no need to show as overflows to the right)

    The ability to add one more placment in the selected TT/SZ
    The ability to remove, highlighted placment.

    Current mapmakers are used to these, but maybe a right click menu is the way to go? (even for the toggle)

    image.jpeg

    .
    Wish list questions
    As the placement is based off center location it would be great if the app suggested moving the center coordinates to fit in more placments?
    What value upto would work, 27px as this is half the maximum height of the unit?
    Would the reiterations take to long? If so reduce the maximum pixels to move.
    If it made a suggestion then an option to do it. (right click menu option do it)

    .
    Save
    Before each save in Expert mode, a mapmaker needs to know what is going to be saved.
    This is critical if you accidentally change something unintended or forget you have changed something.
    A section that you can tick as read only/Dont save for each of the files to be saved.
    Especially the. xml as it messes with the order and formatting.
    The app should remember these setting from last save

    .
    Places (should be sorted & grouped, here is a suggested order)

    Units --- Capitals – I prefer a yellow star, not C Centers Comments Decorations Names PUs – should show the PU value as well as P, eg 6P Terrain Effects Victory Cities/Centers --- Blockade Convoy Kamikazi

    Places Options
    Right Click on TT/SZ for a menu to add/remove the items shown
    Left drag to move the selected item

    When there is no file or nothing to display, against the selection it should say None)

    .
    Earthquake
    The map gets shoved down and I lose my train of thought.
    There is a space reserved for shoving the map down to display things, like
    image.jpeg

    Can this space be reserved by moving up/compressing the ‘white’ space above the map, so the map does not move, please, pretty please.
    Yes this space will be ‘white’ space, but its better than moving the map.

    read more

  • @xxXEddieXxx said:

    @Vendetta it will disable itself automatically with a message to the user(you are on a big map there is no undo bla bla)

    Ah allright. I missed this post. I see there is not actually a limit: just the undo gets automatically disabled. That is good.

    read more

  • new update:

    A lot has changed since the first test version. Most of it comes straight from your feedback, so thank you for that.

    Territories and the map Places menu: show capitals, centers, convoys, names, PUs and the other markers on the map, several at once, drag them and save. Unit places: lay them out automatically (Squeeze as a spiral, or Grid), create the missing ones, or reload them from the files. Too many territories? Merge one into another, or remove many at once, smallest first. Split with a line and an Eraser for borders; a click erases a whole border between two territories. Islands can be clicked; before, the click chose the sea zone around them. Capital brush: a click moves a nation's capital. Units at the start: each row has a ×, and Remove all clears a territory. Resize map: make the whole map bigger or smaller, with everything on it. Export territory pictures: a PNG per territory, to draw over. Very large maps (eg 1941 GCD): borders can be drawn into them now. There is no undo for these lines, and the editor says so first. How the map looks Canals are clearly marked in their tool. Textures for the relief: premade ones, your own pictures, and Find textures in the map. Thht symbols now. Political view: land in its alliance's colour. Connections across the map's edge show as dashed lines. The Neighbours view no longer starts with a territory chosen. Place numbers hide when zoomed out. Nations, units and rules Rename a nation; its flags and unit pictures move with the next save. Has no capital for nations that are meant to have none. Flags from one picture, in all the sizes the game needs. Compare nations: territories, income, units and TUV side by side. New nations can buy the same as an existing one. Objectives: a tool of its own for national objectives. A nation's placing and moving rules in plain words. Stacking limits for unit types and for nations. Units panel rearranged; support to allies shows green, to enemies red. Terrain effects: values written with a count are read correctly now. Technology effects, buy window tabs and a Publish tool with a checklist. Easier to use Show all options in the File menu, for those who want everything open. Fine as it is: mark a problem or note that is meant so, and it is no longer counted. Check's tick stays after a save. The editor's version shows in the File menu and on the start page. A TripleA that is too old for the editor is told at the start, and the editor looks right under imbus. Maps that start in TripleA Every land territory gets its territory attachment, so a new map starts. Check and Play now start the game in memory and play its first round. Play opens TripleA only when that works, and says why when it does not. Nations without a capital no longer stop the game. Several edits that could break a game are fixed: splitting a territory, renaming one that a variable list names, adding an Activate Technology step. New problems are shown before you play, eg land units left in a sea zone. The "gamePlayer is null" crash came from TripleA loading two games at once; the editor now avoids that when it starts TripleA. Colours Nations, land without an owner and impassable land show in the colours TripleA uses. Other A Mac download

    https://github.com/xXEddieXxx/eddies-map-editor

    read more

  • @xxXEddieXxx Ok then just a setting for having/not having the undo feature (default having). I think it's quite important not forcing a maximum limit.

    read more