[REL] [ALL] Update Script for Script Updates ! ;)

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

New version 3.0.0 beta released:
http://www.bad4u.741.com/beta/UPDATE_SCRIPTS.ifs (copy link into a new browser window)

IMPORTANT: This release needs Ant Movie Catalog Version 3.5.1 rc2 or a newer version ( see viewtopic.php?t=3325 ) ! It will NOT work on version 3.5.0 or older versions that you might have downloaded from website !

- new function: autodetection now should work on Windows 95/98/Me/2000/XP/Vista™
- new function: 'autoupdate mode' to download ALL script updates and ALL new scripts on a single run
- new function: summary of downloaded scripts at the end of update process (to see the summary, be sure that you have chosen only ONE film when starting the script)

Please report any problems and bugs here - thank you !
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Thanks for your work ;)
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

I fixed a bug concerning the 'show_AMC_message' option (I forgot to add the 'TextBefore' function, but used it for this option). Download fixed version from link above.
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

New version 3.0.0 beta7 released:
http://www.bad4u.741.com/beta/UPDATE_SCRIPTS.ifs (copy link into a new browser window)

Forum release for AMC version 3.5.1 rc2 and higher ONLY !

- change: script uses future AMC update directory
- new function: script uses future archive directory when user hits button "Find more" on results list

Please report any problems and bugs here - thank you !
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

New version 4.0.0 beta : http://www.bad4u.741.com/beta/UPDATE_SC ... 0_BETA.ifs (copy link into a new browser window)

This version will (hopefully) not affect users of AMC 3.5.1 but gives full support and all new features of latest update script for users of previous AMC 3.5.0.x versions - they now can use things like the full automatic update of all scripts and a list of updated scripts at the end of update process.

If you like you can test the new version (on both versions of AMC) and if you find any bugs please let me know. I'll do some more testing this evening. If no more bugs will be found, this version should be released as full version 4.0.0 soon.

Edit: There's still a small bug - on 3.5.0 some scripts appear on list again after being updated. I'll fix this tonight.
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

New version 4.0.0 : http://www.bad4u.741.com/full/UPDATE_SCRIPTS.ifs (copy link into a new browser window)

If you are using a previous version of update_scripts.ifs with option 'autodetect_new_scripts' set, new script will be installed as soon as it is available from update server.
klepptoman
Posts: 21
Joined: 2006-01-01 10:04:57

Post by klepptoman »

I am getting script errors, if in auto mode it comes up with a script error & in select mode it just has a list of file saying update in brackets (update)
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

This is because of a code change on update website. Will be fixed as soon as possible (at least I hope so). Thanks for your report ;)
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

New script version 4.1.0 available: http://update.antp.be/amc/scripts/UPDATE_SCRIPTS.ifs

If you use script option "autodetect_new_scripts" it will be downloaded and installed automatically.
klepptoman
Posts: 21
Joined: 2006-01-01 10:04:57

Post by klepptoman »

Thanks for the quick response, It works in manual mode now but still has a script error in both auto modes.

" DirList.Text := ListDirectory(dirScripts, '*.*')" is the highlighted line of script with the error line "294".

Once again Thanks for all your hard work, I love my AMC & bad4u!
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

klepptoman wrote:I love my AMC & bad4u!
BEHAVE! ;)

Could you please post the complete error message that shows up when you run the script in automatic mode ?

I do not have this error and there is no "DirList.Text := ListDirectory(dirScripts, '*.*')" on line 294 - only if you copy/paste the script into the AMC script editor instead of downloading and saving the file. But even in this case it works for me, so it's a little bit weired. Maybe the error message tells us what's going on..
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

New script version 4.1.2 available: http://update.antp.be/amc/scripts/UPDATE_SCRIPTS.ifs

New version fixes a bug on results list that only appeared on AMC 3.5.0.x versions.
klepptoman
Posts: 21
Joined: 2006-01-01 10:04:57

Post by klepptoman »

Ok, Script error"UPDATESCRIPTSML" :Unknown identifier:LISTDIRECTORY at line 294

294 DirList.Text := ListDirectory(dirScripts, '*.*')

Hope that helps, Thanks again! :grinking:
klepptoman
Posts: 21
Joined: 2006-01-01 10:04:57

Post by klepptoman »

I just dled you new scrcipt 4.12 & the bug is still there but it has moved a few lines

Script error"UPDATESCRIPTSML" :Unknown identifier:LISTDIRECTORY at line 272

272 DirList.Text := ListDirectory(dirScripts, '*.*')

Hope that helps, Thanks again!
klepptoman
Posts: 21
Joined: 2006-01-01 10:04:57

Post by klepptoman »

Thanks Updated to 3.5.1.1 & its working agian, thanks for your help!
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

ListDirectory is a function on the script engine of AMC (since 3.5.1) that is used by the update script. Seems your moviecatalog.exe got corrupted somehow, so an update of the program did help in this case.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

I wonder what could have hapened... Or maybe he was using a beta version which did not yet had that function
(as there were betas for long time for the 3.5.1, for fixing Vista-related bugs)
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

antp wrote:Or maybe he was using a beta version which did not yet had that function..
But that can't be checked by script using CheckVersion, I guess ?
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Indeed, as the version number was the same.
It is usually not a problem since not many people use beta version, and quickly upgrade it when the new one is released.
But the 3.5.1 was a special case since it was required to work well on Vista and that it took long time before I release it officially :/
klepptoman
Posts: 21
Joined: 2006-01-01 10:04:57

Post by klepptoman »

It is possible it was a beta version , I like everyone else who swapped over to Vista, quickly realised we needed to update our AntDB & I have a memmory of grabbing the beta, Recently I had a HDD failure & reinstalled all my favourite programs (AntDB being one) & may have installed the beta from a back up. Once again I cant thank you guys enough for your help & great program. Everyone I know has AntDB on their PC's as I spread the good word. :grinking:
Post Reply