View Full Version : Free Plugin : Timer Plugin
AMSWaves
07-19-2008, 02:04 PM
Hello my friends, we are a group that want to help you upgrade "AutoPlay Media Studio".
We will make Action Plugins (.lmd), Object Plugins (.apo) and Programs to do this. There
is a lot of projects to that didn't completed yet and if the god want we will complete and
upload those to the website.
WebSite (http://www.amswaves.com)
E-Mail (support@amswaves.com)
There is a problem in "AutoPlay Media Studio", Do you know what is it?
It's Timer. There is only one timer per page in "AutoPlay Media Studio" but we fixed this problem,
we built a free "Timer" action plugin for you. You can now use unlimited timers in one page. Enjoy!
we just test it on Windows XP.
Download (http://www.amswaves.com/index.php?option=com_content&view=article&id=45&Itemid=55)
Help (http://www.amswaves.com/helps/AMSWTimer_Help.htm)
Dermot
07-19-2008, 02:54 PM
Very nice.:yes:yes Thanks for sharing.
Solmos
07-19-2008, 05:11 PM
:eek::eek::yes:yes:yes:wow:wow
EXCELLENT!!! AND FREE!!!
the function for multiples pages is very necesary, but excellent plugin
thx!!!!!!!!!!!!!!!!!
AMSWaves
07-19-2008, 05:18 PM
:eek::eek::yes:yes:yes:wow:wow
EXCELLENT!!! AND FREE!!!
the function for multiples pages is very necesary, but excellent plugin
thx!!!!!!!!!!!!!!!!!
hi all, we think this is a good plugin and we want to improve this free plugin, whats your mean ?
please, everybody have a suggest for improve this plugin or see a bug in this plugin tell us.
yosik
07-19-2008, 05:19 PM
A good one. Thank you very much for the sharing.
Yossi
AMSWaves
07-19-2008, 05:37 PM
Thank you guys for reply.
mwreyf1
07-19-2008, 08:36 PM
Really NICE !!!
I needed something like this a few days ago.
Thanks for sharing.
Derek
07-19-2008, 08:48 PM
Is the download also available in zip file?
Teqskater
07-19-2008, 09:51 PM
Very clever. Thanks. Its greeaaaat. Keep up the good work. May i suggest something else? im looking for a time plugin that can do the following:
Add a time to a time for example
for example i want to add 1 year, 5 months, 3 days, 14 hours, 20 minutes, 10 seconds to a time specified like this: yyyy-mm-dd/hh-mm-ss and return a result in a string. (i made a function for this thats on the forum but i want to see it in a plugin)
Get Time Diffrence:
for example the difference between yyyy-mm-dd/hh-mm-ss and yyyy-mm-dd/hh-mm-ss and return the number of years, months, days, hours, minutes, seconds
Return the biggest time
And convert times: for example how much 3 months is in seconds.
I would love to see those functions since my brains wont allow me to create them because they can you know. I hate it. i need to upgrade my brains or somthing. :lol.
So that concludes my suggestion.
If you create those functions (and maybe make a plugin from it) i can finaly finnisch my textbased mmorpg template for ams. And i can make my dream come true. (a kings of chaos clone or somthing like that).
Please make my dream come true.
Thanks,
Teqskater.
That was really nice, and no bug yet.
I don't know if you are a group or something, keep going be cause I think sharing Knowledge is power and you guys have it now.
And for suggestion, if everyone intrested, I think there is a LAN network plugin is required with some actions like these:
Network.GetClients (It can pass a table with these fileds: Client Name, IP Address, MAC Address)
Network.GetType
Network.Connect (Get a port and client name or IP to connect)
Network.IsConnect
Network.Disconnect
Network.GetLog (get a log report)
Network.SendMessage (from client to client - Specialy it needs some reply for receiving or not receiving the message)
Network.GetMessage (We can put this in the timer)
Network.SendFile (from client to client - Specialy it needs some reply for receiving or not receiving the message)
Network.GetFile (We can put this in the timer)
Network.IsClientAvailable or Network.IsValidClient
I Also posted some thread (http://www.indigorose.com/forums/showthread.php?t=24327) few days ago but no one responsed and this means there is a problem and low Knowledge about this kind of work.
Anyway Thanks for your great work coz I can use this so much in my Animation Plugins (Text Animation (http://www.indigorose.com/forums/showthread.php?t=24085), AMS Object Animator (http://www.indigorose.com/forums/showthread.php?t=24130)) and keep going boys :yes
Imagine Programming
07-20-2008, 12:04 AM
This Network class is also possible using shared folders on every system in the network...
so it is possible without a plugin.
mwreyf1
07-20-2008, 12:29 AM
More network tools would be nice.
How about...
Network.MapDrive
Network.DisconnectMapDrive
Network.Ping
I know these commands are possible using other means but it would be nice to have built-in.
Imagine Programming
07-20-2008, 12:53 AM
More network tools would be nice.
How about...
Network.MapDrive
Network.DisconnectMapDrive
Network.Ping
I know these commands are possible using other means but it would be nice to have built-in.
That's for sure:yes:lol
ShadowUK
07-20-2008, 01:14 AM
I don't know about this, It's not as easy as Worm's which I purchased, So I'll probably use his.
AMSWaves
07-20-2008, 02:46 AM
I don't know about this, It's not as easy as Worm's which I purchased, So I'll probably use his.
hi all, i can create timer plugin like worm but sometimes crashes program.
worm's timer just can create 32 timer but our plugin can create UNLIMITED timer.
and if you see shortage in this plugin tell us.
This Network class is also possible using shared folders on every system in the network...
so it is possible without a plugin.
But what if there is no any folder shared on the clients and I think it's more simple to use with a plugin.
Anyway I'll be happy if you explain more about this solution; specially for sending a message and get the reply. be cause i'm working on a software to control my clients on the network and i currently use the worm's simple_chat example for sending my orders to clients and get a response from them.
AMSWaves
07-20-2008, 03:01 AM
Very clever. Thanks. Its greeaaaat. Keep up the good work. May i suggest something else? im looking for a time plugin that can do the following:
Add a time to a time for example
for example i want to add 1 year, 5 months, 3 days, 14 hours, 20 minutes, 10 seconds to a time specified like this: yyyy-mm-dd/hh-mm-ss and return a result in a string. (i made a function for this thats on the forum but i want to see it in a plugin)
Get Time Diffrence:
for example the difference between yyyy-mm-dd/hh-mm-ss and yyyy-mm-dd/hh-mm-ss and return the number of years, months, days, hours, minutes, seconds
Return the biggest time
And convert times: for example how much 3 months is in seconds.
I would love to see those functions since my brains wont allow me to create them because they can you know. I hate it. i need to upgrade my brains or somthing. :lol.
So that concludes my suggestion.
If you create those functions (and maybe make a plugin from it) i can finaly finnisch my textbased mmorpg template for ams. And i can make my dream come true. (a kings of chaos clone or somthing like that).
Please make my dream come true.
Thanks,
Teqskater.
thanks Teqskater for Suggest in future i create my forum for suggest and discussion.
peradventure my next plugin is a TimeDiff that worked on xp and vista.
AMSWaves
07-20-2008, 03:40 AM
That was really nice, and no bug yet.
I don't know if you are a group or something, keep going be cause I think sharing Knowledge is power and you guys have it now.
And for suggestion, if everyone intrested, I think there is a LAN network plugin is required with some actions like these:
Network.GetClients (It can pass a table with these fileds: Client Name, IP Address, MAC Address)
Network.GetType
Network.Connect (Get a port and client name or IP to connect)
Network.IsConnect
Network.Disconnect
Network.GetLog (get a log report)
Network.SendMessage (from client to client - Specialy it needs some reply for receiving or not receiving the message)
Network.GetMessage (We can put this in the timer)
Network.SendFile (from client to client - Specialy it needs some reply for receiving or not receiving the message)
Network.GetFile (We can put this in the timer)
Network.IsClientAvailable or Network.IsValidClient
I Also posted some thread (http://www.indigorose.com/forums/showthread.php?t=24327) few days ago but no one responsed and this means there is a problem and low Knowledge about this kind of work.
Anyway Thanks for your great work coz I can use this so much in my Animation Plugins (Text Animation (http://www.indigorose.com/forums/showthread.php?t=24085), AMS Object Animator (http://www.indigorose.com/forums/showthread.php?t=24130)) and keep going boys :yes
More network tools would be nice.
How about...
Network.MapDrive
Network.DisconnectMapDrive
Network.Ping
I know these commands are possible using other means but it would be nice to have built-in.
thanks mwreyf1 and arb we scrutiny this suggest and create it.
If everybody have a help source or website around this suggest for information tell us.
Intrigued
07-20-2008, 10:52 AM
I know another timer plugin is (was?) having issues with Vista. Has this plugin been tested with Vista, did it fair well?
Imagine Programming
07-20-2008, 11:04 AM
WebSite (http://www.amswaves.com)
E-Mail (support@amswaves.com)
There is a problem in "AutoPlay Media Studio", Do you know what is it?
It's Timer. There is only one timer per page in "AutoPlay Media Studio" but we fixed this problem,
we built a free "Timer" action plugin for you. You can now use unlimited timers in one page. Enjoy!
we just test it on Windows XP.
Download (http://www.amswaves.com/index.php?option=com_content&view=article&id=45&Itemid=55)
Help (http://www.amswaves.com/helps/AMSWTimer_Help.htm)
I'm curious aswell ;)
AMSWaves
07-20-2008, 12:50 PM
I know another timer plugin is (was?) having issues with Vista. Has this plugin been tested with Vista, did it fair well?
we create it for Windows XP because we just have Windows XP, In future we must bye a Vista and we will promise you create it for Vista.
ShadowUK
07-20-2008, 01:06 PM
Does anyone seriously need to know if this works on Vista. If so, I'll be happy to install my copy for it.
azmanar
07-20-2008, 01:10 PM
Shadow,
Please do test it on Vista. I'm about to migrate to Vista and a bit worried.
Thanks.
HMMurdock
07-20-2008, 01:12 PM
I know another timer plugin is (was?) having issues with Vista. Has this plugin been tested with Vista, did it fair well?
When trying it with my Vista laptop, I get a "Not Enough Memory" Error whenever it executes a AMSWTimer.Info (when hovering over the labels. Usually after 1 or 2 of those, the application will close automatically.
AMSWaves
Also, if I understand how the plugin works, I think it could have a problem with the way the multiple timers are implimented...
Again, if I understand correctly, the callback function is passed a single paramater (the number of the timer currently being fired) which can be problematic if multiple timers are firing simultaneously.
When I changed the sample project timers to 1000, 2000, 4000, 8000 and 16000 ms respectively, and watch the labels update... they should all update synchronously every 16 seconds. It appears the longer the timer runs, the less synchronized the updates become.
I don't know if anyone else can confirm that behavior.
Anyway, I like the direction you are headed with this plugin. Thanks for the hard work.
Dermot
07-20-2008, 01:57 PM
It is very unstable on Vista. As soon as you mouse over the labels in the demo, it just closes without warning. Like HMMurdock says it seems to be AMSWTimer.Info() that causes this.
ShadowUK
07-20-2008, 02:10 PM
Just installed vista, And Yes. It is very unstable.
Now, I'm uninstalling vista. :p
Because, I hate it.
AMSWaves
07-20-2008, 03:20 PM
hi all
thanks ShadowUK, Dermot, HMMurdock for test it and said promblems in vista, in future we test and fix it.
When I changed the sample project timers to 1000, 2000, 4000, 8000 and 16000 ms respectively, and watch the labels update... they should all update synchronously every 16 seconds. It appears the longer the timer runs, the less synchronized the updates become.
we tested it often and often with many delay and it worked, and now i test it with 1000, 2000, 4000, 8000 and 16000 ms and it good worked.
which version of ams you use ?
HMMurdock
07-20-2008, 04:08 PM
we tested it often and often with many delay and it worked, and now i test it with 1000, 2000, 4000, 8000 and 16000 ms and it good worked.
which version of ams you use ?
I'm using AMS7 (7.1.1007.0)
I've attached the screenshot of the demo running with the timings I mentioned earlier.
Label 5 should update to "4" at the same time that label 1 updates to "64" There is enough delay that I can catch it manually with a simple "print screen" It appears that the longer it runs, the more "lag" develops.
Dermot
07-20-2008, 04:22 PM
Idealy each timer needs it's own callback function. Otherwise the more timers you have, the less accurate it will be.
AMSWaves
07-20-2008, 04:45 PM
it good work on my computer, but we change its callback and made it like worm's plugin.
thanks for suggest and steerage.
Imagine Programming
07-20-2008, 05:56 PM
Just installed vista, And Yes. It is very unstable.
Now, I'm uninstalling vista. :p
Because, I hate it.
That's exactly why i stick to XP pro ^^
i'm gonner buy a new laptop next week, wich standard has Vista installed on it... you don't wanna know how fast i'm gonner get XP on it:P lol
mwreyf1
07-20-2008, 09:58 PM
Before purchasing that laptop may I suggest checking that all the hardware has XP compatible drivers available.
I recently converted a Vista ONLY laptop to XP (the laptop manufacturer Sony..did not supply XP drivers). I went to each of the internal hardware manufacturers websites and they had no working drivers for XP for that model of hardware (in this case it was a network adapter by Broadcom). I tried every driver I could and none would work and most refused to even install. I finally had to modify install INF and INI files from installs of comparable hardware and finally after 2 weeks , I got everything working.
Next time I will definitely check first to see how hard it will be.
Good Luck.
ShadowUK
07-21-2008, 02:27 AM
That's exactly why i stick to XP pro ^^
i'm gonner buy a new laptop next week, wich standard has Vista installed on it... you don't wanna know how fast i'm gonner get XP on it:P lol
When I bought my acer laptop, It had Vista on it and I installed XP before I even booted Vista up, That was on christmas, Ever since then, I reinstalled XP every single month.
Derek
07-21-2008, 02:37 AM
You could always ask Lorne to write some XP drivers for you :yes
[Sorry Lorne, I know you're busy and all ;)]
As a side note, my Timer plugin doesn't play well with VISTA either.
Another side bar... if you need more 32 timers in an AMS app, you should probably rethink your code. That's my 2 pennies anyhow.
BTW, good luck with the plugin...
RizlaUK
07-21-2008, 08:18 AM
great, another timer plugin, it would be nice to see a real vista compatable timer plugin *worm* its way out ;)
thanks for the free plugin, but untill there is a real bug free version of any timer plugin i will stick to useing code.
btw, has anyone tought about useing VB to make some timer activex and use it with luacom ?, ok guess i'll have a go then.
Imagine Programming
07-21-2008, 08:22 AM
Before purchasing that laptop may I suggest checking that all the hardware has XP compatible drivers available.
I recently converted a Vista ONLY laptop to XP (the laptop manufacturer Sony..did not supply XP drivers). I went to each of the internal hardware manufacturers websites and they had no working drivers for XP for that model of hardware (in this case it was a network adapter by Broadcom). I tried every driver I could and none would work and most refused to even install. I finally had to modify install INF and INI files from installs of comparable hardware and finally after 2 weeks , I got everything working.
Next time I will definitely check first to see how hard it will be.
Good Luck.
lol i've already downloaded those drivers:P lol! i don't even have the laptop yet:P
@Shadow lol xD i really don't wanna boot Vista on a new lappy either:P
holtgrewe
07-21-2008, 09:42 AM
Prior to Worm's plugin many of us had our own techniques for multi-timers. Then Vista came along...
This technique may not be as friendly or efficient as a 'FREE-PLUGIN' but here's a post of what I use - and it works well with Vista also.
http://www.indigorose.com/forums/showthread.php?t=18188
AMSWaves
07-22-2008, 07:45 AM
Hi All, we release new version of AMSWTimer (1.0.1.0) and some function have a bit Change.
Change :
AMSWTimer.Init() dont have any partasmeter.
AMSWTimer.Start(number Timer, number Delay, string Callback); have a new parameter
Add :
AMSWTimer.Info(number Timer); have a new field in returned table (CallbackName)
Note :
in this new version you must create a Callback function for every Timer.
Download (http://www.amswaves.com/index.php?option=com_content&view=article&id=45&Itemid=55)
Help (http://www.amswaves.com/helps/AMSWTimer_Help.htm)
Please reply :).
RizlaUK
07-22-2008, 09:56 AM
it works very well on xp :yes
has the vista issue been addressed ?
RizlaUK
07-22-2008, 10:11 AM
would it be possable to send a timer count argument to the timer callback function, so we know the number of cycles passed in the timer callback in order to save useing variables for each function
-- Callback function
function AMSWTimer_Callback(nCount)
Label.SetText("Label","Seconds Passed: "..nCount)
end
Esfahan
07-22-2008, 10:17 AM
WoW
great plugin, thanks a lot...
Nice work on XP SP2
but I don not know it will be nice work on Vista or Vista SP1 (I have not Vista).
if somebody has vista, please check it .
it has a Optimum CPU Usage in XP.:yes
AMSWaves
07-22-2008, 01:18 PM
Hi all.
Sorry, for now we create and test it for XP, we must bye a vista and create it for vista, so in future we do it.
AMSWaves
07-22-2008, 01:24 PM
would it be possable to send a timer count argument to the timer callback function, so we know the number of cycles passed in the timer callback in order to save useing variables for each function
-- Callback function
function AMSWTimer_Callback(nCount)
Label.SetText("Label","Seconds Passed: "..nCount)
end
yea it is possible, if this parameter is useful we can do it.
HMMurdock
07-22-2008, 01:49 PM
it works very well on xp :yes
has the vista issue been addressed ?
It is still unstable on Vista, but I like the new changes that have been made.
Keep up the great work AMSWaves!
AMSWaves
10-05-2008, 09:35 AM
Hi All,
We released new version of Timer plugin (1.0.2.0).
we change work's Mechanism of this plugin.
this new version is Smaller (38 KB), Faster, Compatible With Vista, and Performance (in use memory).
this plugin have some changes :
Added :
AMSWTimer.Close() ; use this on vista requires.
Changed :
now AMSWTimer.Suspension(number Mode, number Timer) changd to AMSWTimer.Stop(number Timer);
Romoved :
AMSWTimer.Info(number Timer) ; this func removed from this new version.
Note :
in this version plugin cant resume or pause timer just can stop it.
AMSWTimer.Info() removed from this version, because this func dont have benefit.
Download (http://www.amswaves.com/index.php?option=com_content&view=article&id=45&Itemid=55)
Help (http://www.amswaves.com/helps/AMSWTimer_Help.htm)
Suggestion Forum (http://forum.amswaves.com/viewforum.php?f=2)
Best Regards,
AMSWaves.
AMSWaves
09-11-2009, 04:47 PM
hi all
This is a final release of timer Plugin (i think) this plugin have some major bugfix and now good worked on vista & 7 without any crash, this is the first update of my plugins for crashing in win Vista & 7.
ChangeLog :
Fixed crashes on close on Win Vista & 7
Removed Timer.Close().
Now Good Worked on Vista & 7
Fix some bugs that cause program crashes
NOTE to member : dont use any close function for closing program before it closes (idea for those plugins that have problem on closing in vista & 7)
NOTE to Moderator : please move this topic to Plugins Sections.
Thanks,
AMSWaves.
Centauri Soldier
09-11-2009, 06:45 PM
Thanks for the update, AMSWaves.
pabloko
09-12-2009, 02:53 AM
Thanks for the update, are you updating your scripts?
can you explain the bug affected in the past?
thanks amswaves
Centauri Soldier
09-13-2009, 07:40 AM
Is there a simple way to pause and resume an existing timer without having to recreate it?
Centauri Soldier
09-13-2009, 02:39 PM
I've been trying to figure out how to reuse an existing timer number but the plugin just does not allow the reuse of timer numbers. It seems that once a certain timer has been stopped, that number can no longer be used to create a timer.
I think I'll use the timer object plugin by reteset unless someone has any suggestions for making this work.
AMSWaves
09-16-2009, 10:10 AM
hi Centauri Soldier, sorry for lating today im comeback from vacation :)
why you want pause and resume a function ?
yes in my timer plugin i check first if you stoped timer that before created then create a new timer with that number, but this is can changes but all time is better we free the allocated memory of everything with its functions (for memory issue) for examp : allocmem killed by memfree, starttimer killed by killtimer, all objects killed by deleteobject, ....., so if you think overwrite a timer is simple an good way this is possible i can stop plugin automatically from Time.Start.
Object Timer plugin from reteset is very good but say any suggest and bug or anything to this plugin.
AMSWaves
09-16-2009, 10:13 AM
Thanks for the update, are you updating your scripts?
can you explain the bug affected in the past?
thanks amswaves
hi pabloko yea im going to update all of my plugin if you see any bug or have any suggest please post them in their Threads.
wow great plugin . thank u for sharing . i think it should be posted in plugins area .
AMSWaves
09-17-2009, 10:04 AM
wow great plugin . thank u for sharing . i think it should be posted in plugins area .
Your welcome,
yea you alright this topic must be in Plugins area but when i create this plugin and post it in the form didnt exist Plugins area, so Moderator must move this topic to Plugins Area but i think Mod surrended us alone because they not speak with us when we create a great plugin or addon free (we just improve their app but never geta thanks from them) when we create a great app or example when we want something from them.
rexzooly
09-30-2009, 05:39 PM
Thanks for update and fix's for win 7 :yes
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.