It is currently March 22nd, 2019, 6:34 am


All times are UTC




Post new topic Reply to topic  [ 146 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: May 26th, 2012, 12:51 am 
User avatar

Joined: May 24th, 2011, 1:37 am
Posts: 329
Location: Sealand
Any chance Dankirk could check for messages that are in all (or mostly) caps? Then it could spit out a warning telling them to turn off caps lock and whatnot. This seems doable with regular expressions, but then again I haven't done a ton with them myself.

_________________
<CMB> KingCrab72: Some mixture and contrast would be nice tbh Ollie
<Ollieboy> Some mixture and contrast of your face on my penis would also be nice


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: May 26th, 2012, 8:19 am 
SupOP
User avatar

Joined: May 24th, 2011, 1:38 am
Posts: 49
Alright, there's now a "no caps" reply.
For now, it'll be triggered when 2 messages from a player are all caps and within 4min timeframe of each other. Messages must be over 2 characters long and Op+ can't trigger it for essential hypocrisy :P.

_________________
<+FBB2_> Thimerit: There is actually a real dankirk? lol

<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: May 26th, 2012, 8:27 am 
Trustee
User avatar

Joined: May 24th, 2011, 1:40 pm
Posts: 1766
Location: Leiden, Zuid Holland
Meh, make it three

_________________
Ferrisbuler2: i will stay but i might not post cus of ollieboy


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: May 26th, 2012, 4:54 pm 
User avatar

Joined: May 24th, 2011, 1:37 am
Posts: 329
Location: Sealand
Dankirk wrote:
Alright, there's now a "no caps" reply.
For now, it'll be triggered when 2 messages from a player are all caps and within 4min timeframe of each other. Messages must be over 2 characters long and Op+ can't trigger it for essential hypocrisy :P.

Awesome, that was super quick and this seems like it'll be useful. Thanks!

Just wanted to report one odd thing that happened a moment ago:
Code:
<FCB2> MineCraftdonalds: 1-1-0
<Dankirk> MineCraftdonalds, Please turn off caps.

_________________
<CMB> KingCrab72: Some mixture and contrast would be nice tbh Ollie
<Ollieboy> Some mixture and contrast of your face on my penis would also be nice


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: May 27th, 2012, 1:35 am 
OP
User avatar

Joined: February 9th, 2012, 2:09 pm
Posts: 151
OK there are a couple bugs happening.

First:

Promotions are not recording on !promoratio's. i have a couple people that agree.

Second:

The cooldown timer for caps i believe is non-existent, I'm not sure if its supposed to but.

i was supposed to have 25 or so promo's not 14! D:<

_________________
<+FCB>Arvarna: i think your banhammer needs a downgrade


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: May 27th, 2012, 9:45 am 
Trustee
User avatar

Joined: May 23rd, 2011, 3:13 am
Posts: 2342
Location: Australia
Can it be so that the NO CAPS response is perhaps stopped when a player says 3 or so non-caps messages?

e.g.

HEY GUYS!
How are you all?
.
.
.
(3 minutes and 59 seconds later)
OMG!
Dankirk: player, please turn off caps.

EDIT: Also I just saw the caps message get triggered by a player talking in numbers. Saying 4829 to get the attention of the player 48291634 twice.

_________________
<TKB> Hit_Girl: zombies don't hurt
<TKB> Hit_Girl: weird.
<TKB> Hit_Girl was slain by Zombie


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: May 27th, 2012, 10:39 am 
SupOP
User avatar

Joined: November 4th, 2011, 6:08 pm
Posts: 365
Location: Amsterdam, The Netherlands
I think numbers are seen as uppercase against this:
OMG FUCKING HELL MY MOTHER ASKED MY SISTER 2 HAVE A RELATIONSHIP WITH A FLOWER.
If the 2 wasn't seen as uppercase, this wouldn't trigger it :3

_________________
3 stages of sex life in a person's lifetime: Tri-weekly, try weekly, try weakly

<PyroPyro> afk touching my self while looking at the monies


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: May 27th, 2012, 12:27 pm 
Trustee
User avatar

Joined: May 23rd, 2011, 3:13 am
Posts: 2342
Location: Australia
Yeah fair enough, I guess there is no practical way around it. Either way the cooldown for time AND non-capital letter sentences would be pretty cool.

_________________
<TKB> Hit_Girl: zombies don't hurt
<TKB> Hit_Girl: weird.
<TKB> Hit_Girl was slain by Zombie


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: May 27th, 2012, 1:43 pm 
Trustee
User avatar

Joined: October 31st, 2011, 1:36 am
Posts: 54
Location: US
Ollieboy wrote:
Yeah fair enough, I guess there is no practical way around it. Either way the cooldown for time AND non-capital letter sentences would be pretty cool.


Actually, think there should be a reasonable way to do it. Just throwing in a check for messages that are all non alphabetical characters before anything else in this check for all caps case should be fairly simple. An example would be something like,

Message a = "abedkeDFJKJEIRJ0495845845;'',.;'[]-=0|";
Message b = "0495845845;'',.;'[]-=0|";

Using regular expressions check for alphabetic characters
a = replaceAll(("[^A-Za-z]", "");
b = replaceAll("[^A-Za-z]", "");

Then just check the length of them next
a.length();
b.length();

(At least above is how I would consider doing it in Java, because the above is just Java code snippets. Well at least for the mist part.)

"a" would return a result of 15 but "b" would return a result of 0, therefore a 0 returned result means that the message only contains non-alphabetic characters and could be easily tested for and thrown out accordingly. I'm sure Dankirk will be able to throw something together no problem :D

And a cooldown does sound like a pretty sweet idea. Also great work with the bot Dankirk.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: May 27th, 2012, 3:10 pm 
SupOP
User avatar

Joined: May 24th, 2011, 1:38 am
Posts: 49
Alright, sry for slow response and fix, had drinking party yesterday.

NO CAPS changes:
- the sentence must be atleast 3 characters
- the sentence must contain an alphabet character A-Z
- timer reset when player sends non caps message OR 3 "no caps" messages is sent by bot
- timer starts with 150sec and resets to 120sec when bot says a "no caps" message


The promo thingy:
This was fixed sometime earlier. It also affected all other stats (kicks,bans,demotes) for Ops. Should work now. This happened due to experimental (now working) support for playernames with spaces. (which can be done with command /setinfo).

For the lost stats I can unfortunately do nothing.

_________________
<+FBB2_> Thimerit: There is actually a real dankirk? lol

<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: May 27th, 2012, 6:01 pm 
OP
User avatar

Joined: February 9th, 2012, 2:09 pm
Posts: 151
Dankirk wrote:
For the lost stats I can unfortunately do nothing.


Thats ok! thanks!

_________________
<+FCB>Arvarna: i think your banhammer needs a downgrade


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: May 28th, 2012, 1:09 am 
Trustee
User avatar

Joined: May 23rd, 2011, 3:13 am
Posts: 2342
Location: Australia
Dankirk wrote:
had drinking party yesterday.


The best kind of party!

_________________
<TKB> Hit_Girl: zombies don't hurt
<TKB> Hit_Girl: weird.
<TKB> Hit_Girl was slain by Zombie


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: May 30th, 2012, 8:19 pm 
SupOP
User avatar

Joined: May 24th, 2011, 1:38 am
Posts: 49
There's now some exceptions for NO CAPS, like "help" and "griefer".

!english now supports partial player names.

_________________
<+FBB2_> Thimerit: There is actually a real dankirk? lol

<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 8th, 2012, 8:32 am 

Joined: August 21st, 2011, 6:31 am
Posts: 280
Location: United Kingdom
Can Dankirk check who is online?
Player connects -> add to list
Player quits -> remove from list

That way, if someone gets promoted and they're offline, Dankirk won't say congrats to them?

_________________
You cannot use certain BBCodes: [img].


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 8th, 2012, 8:42 am 
User avatar

Joined: May 24th, 2011, 6:31 am
Posts: 237
Location: Australia
Jonty800 wrote:
Can Dankirk check who is online?
Player connects -> add to list
Player quits -> remove from list

That way, if someone gets promoted and they're offline, Dankirk won't say congrats to them?


And then .players for freebuild!

_________________
This post makes my post count increase by one!


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 9th, 2012, 11:30 am 
SupOP
User avatar

Joined: May 24th, 2011, 1:38 am
Posts: 49
Xesdra wrote:
Jonty800 wrote:
Can Dankirk check who is online?
Player connects -> add to list
Player quits -> remove from list

That way, if someone gets promoted and they're offline, Dankirk won't say congrats to them?


And then .players for freebuild!


Done.
This feature has been requested earlier, but was problematic to implement since there was no quit message when player used /hide. Works alright now though.
The .players (or !players) is available for voiced and opped people on irc. It tells the player names too if theres 7 or fewer players online. Hidden people aren't shown or counted.

_________________
<+FBB2_> Thimerit: There is actually a real dankirk? lol

<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 11th, 2012, 8:23 pm 
Trustee
User avatar

Joined: July 26th, 2011, 11:34 pm
Posts: 289
Quote:
<+Dankirk> Masons and higher can get their own maps.

That's incorrect. Afaik the only way to get personal worlds is donating.

_________________
The man in black fled across the desert, and the gunslinger followed.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 15th, 2012, 8:28 am 
SupOP
User avatar

Joined: May 24th, 2011, 1:38 am
Posts: 49
Fixed,
also made color names match the in game (or fCraft) colors instead of IRC ones.
light grey -> silver
orange -> olive
pink -> magenta
light green -> lime
light cyan -> aqua
dark red -> maroon

_________________
<+FBB2_> Thimerit: There is actually a real dankirk? lol

<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 15th, 2012, 7:38 pm 
OP

Joined: May 25th, 2011, 1:03 am
Posts: 9
!players is giving us wrong numbers, right now its 10 more than it actually is. So I thought, would hiding silently mess the counting up? If there is 30 players, and you /hide silent, and then /unhide, will it show 31?

Maybe make it so if it sees the same name again it will remove one? I'm guessing that this is the reason that we are getting wrong numbers, maybe it is something else though. 30 players, Mc_MrCat uses /hide silent, and then /unhide, and since Mc_MrCat is already on the list once, it doesn't add another one.

Just a guess, idk the coding that it uses.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 16th, 2012, 8:11 am 
SupOP
User avatar

Joined: May 24th, 2011, 1:38 am
Posts: 49
Name can only have 1 instance on the online list.

What seems to mess up is that if you /hide silent, and then leave the server, the nickname will remain on the list until you come back, unhide, and then leave or /hide normally.

I might need to disable !players again.

_________________
<+FBB2_> Thimerit: There is actually a real dankirk? lol

<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 18th, 2012, 7:04 am 
Trustee
User avatar

Joined: May 24th, 2011, 5:51 am
Posts: 1148
Or, make it so that if you havent seen a player for 15+ mins, it will not register you. Until you do any action again.

_________________
McLaughlinKid wrote:
You put roar on everything don't you?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 18th, 2012, 8:06 am 
User avatar

Joined: May 24th, 2011, 6:31 am
Posts: 237
Location: Australia
Intertoothh wrote:
Or, make it so that if you havent seen a player for 15+ mins, it will not register you. Until you do any action again.


But then people who don't talk will get knocked off the list :/

_________________
This post makes my post count increase by one!


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 18th, 2012, 12:41 pm 
Trustee
User avatar

Joined: May 24th, 2011, 5:51 am
Posts: 1148
Xesdra wrote:
Intertoothh wrote:
Or, make it so that if you havent seen a player for 15+ mins, it will not register you. Until you do any action again.


But then people who don't talk will get knocked off the list :/


Only vet & op+
Others cant hide, so you dont need a timer for them.

Its better then no list at all, i dont mind if its not 100% acurate, i just wanna know the guest/mod ratio :)
Moderators that arent active moderating get nocked off then, perfect!

_________________
McLaughlinKid wrote:
You put roar on everything don't you?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 20th, 2012, 10:45 pm 
SupOP
User avatar

Joined: May 24th, 2011, 1:38 am
Posts: 49
I'll get to the !players problem after midsummer. Coming back next monday.

- Added !mute to the config website (in case all else fails = No IRC ops and rank settings fucked)
- Lowered general spam protection to 1 second. (was 2 earlier)
- Added support for /BanX (a command on 800craft servers), it's now properly recognized just like normal /ban (this was also part of !players problem).
- !players list is now reset when serverbot(s) join/part the channel

_________________
<+FBB2_> Thimerit: There is actually a real dankirk? lol

<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 21st, 2012, 9:28 pm 

Joined: April 18th, 2012, 7:11 pm
Posts: 1
You should add: How do I teleport to someone?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 21st, 2012, 11:25 pm 
Trustee
User avatar

Joined: July 26th, 2011, 11:34 pm
Posts: 289
guests aren't able to teleport.
Thus an autoresponse to that question would probably cause more confusion than it guards against.

_________________
The man in black fled across the desert, and the gunslinger followed.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 24th, 2012, 8:41 pm 
SupOP
User avatar

Joined: May 24th, 2011, 3:44 am
Posts: 294
Can we get the pokemon theme in like MLP?
I enjoy it very much.

_________________
Aleries: What OS is your server running on?
FierceReacter: 5


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: June 27th, 2012, 8:45 pm 
SupOP
User avatar

Joined: May 24th, 2011, 1:38 am
Posts: 49
- Added Pokemon theme
* "MLP theme" setting on website changed to "Sing-along Themes (MLP, Pokemon)"
* This change makes it easier to add more themesongs in the future. Possibly even via the website
- Added some 40+ jokes
- Fixed !allow
- Added !bans alias for "any bans needed". It kinda has !command characteristics, so there.
- Minor message changes for Fun Facts when "player joined/left" messages are disabled from fCraft settings.

EDIT:
- Rewrote !players
* Now tells the number of visible operators in addition to players on the server
* Players that can /hide silent get removed from the list after 1,5h of silence. (The actual rank can be configured via website)

_________________
<+FBB2_> Thimerit: There is actually a real dankirk? lol

<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: July 7th, 2012, 9:23 am 

Joined: August 21st, 2011, 6:31 am
Posts: 280
Location: United Kingdom
Bug: Players are online, but not counted.

<Dankirk> 4 players online: alexmagdo dorycoral mantisman464 Rebelliousdesu ( 1 visible moderators )
<ServerBot> wabeukers: and me

_________________
You cannot use certain BBCodes: [img].


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dankirk the Autoreply Bot (info & suggestions)
PostPosted: July 11th, 2012, 3:13 am 
SupOP
User avatar

Joined: May 24th, 2011, 1:38 am
Posts: 49
- Players are properly re-added to online list if they speak after the 1,5h of silence.

_________________
<+FBB2_> Thimerit: There is actually a real dankirk? lol

<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 146 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net