IPB

Welcome Guest ( Log In | Register )

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

5 Pages V  1 2 3 > »   
Reply to this topicStart new topic
> Observe users plugin?, Plugin to keep an eye on users
The-Black-Ninja
post Jan 29 2009, 07:56 PM
Post #1


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



It started off with this plugin:

http://www.stealthbot.net/board/index.php?showtopic=39017

I think I can turn this into so much more. I want to maybe, make a clan management plugin kind of like CRS, but this one logs activities of users. I want to try to make it log the amount of times a user joins, talks, commands used, etc., so it can help clan leaders figure out who is actively seeking an interest in the clan and who wants nothing to do with other members, just bot commands.

Think this is a good idea? Any suggestions?


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Swamp_Demon15
post Jan 29 2009, 08:00 PM
Post #2


Bad Idea?
***

Group: Members
Posts: 263
Joined: 15-October 08
From: Wouldn't you like to know. Pedifile.
Member No.: 42,832



I think it is a really good idea..

I think you could add the Recruit Plug into it also..

Sooo. When some1 joins.. they automatically start on the first CRS level.. Ya know.


I WOULD USE IT


--------------------
~ Swamp_Demon15

IPB Image
I made the Cadillac one, I didn't like the 1 they Had.
And made this one:
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Jan 29 2009, 09:01 PM
Post #3


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



I was thinking this is more like a "who just wants a clan tag beside their name" thing. I'm just wondering if there's anything else people would want this plugin to keep a watch on.


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Be-Eazie
post Jan 30 2009, 12:10 AM
Post #4


Master Of Nothing
***

Group: Beta Testers
Posts: 123
Joined: 1-January 08
Member No.: 32,150



My Clan would take great interest in that if u were to do it.


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Jan 30 2009, 11:19 PM
Post #5


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



I'm also going to be logging which commands users use and how many times total they've used it. This can also can be used in conjunction with the messages sent and time AFK, especially if clans have hostbots connected through their Stealthbot.


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 8 2009, 07:39 PM
Post #6


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



Okay, sorry it took so long. Lots of school work this week and the flu -.- All commands are the same (mosttoday, ct, ctrank <#>, etc.) and were improved, with the addition to this command:
QUOTE
/activity the_black_ninja
[20:29:34.545] the_black_ninja has joined 4 times, has been 13 mins/13 secs AFK out of a total 15 mins/37 secs. Last time spent: 11 mins/37 secs. Cmds used: 2 (5 total uses), Fav. Cmd: time (3 uses)

Is there anything else you were wanting to see?


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Swamp_Demon15
post Feb 8 2009, 07:53 PM
Post #7


Bad Idea?
***

Group: Members
Posts: 263
Joined: 15-October 08
From: Wouldn't you like to know. Pedifile.
Member No.: 42,832



Its OK Ninja.. Wondering why I haven't seen many posts by you... I thank that will be great


--------------------
~ Swamp_Demon15

IPB Image
I made the Cadillac one, I didn't like the 1 they Had.
And made this one:
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 8 2009, 08:06 PM
Post #8


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



Whoops, forgot to add this:
QUOTE
[21:04:31.670] the_black_ninja has joined 6 times, has been 13 mins/13 secs AFK out of a total 15 mins/37 secs. Last time spent: 11 mins/37 secs. Words typed: 5, Messages sent: 3 (Avg. words/msg: 2). Cmds used: 2 (5 total uses), Fav. Cmd: time (3 uses)


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Tanxs
post Feb 15 2009, 04:33 PM
Post #9


I eat BoOgErS!!
**

Group: Beta Testers
Posts: 84
Joined: 6-July 08
From: Sacramento
Member No.: 39,061



QUOTE(The-Black-Ninja @ Jan 29 2009, 05:56 PM) *

It started off with this plugin:

http://www.stealthbot.net/board/index.php?showtopic=39017

I think I can turn this into so much more. I want to maybe, make a clan management plugin kind of like CRS, but this one logs activities of users. I want to try to make it log the amount of times a user joins, talks, commands used, etc., so it can help clan leaders figure out who is actively seeking an interest in the clan and who wants nothing to do with other members, just bot commands.

Think this is a good idea? Any suggestions?


Hey Ninja... Is this script up and running? If so, could I possibly get it? I would love to use this for my Clan.


--------------------
There are three kinds of people in this world. There are those who can count and those who can not count.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 15 2009, 04:41 PM
Post #10


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



Hmm...thought I already posted it somewhere...oh well, here it is:

If there's anything else you would like to see, let me know :)

EDIT: The attached version of this plugin requires you to delete your previous database and start fresh. The reason for this is because of the heavy alterations required for the option to view weekly statistics about your channel, including average commands used and messages sent per time of day (kind of like ClanGnome did when it displayed results on its website).


Attached File(s)
Attached File  chanactChannelActivity.txt ( 54.98k ) Number of downloads: 445


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Tanxs
post Feb 15 2009, 04:43 PM
Post #11


I eat BoOgErS!!
**

Group: Beta Testers
Posts: 84
Joined: 6-July 08
From: Sacramento
Member No.: 39,061



Tyvm Ninja!!! Awesome as usual!!!


--------------------
There are three kinds of people in this world. There are those who can count and those who can not count.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Be-Eazie
post Feb 15 2009, 07:06 PM
Post #12


Master Of Nothing
***

Group: Beta Testers
Posts: 123
Joined: 1-January 08
Member No.: 32,150



Hey Ninja i updated from the last one I had before u added the extra commands, and I'm gettin this error, for the record i did delete all old databases and old plugin and start fresh sad.gif

QUOTE
[8:04:57 PM] UserJoins Call Error On File> C:\Program Files\StealthBot\plugins\chanact.txt
[8:04:57 PM] Error Number: 450 Description: Wrong number of arguments or invalid property assignment


This post has been edited by Be-Eazie: Feb 15 2009, 07:09 PM


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 15 2009, 07:12 PM
Post #13


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



Try now.


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Be-Eazie
post Feb 15 2009, 07:17 PM
Post #14


Master Of Nothing
***

Group: Beta Testers
Posts: 123
Joined: 1-January 08
Member No.: 32,150



Seems to be working now. Look forward to trying it out, will let you know if we think of anything worth adding. Gj as always

This post has been edited by Be-Eazie: Feb 15 2009, 07:24 PM


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Tanxs
post Feb 15 2009, 09:34 PM
Post #15


I eat BoOgErS!!
**

Group: Beta Testers
Posts: 84
Joined: 6-July 08
From: Sacramento
Member No.: 39,061



I got no error from her first post of the code.. And its wonderful!! An absolute must have I think.


--------------------
There are three kinds of people in this world. There are those who can count and those who can not count.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 15 2009, 09:38 PM
Post #16


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



QUOTE(Tanxs @ Feb 15 2009, 10:34 PM) *
I got no error from her first post of the code.. And its wonderful!! An absolute must have I think.
That's cause you have the Beta and the original post had beta arguments in there tongue.gif

I'm pretty sure I can still take this further, I just don't know how yet...but I'm glad to hear it's working like it should! biggrin.gif


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Style
post Feb 16 2009, 07:42 AM
Post #17


Jr. Member
**

Group: Members
Posts: 89
Joined: 6-April 08
From: Germany
Member No.: 35,572



can you impletment something like the seen script?
so you can see when a user was in the channel for the last time and not only how long
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 16 2009, 11:20 AM
Post #18


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



Yup! It's already being recorded, however it's not being displayed, so this is an easy addition. Would you like it as a separate command? If it's a separate command, I could tack on some more information regarding that last seen stuff because there's no real output going on.


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Tanxs
post Feb 16 2009, 01:23 PM
Post #19


I eat BoOgErS!!
**

Group: Beta Testers
Posts: 84
Joined: 6-July 08
From: Sacramento
Member No.: 39,061



QUOTE(The-Black-Ninja @ Feb 16 2009, 09:20 AM) *

Yup! It's already being recorded, however it's not being displayed, so this is an easy addition. Would you like it as a separate command? If it's a separate command, I could tack on some more information regarding that last seen stuff because there's no real output going on.


Yes I would. Iv been playing around with this since you gave it to me!!! Its wonderful. I was wondering something myself too... Could it also be used like the !afk script? Possibly... allow users to set them selves as AFK with a little quick note... That would be very nice!!!


--------------------
There are three kinds of people in this world. There are those who can count and those who can not count.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Style
post Feb 16 2009, 02:07 PM
Post #20


Jr. Member
**

Group: Members
Posts: 89
Joined: 6-April 08
From: Germany
Member No.: 35,572



something like

.lastseen <user>
-> User was last seen leaving this channel 4 hours and 7 minutes ago. he stayed here for 4min and 3sec.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Be-Eazie
post Feb 16 2009, 03:45 PM
Post #21


Master Of Nothing
***

Group: Beta Testers
Posts: 123
Joined: 1-January 08
Member No.: 32,150



Im wondering if the counters are all workin correctly, Im pretty sure im getting some wrong outputs.

QUOTE

[4:39:17 PM] <iWIN.Nimbus> ganjen has joined 2 times, has been 3 hrs/12 mins/31 secs AFK out of a total 9 mins/30 secs. Last time spent: 9 mins/30 secs. Words typed: 423, Messages sent: 102 (Avg. words/msg: 4). Cmds used: 3 (4 total uses), Fav. Cmd: claninfo (2 uses)


is that possible 3hrs afk out of 9mins>?

This post has been edited by Be-Eazie: Feb 16 2009, 03:45 PM


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 16 2009, 03:55 PM
Post #22


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



No, that's no possible, but it happens when the plugin first started up and the user was already in the channel at the time. Meaning that it wasn't able to record that user's afk time from 0 because they were already in the channel. You can counter-act this by simply going into the user_stats database and set their afk and total time spent to 0. I'll make a command for this next update.


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Tanxs
post Feb 16 2009, 04:06 PM
Post #23


I eat BoOgErS!!
**

Group: Beta Testers
Posts: 84
Joined: 6-July 08
From: Sacramento
Member No.: 39,061



QUOTE(The-Black-Ninja @ Feb 16 2009, 01:55 PM) *

No, that's no possible, but it happens when the plugin first started up and the user was already in the channel at the time. Meaning that it wasn't able to record that user's afk time from 0 because they were already in the channel. You can counter-act this by simply going into the user_stats database and set their afk and total time spent to 0. I'll make a command for this next update.


Lol.. I had already edited that myself Ninja. Same thing was happening to me, I had 8 users afk, they all read the same thing. Good stuff ;-)


