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

    Missing Image Crashes

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    7 Posts 3 Posters 2.4k Views 3 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.
    • CrazyGC Offline
      CrazyG Moderators
      last edited by

      Hello everyone

      On the old forum I suggested altering the engine so that when it calls an image which isn't available, the game doesn't crash. The idea got some support but hasn't been added, so I thought I'd resuggest it. It would be useful when making a new map, and there are situations involving edit mode where someone might accidentally have a unit with no image (such as on TWW with the occupation units)

      Instead of crashing, the engine would have a default image it can place instead, like a blank or maybe a question mark

      redrumR C 2 Replies Last reply Reply Quote 0
      • redrumR Offline
        redrum Admin @CrazyG
        last edited by

        @CrazyG I think this was added in at least for some cases. Though maybe not all?

        TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

        CrazyGC 2 Replies Last reply Reply Quote 0
        • CrazyGC Offline
          CrazyG Moderators @redrum
          last edited by

          @redrum
          I had a crash yesterday when I edited a TWW territory to another owner. I'll try to recreate and post a save

          1 Reply Last reply Reply Quote 0
          • CrazyGC Offline
            CrazyG Moderators @redrum
            last edited by

            @redrum
            What version was it added to? I haven't updated in a little while

            redrumR 1 Reply Last reply Reply Quote 0
            • redrumR Offline
              redrum Admin @CrazyG
              last edited by

              @CrazyG Should be in the initial 1.9 release I believe: https://github.com/triplea-game/triplea/pull/685

              TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

              1 Reply Last reply Reply Quote 0
              • C Offline
                Cernel Moderators @CrazyG
                last edited by

                @CrazyG This has been made, tho I didn't see and don't see the problem with letting the game crash, when the game is wrong. The current behaviour is that the image is completely invisible, aside from its stack number, but you get this error:
                MISSING IMAGE (this unit or image will be invisible): UnitType{name=X}
                where "X" is the name of the unit.

                I can confirm that it works as intended, for me, in 1.9.0.0.6115.

                If you hit it again, I suggest telling exactly what you did, so that others can reproduce. My guess is that you got the error of the missing image, but the crash, that occurred at the same time, was due to some other problem.

                CrazyGC 1 Reply Last reply Reply Quote 0
                • CrazyGC Offline
                  CrazyG Moderators @Cernel
                  last edited by

                  @Cernel
                  Bingo. I got an error when viewing the history, the top line was about the image not being available, but what actually caused the error is something else

                  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 / 1
                  • First post
                    Last post
                  Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums