Modding Help Modifying Pickaxe blockradius causes crash

Discussion in 'Starbound Modding' started by Katai, Dec 12, 2013.

  1. Katai

    Katai Space Hobo

    I'm having trouble modifying a pickaxe. I'm basically trying to make the blockradius larger to help dig nicer tunnels and level some land for a "home base". The problem is that if I get to any value larger than 8 on the block radius, I get this error:

    Client-server connection no longer valid

    This is in single player, mind you. Is this supposed to happen? I'm not sure if there's some kind of hard-stop on the tool radius size.
     
  2. Dilwoah

    Dilwoah Void-Bound Voyager

    Weird, I put mine at 100 once to test it out and it worked fine. Albeit I died from the fall after, but you get he point ;). Can you paste your pick-axes data here?
     
  3. Katai

    Katai Space Hobo

    Code:
    {
      "itemName" : "mountaineater",
      "inventoryIcon" : "mountaineatericon.png",
      "dropCollision" : [-4.0, -3.0, 4.0, 3.0],
      "maxStack" : 1,
      "rarity" : "common",
      "inspectionKind" : "tool",
      "description" : "To get rid of those pesky mountains",
      "shortdescription" : "Mountain Eater",
      "largeImage" : "mountaineaterbig.png",
      "image" : "mountaineater.png",
      "handPosition" : [-3, -4],
      "fireTime" : 0.3,
      "swingStart" : -40,
      "swingFinish" : 60,
      "blockRadius" : 10,
      "altBlockRadius" : 1,
      "twoHanded" : true,
      "strikeSound" : "/sfx/tools/pickaxe_hit.wav",
      "durability" : 7500,
      "durabilityPerUse" : 1,
      "durabilityRegenChart" : [
        [ [ "copperore" ], 750], [ [ "silverore" ], 1125], [ [ "goldore" ], 1500], [ [ "platinumore" ], 1875], [ [ "diamond" ], 2250]
      ],
      "tileDamage" : 0.8,
      "tileDamageBlunted" : 0.3
    }
    
     
  4. Dilwoah

    Dilwoah Void-Bound Voyager

    The only problem I can see, do you have an actual file for the mountaineater.png for it to direct to?
    But if it works when you have it lower than 8 blockradius I have no clue.

    Other than that, there's no problems. You might want to increase the tileDamage and tileDamageBlunted values though :p You're gunna be a slow mountain eater.
     
  5. Katai

    Katai Space Hobo

    I got this error on a multiplayer server:

    Info: Client <1> <User: Deathcrown> has been forceably disconnected for attempting to damage 71 blocks at once, max allowed is 49
     
  6. Dilwoah

    Dilwoah Void-Bound Voyager

    Well, that sounds about right as far as server protection goes :p. Lemme give it a go in singleplayer and I'll let you know.

    EDIT : Just tried it myself, and it does indeed crash. gimme a second and I'll try to find how to increase the allowed breaking limit.

    EDIT 2 : Found it.

    Go to : Starbound\assets\default_configuration

    Find the line : "tileDamageLimit" : 49, << Change the value to however high you want.
     
    Last edited: Dec 12, 2013
    Cayote likes this.
  7. Katai

    Katai Space Hobo

    Changed the value, but didn't change the result
     
  8. Katai

    Katai Space Hobo

    Apparently you change the Starbound/starbound.config file
     
  9. Dilwoah

    Dilwoah Void-Bound Voyager

    Oh? I guess I had the wrong file then! Nice find :)
     

Share This Page