Apps & Bots Programming Documentation - Apps 1.0 Documentati
Apps & Bots Programming Documentation - Apps 1.0 Documentati
0 documentation
26/12/2013
next | index
Table Of Contents
Apps & Bots Programming Documentation What are apps & bots? Who is qualified to write apps? Can I modify an existing app? Programming Documentation
Next topic
Developing on the Test Bed
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.
Programming Documentation
Developing on the Test Bed Developing on the App Dev Kit (Unofficial) Road Map - API Ideas Upcoming Features More Improvement Ideas Changelog Make a Suggestion cb.changeRoomSubject(new_subject) cb.chatNotice(message, [to_user], [background], [foreground], [weight]) * cb.drawPanel() cb.limitCam_... Functions cb.log(message) cb.onDrawPanel(func) cb.onEnter(func) cb.onLeave(func) cb.onMessage(func) cb.onTip(func) cb.room_slug cb.sendNotice(message, [to_user], [background], [foreground], [weight], [to_group]) cb.setTimeout(func, msecs) cb.settings_choices cb.tipOptions(func) cbjs.arrayContains(array, object) cbjs.arrayRemove(array, object)
Best
Community
MisterBlackwell
a year ago
How do you make GIFs for CB? I assume GIFs are not the same as Apps, but I am not sure, and wou
http://chaturbate.com/apps/docs/index.html
1/6
26/12/2013
Reply Share
> MisterBlackw ell 5 months ago
chmee
Only low-grade morons post gifs in the chats here. It makes the chat unreadable. Consequently and violates the copyright of the owners of those images. Besides no one really likes the stupid around again by many different jerks.
10
Reply Share
11 months ago
They are not App,they are image files..Like when u take a picture and when u get ready to load look at the end of that photo u'll see (jpeg) that is the file format,that is what GIF is to..The file you a little.I am not sure i
8
Reply Share
7 months ago
GIF Animations are made using certain programs. some use adobe photoshop cs5 & 6 and som me use a video screen recorder and some record live feeds and mould them into animated grap youtube or other video sharing sites to make a GIF
3 Prince N Lady
Reply Share
10 months ago
Could someone please update the "What are apps" documentation page to indicate what a "Token Sco appears beside certain apps on the apps page. Some explanation of how the numbers and the colors f be helpful. Am I correct in guessing this score has something to do with how apps become considered apps?
14 1
Reply Share
> Prince N Lady 4 months ago
rubzombie
some explanation would definitely be good, and if token score is some kind of measure of how it be useful to display them in token score order? i have no idea what the current ordering is sup seems to help if the author's name comes first alphabetically (i'm thinking or calling myself aaaz i might even add a few more a's just for good measure :P )
1
Reply Share
Mod > rubzombie 4 months ago
mx2k6
Reply Share
> mx2k6 3 months ago
ok. so is that the number of users, or the number of uses, of an app, because b popularity. (i know the distinction is subtle, but number of uses might be more ap distinguish the good from the bad and the ugly;) and what happens when there's seem to be significant. (when there's a tie, perhaps the most recently used shou the app with the lowest ordered author name.) and i'm still not clear on what the
imho, apps should be ordered by total number of uses, then by total number of u used, then by name, then by author. and for the purposes of date precedence, 'r as 'recently used', although 'use' should otherwise mean 'loaded when a broadcas just loading an app or bot might only be a measure of how unreliable it, or the sy
2 clemy
a year ago
Reply Share
I would like to propose something like an app as being one with the king ... and to add a tip to be my s my lover (and is written in pink)
6
Reply Share
> clemy 9 months ago
fckbarcelona 3
rubzombie (BuildBetterBots)
i'm pretty sure elvis left the building in 1977 - unless you mean in some sort of after life way :P
Reply Share
2/6
26/12/2013
rubzombie (BuildBetterBots)
2 months ago
perhaps i am mistaken, but i am sure i read somewhere that non-functioning app/bots would be remov actually happen ?
i am asking because i am encountering an increasing number of phantom app/bots whose code consist number string or comment statement, combined with a few words of meaningless documentation.
at best, such apps are examples of cyber graffiti. at worst, they represent instances of cyber squatting demonstrable coding ability are claiming app/bot names for themselves.
is there any way, or could one be introduced, of flagging such instances so that they can be deleted an up ?
4
Reply Share
Mod > rubzombie (BuildBetterBots) 19 days ago
cbjustin
I really like this suggestion. It has been added to the pool of features to consider.
Reply Share
A 3
9 months ago
What language is it supposed to be written in? No good giving us a few functions if we don't know how
Reply Share
> A 9 months ago
Megenerous 2
"d'oh!"
Reply Share
mano75 3
a year ago
Reply Share
Mod > mano75 a year ago
Langerz30 3 'Yiiiiihaaaat 2
Just for the shows, currently there is a comp to get 500 tokens if your app is featured.
Reply Share
8 months ago
Bobomb
Broadcasting from a camera on your mobile? The resolutions of front cams are awful (and not a using the back camera isn't really convenient. Furthermore, I don't think there is enough room o the necessary elements. A tablet might be a better idea, but there is still the problem with the c scratch.
Reply Share
mx2k6
They can't do that. Apple would never allow a CB app on their app store, nor would Microsoft or Android, which you can possibly (I haven't tried it) already do since some Android phones suppo
Reply Share
> mx2k6 7 months ago
Eric
As of...I wanna say Jelly Bean, but I feel like ICS was the start, Android officially remove from the store. No tablets are actively running it unless it was installed before this. MSFT they're not as strict as Apple, who will never allow it. Blackberry wouldn't because they're "businesses" (and the playbook sucks anyway). There's just no market for tablet stream compatible to watch/tip, but no one needs to be able to stream from them. It's a waste part to include this. Bobomb also makes a good point, you would look like shit on a front
1
Reply Share
7 months ago
Correct, flash player was discontinued with the launch of the Galaxy Nexus for IC
http://chaturbate.com/apps/docs/index.html 3/6
26/12/2013
still be side loaded on the latest Jelly Bean. Unfortunately, Flash just doesn't work device. So an alternative for non-traditional computing devices would be nice.
If the main purpose is to support variable rate outbound streams then migrating need to be the long term goal. From my quick look at the required software, eve do desktop/mobile/etc streaming though it probably involves a significant redeplo the backend stack.
But in theory, there is nothing being done on Chaturbate that can't be implement experimental features (WebRTC, MediaSource API) and as for the quality of fron devices, yes they have tended to be an after-thought feature but the sensor and quite fast. They might very well provide a better picture than your average webca the next.
1 PsyberMind
11 months ago
Reply Share
How much can be stored in a session, and Are those sessions persistent to users and performers alike track... Performer has X of Y, and Tipper has X of Y?
2
Reply Share
Mod > PsyberMind 11 months ago
TattooKing
All memory is stored in the javascript HEAP, which can grow to around 250MB before the whole being too large. That should give plenty of space to keep arrays of tippers, performers, etc. If y know! You'll get a clear message if your app crashes due to ram.
1 McDobDob
Reply Share
4 days ago
Question: A user buys 100 tokens for $11, then gives those 100 tokens to a performer. How much doe earn? $5?
1
Reply Share
Mod > McDobDob 4 days ago
mx2k6
Correct. $5.
Reply Share
19 days ago
rubzombie (Didn'tStartTheFire)
as reported elsewhere, cb.chatNotice is now breaking if the message contains any \n newline escapes, emoticon shortcuts into graphics. the second problem is unfortunate, but the first needs urgent attentio or from system maintainers) as it breaks any script that relies on newline escapes, which probably inclu ones. it's a shame there's no dedicated 'hot-line' topic in this forum for issues that need urgent attention :(
1
Reply Share
Mod > rubzombie (Didn'tStartTheFire) 19 days ago
asdfghjkl28
@TattooKing @cbjustin please could you check out the problems mentioned in rubzombie's m
Reply Share
Mod > asdfghjkl28 19 days ago
cbjustin
We apologize for the trouble. We have fixed the issues with cb.chatNotice and all apps s again. We will soon be deprecating cb.chatNotice and providing a new method for chat n character support, but will keep the old one around forever for backwards compatibility.
1
Reply Share
Mod > cbjustin 18 days ago
asdfghjkl28
Thanks, exciting news about the improved notice method in the pipeline. Any cha recipients group idea from the ideas page?
Reply Share
Mod > asdfghjkl28 16 days ago
cbjustin
I can't say for sure yet, but I've started an internal discussion about it. I think it of those things that can still be added later on though.
Reply Share
http://chaturbate.com/apps/docs/index.html
4/6
26/12/2013
Lone Quark 1
2 months ago
rubzombie (BuildBetterBots)
well, the lights are on, but nobody's home! meaning that although i was able to access the broa couldn't post any messages into chat or launch a bot or app!
Reply Share
2 months ago
Thanks. Seems like a repeat of the previous situation- which was resolved. I reported th response from support yet .
Reply Share
VeronicaLane 1
4 months ago
mx2k6
You could do this, though the API provides no way to modify the username portion of the mess prepend it to the message or something like that. The "porn name" bot does something like thi how you could achieve that.
Reply Share
> mx2k6 4 months ago
VeronicaLane 1
mx2k6
Just be aware that you cannot change the colour of the username either - foregr message itself can be modified,
That said, the roadmap does have some mention of the possibility that at some something on the left part of the message which would suit your needs, though n feature will happen.
Reply Share
> mx2k6 4 months ago
VeronicaLane
Im not really focued on the left part of the message. Im trying to permanently a the message. to certain users. isthat possible. you guysdont have much teaching this?
Reply Share
Mod > VeronicaLane 4 months ago
Bobomb
It's perfectly doable. On the teaching stuff: the documentation assumes a basic knowledge of program If you feel up to it, I'm sure you can pull it off. Take a look through the bots that will find some that come close to doing what you want. You could use them as in away. Another option is asking if anyone on here wants to do it for you. I'm sure there happy to help out. :-)
1 Prince N Lady
11 months ago
Reply Share
Any possibility of adding a tab option on the testbed app page for quick testing of code instead of havin upload just to experiment with a small block of copy and pasted code? Just getting into exploring this a want to clutter the test bed with yet another test app / test area. Or is this the expected way that we s advise.
1
Reply Share
Mod > Prince N Lady 11 months ago
TattooKing
Thanks for asking before cluttering up the testbed. The intended use is for you to clutter it up t maintenance on the testbed -- it's just a separate instance of the chaturbate code running with tweaked. So, just clutter it up and don't worry about making a mess there. We do want to keep
Reply Share
5/6
http://chaturbate.com/apps/docs/index.html
26/12/2013
tarek tarek 2
8 months ago
TattooKing 2 drogu26
8 days ago
would be nice to make a app to play music or video were everyone can listen too and dont have to use iam thinking three additional buttons play pause and stop for the viewers and some kinda small search the webcaster to operate and choose the music
Reply Share
Mod > drogu26 8 days ago
mx2k6
Unfortunately, this is not something that is possible with the Chaturbate API, which is a server s Javascript has no access to the computer hardware, and the server has no access to your comp
Reply Share
BBJonzzo
19 days ago
mx2k6
Reply Share
next | index
http://chaturbate.com/apps/docs/index.html
6/6