L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 12:17:25 AM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Support for older versions > BeBot 0.2 support > Topic: My bot is not registering guild members
Pages: [1]   Go Down
« previous next »
Print
Author Topic: My bot is not registering guild members  (Read 1045 times)
0 Members and 1 Guest are viewing this topic.
Olismohn
Freshman
*
Offline Offline

Posts: 8


My bot is not registering guild members
« on: April 16, 2007, 12:30:44 PM »

When I use the !online command, in the window that appears, no Guild members are present.
Is there something I have to setup before this shows up??

Theres also one more thing, the bot doesn't recognize commands from any other guild members but me, since i am admin.

Oli
« Last Edit: April 16, 2007, 01:34:16 PM by Olismohn » Logged
pusikas
Experienced
****
Offline Offline

Posts: 161


Re: My bot is not registering guild members
« Reply #1 on: April 16, 2007, 02:09:50 PM »

Did the roster update work? Maybe you entered the wrong org ID into the config file?
Logged

Luuv  Bot-Keeper of Vengeance ^^*
Olismohn
Freshman
*
Offline Offline

Posts: 8


Re: My bot is not registering guild members
« Reply #2 on: April 16, 2007, 02:53:19 PM »

Ya, i thought it might be that, so I double checked, the ID is correct.

I'll check it once more though.

Oli
Logged
Olismohn
Freshman
*
Offline Offline

Posts: 8


Re: My bot is not registering guild members
« Reply #3 on: April 16, 2007, 03:03:09 PM »

Yup, the ID matches.

Oli
Logged
jjones666
BeBot Contributor
Champion
*******
Offline Offline

Posts: 353


Re: My bot is not registering guild members
« Reply #4 on: April 16, 2007, 03:47:33 PM »

Is bot member of org?

-jj-
Logged
Olismohn
Freshman
*
Offline Offline

Posts: 8


Re: My bot is not registering guild members
« Reply #5 on: April 16, 2007, 03:50:27 PM »

Yes it is, it responds to messages from org chat.

Is there a special way to add members to the bot? Or should it do that automatically?

Oli
« Last Edit: April 16, 2007, 04:12:14 PM by Olismohn » Logged
jjones666
BeBot Contributor
Champion
*******
Offline Offline

Posts: 353


Re: My bot is not registering guild members
« Reply #6 on: April 16, 2007, 05:15:49 PM »

- check console for errors when bot logs on
- check Members table in database and make sure it is populated (http://www.webyog.com/downloads/SQLyog529.exe for useful Mysql frontend)

-jj-
Logged
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



Re: My bot is not registering guild members
« Reply #7 on: April 16, 2007, 05:22:38 PM »

Most likely scenario as far as I can tell is that the member list hasn't been updated. I had some trouble with this myself when I set up the bot as it was a big guild and the bot timed out before FC servers managed to produce the XML.

That should post an error in your console.

I "solved" this by visiting the page in question. This would be something like http://community.anarchy-online.com/org/stats/d/$dim/name/$id/basicstats.xml but remember to replace $dim with the dimention and $id with the guild ID.
It should take you to the page where the XML is. Then as soon as this page has finished loading restart the bot.

The rationale behind this is that the server and/or proxies cache output from the site and that way the bot won't time out when requesting the page. It worked for me on the 2nd attempt.

Hope that helps.
Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Olismohn
Freshman
*
Offline Offline

Posts: 8


Re: My bot is not registering guild members
« Reply #8 on: April 16, 2007, 07:30:32 PM »

Hmm, the members table is definately not populated, and it doesn't seem to want to be.

I tried going to the site, but that didn't work.

Whats the script that updates the members table called??

Oli
Logged
Olismohn
Freshman
*
Offline Offline

Posts: 8


Re: My bot is not registering guild members
« Reply #9 on: April 16, 2007, 08:18:07 PM »

I found something weird.

In the help folder there is a help file for a script called members and one for a script called member.
These scripts are however nowhere to be found.

Oli
Logged
Olismohn
Freshman
*
Offline Offline

Posts: 8


Re: My bot is not registering guild members
« Reply #10 on: April 16, 2007, 09:00:31 PM »

OK, after going through most of the scripts, I have found the problem, or problems.

The script I altered was Roster_GUILD.

1. This command: get_site("http://communities.anarchy-online.com/org/stats/d/" . $this -> bot -> dimension . "/name/" . $this -> bot -> guildid . "/basicstats.xml")

should actually be: get_site("http://www.anarchy-online.com/org/stats/d/" . $this -> bot -> dimension . "/name/" . $this -> bot -> guildid . "/basicstats.xml")

although I don't really know if that matters much.

2. This statement: if (count($members) > 1)
Was not true for me, because I just started the org and only I am on the roster on the website.
So I just changed it to: if (count($members) > 0)

There we go, hopefully this will help someone at some point.

Oli
Logged
Malosar
Expert
*****
Offline Offline

Posts: 259


WWW
Re: My bot is not registering guild members
« Reply #11 on: April 17, 2007, 07:12:50 AM »

communities CNAME doesn't seem to exist (did it ever?). community CNAME exists but it points to the same server as www.

Where did "communities" come from? If it's from SVN then I guess it needs to be fixed.
« Last Edit: April 17, 2007, 07:17:08 AM by Malosar » Logged

Eternalist
General of The Syndicate
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: My bot is not registering guild members
« Reply #12 on: April 17, 2007, 08:19:19 AM »

SVN of 0.2 has it listed as community.anarchy-online.com.

As for #2, if there is only 1 person in the guild, there is no reason for the bot to even update the roster since there essentially is no roster Smiley
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



Re: My bot is not registering guild members
« Reply #13 on: April 17, 2007, 08:37:35 AM »

Quote from: Olismohn on April 16, 2007, 08:18:07 PM
In the help folder there is a help file for a script called members and one for a script called member.
These scripts are however nowhere to be found.

Help system is re-vamped as of 0.3.4-dev so help texts for commands no longer (or not yet) present should be less of a problem in the future.

Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Olismohn
Freshman
*
Offline Offline

Posts: 8


Re: My bot is not registering guild members
« Reply #14 on: April 17, 2007, 09:00:19 PM »

It was actually community I thought it was plural so I typed in it improperly.
I thought that community might link to the same place as www, this is why I stated that it may not matter.
I apologize about mistyping it though.

As for the roster, I was testing the bot to make sure it worked before I invited people so knowing that it needed more than one person to update would have been nice. If I hadn't looked at the scripts I would have assumed that it did not work and grabed a different bot.

Oli
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Support for older versions > BeBot 0.2 support > Topic: My bot is not registering guild members
« previous next »
 
Jump to:  

Recent
[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]

Starting Bot
by Allisande
[November 28, 2008, 07:08:21 AM]
Stats
Members
Total Members: 1243
Latest: Whackoeng
Stats
Total Posts: 11144
Total Topics: 1505
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 2
Guests: 17
Total: 19
Temar
Elesar1

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.424 seconds with 31 queries. (Pretty URLs adds 0.028s, 4q)
Loading...