# Timer in C# =\> Timer Function Bug?

**URL:** <https://extensions.streamer.bot/t/timer-in-c-timer-function-bug/1420>\
**Category:** Extension Support\
**Tags:** bug-report\
**Created:** [May 23, 2024, 10:39am UTC](https://extensions.streamer.bot/t/timer-in-c-timer-function-bug/1420 "2024-05-23T10:39:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chlu](https://extensions.streamer.bot/user_avatar/extensions.streamer.bot/chlu/32/1131_2.png) [@chlu](https://extensions.streamer.bot/u/chlu)\
**Post date:** [May 23, 2024, 10:39am UTC](https://extensions.streamer.bot/t/timer-in-c-timer-function-bug/1420/1 "2024-05-23T10:39:35Z")

</div>

Hello @rondhi

I belive we found a bug in your Timer in C# Extension

[Countdown Timer in C# - Extensions / Approved - Streamer.bot Extensions](https://extensions.streamer.bot/t/countdown-timer-in-c/190)

When you start a timer which is count up, after some time you set this timer to pause and start it again, he takes the actuall Time value, but he made then a countdown and not a timer…

We found this in the “timer\_v0.2.3-3.sb (beta)”

Greetings

chlu

---

<div class="post-metadata">

**Author:** ![rondhi](https://extensions.streamer.bot/user_avatar/extensions.streamer.bot/rondhi/32/24_2.png) [@rondhi](https://extensions.streamer.bot/u/rondhi)\
**Post date:** [May 23, 2024, 2:32pm UTC](https://extensions.streamer.bot/t/timer-in-c-timer-function-bug/1420/2 "2024-05-23T14:32:43Z")

</div>

I’ll take a look after work!

---

<div class="post-metadata">

**Author:** ![chlu](https://extensions.streamer.bot/user_avatar/extensions.streamer.bot/chlu/32/1131_2.png) [@chlu](https://extensions.streamer.bot/u/chlu)\
**Post date:** [May 24, 2024, 2:50pm UTC](https://extensions.streamer.bot/t/timer-in-c-timer-function-bug/1420/3 "2024-05-24T14:50:24Z")

</div>

thanks for having a look…

---

<div class="post-metadata">

**Author:** ![rondhi](https://extensions.streamer.bot/user_avatar/extensions.streamer.bot/rondhi/32/24_2.png) [@rondhi](https://extensions.streamer.bot/u/rondhi)\
**Post date:** [May 26, 2024, 1:21am UTC](https://extensions.streamer.bot/t/timer-in-c-timer-function-bug/1420/4 "2024-05-26T01:21:12Z")

</div>

I worked on the code a bit. Can you test this out and if you don’t find any problems, I’ll update the page and documentation.

[timer\_v0.2.3-4.sb](https://extensions.streamer.bot/uploads/short-url/3gBFNyzHXQPASx7duP8mrbTwsZV.sb) (21.1 KB)

---

<div class="post-metadata">

**Author:** ![chlu](https://extensions.streamer.bot/user_avatar/extensions.streamer.bot/chlu/32/1131_2.png) [@chlu](https://extensions.streamer.bot/u/chlu)\
**Post date:** [May 26, 2024, 8:52pm UTC](https://extensions.streamer.bot/t/timer-in-c-timer-function-bug/1420/5 "2024-05-26T20:52:21Z")

</div>

Hey Rhondi  
Now it looks better…  
We struggeling only actually with the Timer start over Streamdeck, so thats we can start a timer which is counting up  
We add the Action “Timer 1. Start TImer” and add a Argument with “String” “value” “up”. but the timer is not starting…

if i use the chat Command in the chat, it works

in the logfile we can found following entry:

[2024-05-26 22:51:30.957 DBG] InlineCode :: Running ‘StartTimerAction’ entry point from instance ‘2356084f-4860-47d0-83a1-332b816eb901’  
[2024-05-26 22:51:30.960 INF] ----- TIMER LOG: timeValueString ‘ups’

When we press the Start Timer Button on Streamdeck
