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: changing bot name  (Read 4218 times)

0 Members and 1 Guest are viewing this topic.

Offline Bart

  • BeBot User
  • **
  • Posts: 39
  • Karma: +0/-0
changing bot name
« on: September 26, 2007, 06:07:51 pm »
We want to change the toon that bot uses and with v2.11 of the bot this wasn't an issue but I noticed with v4 that the mysql tables have the bot name in them. So if I change toons will the bot loose all of the DB info? or do I just need to go in an manually change the table names?



Bart

Offline nullerman

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: changing bot name
« Reply #1 on: September 26, 2007, 06:48:58 pm »
well, you juat have to make a new toon, and log on to that account,

edit the file: "xx\conf\Bot.conf"  the line you need to edit is:
Code: [Select]
$bot_name = "name";
instead of name insert the new toon name.

the change of botname should not effect the sql database.

/nuller
« Last Edit: September 26, 2007, 06:50:40 pm by nullerman »

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: changing bot name
« Reply #2 on: September 26, 2007, 07:00:04 pm »
So if I change toons will the bot loose all of the DB info? or do I just need to go in an manually change the table names?
You can just rename the master table I think, should be enough.

Another way is to set mastertablename and prefix in the MySQL.conf to the values used in the old bot (oldbot_tablenames and oldbot). Should work too.

Or rename all tables and let the bot create a new mastertable, won't cause any problems if you are using the default table names.

Offline Bart

  • BeBot User
  • **
  • Posts: 39
  • Karma: +0/-0
Re: changing bot name
« Reply #3 on: September 27, 2007, 03:51:53 pm »
ok I got the bot moved and the tables are all good.. only issue I am having now is the bot won't see anyone online.

Is there anyway to force a roster update?

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: changing bot name
« Reply #4 on: September 27, 2007, 04:03:09 pm »
!rosterupdate

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: changing bot name
« Reply #5 on: September 27, 2007, 04:04:23 pm »
That only works in the trunk version.

/tell botname !set members LastRosterUpdate 1 and then restart the bot.

Offline nullerman

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: changing bot name
« Reply #6 on: September 29, 2007, 05:03:34 pm »
what version of the bot are you running ?

 

* 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: 318
  • 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