1. Please be advised of a few specific rules and guidelines for this section.

RELEASED Nanotech v1.4.2

Nanotechnology to modify your world.

  1. Pfhoenix

    Pfhoenix Scruffy Nerf-Herder

    Kazana, want to do me a real solid favor? All the stock materials that you couldn't use to replace other materials, make a list of their materialNames from their .material file and the name of the block that the material drops. I'll create a mapping in the tech file that'll fix the problem for those in particular, and other mods will be able to .patch add materials in if they want.
     
  2. KazanaAoi

    KazanaAoi Phantasmal Quasar

    I'll get on that in a little bit then, Presently eating dinner. :)
     
  3. Pfhoenix

    Pfhoenix Scruffy Nerf-Herder

    Don't worry about it. I wrote a program to read in the material definitions and spit out the oddities. Updating the mod now.
     
  4. Pfhoenix

    Pfhoenix Scruffy Nerf-Herder

    Pfhoenix updated Nanotech with a new update entry:

    Fixed materials not working

    Read the rest of this update entry...
     
  5. KazanaAoi

    KazanaAoi Phantasmal Quasar

    Well darn. I was almost finished, haha. Oh well. :) That IS the oddity though, a mismatch between materialName and itemDrop.

    At least in the case of the vanilla blocks, the itemDrop is just the materialName + the word material appended after. I dont know too much about lua, but would writing that in as a fallback be possible? Like, you try and place Dirt, and it searches for dirt, dirt fails, and it then re-attempts with dirtmaterial?

    By that same token, Could you write in an error catch that will reset the script should it fail to find the appropriate item for placement?

    Asking out of curiosity, not trying to make you do these things. :p I like coding and figuring out what it can and cant do.
     
  6. Pfhoenix

    Pfhoenix Scruffy Nerf-Herder

    Unfortunately, there's no way to know if a block's name matches a known good materialName until you try and it fails. I don't know if Lua has try/catch blocks, as I haven't seen any, so your suggestion to get to the ship to reset the script is a good one (I didn't know you could do that, even).
     
  7. KazanaAoi

    KazanaAoi Phantasmal Quasar

    Hrm. Thats a bit of a shame. If only lua could use the /itemid admin command and compare against the original .material file. :p Nonetheless, Thank you much for the fix and for making me feel slow by writing a program to do what I was doing in such a short time :p

    That program kinda makes me wonder if you could use that on other mods in the same way, to figure out if there were any broken ones and create a patch with it... *shrug* Not especially important I spose. Have a good day :D
     
  8. LoPhatKao

    LoPhatKao Space Kumquat

    would something like this, but modified, work? found this code in old StarFoundry mod..
    (only other mod I had that uses world.placeMaterial() )
    might make a good start on what you are looking for
    Code:
    
    --- Determines the name of the item drop from a given material name
    -- @param matName the name of the material
    -- @returns the name of the proper material item to drop (or false if item can't be found)
    function getMatItemName(matName)
      local success = pcall(function () world.itemType(matName) end)
      if not success then
        success = pcall(function () world.itemType(matName.."material") end)
        if not success then
          world.logInfo("unable to get item name for %s", matName)
          return false
        else
          return matName.."material"
        end
      else
        return matName
      end
    end
    
    
    2nd check would need to be changed from adding 'material' to name to subtracting it
    string.find / string.gsub
     
    Last edited: Jun 4, 2015
  9. Pfhoenix

    Pfhoenix Scruffy Nerf-Herder

  10. nuker19

    nuker19 Space Kumquat

    I am nuker19, underground gamer and mod fanatic and this is my favorite mod on the forums
    [​IMG]
     
  11. LoPhatKao

    LoPhatKao Space Kumquat

    aww in 1.3, turning blocks into a liquid (healing water) didnt drop ores
     
  12. Pfhoenix

    Pfhoenix Scruffy Nerf-Herder

    Yeah, the nanites convert the entire block to whatever you're telling it to (liquid or material). As for ore, I could add that fairly easily.
     
  13. Yanazake

    Yanazake Space Kumquat

    He probably meant the ores that were already in the dirt/ground. Converting to water probably destroyed the ores.
     
  14. Pfhoenix

    Pfhoenix Scruffy Nerf-Herder

    Yes, and that's what I responded to. I then added that creating ores is possible to add to the mod, which is exactly what I did last night. I'll be posting an update today.
     
  15. Pfhoenix

    Pfhoenix Scruffy Nerf-Herder

  16. LoPhatKao

    LoPhatKao Space Kumquat

    crazy @ 'ores for days' update o_O
    came to report a crash error tho , v 1.3 still (just found out about ore update)

    was on my ship, went to test whether swapping bg blocks would make plats fall off walls
    replaced (using typeA nanites) Shoji Screen with Glass, caused Starbound to freeze .. had to kill it with task manager
    about to try again... (log file didnt say what crashed)

    uhohnano.png
    -- the test setup, replacing section behind plats/chair/npc

    edit 1:
    shipworld was reset to last save, char was up to date (items used from inv, what was being held in hand, etc) -- weird
    edit 2:
    swapping shoji to glass with nothing on wall was fine
    edit3:
    worked fine with wood plats, but when crashed had copper plats.. gonna try that next
    edit the last:
    weird, worked fine, maybe random crash after all >.>false positive that it could have been nano mod that did it.. oh well :p

    edit again lol
    well, made it crash again, this time was when replacing glass with shoji ... just as it would have placed first block of replacement.. similar to old cobble error, but more randomly fatal :p

    snip of the last log (from asset loading to crash).. but as I said, nothing in log to indicate what cause is... :shrug: (afaik its not the amount of mods #innocentwhistle)

    Code:
    [17:50:36.592] Info: Loading Assets
    [17:50:36.592] Info: Loading Star::Assets from: '../assets/packed.pak'
    [17:50:36.593] Info: Loading Star::Assets from: '../assets/user'
    [17:50:36.593] Info: Loading Star::Assets from: '../giraffe_storage/mods\[COLORBOUND]\.'
    [17:50:36.593] Info: Loading Star::Assets from: '../giraffe_storage/mods\Universal Uncrafter v1.2 (UG)\.'
    [17:50:36.593] Info: Loading Star::Assets from: '../giraffe_storage/mods\SongsToPlay\.'
    [17:50:36.593] Info: Loading Star::Assets from: '../giraffe_storage/mods\voxelplus\.'
    [17:50:36.593] Info: Loading Star::Assets from: '../giraffe_storage/mods\ReducedRespawnCost\.'
    [17:50:36.593] Info: Loading Star::Assets from: '../giraffe_storage/mods\novaskin.modpak'
    [17:50:36.593] Info: Loading Star::Assets from: '../giraffe_storage/mods\Nanotech\.'
    [17:50:36.593] Info: Loading Star::Assets from: '../giraffe_storage/mods\GPR Mapper v1.35 (UG).modpak'
    [17:50:36.594] Info: Loading Star::Assets from: '../giraffe_storage/mods\improved_turrets\.'
    [17:50:36.594] Info: Loading Star::Assets from: '../giraffe_storage/mods\Item Broadcaster v1.35 (UG).modpak'
    [17:50:36.594] Info: Loading Star::Assets from: '../giraffe_storage/mods\glowing ore\.'
    [17:50:36.594] Info: Loading Star::Assets from: '../giraffe_storage/mods\utildoors\.'
    [17:50:36.594] Info: Loading Star::Assets from: '../giraffe_storage/mods\Small Extended Race Selection\.'
    [17:50:36.594] Info: Loading Star::Assets from: '../giraffe_storage/mods\extended_songbook_1_0_6.modpak'
    [17:50:36.594] Info: Loading Star::Assets from: '../giraffe_storage/mods\EnhancedStorage(StandardEdition)\./EnhancedStorage(StandardEdition).pak'
    [17:50:36.595] Info: Loading Star::Assets from: '../giraffe_storage/mods\WireOverhaul_1.0.modpak'
    [17:50:36.595] Info: Loading Star::Assets from: '../giraffe_storage/mods\looting_container\.'
    [17:50:36.595] Info: Loading Star::Assets from: '../giraffe_storage/mods\Hamty's White Gold Human Ship\.'
    [17:50:36.595] Info: Loading Star::Assets from: '../giraffe_storage/mods\DyeMod\.'
    [17:50:36.595] Info: Loading Star::Assets from: '../giraffe_storage/mods\CLeF - Teleport Removal v2\.'
    [17:50:36.595] Info: Loading Star::Assets from: '../giraffe_storage/mods\Biome Protection Ver. 2\.'
    [17:50:36.595] Info: Loading Star::Assets from: '../giraffe_storage/mods\(Almost) Free Instruments\.'
    [17:50:36.595] Info: Loading Star::Assets from: '../giraffe_storage/mods\starface.modpak'
    [17:50:36.595] Info: Loading Star::Assets from: '../giraffe_storage/mods\Jack Jasra's Black Novakid Ship\.'
    [17:50:36.596] Info: Loading Star::Assets from: '../giraffe_storage/mods\kao_timer\.'
    [17:50:36.596] Info: Loading Star::Assets from: '../giraffe_storage/mods\madExp_ChoosePet\.'
    [17:50:36.596] Info: Loading Star::Assets from: '../giraffe_storage/mods\megadozer\.'
    [17:50:36.596] Info: Loading Star::Assets from: '../giraffe_storage/mods\Spigot\.'
    [17:50:36.596] Info: Loading Star::Assets from: '../giraffe_storage/mods\kao_delag\.'
    [17:50:36.596] Info: Loading Star::Assets from: '../giraffe_storage/mods\kaomods\.'
    [17:50:36.596] Info: Loading Star::Assets from: '../giraffe_storage/mods\MiniDozer\.'
    [17:50:36.596] Info: Loading Star::Assets from: '../giraffe_storage/mods\mkb\.'
    [17:50:36.596] Info: Loading Star::Assets from: '../giraffe_storage/mods\mole_vend\.'
    [17:50:36.596] Info: Loading Star::Assets from: '../giraffe_storage/mods\Multidirectional Drains\.'
    [17:50:36.966] Info: Done loading Assets
    [17:50:36.968] Info: Fully loading Star::Root...
    [17:50:36.969] Info: Loading NameGenerator
    [17:50:36.969] Info: Loading NpcDatabase
    [17:50:36.969] Info: Loading ObjectDatabase
    [17:50:36.969] Info: Loading PlantDatabase
    [17:50:36.969] Info: Loading ProjectileDatabase
    [17:50:36.970] Info: Loading MonsterDatabase
    [17:50:36.971] Info: Initializing SDL Window
    [17:50:36.973] Info: Loading PlayerFactory
    [17:50:36.973] Info: Loading EntityFactory
    [17:50:36.995] Info: Done loading NameGenerator
    [17:50:36.995] Info: Loading ItemDatabase
    [17:50:37.044] Info: Created initial window 1366x768
    [17:50:37.060] Info: Renderer initialized
    [17:50:37.060] Info: Renderer destroyed
    [17:50:37.060] Info: Initializing SDL Window
    [17:50:37.083] Info: Done loading PlayerFactory
    [17:50:37.083] Info: Loading MaterialDatabase
    [17:50:37.083] Info: Loading ParticleDatabase
    [17:50:37.098] Info: Re-created window 1366x768
    [17:50:37.121] Info: Renderer initialized
    [17:50:37.241] Info: Done loading PlantDatabase
    [17:50:37.241] Info: Loading TerrainDatabase
    [17:50:37.243] Info: Done loading ParticleDatabase
    [17:50:37.261] Info: Done loading TerrainDatabase
    [17:50:37.261] Info: Loading BiomeDatabase
    [17:50:37.343] Info: Done loading NpcDatabase
    [17:50:37.344] Info: Loading LiquidsDatabase
    [17:50:37.431] Info: Done loading BiomeDatabase
    [17:50:37.431] Info: Loading StatusEffectDatabase
    [17:50:37.473] Info: Done loading StatusEffectDatabase
    [17:50:37.473] Info: Loading DamageDatabase
    [17:50:37.485] Info: Done loading ProjectileDatabase
    [17:50:37.485] Info: Loading EffectSourceDatabase
    [17:50:37.797] Info: Done loading EffectSourceDatabase
    [17:50:37.797] Info: Loading FunctionDatabase
    [17:50:37.801] Info: Done loading MaterialDatabase
    [17:50:37.801] Info: Loading TreasureDatabase
    [17:50:37.804] Info: Done loading LiquidsDatabase
    [17:50:37.804] Info: Loading DungeonDefinitions
    [17:50:37.816] Info: Done loading FunctionDatabase
    [17:50:37.816] Info: Loading EmoteProcessor
    [17:50:37.817] Info: Done loading EmoteProcessor
    [17:50:37.817] Info: Loading SpeciesDatabase
    [17:50:37.894] Info: Done loading SpeciesDatabase
    [17:50:37.894] Info: Loading ImageMetadataDatabase
    [17:50:37.894] Info: Done loading ImageMetadataDatabase
    [17:50:37.894] Info: Loading VersioningDatabase
    [17:50:37.895] Info: Done loading VersioningDatabase
    [17:50:37.895] Info: Loading QuestTemplateDatabase
    [17:50:37.926] Info: Done loading TreasureDatabase
    [17:50:37.927] Info: Loading AiDatabase
    [17:50:37.941] Info: Done loading QuestTemplateDatabase
    [17:50:37.941] Info: Loading TechDatabase
    [17:50:37.959] Info: Done loading AiDatabase
    [17:50:37.960] Info: Loading CodexDatabase
    [17:50:37.966] Info: Done loading TechDatabase
    [17:50:38.013] Info: Done loading CodexDatabase
    [17:50:38.111] Info: Done loading DamageDatabase
    [17:50:38.118] Info: Done loading MonsterDatabase
    [17:50:38.341] Info: Done loading ObjectDatabase
    [17:50:38.341] Info: Done loading EntityFactory
    [17:50:46.548] Info: Done loading ItemDatabase
    [17:50:48.339] Info: Done loading DungeonDefinitions
    [17:50:48.340] Info: Done fully loading Star::Root
    [17:50:48.347] Info: Renderer destroyed
    [17:50:51.533] Error: Failed to valid player with uuid bc89aa5533f070c398db59fa60f37282 : (CodexDatabaseException) No such codex 'avaliprologue'
    [17:50:52.481] Info: Creating default Star::Configuration
    [17:50:52.481] Info: Creating default Star::Configuration
    [17:50:52.512] Info: Renderer initialized
    [17:50:55.856] Info: Renderer destroyed
    [17:50:56.063] Info: UniverseServer: Acquiring universe lock file
    [17:50:56.067] Info: UniverseServer: Loading settings
    [17:50:56.082] Info: UniverseServer: Finding starter world
    [17:50:56.083] Info: UniverseServer: Loading celestial world 967950326:635554769:94165481:8:6
    [17:50:56.626] Info: UniverseServer: Starting UniverseServer with UUID: 2ad0fa5f4a95cb4108ac25e5330c7e96
    [17:50:57.005] Info: UniverseServer: Logged in player 'Knowing Yuu' locally
    [17:50:57.005] Info: UniverseServer: Logged in account '<anonymous>' as player 'Knowing Yuu' from address local
    [17:50:57.011] Info: UniverseServer: Reviving player at ClientShipWorld:4c1d2e50fa9088155b1ee97a0a39b690
    [17:50:57.012] Info: UniverseClient: Joined server as client 1
    [17:50:57.116] Info: Creating default Star::Configuration
    [17:50:57.116] Info: Creating default Star::Configuration
    [17:50:57.172] Info: Renderer initialized
    [17:50:57.250] Info: UniverseServer: Loading client ship world ClientShipWorld:4c1d2e50fa9088155b1ee97a0a39b690
    [17:50:58.980] Info: UniverseServer: Client 'Knowing Yuu' <1> (local) connected
    [17:50:59.241] Info: UniverseServer: Loading celestial world 967950326:635554769:94165481:5
    [17:51:06.681] Info: UniverseServer: Stopping world CelestialWorld:967950326:635554769:94165481:8:6 due to inactivity
    [17:51:06.781] Info: UniverseServer: World thread has stopped due to inactivity, removing world CelestialWorld:967950326:635554769:94165481:8:6
    [17:51:09.713] Info: UniverseServer: Stopping world CelestialWorld:967950326:635554769:94165481:5 due to inactivity
    [17:51:09.815] Info: UniverseServer: World thread has stopped due to inactivity, removing world CelestialWorld:967950326:635554769:94165481:5
    [17:54:51.581] Info: Writing Star::Configuration to '.\..\giraffe_storage\starbound.config'
    
    
    error at 17:50:51.533 is from having an avali char, but not the avali mod installed
     
    Last edited: Jun 8, 2015
  17. Pfhoenix

    Pfhoenix Scruffy Nerf-Herder

    Can you help me troubleshoot by testing different situations where the crash happens?
     
  18. KazanaAoi

    KazanaAoi Phantasmal Quasar

    That looks like it's from the starbound_server.log, Not from the starbound.log.

    That said, it doesnt look like the server itself crashed, which means its a client-side crash and we'd need the starbound.log file to have any clue what happened. xP

    @Pfhoenix, Give me a bit to close down minecraft and boot up starbound, and I'll see if I can reproduce the crash myself.[DOUBLEPOST=1433765888][/DOUBLEPOST]Can't seem to reproduce the crash :X Tried multiple chairs, with and without npcs, with a dozen different blocks, including cascade-casting the nanites (Starting a second, and third before the first finishes, including replacing the blocks that cast 1 replaced...) to no avail. And this is WITH my many many mods enabled, so..I got nothin.

    Edit: Also tried casting at different locations around the platform/furniture/npcc, still nothin.
     
    Last edited: Jun 8, 2015
  19. Pfhoenix

    Pfhoenix Scruffy Nerf-Herder

    Well that's just a little disconcerting.
     
  20. zrevenge101

    zrevenge101 Void-Bound Voyager

    i have no trouble with mod crashing, but i do have a big problem with the mods itself.

    for some reason when you break something, it keeps...breaking it. like if you break dirt, and put dirt back where it broke it, it wiil keep breaking it

    now, this isnt a huge huge problem, but it lags the world...bad. like, 60fps to 5fps after a few seconds of breaking bad. i just thought you would like to know.
     

Share This Page