MDFB2013 - updating the fastest CHDK motion detection script - page 9 - LUA Scripting - CHDK Forum

MDFB2013 - updating the fastest CHDK motion detection script

  • 121 Replies
  • 80035 Views
Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #80 on: 02 / December / 2015, 19:01:29 »
Advertisements
I know this this issue is kinda old but I had the same transpose issue with my A590.  At first I thought I forgot how to use the mask function even though I have been using it for five or more years.  Then I edited the script and fixed it.  I never tried to advise Walter because I was afraid I was doing something wrong.  I need a dose of self-confidence or something.
I thought I fixed this 8 months ago.  When you run the script, if you have the fixed version,  the script title will say "v1.1a" rather than "v1.1"
Ported :   A1200    SD940   G10    Powershot N    G16

*

Geezer

Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #81 on: 02 / December / 2015, 23:38:06 »
You did fix it back then.  I have been using an older version.  Sorry, don't intend to be a pest.  I <heart> CHDK.

Terry

Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #82 on: 02 / December / 2015, 23:43:03 »
You did fix it back then.  I have been using an older version.  Sorry, don't intend to be a pest.  I <heart> CHDK.
Phew .. thought I was losing it there.   Yet again.

Glad you are having fun playing with CHDK!
Ported :   A1200    SD940   G10    Powershot N    G16

Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #83 on: 17 / February / 2016, 10:28:03 »
Been playing around with MD lately. Camera is SX10IS. I think I've got the latest MDFB2013.lua. CHDK ver. SX10-103a-1.4.1-4447-full. I load MDFB2013 in the Script folder and try to start it in CHDK and I get a message '272:attempt to compare number with nil' and apparently the script has stopped, nothing happens. I did play around with the early lightning.bas and it would work but I couldn't get it to do what I wanted. I'm trying to take pictures of stink bugs crawling out of heat/AC return register high up on the walls to see if that's where they are actually coming from. The seem to appear like magic.

Can anyone help me here, I don't know much about these scripts or how to deal with them.

Thanks,
Dave

Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #84 on: 17 / February / 2016, 11:59:55 »
I think I've got the latest MDFB2013.lua. CHDK ver. SX10-103a-1.4.1-4447-full. I load MDFB2013 in the Script folder and try to start it in CHDK and I get a message '272:attempt to compare number with nil' and apparently the script has stopped, nothing happens.
That error occurs in this line of code if you are using the latest version of the script  :
Code: [Select]
if ( tonumber(bi.build_revision) > 0 ) thenI see you are using the official 1.4 release (now tagged as 1.4.1).  It works for me with the 1.4.0 version currently on my camera.  This makes me wonder if the "new" standard of adding the final .1 to released versions is causing a problem.   I'll look at it later if someone else does not comment first.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #85 on: 17 / February / 2016, 13:15:46 »
I have made a test with the virtual hostlua environment and a third value for the version. It was all fine. Perhaps should first be checked, which is the result for bi.revision. Or what says the build info from the CHDK menu.

msl
CHDK-DE:  CHDK-DE links

Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #86 on: 17 / February / 2016, 14:15:07 »
I tried ver. SX10-103a-1.1.0 and it does the same thing.

Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #87 on: 17 / February / 2016, 14:32:17 »
Are you certain you are using the latest version of the script? Download link available from the first post on this forum thread.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #88 on: 17 / February / 2016, 16:44:49 »
Yes, that's where I got it, but I'll get it again and try again.

Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #89 on: 17 / February / 2016, 17:01:39 »
Tried again, same thing. Checked CHDK version is 0.9.9-907 Jun 27, 2010. I thought I loaded 1.1.0 but I guess not, I have both of them, actually 3 of them including the 1.4.1. I'll try the other one. I'll try lightning too.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal