BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: dragonjr on January 26, 2011, 06:16:20 pm

Title: !online comand?
Post by: dragonjr on January 26, 2011, 06:16:20 pm
its not showing everyone that is online i click the guild tab it shows 10 i do !online it shows 5 and they are all there and they are members what is causeing thins ive restarted the bot 3 times and it still doesnt help the matter
any  help on this would be great thanks guys for all the help yet again
Title: Re: !online comand?
Post by: Getrix on January 26, 2011, 06:57:11 pm
Could be more reason for this.

1: When someone logout, they are instantly tagged as offline by bot. Then some min after they are first shown as "Offline" in GuildTab and you get a "Nick logged off."
2: Do a "!rosterupdate" to make sure everyone is added to buddylist
3: You dont have autoadduser On. If you have, make sure they are added to bot by "!member add Nick" and then check "!whois Nick" if they have status "Member"
Title: Re: !online comand?
Post by: Zweiblum on January 26, 2011, 08:18:57 pm
maybe they are not on the notifylist ?
Title: Re: !online comand?
Post by: dragonjr on January 26, 2011, 08:35:19 pm
notify list ?

Title: Re: !online comand?
Post by: Getrix on January 26, 2011, 09:44:55 pm
My point #3
Quote
3: You dont have autoadduser On. If you have, make sure they are added to bot by "!member add Nick" and then check "!whois Nick" if they have status "Member"

Make sure they are added to bot, if they are and still arent on the list run !rosterupdate
And make sure you are under the 1000 member limit AoC has on one chars buddylist..
Title: Re: !online comand?
Post by: dragonjr on January 26, 2011, 11:50:48 pm
theres a limit to how many people you can have how do i change this or fix it? ive dont the rostupdate and checked all that but im at 1050 for guildies
just did a members list and got 1150
Title: Re: !online comand?
Post by: SudL on January 27, 2011, 05:59:29 am
in aoc the logout time from the game-server are ~5 mins,
from the irc chat-server are  immediately.
the bot are only on the irc server, he can not see how long the char is on the game server online.
your bodylist are showing the game-server online status.
the buddylist of the bot schowing the irc chat-server online status he looking at.

sry my bad english  ;D
Title: Re: !online comand?
Post by: Yite on January 27, 2011, 09:21:38 am
notify list ?
When they log on does the bot announce they log on? If not they are not on the notify list (the bots friends list) and the bot doesn't know about their presence.

Another way to check is when you see a user online in the guild list but not on the !online is to type: !notify on name_of_member
Title: Re: !online comand?
Post by: dragonjr on January 28, 2011, 01:35:54 am
ok i tried that !notify on  name didnt work
!rosterupdate didn't work 
so any other ideas that i can try it show 28 out of 37  people
Title: Re: !online comand?
Post by: Zeephonz on January 28, 2011, 03:04:15 am
Really silly thought, but have the members not shown in !online actually typed anything in guild chat?

I've seen members join an AoC guild, but the bot won't actually pick them up, show them in the !online or put !notify on for them until they've actually said something in gc.
Title: Re: !online comand?
Post by: Yite on January 28, 2011, 09:34:42 am
Have you tried !member add name? As Zeephonz said they might not be a member of the bot yet.
Title: Re: !online comand?
Post by: dragonjr on January 28, 2011, 01:56:49 pm
yes on both those and one time it aas one of my own toons that did not show up
Title: Re: !online comand?
Post by: Kentarii on January 28, 2011, 05:16:24 pm
It's like the others have said, you have more than 1000 members in your memberlist.
Those who are not in your buddylist will not show on the !online list.

Try typing: !member
and paste the result here.

I've written a module for my bebot to help tidy the member list etc.. guess I could post it if there's any interest.
It picks up guild affiliation from YG for each member.

Just to show an example
Code: [Select]
[17:12] To [Belabot]: !member
[17:12] [Belabot]: 643 members in Belabot :: click to view
[17:12] To [Belabot]: !useradmin
[17:12] [Belabot]: [-UserAdmin-] :: Members: 643/2284 :: Buddies: 643/643 :: Whois: 643/645 :: Show
[17:12] [Belabot]: [-UserAdmin-] :: Members of Belabot: 643 :: Members of Ragnarok: 510 :: Members with unknown guild affiliation: 130 :: Members of other guilds: 3 :: Show

If !member shows a number below 1000, you can simply run the two following commands to fix things:
Code: [Select]
!buddylist clear
!rosterupdate
Each command will probably take 15-20 minutes since each entry takes 1 second to process.
Title: Re: !online comand?
Post by: dragonjr on January 28, 2011, 05:29:56 pm
1060 members in Dragonfire :: click to view
[Dragonfire]: 1001 buddies in Dragonfire's buddylist :: click to view (page 1 of 3)
[Dragonfire]: 1001 buddies in Dragonfire's buddylist :: click to view (page 2 of 3)
[Dragonfire]: 1001 buddies in Dragonfire's buddylist :: click to view (page 3 of 3)

Title: Re: !online comand?
Post by: Kentarii on January 28, 2011, 09:40:39 pm
There you have it, start deleting some of the old members.
Title: Re: !online comand?
Post by: dragonjr on January 29, 2011, 05:47:21 pm
ok thank you for all the help
Title: Re: !online comand?
Post by: Kentarii on January 30, 2011, 12:48:41 am
Just posted my UserAdmin module, perhaps it will help you clean up your bot's member base.
http://bebot.link/aoc-0-6-x-customunofficial-modules/useradmin-module-for-bebot/
Title: Re: !online comand?
Post by: dragonjr on January 30, 2011, 06:15:53 pm
i just saw a buddlylist clear will that effect anything else on the mmeber part for like there alts and info that they ahve put in ?
Title: Re: !online comand?
Post by: dragonjr on January 30, 2011, 06:30:58 pm
i was looking at the buddy list adn saw this
Code: [Select]
-1 (ID: 17532779)
-1 (ID: 17532924)
-1 (ID: 17532669)
-1 (ID: 17532440)
-1 (ID: 17531919)
-1 (ID: 17532980)
-1 (ID: 17533028)
-1 (ID: 33576294)
-1 (ID: 33566262)
-1 (ID: 17537175)
-1 (ID: 17536986)
-1 (ID: 17531689)
-1 (ID: 17531540)
-1 (ID: 17530548)
-1 (ID: 17530669)
-1 (ID: 17530513)
-1 (ID: 17530378)
-1 (ID: 17530307)
-1 (ID: 17530707)
-1 (ID: 17530956)
-1 (ID: 17531496)
-1 (ID: 17531494)
-1 (ID: 17531283)
-1 (ID: 17531233)
-1 (ID: 33593243)
-1 (ID: 33645162)
-1 (ID: 50622761)
-1 (ID: 50645783)
-1 (ID: 50576118)
-1 (ID: 50574398)
-1 (ID: 50504184)
-1 (ID: 50708145)
-1 (ID: 67239107)
-1 (ID: 67359659)
-1 (ID: 67357646)
-1 (ID: 67315527)
-1 (ID: 67315445)
-1 (ID: 50333474)
-1 (ID: 34210246)
-1 (ID: 33762836)
-1 (ID: 33742957)
-1 (ID: 33720598)
-1 (ID: 33718976)
-1 (ID: 33777111)
-1 (ID: 33778340)
-1 (ID: 34167218)
-1 (ID: 33929564)
-1 (ID: 33785400)
-1 (ID: 33782743)
-1 (ID: 17530176)
-1 (ID: 17530072)
-1 (ID: 17524016)
-1 (ID: 17524167)
-1 (ID: 17523841)
-1 (ID: 17523820)
-1 (ID: 17523681)
-1 (ID: 17524647)
-1 (ID: 17524699)
-1 (ID: 17526017)
-1 (ID: 17526000)
-1 (ID: 17525297)
-1 (ID: 17525235)
-1 (ID: 17523525)
-1 (ID: 17523516)
-1 (ID: 17519385)
-1 (ID: 17519467)
-1 (ID: 17518675)
-1 (ID: 17518583)
-1 (ID: 17518249)
-1 (ID: 17520553)
-1 (ID: 17520602)
-1 (ID: 17522436)
-1 (ID: 17522155)
-1 (ID: 17522029)
-1 (ID: 17521647)
-1 (ID: 17526254)
-1 (ID: 17526289)
-1 (ID: 17528872)
-1 (ID: 17529353)
-1 (ID: 17528858)
-1 (ID: 17528640)
-1 (ID: 17528526)
-1 (ID: 17529381)
-1 (ID: 17529535)
-1 (ID: 17529915)
-1 (ID: 17529851)
-1 (ID: 17529798)
-1 (ID: 17529772)
-1 (ID: 17528051)
-1 (ID: 17528044)
-1 (ID: 17527242)
-1 (ID: 17527241)
-1 (ID: 17527218)
-1 (ID: 17526903)
-1 (ID: 17527281)
-1 (ID: 17527466)
-1 (ID: 17527978)
-1 (ID: 17527794)
-1 (ID: 17527686)
-1 (ID: 17527638)
-1 (ID: 67406811)
-1 (ID: 33583643)
-1 (ID: 151236057)
-1 (ID: 151257132)
-1 (ID: 151209890)
-1 (ID: 151179282)
-1 (ID: 151076620)
-1 (ID: 167865313)
-1 (ID: 201339657)
-1 (ID: 67433704)
-1 (ID: 234917091)
-1 (ID: 201460193)
-1 (ID: 201438314)
-1 (ID: 201344429)
-1 (ID: 151068300)
-1 (ID: 134307755)
-1 (ID: 117722424)
-1 (ID: 117724021)
-1 (ID: 117718415)
-1 (ID: 117705255)
-1 (ID: 117704337)
-1 (ID: 117725018)
-1 (ID: 117739291)
-1 (ID: 134265378)
-1 (ID: 117760401)
-1 (ID: 117750302)
-1 (ID: 117747113)
-1 (ID: 234952220)
-1 (ID: 235001539)
-1 (ID: 335616885)
-1 (ID: 335621481)
-1 (ID: 335614284)
-1 (ID: 335612861)
-1 (ID: 335612375)
-1 (ID: 335621792)
-1 (ID: 385935635)
-1 (ID: 402750840)
-1 (ID: 402746577)
-1 (ID: 402665182)
-1 (ID: 402664914)
-1 (ID: 335612029)
-1 (ID: 335600833)
-1 (ID: 302015249)
-1 (ID: 318777291)
-1 (ID: 285283377)
-1 (ID: 251750411)
-1 (ID: 251742101)
-1 (ID: 318798834)
-1 (ID: 318816234)
-1 (ID: 335584889)
-1 (ID: 335577135)
-1 (ID: 335576862)
-1 (ID: 335563412)
-1 (ID: 117691817)
-1 (ID: 234881759)
-1 (ID: 83937101)
-1 (ID: 83932151)
-1 (ID: 83924638)
-1 (ID: 83914461)
-1 (ID: 83947577)
-1 (ID: 83950037)
-1 (ID: 83958332)
-1 (ID: 83957816)
-1 (ID: 83955039)
-1 (ID: 83913677)
-1 (ID: 83911264)
-1 (ID: 67534940)
-1 (ID: 67533006)
-1 (ID: 67524988)
-1 (ID: 67436057)
-1 (ID: 117680032)
-1 (ID: 83889407)
-1 (ID: 83910123)
-1 (ID: 83904932)
-1 (ID: 83897084)
-1 (ID: 83959623)
-1 (ID: 83886734)
-1 (ID: 83967791)
-1 (ID: 83967281)
-1 (ID: 83966681)
-1 (ID: 83969264)
-1 (ID: 83971444)
-1 (ID: 117678464)
-1 (ID: 83977546)
-1 (ID: 83972400)
-1 (ID: 83964647)
-1 (ID: 117678109)
-1 (ID: 83962839)
andi saw you post but i ahve no clue on how to back up the bot i knwo people have told me and ive red in many spots on how to back it up i just cant comprehending it some odd reason
Title: Re: !online comand?
Post by: Kentarii on January 30, 2011, 11:21:02 pm
Buddylist is another word for friends list.
This is stored on the chat-server, so you can't back up your buddylist.

So, you don't need to backup your database to run !buddylist clear.
This will just empty the bot's friends list. When clear is done, you can run rosterupdate to add the bots members again.
But if the member list contains people who have changed servers etc, you will get those buddy add -1 messages.

As for backup up your database, are you running your bot on windows or linux? Do you have SSH access if it's linux?
If that's the case it's just a matter of running this command:
Code: [Select]
mysqldump -u<username> -p <databasename> > bebot_backup.sqlOr if you want to archive it.
Code: [Select]
mysqldump -u<username> -p <databasename> | nice bzip2 > bebot_backup.sql.bz2You will be prompted for your password, so if my mysql username is bebot and the database is called bebot as well, you have this command:

Code: [Select]
mysqldump -ubebot -p bebot | nice bzip2 > bebot_backup.sql.bz2
Later when you want to restore your backup you can run:
Code: [Select]
bunzip2 bebot_backup.sql.bz2and
Code: [Select]
mysql -ubebot -p bebot < bebot_backup.sql
Title: Re: !online comand?
Post by: dragonjr on January 31, 2011, 04:18:55 am
im running windows 7
Title: Re: !online comand?
Post by: Kentarii on January 31, 2011, 10:00:04 am
The commands are the same, you just have to locate the path to the mysql bin directory if you didn't add them during install time to your path environment.

Code: [Select]
C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqldump -u<username> -p <databasename> > bebot_backup.sql
Title: Re: !online comand?
Post by: dragonjr on January 31, 2011, 01:58:51 pm
am i just makeng a backup soe wheer else on the comp or am i putting it on a CD
Title: Re: !online comand?
Post by: Kentarii on January 31, 2011, 02:20:17 pm
If you're running the command above in a command prompt, you can select where you want to store the files by changing dirs.
Otherwise, it will just end up in your c:\users\<username> directory I guess.
Windows 7 doesn't have bzip2/bunzip2, so use the command without the archive compression and just save it to .sql
Title: Re: !online comand?
Post by: dragonjr on January 31, 2011, 04:14:49 pm
is the database name the same as the character your useing as the bot ?
Title: Re: !online comand?
Post by: Kentarii on January 31, 2011, 04:16:48 pm
The answer lies within
Code: [Select]
more conf/MySQL.conf
Title: Re: !online comand?
Post by: dragonjr on January 31, 2011, 04:25:08 pm
ok ive logged into mysql and i cant get it to work ive trial all the commands with replaceing the names with what i need user nae i put dragon and database name i put bebot and after i change all that all that shows up is ->
Title: Re: !online comand?
Post by: Kentarii on January 31, 2011, 04:28:43 pm
C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqldump -u<dragon> -p <bebot> > bebot_backup.sql

tried and it says this was a unexspectied time thats it
then i tried what you just posted MySQL.conf in not recognized an internal or external command operable program or batch file
and am i able do this while the bot is running or should i be shuuting it off?
Try this:
Code: [Select]
C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqldump -udragon -p bebot > bebot_backup.sql
Title: Re: !online comand?
Post by: Yite on January 31, 2011, 04:33:13 pm
C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqldump -u<dragon> -p <bebot> > bebot_backup.sql
<username> indicates a field that must be filled in, you should not include the <>
So in your case if the username is dragon and the dbname is bebot the command should look like:
C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqldump -u dragon  -p bebot > bebot_backup.sql

[edit I see Kentarii beat me to it :) ]
Title: Re: !online comand?
Post by: dragonjr on January 31, 2011, 05:14:33 pm
ok i copied and pasted in where i would put cmd then i had to put in a password i did and then some words poped ur realy quick and the black box disappeard what am i doing wrong
Title: Re: !online comand?
Post by: Kentarii on January 31, 2011, 07:19:21 pm
Look at Reply #23...
Title: Re: !online comand?
Post by: dragonjr on January 31, 2011, 08:45:41 pm
so then i did it right and it should be backed up now right i checked the bin folder but im not sure what i should be looking for to see it i madea  back up or not
SimplePortal 2.3.7 © 2008-2024, SimplePortal