--------------------
There are three kinds of people in this world. There are those who can count and those who can not count.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 16 2009, 08:17 PM
Post #24


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



Nevermind, I found why it's going negative; it's an issue with the GetGTC. GetGTC is the current system uptime in seconds, however, my system uptime is currently 25 days and the return for that is this:
CODE
[21:18:50.193] System uptime 25 days, 0 hours, 7 minutes and 30 seconds, connection uptime 0 days, 0 hours, 3 minutes and 11 seconds.

/exec addchat vbGreen, GetGTC

[21:18:51.021] -2134516562
Trying to figure out another way. I know I can always record the timestamp at login, but I liked the precision of GetGTC.


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Tanxs
post Feb 16 2009, 09:07 PM
Post #25


I eat BoOgErS!!
**

Group: Beta Testers
Posts: 84
Joined: 6-July 08
From: Sacramento
Member No.: 39,061



Oh thats no good!!! I haven't noticed, but is it change back edited corrections within the DB?


--------------------
There are three kinds of people in this world. There are those who can count and those who can not count.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
MusicDemon
post Feb 17 2009, 09:45 AM
Post #26


Troll Leader
*****

Group: Members
Posts: 880
Joined: 24-April 08
From: The Netherlands
Member No.: 36,321



Error:

QUOTE

[14:02:18] <MusicDemon.> -.-'
[14:02:18] UserTalk Call Error On File> C:\Program Files\StealthBot\MusicDemon[WCN]@Northrend\plugins\chanact.plug
[14:02:18] Error Number: -2147217900 Description: [Microsoft][ODBC Microsoft Access-stuurprogramma] Syntaxisfout in tekenreeks. in query-expressie `user` = 'MusicDemon.' AND `name` = '.-''.


Which means: Syntaxerror in .... in query expresion `user` = 'MusicDemon.' AND `name` = '.-''

EDIT:

QUOTE

