Results 1 to 5 of 5

Thread: Autoscan: what exactly is it doing?

  1. #1
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,729

    Question Autoscan: what exactly is it doing?

    I kind of thought the Autoscan (plugins) feature just looked at the plugin folders to match up any plugin filenames with the menu configs.

    But, I ran into a situation:
    http://forums.newtek.com/showpost.ph...3&postcount=26

    where it looks like at least some processing of lscripts, at least, occurs during the Autoscan process. Otherwise a poison lscript couldn't crash the application, right?

    So, just what IS Autoscan doing besides looking at filenames???
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  2. #2
    Super Member nickdigital's Avatar
    Join Date
    Nov 2006
    Location
    Burbank, California USA
    Posts
    4,576
    I believe Autoscan automatically scans the plugins folder and adds the entries to the cfg file.

    Most "pro" users don't use autoscan though. I think there can be improvements to how autoscan works, especially in regards to lwsn.

    What lscript were you playing with?
    My opinions and comments do not represent those of my employer.
    Profile piece
    2010 Reel
    'The X's' Reel

  3. #3
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,729
    Quote Originally Posted by nickdigital View Post
    I believe Autoscan automatically scans the plugins folder and adds the entries to the cfg file.
    It must be doing more than that, since including the lscript crashes both LW and LWM.
    Quote Originally Posted by nickdigital View Post
    Most "pro" users don't use autoscan though. I think there can be improvements to how autoscan works, especially in regards to lwsn.
    Since, up to now, it never had the horrendous overhead.... Photoshop?... once had, i just left it on. TTYTT, I never noticed any lag.
    Quote Originally Posted by nickdigital View Post
    What lscript were you playing with?
    iain-r's "Arbitrary Primitive Generator" in the "instant teapot" thread. It definitely works on smaller objects (SO COOL ), but I suspect that the defined arrays are perhaps too small for some point/poly limit. It's an LS, so I could maybe poke around its innerds, but it's been a long loooooooooong time since I did anything with lscript.

    http://forums.newtek.com/showthread....instant+teapot

    "CreateLScript.ls" isn't the problem, it's the lscripts it generates. Some work great, some crash the application and prevent it from launching if Autoscan is enabled.
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  4. #4
    Super Member nickdigital's Avatar
    Join Date
    Nov 2006
    Location
    Burbank, California USA
    Posts
    4,576
    Maybe someone has time to see why the lscript is making LW throw up.

    Or the coder, iaian_r, can figure out what's going on. The idea of the lscript is certainly interesting.
    Last edited by nickdigital; 08-20-2012 at 06:45 PM.
    My opinions and comments do not represent those of my employer.
    Profile piece
    2010 Reel
    'The X's' Reel

  5. #5
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,729
    Quote Originally Posted by nickdigital View Post
    Maybe someone has time to see why the lscript is making LW throw up.

    Or the coder, iaian_r, can figure out what's going on. The idea of the lscript is certainly interesting.
    For convenience, here's the poison script.

    I'm no programmer, but taking a glance at it, I noticed this bit near the end of the vertice list: that doesn't look right.....

    verts[2362] = <1.24458,1.1982,0.3>;
    verts[2363] = <1.24135,1.24068,0.3>;
    verts[2364] = <1.24111,1.257,0.3>;
    verts[2365] = <-1.#IND,-1.#IND,-1.#IND>;
    verts[2366] = <-1.#IND,-1.#IND,-1.#IND>;
    verts[2367] = <-1.#IND,-1.#IND,-1.#IND>;
    verts[2368] = <-1.#IND,-1.#IND,-1.#IND>;
    Attached Files Attached Files
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

Tags for this Thread

Bookmarks

Posting Permissions

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