[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4721: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3851)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4723: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3851)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4724: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3851)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4725: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3851)
New MMBforums • View topic - Scrip timers and the 999 rule... names?

Scrip timers and the 999 rule... names?

Multimedia Builder

Scrip timers and the 999 rule... names?

Postby polartech » Tue Mar 15, 2016 5:17 am

Hi guys,

So, being able to run up to 999 timers is brilliant.

But, since I actually have more scripts that could potentially be called, do you know if we are tied to absolute whole numbers 0-999) or could timers have names (such as 100alpha)?

My early testing seems to be showing inconsistency. Sometimes working, others not.

I guess I'm not seeing some convention...

Any thoughts!
polartech
 
Posts: 81
Joined: Sun Oct 31, 2010 3:29 am
Location: York, UK

Re: Scrip timers and the 999 rule... names?

Postby 4Ever » Tue Mar 15, 2016 6:32 am

I think 999 timers is more than enough.
If you still need more timers, you can implement a sort of timers management system in order to use/run 2 different scripts with the same timer number in a such way that only one will run at a time.
4Ever
 
Posts: 24
Joined: Sun Oct 24, 2010 12:44 pm

Re: Scrip timers and the 999 rule... names?

Postby Delboy » Tue Mar 15, 2016 7:51 am

You can only use whole numbers 1 to 1000 and A,B,C these 3 letter timers are also active but not advised to use.

Also if say you run

example:
ScriptTimer("Timer1=Script","3000")

and you run another ScriptTimer

example:
ScriptTimer("Timer1=Script2","3000")


with the same number before first ScriptTimer("Timer1=Script","3000") as executed, The first ScriptTimer will be forgotten (overwritten).

In previous versions, there were only three timers - TimerA, TimerB and TimerC. These timers are still active and you can see them in old projects and scripts.
But we do not recommend to use them in new projects!

Timers are from 1 to 1000 and not 0 to 999

1000 timers is plenty for any project I.M.O

Hope this helps
DMFX Player v3.0.9.7 Released 02/03/2016
Delboy
 
Posts: 837
Joined: Sat Oct 23, 2010 9:28 am
Location: Reading, UK

Re: Scrip timers and the 999 rule... names?

Postby polartech » Tue Mar 15, 2016 11:02 am

OK..thanks for the input both!

You`d be surprised how complex my projects are :)

Three years work on a complex networked system with 1500 timers.

There are around 300 pages in the main application.

:)
polartech
 
Posts: 81
Joined: Sun Oct 31, 2010 3:29 am
Location: York, UK

Re: Scrip timers and the 999 rule... names?

Postby Delboy » Tue Mar 15, 2016 12:15 pm

DMFX Player v3.0.9.7 Released 02/03/2016
Delboy
 
Posts: 837
Joined: Sat Oct 23, 2010 9:28 am
Location: Reading, UK

Re: Scrip timers and the 999 rule... names?

Postby polartech » Thu Mar 17, 2016 3:06 am

Cheers Delboy... that`s interesting to know.

Everything is externally referenced really, so it`s all good.
polartech
 
Posts: 81
Joined: Sun Oct 31, 2010 3:29 am
Location: York, UK


Return to MMB

Who is online

Users browsing this forum: No registered users and 2 guests