Dynamic banner

Avatar

By duecior 7 Feb 2017 21:21

Member · 4 comments

Hi, when i'm trying to change color of font like "CDCDCD" doesnt work. https://www.colorcodehex.com/cdcdcd/

Any help?

Avatar

By Scrumplex 7 Feb 2017 21:34

Admin · 2,147,483,647 comments

As far as I know the color setting with the dynamic banner is a littlebit complicated.

I think for #CDCDCD you have to put: 13487565
in.

But I am not sure.


The Developer of the Sprummlbot and the Admin of this forum.

Avatar

By Scrumplex 7 Feb 2017 21:39

Admin · 2,147,483,647 comments

It turns out to be true.
You can use this neat converter for your colors. Sorry for the poor implementation of colors.
https://www.shodor.org/stella2java/rgbint.html
Or this one (without #)
http://www.binaryhexconverter.com/hex-t … -converter


The Developer of the Sprummlbot and the Admin of this forum.

Avatar

By duecior 8 Feb 2017 09:24

Member · 4 comments

Thanks, now is working.

Avatar

By duecior 9 Feb 2017 22:02

Member · 4 comments

Hi, its me again with similar problem. Bot is working good but sometimes  banner doesnt work, just loading over and over. I dont have any errors in logs. I'm using a ipsconfig and this is my iptables:

# Generated by iptables-save v1.4.21 on Wed Feb  8 16:05:20 2017
*filter
:INPUT ACCEPT [331579879:48765675461]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [586669980:89540631359]
:fail2ban-dovecot-pop3imap - [0:0]
:fail2ban-postfix-sasl - [0:0]
:fail2ban-pureftpd - [0:0]
:fail2ban-ssh - [0:0]
-A INPUT -p tcp -m multiport --dports 25 -j fail2ban-postfix-sasl
-A INPUT -p tcp -m multiport --dports 110,995,143,993 -j fail2ban-dovecot-pop3imap
-A INPUT -p tcp -m multiport --dports 21 -j fail2ban-pureftpd
-A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh
-A fail2ban-dovecot-pop3imap -j RETURN
-A fail2ban-postfix-sasl -j RETURN
-A fail2ban-pureftpd -j RETURN
-A fail2ban-ssh -j RETURN
COMMIT
# Completed on Wed Feb  8 16:05:20 2017