Modding Help My microdungeons won't load properly in the game and I can't find out why?

Discussion in 'Starbound Modding' started by bonathan_b, Jun 28, 2017.

  1. bonathan_b

    bonathan_b Void-Bound Voyager

    Recently I got into creating dungeons and microdungeons for Starbound using Tiled. While I love using the program and using the best of my creativity, there's one crucial issue. right now, I can't get the microdungeons to load into the game. I've tried mirroring my .json and .dungeon files as closely as I could to the vanilla .json and .dungeon files. But yet, I'm still doing something wrong. The log doesn't help, either (at least not that I can see). Sorry if this is a stupid issue from an experienced modder's point of view, but cut me some slack, I'm a beginner.

    Here's the download link to the mod folder:
    https://www.dropbox.com/home/My Starbound Mods

    And here's the log file when I try to force-generate the microdungeon:
    Code:
    [10:04:20.547] [Info] Root: Preparing Root...
    [10:04:20.548] [Info] Root: Done preparing Root.
    [10:04:20.548] [Info] Client Version 1.3.0 (windows x86_64) Source ID: 24f2eba0cad0c286b5c44b8515114aca6a09e65d Protocol: 742
    [10:04:20.548] [Info] Root: Scanning for asset sources in directory '..\assets\'
    [10:04:20.965] [Info] Root: Scanning for asset sources in directory '..\mods\'
    [10:04:20.967] [Warn] Root: Unrecognized file in asset directory 'mods_go_here', skipping
    [10:04:20.967] [Info] Root: Detected asset source named 'base' at '..\assets\packed.pak'
    [10:04:20.967] [Info] Root: Detected asset source named 'Bonathan's Microdungeons' at '..\mods\Bonathan's Microdungeons'
    [10:04:20.967] [Info] Root: Detected unnamed asset source at '..\mods\Special Attacks only'
    [10:04:20.967] [Info] Root: Detected unnamed asset source at '..\assets\user'
    [10:04:20.967] [Info] Loading assets from: '..\assets\packed.pak'
    [10:04:21.512] [Info] Loading assets from: '..\mods\Bonathan's Microdungeons'
    [10:04:21.513] [Info] Loading assets from: '..\mods\Special Attacks only'
    [10:04:21.514] [Info] Loading assets from: '..\assets\user'
    [10:04:22.168] [Info] Assets digest is b63cc38965f198a05e249d9797995405fe608531cf2e1e92e17bdc0b929898f4
    [10:04:22.168] [Info] Root: Loaded Assets in 1.6201 seconds
    [10:04:22.172] [Info] Application: Initializing SDL Video
    [10:04:22.176] [Info] Application: Initializing SDL Joystick
    [10:04:22.196] [Info] Application: Initializing SDL Sound
    [10:04:22.321] [Info] Failed to initialize Steam platform services
    [10:04:22.321] [Info] Application: No platform services available
    [10:04:22.321] [Info] Application: Creating SDL Window
    [10:04:22.425] [Info] Application: Enabling VSync with late swap tearing
    [10:04:22.434] [Info] Application: Opened default audio device with 44.1khz / 16 bit stereo audio, 2048 sample size buffer
    [10:04:22.443] [Info] OpenGL version: '4.5.0 NVIDIA 346.89' vendor: 'NVIDIA Corporation' renderer: 'GeForce GT 705/PCIe/SSE2' shader: '4.50 NVIDIA'
    [10:04:22.446] [Info] Application: initialization...
    [10:04:22.447] [Info] Root: Loaded Configuration in 0.000774906 seconds
    [10:04:22.452] [Info] Application: renderer initialization...
    [10:04:22.452] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 128
    [10:04:22.452] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 64
    [10:04:22.454] [Info] Root: Loaded ImageMetadataDatabase in 2.24519e-06 seconds
    [10:04:22.469] [Info] Application: main update loop...
    [10:04:22.499] [Info] Root: Loaded NameGenerator in 0.0287729 seconds
    [10:04:22.601] [Info] Root: Loaded PlantDatabase in 0.101872 seconds
    [10:04:22.749] [Info] Root: Loaded ObjectDatabase in 0.279429 seconds
    [10:04:22.872] [Info] Root: Loaded MonsterDatabase in 0.122667 seconds
    [10:04:22.902] [Info] Root: Loaded NpcDatabase in 0.0299577 seconds
    [10:04:22.903] [Info] Root: Loaded StagehandDatabase in 0.000664572 seconds
    [10:04:22.905] [Info] Root: Loaded VehicleDatabase in 0.00192893 seconds
    [10:04:22.907] [Info] Root: Loaded PlayerFactory in 0.0022564 seconds
    [10:04:22.911] [Info] Root: Loaded ProjectileDatabase in 0.310128 seconds
    [10:04:22.911] [Info] Root: Loaded VersioningDatabase in 0.0006248 seconds
    [10:04:22.911] [Info] Root: Loaded EntityFactory in 0.00446565 seconds
    [10:04:22.937] [Info] Root: Loaded ParticleDatabase in 0.0258618 seconds
    [10:04:23.142] [Info] Root: Loaded MaterialDatabase in 0.230785 seconds
    [10:04:23.146] [Info] Root: Loaded TerrainDatabase in 0.00426519 seconds
    [10:04:23.175] [Info] Root: Loaded BiomeDatabase in 0.0287796 seconds
    [10:04:23.176] [Info] Root: Loaded LiquidsDatabase in 0.00067708 seconds
    [10:04:23.181] [Info] Root: Loaded StatusEffectDatabase in 0.00519597 seconds
    [10:04:23.376] [Info] Root: Loaded DamageDatabase in 0.195544 seconds
    [10:04:23.380] [Info] Root: Loaded EffectSourceDatabase in 0.00349028 seconds
    [10:04:23.383] [Info] Root: Loaded FunctionDatabase in 0.00257842 seconds
    [10:04:23.401] [Info] Root: Loaded TreasureDatabase in 0.0183771 seconds
    [10:04:23.611] [Info] Root: Loaded DungeonDefinitions in 0.209759 seconds
    [10:04:23.611] [Info] Root: Loaded TilesetDatabase in 2.79043e-05 seconds
    [10:04:23.612] [Info] Root: Loaded StatisticsDatabase in 0.00133877 seconds
    [10:04:23.612] [Info] Root: Loaded EmoteProcessor in 5.61293e-05 seconds
    [10:04:23.617] [Info] Root: Loaded SpeciesDatabase in 0.00444673 seconds
    [10:04:23.634] [Info] Root: Loaded QuestTemplateDatabase in 0.0169886 seconds
    [10:04:23.635] [Info] Root: Loaded AiDatabase in 0.00115562 seconds
    [10:04:23.636] [Info] Root: Loaded TechDatabase in 0.000663609 seconds
    [10:04:23.640] [Info] Root: Loaded CodexDatabase in 0.0042793 seconds
    [10:04:23.871] [Info] Root: Loaded BehaviorDatabase in 0.229828 seconds
    [10:04:23.873] [Info] Root: Loaded DanceDatabase in 0.0022022 seconds
    [10:04:23.879] [Info] Root: Loaded SpawnTypeDatabase in 0.00598018 seconds
    [10:04:23.882] [Info] Root: Loaded RadioMessageDatabase in 0.00276798 seconds
    [10:04:25.395] [Info] Root: Loaded ItemDatabase in 2.48374 seconds
    [10:04:25.504] [Info] Root: Loaded CollectionDatabase in 1.62188 seconds
    [10:04:25.601] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [10:04:25.993] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 256
    [10:04:30.648] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [10:05:34.426] [Info] UniverseServer: Acquiring universe lock file
    [10:05:34.569] [Info] UniverseServer: Loading settings
    [10:05:34.576] [Info] UniverseServer: Starting UniverseServer with UUID: 9237ba112290087d21be472fe7c793f1
    [10:05:34.585] [Info] UniverseServer: Logged in player 'Unsmelted Clay' locally
    [10:05:34.585] [Info] UniverseServer: Logged in account '<anonymous>' as player 'Unsmelted Clay' from address local
    [10:05:34.720] [Info] UniverseServer: Loading system world (588643972, 197664268, 18020847) from disk storage
    [10:05:34.727] [Info] UniverseClient: Joined server as client 1
    [10:05:34.987] [Info] UniverseServer: Reviving player at ClientShipWorld:1d454d0333b1a6a719117241937a9962
    [10:05:34.987] [Info] UniverseServer: Client 'Unsmelted Clay' <1> (local) connected
    [10:05:34.988] [Info] UniverseServer: Loading client ship world ClientShipWorld:1d454d0333b1a6a719117241937a9962
    [10:05:35.177] [Info] Protected dungeonIds for world set to (65524)
    [10:05:35.352] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 64
    [10:05:35.352] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 128
    [10:05:35.367] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 256
    [10:05:35.367] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 256
    [10:05:35.404] [Info] UniverseServer: Warping player 1 to ClientShipWorld:1d454d0333b1a6a719117241937a9962=1024.1025
    [10:05:39.964] [Info] UniverseServer: Loading celestial world 588643972:197664268:18020847:4
    [10:05:40.383] [Info] Protected dungeonIds for world set to (1, 65524)
    [10:05:41.177] [Info] UniverseServer: Warping player 1 to CelestialWorld:588643972:197664268:18020847:4
    [10:05:41.186] [Info] UniverseServer: Stopping idle world ClientShipWorld:1d454d0333b1a6a719117241937a9962
    [10:05:41.188] [Info] Client received world stop packet, leaving: Removed
    [10:06:59.397] [Info] Chat: <server> Insufficient privileges to place dungeons.
    [10:07:08.207] [Info] Chat: <server> Admin privileges now given to player Unsmelted Clay
    [10:07:46.381] [Error] UniverseServer: exception caught: (DungeonException) Error loading dungeon '/dungeons/microdungeons/randomencounter/hylotl/bb_hylotlmicrodungeons.dungeon': (StarException) At 71,42: object contains vertical or diagonal flips, which are not supported
    [0] 7ff659377483 Star::captureStack
    [1] 7ff65937620e Star::StarException::StarException
    [2] 7ff65948b34a Star::DungeonException::format<Star::String,Star::OutputProxy>
    [3] 7ff659cd3ee1 `Star::DungeonDefinitions::readDefinition'::`1'::catch$61
    [4] 7ff9c2a6c220 _C_specific_handler
    [5] 7ff9c2a629b2 _FrameUnwindFilter
    [6] 7ff9cf012a63 RtlCaptureContext
    [7] 7ff6594a5f77 Star::DungeonDefinitions::readDefinition
    [8] 7ff659494c4a <lambda_475708549715a500cc90681f474fe533>::operator()
    [9] 7ff65948bb2c 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] 7ff6594a0a54 Star::DungeonDefinitions::get
    [11] 7ff659491b2e Star::DungeonGenerator::DungeonGenerator
    [12] 7ff65992ceb6 Star::WorldServer::forcePlaceDungeon
    [13] 7ff65945eff0 <lambda_661ef65b91e1a01f03ecce1ce22b1b86>::operator()
    [14] 7ff659849feb std::_Func_class<void,Star::WorldServer * __ptr64,std::shared_ptr<Star::Player> >::operator()
    [15] 7ff659844bde <lambda_20f0259dbef9ecda253d6c189a402755>::operator()
    [16] 7ff659941f3f Star::WorldServerThread::executeAction
    [17] 7ff659857581 Star::UniverseServer::executeForClient
    [18] 7ff659464d94 Star::CommandProcessor::placeDungeon
    [19] 7ff659463282 Star::CommandProcessor::handleCommand
    [20] 7ff659468c47 Star::CommandProcessor::userCommand
    [21] 7ff659831cfb std::_Invoker_pmf_pointer::_Call<Star::String (__cdecl Star::CommandProcessor::*)(unsigned short,Star::String const & __ptr64,Star::String const & __ptr64) __ptr64,Star::CommandProcessor * __ptr64 & __ptr64,unsigned short,Star::String,Star::String>
    [22] 7ff659838aad std::invoke<Star::String (__cdecl Star::CommandProcessor::*& __ptr64)(unsigned short,Star::String const & __ptr64,Star::String const & __ptr64) __ptr64,Star::CommandProcessor * __ptr64 & __ptr64,unsigned short,Star::String,Star::String>
    [23] 7ff659834a5b std::_Invoke_ret<Star::String (__cdecl Star::CommandProcessor::*& __ptr64)(unsigned short,Star::String const & __ptr64,Star::String const & __ptr64) __ptr64,Star::CommandProcessor * __ptr64 & __ptr64,unsigned short,Star::String,Star::String>
    [24] 7ff659831d6a std::_Call_binder<std::_Unforced,0,1,2,3,Star::String (__cdecl Star::CommandProcessor::*)(unsigned short,Star::String const & __ptr64,Star::String const & __ptr64) __ptr64,std::tuple<Star::CommandProcessor * __ptr64,std::_Ph<1>,std::_Ph<2>,std::_Ph<3> >,std::tuple<unsigned short && __ptr64,Star::String && __ptr64,Star::String && __ptr64> >
    [25] 7ff65983186f std::_Binder<std::_Unforced,Star::String (__cdecl Star::CommandProcessor::*)(unsigned short,Star::String const & __ptr64,Star::String const & __ptr64) __ptr64,Star::CommandProcessor * __ptr64,std::_Ph<1> const & __ptr64,std::_Ph<2> const & __ptr64,std::_Ph<3> const & __ptr64>::operator()<unsigned short,Star::String,Star::String>
    [26] 7ff659831c99 std::_Invoker_functor::_Call<std::_Binder<std::_Unforced,Star::String (__cdecl Star::CommandProcessor::*)(unsigned short,Star::String const & __ptr64,Star::String const & __ptr64) __ptr64,Star::CommandProcessor * __ptr64,std::_Ph<1> const & __ptr64,std::_Ph<2> const & __ptr64,std::_Ph<3> const & __ptr64> & __ptr64,unsigned short,Star::String,Star::String>
    [27] 7ff659838b60 std::invoke<std::_Binder<std::_Unforced,Star::String (__cdecl Star::CommandProcessor::*)(unsigned short,Star::String const & __ptr64,Star::String const & __ptr64) __ptr64,Star::CommandProcessor * __ptr64,std::_Ph<1> const & __ptr64,std::_Ph<2> const & __ptr64,std::_Ph<3> const & __ptr64> & __ptr64,unsigned short,Star::String,Star::String>
    [28] 7ff659834b5e std::_Invoke_ret<Star::String,std::_Binder<std::_Unforced,Star::String (__cdecl Star::CommandProcessor::*)(unsigned short,Star::String const & __ptr64,Star::String const & __ptr64) __ptr64,Star::CommandProcessor * __ptr64,std::_Ph<1> const & __ptr64,std::_Ph<2> const & __ptr64,std::_Ph<3> const & __ptr64> & __ptr64,unsigned short,Star::String,Star::String>
    [29] 7ff65984b16b std::_Func_impl<std::_Binder<std::_Unforced,Star::String (__cdecl Star::CommandProcessor::*)(unsigned short,Star::String const & __ptr64,Star::String const & __ptr64) __ptr64,Star::CommandProcessor * __ptr64,std::_Ph<1> const & __ptr64,std::_Ph<2> const & __ptr64,std::_Ph<3> const & __ptr64>,std::allocator<int>,Star::String,unsigned short,Star::String,Star::String>::_Do_call
    [30] 7ff65943dfb6 std::_Func_class<Star::String,unsigned short,Star::String,Star::String>::operator()
    [31] 7ff65944180c Star::ChatProcessor::handleCommand
    [32] 7ff65943ed7f Star::ChatProcessor::broadcast
    [33] 7ff65985c560 Star::UniverseServer::processChat
    [34] 7ff65985f54b Star::UniverseServer::run
    [35] 7ff659373fce Star::ThreadImpl::runThread
    [36] 7ff9cc7613d2 BaseThreadInitThunk
    [37] 7ff9cef954e4 RtlUserThreadStart
    Again, sorry if the solution is obvious, but I'm new to modding, and I don't have enough experience with coding to read through and analyze jumbles of Lua.
     
  2. Cyel

    Cyel Scruffy Nerf-Herder

    Seems to be your problem; starbound doesn't handle the flip and rotation features of Tiled; if you want to flip something, I believe you'd have to specify it's orientation in it's parameters but I'm not that knowledged in Tiled
     
  3. bonathan_b

    bonathan_b Void-Bound Voyager

    Thanks, that solved one issue. But now, unfortunately, I caused another issue:
    Code:
    Caused by: (DungeonException) Invalid ground vs air contraint . Ground at: 7 Air at: 6 Pixels: highest ground:(87, 7) lowest air:(309, 6)
    I'm assuming "contraint" is a typo of "constraint".
    What's the problem this time?
     
  4. Cyel

    Cyel Scruffy Nerf-Herder

    I'm still in unfamiliar territory but maybe your "air" layer doesn't cover the map correctly?
     
  5. projectmayhem

    projectmayhem Spaceman Spiff

    Without seeing your dungeon its hard to tell, think you can zip it and post it? Are you using the "fill" blocks and the "must be air" "must be ground" blocks?
     

Share This Page