collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: !online comand?  (Read 8469 times)

0 Members and 2 Guests are viewing this topic.

Offline dragonjr

  • BeBot Apprentice
  • ***
  • Posts: 131
  • Karma: +0/-0
Re: !online comand?
« Reply #15 on: January 29, 2011, 05:47:21 pm »
ok thank you for all the help

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: !online comand?
« Reply #16 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/

Offline dragonjr

  • BeBot Apprentice
  • ***
  • Posts: 131
  • Karma: +0/-0
Re: !online comand?
« Reply #17 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 ?

Offline dragonjr

  • BeBot Apprentice
  • ***
  • Posts: 131
  • Karma: +0/-0
Re: !online comand?
« Reply #18 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

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: !online comand?
« Reply #19 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
« Last Edit: January 30, 2011, 11:23:48 pm by Kentarii »

Offline dragonjr

  • BeBot Apprentice
  • ***
  • Posts: 131
  • Karma: +0/-0
Re: !online comand?
« Reply #20 on: January 31, 2011, 04:18:55 am »
im running windows 7

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: !online comand?
« Reply #21 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
« Last Edit: January 31, 2011, 02:21:34 pm by Kentarii »

Offline dragonjr

  • BeBot Apprentice
  • ***
  • Posts: 131
  • Karma: +0/-0
Re: !online comand?
« Reply #22 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

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: !online comand?
« Reply #23 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

Offline dragonjr

  • BeBot Apprentice
  • ***
  • Posts: 131
  • Karma: +0/-0
Re: !online comand?
« Reply #24 on: January 31, 2011, 04:14:49 pm »
is the database name the same as the character your useing as the bot ?

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: !online comand?
« Reply #25 on: January 31, 2011, 04:16:48 pm »
The answer lies within
Code: [Select]
more conf/MySQL.conf

Offline dragonjr

  • BeBot Apprentice
  • ***
  • Posts: 131
  • Karma: +0/-0
Re: !online comand?
« Reply #26 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 ->
« Last Edit: January 31, 2011, 04:54:34 pm by dragonjr »

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: !online comand?
« Reply #27 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

Offline Yite

  • BeBot Apprentice
  • ***
  • Posts: 152
  • Karma: +0/-0
    • Niflheim - Crom
Re: !online comand?
« Reply #28 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 :) ]
« Last Edit: January 31, 2011, 04:34:53 pm by Yite »
-Yite [Crom]

Offline dragonjr

  • BeBot Apprentice
  • ***
  • Posts: 131
  • Karma: +0/-0
Re: !online comand?
« Reply #29 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

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 342
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal