BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: ilon on December 31, 2006, 09:54:53 am

Title: alt list in the logon notice
Post by: ilon on December 31, 2006, 09:54:53 am
So, as i get my bot to work, i need more help >_>

is there any way to set the bot to show the alt-list-link in the logon notice when someone that got a alt-list record logs on?

at the moment it looks like:
[Neutralizers] Neuterleet: Mrs "Fiphi" Sjogren (Lvl 162 Fixer Unit Commander) logged on
but i would like a link included to the alt list for that character aswell:
[Neutralizers] Neuterleet: Mrs "Fiphi" Sjogren (Lvl 162 Fixer Unit Commander) Alts logged on

really hope there is a way :P

cheers :)

Title: Re: alt list in the logon notice
Post by: Xenixa on December 31, 2006, 11:34:21 am
Logon_GUILD.php should have that code by default. If a character logging in doesn't have Alts listed with the Bot you won't see an :: Alts :: link in the Logon info.
Title: Re: alt list in the logon notice
Post by: ilon on December 31, 2006, 01:37:40 pm
does the default behaviour show main too, if you logon a alt that does have main added.
Title: Re: alt list in the logon notice
Post by: Malosar on December 31, 2006, 03:25:02 pm
if you have alts registered in the db for the bot then it will show the alts link whether you log your main or alt.
Title: Re: alt list in the logon notice
Post by: Udon on January 01, 2007, 04:31:26 am
if you have alts registered in the db for the bot then it will show the alts link whether you log your main or alt.

This does not seem to be the default setting for us...

we just got our BeBot orgbot started.  Many members have done the !alts add command to update their alts list.  But we get no message whatsoever from the BeBot with the Alts list. 

Can you show the code where it is supposed to call up and display the Alts info for each character on logon?  And also, on the Alts list for individual members, how to make it show online/offline status (the way IGNbot did before).

thanks.
Title: Re: alt list in the logon notice
Post by: Naturalistic on January 01, 2007, 08:55:30 am
"How IGN did before" does not help.

I for one hated IGN, barely used it, so I for one couldn't help if that's all you say. :)
Title: Re: alt list in the logon notice
Post by: Dabaron on January 01, 2007, 10:16:08 am
I think this is what your looking for.
Title: Re: alt list in the logon notice
Post by: Snarfblatt on January 02, 2007, 05:07:04 am
I just added this new module and I get an error in the sql because I'm missing an ailevel and aititle field in the members table. Now I can add those fields, but what populates them.
Title: Re: alt list in the logon notice
Post by: pusikas on January 02, 2007, 09:12:42 am
I think this (http://bebot.link/index.php/topic,135.0.html) is what you are looking for.
Title: Re: alt list in the logon notice
Post by: Snarfblatt on January 02, 2007, 08:17:41 pm
Yup.. that fixed it.. thanks.
Title: Re: alt list in the logon notice
Post by: ghostimage on January 03, 2007, 12:05:14 pm
Are those files still valid for the most recent 0.2 release? Don't want to break things that have been otherwise fixed, they were posted quite some time ago :D :P
Title: Re: alt list in the logon notice
Post by: pusikas on January 03, 2007, 01:46:34 pm
I am running a 2.10 bot with whois-cache, the modified roster_guild, and the updates to !online, !whois with !postit, !alts and such. About the only thing I did not get to work with the 2.10 bot is Craized's updated Tower Wars module, I just changed the out-of-the-box module to use the whois-cache, did the trick for me, although I am missing out on some of the nice new features this way.
And... uhm... I guess you can get much more or much less to work, depending on how much work you want to invest. SVN bebot spams so many error messages on me that I don't know where to begin looking for fixes, bebot 2.10 worked for me, and applying updated modules one-by-one made it easier for the php-n00b that I am to locate problems. Still had to edit the Bot.php, solve trouble with character sets in php, find out what modules in the various threads work together or even rely on each other and edit some files by hand. The result may not be as shiny as the new 3.x bebot, but still quite impressive if you come from an IGN bot. :)
Title: Re: alt list in the logon notice
Post by: jjones666 on January 03, 2007, 02:04:28 pm
*About the only thing I did not get to work with the 2.10 bot is Craized's updated Tower Wars module:

Recommend to use Xenixa's modified tower attack module, works with the LCA plugin and whois cache :-)

-jj-
Title: Re: alt list in the logon notice
Post by: pusikas on January 03, 2007, 04:44:37 pm
Would you be so sweet to post a link to that? I swear I searched the forum for a better, working tower wars module and didn't find anything. ^^
BTW, when I started setting up the 2.10, I was thinking about making a thread about what I managed to get to work with it. I managed to loose sight of that goal in the heat of action. But ghostimage, if you intend something similar, maybe you can compile such a list. It sure would have helped me (and others without doubt) a lot.
Title: Re: alt list in the logon notice
Post by: jjones666 on January 03, 2007, 05:53:32 pm
I'm gonna try and do something like this during this week.  Wanna get permission from Khalem first tho ;-p

You need both of the below modules (remember to import SQL also):

http://bebot.link/index.php/topic,378.msg2251.html#msg2251
http://bebot.link/index.php/topic,243.msg2314.html#msg2314

-jj-
Title: Re: alt list in the logon notice
Post by: pusikas on January 04, 2007, 03:09:08 pm
OK, so Xenixa's module was cleverly hidden in Craized's thread.   ;D
Anyways, it works now, LCA and updated tower wars running with the 2.10 bot.
Title: Re: alt list in the logon notice
Post by: ilon on January 06, 2007, 11:08:54 am
ok, got it to work now, now i'm struggeling with !members, want it to actually give you a list with the members, not just show the NUMBERS of members in org :P
Title: Re: alt list in the logon notice
Post by: pusikas on January 06, 2007, 05:51:50 pm
Just try a
SELECT * FROM members;
in the mysql console.  ;D
Title: Re: alt list in the logon notice
Post by: Naturalistic on January 06, 2007, 06:14:29 pm
I would suggest not doing that if you're in a large org :)

I made the mistake of adding that to a 700+ member org... let's say it spammed for awhile and bot almost lagged out each time the command got used :P
Title: Re: alt list in the logon notice
Post by: ilon on January 06, 2007, 11:47:30 pm
OK, now i got the alt list on logon to show up, but its simply emtpy when clicking it :((

also requested a module for !members in request module section, thing is it isnt me who need it, since its the press of the org who needs it, and i run the bot, so i would need something user friendly :P
Title: Re: alt list in the logon notice
Post by: pusikas on January 07, 2007, 04:17:23 am
Huh? I have nbo trouble selecting form the database at all, witzh over 870 members in org. And my DB server is a really crappy machine, 300MHz K6-2 :). But I can see why that would not be cool if you're just the bot-keeper and not the prez.
Title: Re: alt list in the logon notice
Post by: Xenixa on January 07, 2007, 11:45:26 am
ok, got it to work now, now i'm struggeling with !members, want it to actually give you a list with the members, not just show the NUMBERS of members in org :P

Search these forums for memberlist.php and Wolfbiter.
SimplePortal 2.3.7 © 2008-2024, SimplePortal