Modding Help custom dungeon has vertically flipped objects?

Discussion in 'Starbound Modding' started by rekkandevar, Oct 24, 2019.

Tags:
  1. rekkandevar

    rekkandevar Space Spelunker

    I can't teleport to my custom dungeon because apparently one of the objects contains vertical or diagonal flips, which are not supported. I have no clue what I should do about this. Looking at the json file, I noticed a bunch of objects had their rotations set to 180 degrees, so I set all rotations to 0 with the intention of making it work now and making it pretty later. Same problem. I had placed everything right side up in Tiled, and after a quick checkup I noticed that the protectorate bunk bed is just upside down by default. The vertical flip box was checked. Fixing this issue did nothing either. It's also worth mentioning that in the json for the dungeon there is no flip parameter for any object. There's just rotation.

    I don't understand this text editor at all. Ignore the faces.

    [14:05:35.848] [Error] UniverseServer: error during world create: (DungeonException) Error loading dungeon '/dungeons/missions/reunited/manamibase.dungeon': (StarException) At 47,26: object contains vertical or diagonal flips, which are not supported
    [0] 7ff71556a213 Star::captureStack
    [1] 7ff715568f9e Star::StarException::StarException
    [2] 7ff71567602a Star::DungeonException::format<Star::String,Star::OutputProxy>
    [3] 7ff715e8fc1e `Star::DungeonDefinitions::readDefinition'::`1'::catch$27
    [4] 7ffd7d63c0b0 _C_specific_handler
    [5] 7ffd7d631f11 _TypeMatch
    [6] 7ffd963c0646 RtlCaptureContext
    [7] 7ff71568fb93 Star::DungeonDefinitions::readDefinition
    [8] 7ff71567ec9a <lambda_475708549715a500cc90681f474fe533>::eek:perator()
    [9] 7ff71567684c Star::LruCacheBase<Star::OrderedMapWrapper<Star::FlatHashMap,Star::String,std::shared_ptr<Star::DungeonDefinition>,Star::BlockAllocator<std::pair<Star::String const ,std::shared_ptr<Star::DungeonDefinition> >,1024>,Star::hash<Star::String,void>,std::equal_to<Star::String> > >::get<<lambda_475708549715a500cc90681f474fe533> >
    [10] 7ff71568a194 Star::DungeonDefinitions::get
    [11] 7ff715b242ad Star::WorldTemplate::determineWorldName
    [12] 7ff715b1fd92 Star::WorldTemplate::WorldTemplate
    [13] 7ff7159fbf01 std::_Ref_count_obj<Star::WorldTemplate>::_Ref_count_obj<Star::WorldTemplate><std::shared_ptr<Star::VisitableWorldParameters> & __ptr64,Star::SkyParameters & __ptr64,unsigned __int64 & __ptr64>
    [14] 7ff715a0988b std::make_shared<Star::WorldTemplate,std::shared_ptr<Star::VisitableWorldParameters> & __ptr64,Star::SkyParameters & __ptr64,unsigned __int64 & __ptr64>
    [15] 7ff715a12b2e <lambda_9f7def06b3c0013d35196aec749f4ecf>::eek:perator()
    [16] 7ff7159fd03f std::_Invoker_functor::_Call<<lambda_9f7def06b3c0013d35196aec749f4ecf> & __ptr64>
    [17] 7ff715a040f6 std::invoke<<lambda_9f7def06b3c0013d35196aec749f4ecf> & __ptr64>
    [18] 7ff7159ffc29 std::_Invoke_ret<std::shared_ptr<Star::WorldServerThread>,<lambda_9f7def06b3c0013d35196aec749f4ecf> & __ptr64>
    [19] 7ff715a15a76 std::_Func_impl<<lambda_9f7def06b3c0013d35196aec749f4ecf>,std::allocator<int>,std::shared_ptr<Star::WorldServerThread> >::_Do_call
    [20] 7ff715900677 std::_Func_class<std::shared_ptr<Star::plantDatabase> >::eek:perator()
    [21] 7ff715a1200f <lambda_770d99c769b4950d94783c330804382d>::eek:perator()
    [22] 7ff715561ce2 Star::WorkerPool::WorkerThread::run
    [23] 7ff715566d9e Star::ThreadImpl::runThread
    [24] 7ffd95d57bd4 BaseThreadInitThunk
    [25] 7ffd9638ced1 RtlUserThreadStart
    [14:05:35.848] [Info] UniverseServer: Warping player 1 to InstanceWorld:manamibase:-:-
    [14:05:35.848] [Info] UniverseServer: Warping player 1 failed, invalid world 'InstanceWorld:manamibase:-:-' or world failed to load
    [14:05:35.848] [Info] UniverseServer: Clearing broken world InstanceWorld:manamibase:-:-​

    The error supposedly occurs on line 47, character 26:

    {
    "gid":5684,
    "height"<this character here>:32,
    "id":4,
    "name":"",
    "rotation":0,
    "type":"",
    "visible":true,
    "width":24,
    "x":296,
    "y":280
    }
    What do I do about this?
     
  2. rekkandevar

    rekkandevar Space Spelunker

    Problem solved. Apparently in Tiled there is literally no way to tell whether objects are oriented correctly or rotated and flipped instead. The protectorate poptop was flipped. I don't know why it didn't say so in the json.
     

Share This Page