[16:44:00] <Turpin> itt
[16:44:00] <MusicDemon[WCN]> Turpin is not on record yet.
[16:44:00] <Turpin[Obs]> Turpin has spent 0 Years, 0 Days, 1 Hours, 33 Minutes, and 37 Seconds in the channel.


Turpin[Obs] has NO trigger.


--------------------
Warden help needed? Click me! It are screenshots with explanation.
Administrator @ MusicDemon Productions
Moderator @ PingGnome's
Moderator @ PvPGN
StealthBot Wiki
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Turpin
post Feb 17 2009, 10:07 AM
Post #27


Deeper darkness
**

Group: Members
Posts: 53
Joined: 6-January 09
From: somewhere near a tree
Member No.: 45,255



i can confirm what music allready said above, i also found out, the script takes everything as a trigger

QUOTE
[17:03:29] <Turpin> whoami
[17:03:29] <Turpin[Obs]> You have 999 access.
[17:03:32] <Turpin> *whoami
[17:03:32] <MusicDemon[WCN]> You have 100 access.
[17:03:46] <Turpin> ?trigger
[17:03:46] <Turpin[Obs]> The bot's current trigger is " - " (Alt + 045)
[17:03:46] <MusicDemon[WCN]> The bot's current trigger is " * " (Alt + 042)
[17:03:46] <To Turpin> The current trigger is: "" (0 characters)
[17:03:54] <Turpin>
[17:04:01] <Turpin> activity
[17:04:01] <Turpin[Obs]> Turpin has joined 2 times, has been 16 mins/23 secs AFK out of a total 1 hrs/33 mins/37 secs. Last time spent: 17 mins/46 secs. Words typed: 3, Messages sent: 3 (Avg. words/msg: 1). Cmds used: 480 (1391 [more]
[17:04:01] <Turpin[Obs]> total uses), Fav. Cmd: (67 uses)
[17:04:23] <Turpin> gactivity
[17:04:23] <Turpin[Obs]> Turpin has joined 2 times, has been 16 mins/23 secs AFK out of a total 1 hrs/33 mins/37 secs. Last time spent: 17 mins/46 secs. Words typed: 3, Messages sent: 3 (Avg. words/msg: 1). Cmds used: 480 (1392 [more]
[17:04:23] <MusicDemon[WCN]> Not enough information on Turpin to perform analysis.
[17:04:24] <Turpin[Obs]> total uses), Fav. Cmd: (67 uses)
[17:04:35] <Turpin> OTT
[17:04:35] <Turpin[Obs]> Turpin has spent 0 Years, 0 Days, 1 Hours, 33 Minutes, and 37 Seconds in the channel.
[17:04:35] <MusicDemon[WCN]> Turpin is not on record yet.
[17:04:41] <Turpin> FLT
[17:04:41] <Turpin[Obs]> Turpin's last time spent in channel session was: 0 Years, 0 Days, 0 Hours, 17 Minutes, and 46 Seconds.
[17:04:41] <MusicDemon[WCN]> Turpin is not on record yet.
as you can see, my bot has no trigger and -, musics has * but they both react on everything, only one character long tho.


--------------------
I'm not a racist, I'm just afraid of the dark
i'm only wearing black until they make something darker.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 17 2009, 10:42 AM
Post #28


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



Already aware of this, but thanks anyway. I think what I'll have to do is just base their time spent and stuff with a timestamp and do a DateDiff on it. That should fix everything up, the trigger thing is easy enough to fix. I've got a test on Friday, so I may not get much done on this until the weekend.


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
MusicDemon
post Feb 17 2009, 01:09 PM
Post #29


Troll Leader
*****

Group: Members
Posts: 880
Joined: 24-April 08
From: The Netherlands
Member No.: 36,321



NP, thanks anyway, TBN.

GL with fixing.


--------------------
Warden help needed? Click me! It are screenshots with explanation.
Administrator @ MusicDemon Productions
Moderator @ PingGnome's
Moderator @ PvPGN
StealthBot Wiki
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 17 2009, 04:31 PM
Post #30


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



You guys are lucky I like to help my requesters out tongue.gif I've transferred the GetGTC stuff to a Now() function. I'll try to find some time tonight to work on it more.


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

5 Pages V  1 2 3 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 9th December 2019 - 09:24 AM
Skin by Andrea
Website Legal Information | Hosted by LunarPages