Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dorrBaume

Pages: [1]
1
Is this bug going to be fixed someday?
You could simply add a variable like @intpoints@ that outputs "12345" instead of "12,345" and the @customjsonapi@ won't break anymore.

But i would really appreciate if you could manage to let the @customjsonapi@ ignore "," as a separator als long as it's part of a variable value.

2
Bug Reports / @customjsonapi@ fails if variabel URL contains comma
« on: January 06, 2016, 12:42:17 PM »
Hi all
I'm running "Closed Beta - Revision 0.8.7.0"

BUG:
If the first agrument of the @customjsonapi@ contains a variabel (for example @points@) that contains a comma -> the @customjsonapi@ fails and the URL is returned in Chat.

BACKGROUND:
I have a PHP file running on my website that should be called from Deepbot.
In order to calculate a result it needs information about the user like @points@ and @user@.
My only way to send these information is via GET-params in the URL. So my command looks like this:
Quote
@customjsonapi@[http://example.com/twitch/event/add.php?c=dorrbaume&u=@user@&p=@points@&e=eventname,result]
The problem is, that @points@ use comma as thousands digit what also marks the end of the URL for the @customjsonapi@

RECOMMENTATION:
This happens to me since the 0.8.6.0 Update
It seems you parse the values of the variabels into the URL-string before you run the @customjsonapi@.
But somehow this worked in earlyer versions of DeepBot.
I guess you need to distinguish the two @customjsonapi@ parameters first, and parse the URL-string after that.

Or you could add a new variable for points without thousands digit for calculations.
But it's a quick fix because variabels like @target@ could still cause problems.

PS:
My biggest problem is that Deepbot reveals the dynamic URL if the command fails.
Everybody in Chat can klick it and can confuse my PHP script.
I would like to see that Deepbot keeps the parameters of @customjsonapi@ as a secret, even if it fails.

3
General Discussion / Re: User Stream Ranks
« on: June 27, 2015, 12:06:25 AM »
Hi there,
I'm using ranks to let my viewers grow a beard. Every point is 1mm length.
You start as a babyface and will finally become a wizard at max rank.

At the moment I'm just using 14 ranks.
After #14 I'm just repeating the last one.
42 is a beautiful number but i would like to set the count of ranks by myself.

At first the beard grew very fast with 1mm per minute but i like the ability to set multipliers to 0.1
This helps getting the grow rate more realistic without viewers missing a point just because they only watched 9 min.

Custom commans are great.
Viewers can trim an maintain there beards.
This increases there VIP-Status and let the beards grow faster ^^

I would like to add some custom commands similar to the nightbot command API.
There I call my own PHP-scripts to generate answers.
I would love to program my own games, where viewers can exchange there points (beards)

BTW the !bankheist is very good. As a German streamer  I like to edit every single String.
Now it's a beardheist and you fight gigantic louses ^^

That's it for me. Maybe you found some inspiration.
dorrBaume

4
Hi There!

1) Google
2) dorrBaume
3) dorrBot
4) Monday 19:00 + random
5) No
6) 60-90
7) no

Greetings: Baume

System Edit : Application Accepted. Install complete. Thanks for the support!

Pages: [1]