.
Results 1 to 3 of 3

Thread: Help Fixing Script Errors in Kitty Clover Potato Warehouse by bn1970

  1. #1
    Join Date
    Nov 2006
    Location
    United States of America, Georgia, Rocky Face
    Posts
    5,000
    Blog Entries
    39
     

    Default Help Fixing Script Errors in Kitty Clover Potato Warehouse by bn1970

    I'm getting the following script errors whenever I start up any version of Timber Ridge made by Dangavel because it uses Kitty Clover Potato Warehouse, made by bn1970, <kuid:186817:100399>, which is on the DLS:
    Code:
    - <kuid:186817:100399> : Asset.FindAsset> Unable to find 'prod6' in kuid-table (file asset.gs)
      ; <kuid:186817:100399> : Script class: Basic2
      ; <kuid:186817:100399> : MeshObject: <kuid:186817:100399> "Kitty Clover Potato Warehouse"
      ; <kuid:186817:100399> : Script callstack
        ; <kuid:186817:100399> : function $Asset@Asset::FindAsset(string), line -1
        ; <kuid:186817:100399> : function $void@Basic2::Init(), line 1477
        ; <kuid:186817:100399> : function $void@MeshObject::Init(Asset), line 347
    - <kuid:186817:100399> : Asset.FindAsset> Unable to find 'prod7' in kuid-table (file asset.gs)
      ; <kuid:186817:100399> : Script class: Basic2
      ; <kuid:186817:100399> : MeshObject: <kuid:186817:100399> "Kitty Clover Potato Warehouse"
      ; <kuid:186817:100399> : Script callstack
        ; <kuid:186817:100399> : function $Asset@Asset::FindAsset(string), line -1
        ; <kuid:186817:100399> : function $void@Basic2::Init(), line 1477
        ; <kuid:186817:100399> : function $void@MeshObject::Init(Asset), line 347
    - <kuid:186817:100399> : Asset.FindAsset> Unable to find 'prod8' in kuid-table (file asset.gs)
      ; <kuid:186817:100399> : Script class: Basic2
      ; <kuid:186817:100399> : MeshObject: <kuid:186817:100399> "Kitty Clover Potato Warehouse"
      ; <kuid:186817:100399> : Script callstack
        ; <kuid:186817:100399> : function $Asset@Asset::FindAsset(string), line -1
        ; <kuid:186817:100399> : function $void@Basic2::Init(), line 1477
        ; <kuid:186817:100399> : function $void@MeshObject::Init(Asset), line 347
    - <kuid:186817:100399> : Asset.FindAsset> Unable to find 'prod9' in kuid-table (file asset.gs)
      ; <kuid:186817:100399> : Script class: Basic2
      ; <kuid:186817:100399> : MeshObject: <kuid:186817:100399> "Kitty Clover Potato Warehouse"
      ; <kuid:186817:100399> : Script callstack
        ; <kuid:186817:100399> : function $Asset@Asset::FindAsset(string), line -1
        ; <kuid:186817:100399> : function $void@Basic2::Init(), line 1477
        ; <kuid:186817:100399> : function $void@MeshObject::Init(Asset), line 347
    - <kuid:186817:100399> : Asset.FindAsset> Unable to find 'prod10' in kuid-table (file asset.gs)
      ; <kuid:186817:100399> : Script class: Basic2
      ; <kuid:186817:100399> : MeshObject: <kuid:186817:100399> "Kitty Clover Potato Warehouse"
      ; <kuid:186817:100399> : Script callstack
        ; <kuid:186817:100399> : function $Asset@Asset::FindAsset(string), line -1
        ; <kuid:186817:100399> : function $void@Basic2::Init(), line 1477
        ; <kuid:186817:100399> : function $void@MeshObject::Init(Asset), line 347
    - <kuid:186817:100399> : Asset.FindAsset> Unable to find 'prod11' in kuid-table (file asset.gs)
      ; <kuid:186817:100399> : Script class: Basic2
      ; <kuid:186817:100399> : MeshObject: <kuid:186817:100399> "Kitty Clover Potato Warehouse"
      ; <kuid:186817:100399> : Script callstack
        ; <kuid:186817:100399> : function $Asset@Asset::FindAsset(string), line -1
        ; <kuid:186817:100399> : function $void@Basic2::Init(), line 1477
        ; <kuid:186817:100399> : function $void@MeshObject::Init(Asset), line 347
    - <kuid:186817:100399> : Asset.FindAsset> Unable to find 'prod12' in kuid-table (file asset.gs)
      ; <kuid:186817:100399> : Script class: Basic2
      ; <kuid:186817:100399> : MeshObject: <kuid:186817:100399> "Kitty Clover Potato Warehouse"
      ; <kuid:186817:100399> : Script callstack
        ; <kuid:186817:100399> : function $Asset@Asset::FindAsset(string), line -1
        ; <kuid:186817:100399> : function $void@Basic2::Init(), line 1477
        ; <kuid:186817:100399> : function $void@MeshObject::Init(Asset), line 347
    - <kuid:186817:100399> : Asset.FindAsset> Unable to find 'prod13' in kuid-table (file asset.gs)
      ; <kuid:186817:100399> : Script class: Basic2
      ; <kuid:186817:100399> : MeshObject: <kuid:186817:100399> "Kitty Clover Potato Warehouse"
      ; <kuid:186817:100399> : Script callstack
        ; <kuid:186817:100399> : function $Asset@Asset::FindAsset(string), line -1
        ; <kuid:186817:100399> : function $void@Basic2::Init(), line 1477
        ; <kuid:186817:100399> : function $void@MeshObject::Init(Asset), line 347
    - <kuid:186817:100399> : Asset.FindAsset> Unable to find 'prod14' in kuid-table (file asset.gs)
      ; <kuid:186817:100399> : Script class: Basic2
      ; <kuid:186817:100399> : MeshObject: <kuid:186817:100399> "Kitty Clover Potato Warehouse"
      ; <kuid:186817:100399> : Script callstack
        ; <kuid:186817:100399> : function $Asset@Asset::FindAsset(string), line -1
        ; <kuid:186817:100399> : function $void@Basic2::Init(), line 1477
        ; <kuid:186817:100399> : function $void@MeshObject::Init(Asset), line 347
    - <kuid:186817:100399> : Asset.FindAsset> Unable to find 'prod15' in kuid-table (file asset.gs)
      ; <kuid:186817:100399> : Script class: Basic2
      ; <kuid:186817:100399> : MeshObject: <kuid:186817:100399> "Kitty Clover Potato Warehouse"
      ; <kuid:186817:100399> : Script callstack
        ; <kuid:186817:100399> : function $Asset@Asset::FindAsset(string), line -1
        ; <kuid:186817:100399> : function $void@Basic2::Init(), line 1477
        ; <kuid:186817:100399> : function $void@MeshObject::Init(Asset), line 347
    Owner of Freeman Locomotive Works.

  2. #2
    Join Date
    Nov 2006
    Location
    United States of America, Georgia, Rocky Face
    Posts
    5,000
    Blog Entries
    39
     

    Default And here's the config file for the Kitty Clover Potato Warehouse

    Code:
    kuid                                    <kuid:186817:100399>
    username                                "Kitty Clover Potato Warehouse"
    kind                                    "industry"
    script                                  "basic2"
    class                                   "Basic2"
    light                                   1
    height-range                            -20,20
    description                             "Kitty Clover Potato Warehouse. Used as an incoming warehouse for the Kitty Clover Potato Chip Factory. Industry interactive with visible and non-visible loads plus smoke effects.  Height adjustable. Products supported are for potato chip manufacturing. A heavily modified version of the original 'Feed-n-Seed Company' mesh and textures by Ben Dorsey and with his permission. Thanks to Ben for his great item and allowing me to do this! The script is based on a BI2 template from Lars Ljungberg of TrainzProRoutes. My thanks to Lars for his excellent work without which this item would not be possible. The original author retains all copyrights to the BI2 LARS items. Please note that all rolling stock items that pickup or drop off to this industry will be loaded or unloaded in the same manner as with any normal BI2 industry track."
    trainz-build                            3.3
    license                                 "You may re-skin as desired and no permission from me is needed. My only three restrictions are that any content item you produce with this must be uploaded to the Auran DLS, it must be freeware and you must add this line to your description field 'This structure is based on the original 'Feed-n-Seed Company' mesh and textures by Ben Dorsey. Script by Lars Ljungberg'. Other than that have fun with this item!
    "
    category-era                            "1910s;1920s;1930s;1940s;1950s;1960s"
    category-class                          "BIN"
    category-region                         "CA;US"
    category-keyword                        "industry;interactive;feed;seed;farm;supplies;plant;factory;mill"
    
    mesh-table
    {
      default
      {
        mesh                                "kitty_clover_potato_warehouse.im"
        auto-create                         1
        
        effects
        {
          arrow0
          {
            kind                            "attachment"
            att                             "a.track0a"
            default-mesh                    <kuid:-3:10092>
            surveyor-only                   1
          }
          
          arrow1
          {
            kind                            "attachment"
            att                             "a.track0c"
            default-mesh                    <kuid:-3:10092>
            surveyor-only                   1
          }
        }
      }
    }
    
    smoke0
    {
      attachment                            "a.smoke0"
      mode                                  "time"
      color                                 131,129,129,255
      accel                                 0,0,0.25
      start                                 0
      period                                -1
      rate                                  5
      velocity                              1
      lifetime                              1
      minsize                               0.1
      maxsize                               1
    }
    
    string-table
    {
      productcount                          "16"
    }
    
    attached-track
    {
      load_track
      {
        track                               <kuid:439337:101248>
        useadjoiningtracktype               1
        
        vertices
        {
          0                                 "a.track0a"
          1                                 "a.track0b"
          2                                 "a.track0c"
        }
      }
    }
    
    queues
    {
      que
      {
        size                                10000000
        initial-count                       0
        product-kuid                        <kuid:439337:100574>
        
        allowed-categories
        {
          0                                 <kuid:-3:10040>
          1                                 <kuid:-3:10042>
          2                                 <kuid:-3:10044>
        }
      }
    }
    
    attached-trigger
    {
      loadtrg1
      {
        att                                 "a.track0b"
        radius                              30
        track                               "load_track"
      }
    }
    
    obsolete-table
    {
    }
    
    thumbnails
    {
      0
      {
        width                               240
        height                              180
        image                               "preview.jpg"
      }
    }
    
    kuid-table
    {
      prod0                                 <kuid2:56063:800004:2>
      prod1                                 <kuid2:30671:90701902:2>
      prod2                                 <kuid2:30671:91515902:2>
      prod3                                 <kuid:69104:20016>
      prod4                                 <kuid:-3:10013>
      arrow                                 <kuid:-3:10092>
      0                                     <kuid2:30671:69011:1>
      1                                     <kuid:-3:10092>
      2                                     <kuid:439337:101248>
      3                                     <kuid:-3:10040>
      4                                     <kuid:-3:10042>
      5                                     <kuid:-3:10044>
      prod5                                 <kuid:186817:100400>
      6                                     <kuid:439337:100574>
    }
    Can anyone help me out?
    Owner of Freeman Locomotive Works.

  3. #3
    Join Date
    Nov 2006
    Location
    Spain, España, Barcelona
    Posts
    2,050
     

    Default

    Hello Jordon.

    The problem is the kuid-table and the refered named form the Comodities assets.

    The script file is looking for products named prod0 to prod19 and only finds up to prod5, the rest must be included by modifying the config.txt file in its kuid-table section

    I modified the kuid-table from yours to

    Code:
    kuid-table
    {
      prod0                                 <kuid2:56063:800004:2>
      prod1                                 <kuid2:30671:90701902:2>
      prod2                                 <kuid2:30671:91515902:2>
      prod3                                 <kuid:69104:20016>
      prod4                                 <kuid:-3:10013>
      arrow                                 <kuid:-3:10092>
      prod5                                 <kuid2:30671:69011:1>
      prod6                                 <kuid:32711:100029>
      prod7                                 <kuid:439337:101248>
      prod8                                 <kuid:-3:10040>
      prod9                                 <kuid:-3:10042>
      prod10                                <kuid:-3:10044>
      prod11                                <kuid:186817:100400>
      prod12                                <kuid:439337:100574>
      prod13                                <kuid:186817:100040>
      prod14                                <kuid:186817:100384>
      prod15                                <kuid:186817:100385>
      prod16                                <kuid2:473136:102723:1>
      prod17                                <kuid:439337:105492>
      prod18                                <kuid:32711:100077>
      prod19                                <kuid:473136:102256>
    }
    Giving names to all the dependencies that were of type Comodities, all on DLS

    You can use whatever you want, this is just an example of how to complete the kuid-table

    And after industry modification and submit, it works fine in Trainz and shows product list in your settings.

    I hope it works for you.

    Regards.

    Manuel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •