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 - serfma

Pages: [1]
1
Custom Notifications / Re: Top 2 Emotes for chat
« on: June 16, 2015, 04:55:05 AM »
Hey guys, how's it going?

I've been working on something that I think some of you will enjoy. What does this code do? Well ladies and gents all it simply does is count the amount of times an emote has been used and then display it on screen. Nothing more, nothing less. The code is based on an awesome chrome plugin called Kappa-Per-Minute which basically provide the skeleton for it. I've modified it to account for the whole stream. Bit quirky but it gets the job done. The index page is basically the OBS chat which is hosted online, with 2 additions in the form of "data-timestamp" and "data-message" on each message. These prevent a message from being checked again. (I can make it more efficient, I don't think I NEED the timestamp for example but I can always do that later).

The font I have chosen to use is Caviar Dreams which I honestly love to bits but obviously you can change the font used in the CSS if you want. Anyway, enough blabbing on, you want the code. You can find the files attached. Oh, and have some screenshots

No Emotes


With Emotes


Edit: Changed the code slightly.
Edit2: Want the files? Here they are https://dl.dropboxusercontent.com/u/6646300/deepbot-Chat.zip

With the update today, this no longer works. :/ If you could update this for the latest update that would be absolutely fantastic as the default chat is a mess.

2
Yeah I don't know CSS that well at all but I'm pretty sure setting background-color for "html" isn't supposed to do this:

With background-color set: http://i.imgur.com/8c2WbOp.png
Without background-color set: http://i.imgur.com/eNyFPLn.png

I did set a background color for #chat_container, #chat_box and .chat_line.

3
Wow I completely forgot all about global sources...thanks. However, that doesn't fix my issue with the chat not completely filling the dimensions of the box.

As you can tell from here: http://i.imgur.com/9qpDffD.png it does not fully fill up the CLR browser width/height of 500x150. The background image is 500x150, too. My CSS is:
Code: [Select]
::-webkit-scrollbar {
    visibility: hidden;
}
html {

}
BODY {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    background-image: url(http://i.imgur.com/XC7XvWt.png);
    background-repeat: no-repeat;
}
.nick {
    font-weight: bold;
    text-transform: capitalize;
    text-shadow: 1px 1px 0 #000;
}

.turbo {
    background-color: #6441a5;
    background-image: url(http://chat-badges.s3.amazonaws.com/turbo.png);
}

.moderator {
    background-color: #009900;
    background-image: url(http://chat-badges.s3.amazonaws.com/mod.png);
}

.broadcaster {
    background-color: #000000;
    background-image: url(http://chat-badges.s3.amazonaws.com/broadcaster.png);
}

.staff {

    background-image: url(http://chat-badges.s3.amazonaws.com/staff.png);
}

.admin {

    background-image: url(http://chat-badges.s3.amazonaws.com/admin.png);
}
.creator {

    background-image: url(http://deepbot.deep.sg/images/obschat/creator.png);
}
.vipbronze {

    background-image: url(http://deepbot.deep.sg/images/obschat/vipbronze.png);
}
.vipsilver {

    background-image: url(http://deepbot.deep.sg/images/obschat/vipsilver.png);
}
.vipgold {

    background-image: url(http://deepbot.deep.sg/images/obschat/vipgold.png);
}
.chat_line {
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    line-height: 16px;
    word-wrap: break-word;
    color: #FFF;
}
#chat_box {
   
}
#chat_container {
    border-radius: 0px;
    background-color: rgba(0,0,0,0.0);
    padding: 0px;
   
}

4
I'm wanting to fill the entire 500x150 CLR browser box with the chat so that I can quickly and easily align chat up with a background image I have on-screen for chat. Is there any way of doing this? It seems to not fill the box completely requiring a resize of the box every time for every scene. Any help? :)

5
Where did you hear about DeepBot from?
Heard about it from a streamer named Kaybaycat.

Your stream name?
Serfma.

Twitch bot account name?(This needs to be a valid twitch account, other than your streamer account you own that the bot will connect to)
SerfBot

Your streaming schedule? [Days/Approximate time]
Monday/Wednesday/Friday - Sunday

Is your stream partnered with Twitch?
No.

Average number of users on your channel?
 5 - 15.

Do you need to migrate an existing points system over to DeepBot? If yes, please specify which Bot you are currently using.
No.

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

Pages: [1]