Results 1 to 6 of 6

Thread: LScript Crash list

  1. #1
    Registered User
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    7

    LScript Crash list

    Hi everyone,

    I thought it might be a good thing to start a "LScript Crash list" in order to minimize frustrating situations and to speed up the coding process. So let's go:

    LScript seems to crash when
    • you try to nest the switch command
    • you use a generic script without showing a requester
    • you forget to close an array bracket "]"

  2. #2
    Quote Originally Posted by QualiaComms View Post

    LScript seems to crash when
    • you use a generic script without showing a requester
    Are you talking about a UI window? I've never seen that. I have a lot of Layout lscripts that don't have a UI window.
    My opinions and comments do not represent those of my employer.
    www.ernestpchan.com
    www.zazzle.com/gopuggo

  3. #3
    Worms no more! Free fun! Dodgy's Avatar
    Join Date
    Feb 2003
    Location
    Sydney
    Posts
    8,275
    Yeah, I have a lot of generics which are just run by hotkeys without a requester.

    Using -1 is tricky.
    Push the software, don't let it push YOU!
    My own plugins and work:www.mikegreen.name
    LaptopSetup:corei7 2.4GHz nvidia GT 650M 8Gig win8 64
    WorkSetup:core i7 3.4Ghz nvidia Quadro 2000 12Gig Ram Win7

  4. #4
    Registered User
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    7
    @ernpchan: You are right, generic scripts do not need a requester/UI window. Thanks to your reply, I have tried to reproduce the crash but I can't.

  5. #5
    Registered User
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    7
    LScript crashes when you try to write
    array[index[i]]++;
    instead of
    array[index[i]] = array[index[i]] + 1;

  6. #6
    Registered User
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    7
    LScript crashes when you try to write
    array[counterA-1] = value;
    instead of
    counterB = counterA - 1;
    array[counterB] = value;

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
  •