Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Missing Image Crashes

    Feature Requests & Ideas
    3
    7
    1547
    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.
    • CrazyG
      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

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

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

        CrazyG 2 Replies Last reply Reply Quote 0
        • CrazyG
          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
          • CrazyG
            CrazyG Moderators @redrum last edited by

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

            redrum 1 Reply Last reply Reply Quote 0
            • redrum
              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

              DanVanAtta created this issue in triplea-game/triplea

              closed Log missing images, but do not crash the game. #685

              1 Reply Last reply Reply Quote 0
              • C
                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.

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