TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    XML option browser

    Scheduled Pinned Locked Moved XML Options Browser
    58 Posts 10 Posters 39.8k Views 9 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MahksM Offline
      Mahks
      last edited by

      Update:

      • Search option added
      • Navigation to previous object added.
      • Fixed off-line issues.

      XOB Update

      General_ZodG HeppsH 2 Replies Last reply Reply Quote 6
      • General_ZodG Offline
        General_Zod Moderators @Mahks
        last edited by

        @mahks Nice job.

        1 Reply Last reply Reply Quote 0
        • HeppsH Offline
          Hepps Moderators @Mahks
          last edited by

          @mahks Glad to see this is still alive. Well done fine sir!

          "A joyous heart sours with the burden of expectation"
          Hepster

          1 Reply Last reply Reply Quote 0
          • B Offline
            butterw
            last edited by

            The hierarchical index is great tool for anyone trying to understand what is possible with triplea game scenario .xml. POS2 can be a bit hard to read and take in.

            LaFayetteL 1 Reply Last reply Reply Quote 1
            • LaFayetteL Online
              LaFayette Admin @butterw
              last edited by

              @butterw POS2 is out of date in places as well : |

              1 Reply Last reply Reply Quote 1
              • cameronC Offline
                cameron
                last edited by

                is this still getting updated? it looks like @Mahks hasn't posted in several years...

                wondering if anyone can fix the entry for "carrierCapacity" as it's example is for "carrierCost".

                actually, while on the subject of corrections, can we get all the examples to use " (double quotes) instead of ' (single quotes)? such a pain having to edit when copy/pasting and missing one...

                LaFayetteL 1 Reply Last reply Reply Quote 0
                • LaFayetteL Online
                  LaFayette Admin @cameron
                  last edited by

                  @cameron

                  @Myrd was doing some work to move the XOB to the official TripleA website.

                  It is kinda available here, but does not yet render nicely:
                  https://triplea-game.org/xob/XOB.html

                  1 Reply Last reply Reply Quote 2
                  • cameronC Offline
                    cameron
                    last edited by

                    good to know it's not been abandoned. 🙂

                    although that link just displayed the code for me... 😞

                    LaFayetteL 1 Reply Last reply Reply Quote 0
                    • LaFayetteL Online
                      LaFayette Admin @cameron
                      last edited by

                      @cameron Indeed; not sure what is more needed to get it to actually "render". I was happy to see it be picked back up as well.

                      1 Reply Last reply Reply Quote 1
                      • cameronC Offline
                        cameron
                        last edited by

                        i copypasted the text into notepad and deleted the
                        "Line wrap
                        <!DOCTYPE HTML>"
                        bit at the front and saved it as an .html file and now it works in my browser (firefox).

                        1 Reply Last reply Reply Quote 1
                        • LaFayetteL Online
                          LaFayette Admin
                          last edited by LaFayette

                          It is interesting that works. Seemingly it is the web browser auto-attaching the 'doctype' part.

                          Here is the raw contents of the file, notice it is missing that doctype line:
                          https://github.com/triplea-game/triplea-game.github.io/blob/master/xob/XOB.html

                          For comparison: https://triplea-game.org/xob/XOB.html

                          What else, I'm not able to apply the same trick as you. If I save the file & open it - I see similar results as 'https://triplea-game.org/xob/XOB.html'
                          2abf3ca2-2c47-4aea-9ee6-80c56207d610-image.png

                          1 Reply Last reply Reply Quote 0
                          • cameronC Offline
                            cameron
                            last edited by cameron

                            huh. so what's adding the weird prefix?

                            maybe try commenting out line 9 & 10?

                            1 Reply Last reply Reply Quote 0
                            • LaFayetteL Online
                              LaFayette Admin
                              last edited by LaFayette

                              I think the XOB file format is escaped. We may need to take another stab at exporting the data.

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • 1
                              • 2
                              • 3
                              • 3 / 3
                              • First post
                                Last post
                              Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums