[Plugin] TR_System

Post your completed addons to share with the community

Post » Sun Jan 01, 2017 9:56 pm

Various general actions, conditions and expressions. A kind of extension to the native C2 System.

[Download this plugin with Armaldio's Plugin Manager] - just two clicks.
or download TR_System.c2addon directly

FEATURES
  • Non dt affected Timers
  • Convertions between decimal, binary and hexadecimal numeral systems
  • Timestamp (both in seconds and milliseconds format)
  • Date with custom format (ex. "yy-mm-dd hh-ii-ss.u") and timezone offset
  • In-condition and in-action comments (if you need a standalone comment plugin, check @rexrainbow rex_comment plugin)
  • Open logical condition (equivalent of clean if statement from programming languages)
  • On Timestamp condition - allows to set an action for a particular time in future
  • Get current group name
  • Hashing functions: Base64, MD5, SHA1, SHA256, SHA512, Super64 (if you need more/different hashing functions or simply a stand alone dedicated plugin, check CB Hash plugin by @Kyatric
  • Get screen aspect ratio, screen width, screen height (not the canvas, but screen)
  • Is in set (equivalent to in_array from programming
  • ... and more

v1.5 update (2017-02-09)
  • Is value in set (Value, {item1, item2, item...}) condition added: Is true when Value is equal to at least one of elements in set.

v1.4 update (2017-01-11)
  • ScreenWidth expression added: Return the width of currently set screen resolution.
  • ScreenHeight expression added: Return the height of currently set screen resolution.
  • GetScreenRatio expression added: Return the (string) aspect ratio of the screen (ex. "16:9") or 0 (integer) if could not detect.
  • IsScreenRatio expression added: Check if screen aspect ratio is equal to "WidthRatio":"HeightRatio". Return 1 if true and 0 if false.
  • GCD expression added: Return the Greatest Common Divisor for a and b parameters or 0 if wasn't found.
  • Is screen aspect ratio(Width ratio, Height ratio) condition added: True when screen aspect ratio is equal to "Width ratio":"Height ratio".

v1.3 update (2017-01-09)
  • GetTimerTimeLeft(tag) expression added: Return the remaining time before timer triggers (in milliseconds)
  • Fixed a bug when timer condition was checked before the particular timer tag was started

v1.2 update (2017-01-05)
  • Hashing/encoding functions added: Base64, MD5, SHA1, SHA256, SHA512, Super64

v1.1 update (2017-01-02)
  • Comment action fix

Full ACE table: http://tobyr.wtfgamesgroup.com/c2-plugins/tr_system-construct-2-common-additional-aces/
Last edited by BackendFreak on Thu Feb 09, 2017 9:15 pm, edited 6 times in total.
ImageImageImage
B
32
S
19
G
82
Posts: 1,039
Reputation: 46,232

Post » Sun Jan 01, 2017 11:55 pm

Added a direct c2addon download link as I received PM's that some people have problems with downloading it via Plugin Manager.
ImageImageImage
B
32
S
19
G
82
Posts: 1,039
Reputation: 46,232

Post » Mon Jan 02, 2017 12:32 am

Probs to you for adding Download Manager support.

And great plugin, thanks. More minor stuff, but definitely helpful.
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091

Post » Mon Jan 02, 2017 1:33 am

BackendFreak wrote:Various general actions, conditions and expressions. A kind of extension to the native C2 System.

[Download this plugin with Armaldio's Plugin Manager] - just two clicks.
or download TR_System.c2addon directly

FEATURES
  • Non dt affected Timers
  • Convertions between decimal, binary and hexadecimal numeral systems
  • Timestamp (both in seconds and milliseconds format)
  • Date with custom format (ex. "yy-mm-dd hh-ii-ss.u") and timezone offset
  • In-condition and in-action comments
  • Open logical condition (equivalent of clean if statement from programming languages)
  • On Timestamp condition - allows to set an action for a particular time in future
  • Get current group name
  • Hashing functions (coming soon)
  • ... and more



Full ACE table: http://tobyr.wtfgamesgroup.com/c2-plugins/tr_system-construct-2-common-additional-aces/

Gratis friend.
B
52
S
26
G
8
Posts: 121
Reputation: 8,526

Post » Mon Jan 02, 2017 12:45 pm

Thank you very much for this - some very useful additions.
A big fan of JavaScript.
B
76
S
20
G
76
Posts: 2,286
Reputation: 47,556

Post » Mon Jan 02, 2017 9:43 pm

nice addition to C2 :D GJ Toby
B
78
S
23
G
69
Posts: 1,354
Reputation: 44,027

Post » Thu Jan 05, 2017 6:22 pm

Thank you guys! Glad you found it useful ;).
I just updated plugin to v1.2. Added encryption expressions.

Image

v1.2 update (2017-01-05)
  • Hashing/encoding functions added: Base64, MD5, SHA1, SHA256, SHA512, Super64
ImageImageImage
B
32
S
19
G
82
Posts: 1,039
Reputation: 46,232

Post » Sun Jan 08, 2017 11:14 pm

Version 1.3 available now.

v1.3 update (2017-01-09)
  • GetTimerTimeLeft(tag) expression added: Return the remaining time before timer triggers (in milliseconds)
  • Fixed a bug when timer condition was checked before the particular timer tag was started
ImageImageImage
B
32
S
19
G
82
Posts: 1,039
Reputation: 46,232

Post » Wed Jan 11, 2017 3:22 pm

Version 1.4 available now.

v1.4 update (2017-01-11)
  • ScreenWidth expression added: Return the width of currently set screen resolution.
  • ScreenHeight expression added: Return the height of currently set screen resolution.
  • GetScreenRatio expression added: Return the (string) aspect ratio of the screen (ex. "16:9") or 0 (integer) if could not detect.
  • IsScreenRatio expression added: Check if screen aspect ratio is equal to "WidthRatio":"HeightRatio". Return 1 if true and 0 if false.
  • GCD expression added: Return the Greatest Common Divisor for a and b parameters or 0 if wasn't found.
  • Is screen aspect ratio(Width ratio, Height ratio) condition added: True when screen aspect ratio is equal to "Width ratio":"Height ratio".

Trivial example usage of some of new features.
Image
ImageImageImage
B
32
S
19
G
82
Posts: 1,039
Reputation: 46,232

Post » Tue Jan 17, 2017 7:38 pm

Marking this topic 4 myself to get notified for updates (in View your posts). Sorry to bother.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Next

Return to Completed Addons

Who is online

Users browsing this forum: Colludium and 1 guest