[Plugin] System date and time

Post your completed addons to share with the community

Post » Wed Feb 10, 2016 4:16 am

Is there any problem in having multiple timers when using rex_time_awayL?
When I use more than one timer, I cant restart it, nor recreate it with the same name after remove it =(
I'm trying to manage multiple ship travels. Each one may take several hours, so the player have to be able to leave the game and return after some time.
B
4
Posts: 3
Reputation: 206

Post » Wed Feb 10, 2016 1:45 pm

@ericflorio

Could you provide a very simple capx for this problem?
B
97
S
22
G
178
Posts: 4,118
Reputation: 104,043

Post » Wed Feb 10, 2016 7:17 pm

Thank you for your help!
Here is the capx:

https://www.dropbox.com/s/lndjvg5y7tc4k ... .capx?dl=0

Instructions:
- Click in one of the two buttons
- Click on GO
- Wait until the timer resets
- Click again on the same button you clicked first.
- When you click GO again, the timer doesn't start
- But the other button and timer will work no matter how many times you start it.

- But If you intercalate between the two buttons, it never stops working
B
4
Posts: 3
Reputation: 206

Post » Fri Feb 12, 2016 1:17 am

@ericflorio

You might check the logic of getting escaped time. See the document in 1st thread.

Get escaped time
Call "Action:Get elapsed time" to start a read request.
"Condition:On elapsed time get" will be triggered while gets data. The elapsed time could be read by "Expression:ElapsedTime", in seconds.


Or use rex_time_away plugin
B
97
S
22
G
178
Posts: 4,118
Reputation: 104,043

Post » Fri May 06, 2016 4:54 pm

These are perfect! Thank you so much.
B
8
S
1
G
1
Posts: 28
Reputation: 491

Post » Sat May 07, 2016 5:24 pm

@rexrainbow would it be possible for you to integrate functions that I added to your datetime plugin officially?

see: https://drive.google.com/open?id=0B-xiq ... 1plRk8xLVk
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
18
S
5
G
1
Posts: 1,137
Reputation: 4,052

Post » Sun May 08, 2016 5:53 am

@gumshoe2029

Here is another plugin to display date into a format string.
And I had another "Expression:LocalExpression" - transfer current date to local expression, or add unix timestamp at 1st parameter to transfer from unix timestamp (sameple capx). You might update rex_date plugin to get it.
Thus I would not merge these new expressions , sorry.
B
97
S
22
G
178
Posts: 4,118
Reputation: 104,043

Post » Mon May 09, 2016 3:33 pm

No worries, the modified plugin works for us.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
18
S
5
G
1
Posts: 1,137
Reputation: 4,052

Post » Mon May 16, 2016 6:46 pm

WHERE do you download it ?
All I see in the document web site are the cap to download.
B
11
S
3
Posts: 279
Reputation: 1,651

Post » Mon May 16, 2016 6:47 pm

Where do you download the actual plugin ?
All I see are the cap file download.
B
11
S
3
Posts: 279
Reputation: 1,651

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: DragoMej and 1 guest