BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => BeBot Hyborian support => Topic started by: Dookie on July 13, 2008, 09:45:27 am

Title: !items
Post by: Dookie on July 13, 2008, 09:45:27 am
This bot is just amazing!
GOOD JOB!!!

I got a problem, and I'm unsure if it's a bug or my fault!
Often, when someone posts an item in the Guildchat, the bot is telling him that he is the "FIRST ON THIS SERVER".
But if he post it again 5 times, the message pops up 5 times too.
Even if he posts the same item half an hour later, the message will be there again, whereas the "FIRST ON THE WORLD" Message seem to work fine.

What could be the reason for this? If someone puts 5 items to the chat, the message "FIRST ON SERVER" can occur 5 times, everytime he posts those 5 items... or anotherone does... this is like spam and my guildies don't like it.
So could you please help me to solve it?

Thanks in advance!!
Title: Re: !items
Post by: grasfer on July 13, 2008, 01:53:59 pm
You could turn off the world/server first spam in the !settings items menu.
Title: Re: !items
Post by: Dookie on July 13, 2008, 07:15:33 pm
Thank you for the reply.
I will do that until the real problem is solved, because being the first worldwide is a great motivation to post cool new items.
I would like know if I'm the only one who has that problem with bebot.0.50.hyborian r24?

Thank you!
Title: Re: !items
Post by: Gjeep on July 14, 2008, 12:57:40 pm
Thank you for the reply.
I will do that until the real problem is solved, because being the first worldwide is a great motivation to post cool new items.
I would like know if I'm the only one who has that problem with bebot.0.50.hyborian r24?

Thank you!

Same problem here.
Title: Re: !items
Post by: Noer on July 14, 2008, 10:41:46 pm
I fixed the problem causing it not to store discoveries of certain items.
Title: Re: !items
Post by: kaeus on July 15, 2008, 06:49:28 pm
How exactly does this work?  Is it an online database, or must the bot see the item (or be submitted manually?).  I cannot search for any items that the bot has seen so I don't know how this is supposed to work.
Title: Re: !items
Post by: Noer on July 15, 2008, 07:34:21 pm
How exactly does this work?  Is it an online database, or must the bot see the item (or be submitted manually?).  I cannot search for any items that the bot has seen so I don't know how this is supposed to work.

Its an online database the bot operates through some simple webservices. The bot submits the items it sees to this database and let people search the collaborated database.
Title: Re: !items
Post by: kaeus on July 15, 2008, 07:38:24 pm
I guess the output on mine is broken or strange, because it always just sends out a blank response.

My bot's window looks like this when I try to search for an item.

Kbot [TELL]     [INC]   Kaeus: !items soulcarved
Kbot [TELL]     [OUT]   -> Kaeus: <html>
<head>
Title: Re: !items
Post by: Noer on July 15, 2008, 07:46:26 pm
What version of the bot?
Title: Re: !items
Post by: kaeus on July 15, 2008, 07:48:27 pm
I'm using the very latest revision.
Title: Re: !items
Post by: Noer on July 15, 2008, 07:50:53 pm
Can you ping aocdb.lunevo.net from the server running your bot?
Title: Re: !items
Post by: kaeus on July 15, 2008, 07:55:14 pm
Reply from 83.221.146.45: bytes=32 time=126ms TTL=44
Reply from 83.221.146.45: bytes=32 time=124ms TTL=44
Reply from 83.221.146.45: bytes=32 time=124ms TTL=44
Reply from 83.221.146.45: bytes=32 time=125ms TTL=44

Ping statistics for 83.221.146.45:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 124ms, Maximum = 126ms, Average = 124ms

Connection to the server works, it just returns html tags (and I've manually went to the page before)

I can go to the page manually and look for Soulcarved Evil and find

Code: [Select]
<font color=#FFFFFF>2</font> <font color=#79CBE6>Results :: </font><a href="text://<font color=#CCCCCC><font color=#FFFFFF>Items Database</font>
<font color=#79CBE6>Query:</font> Soucarved Evil
<font color=#79CBE6>Results:</font> 1 / 2</font>

<font color=#FFFFFF>Results</font>
<a style='text-decoration:none' href='chatcmd:///tell  !item 3806424'><font color=html_link_color>[Soulcarved Evil]</font></a> lvl: 74
<a style='text-decoration:none' href='chatcmd:///tell  !item 3806424'><font color=html_link_color>[Soulcarved Evil]</font></a> lvl: 74
">Click to View Results</a>

BTW, does !items support partial item names?
Title: Re: !items
Post by: Noer on July 15, 2008, 08:00:21 pm
Reply from 83.221.146.45: bytes=32 time=126ms TTL=44
Reply from 83.221.146.45: bytes=32 time=124ms TTL=44
Reply from 83.221.146.45: bytes=32 time=124ms TTL=44
Reply from 83.221.146.45: bytes=32 time=125ms TTL=44

Ping statistics for 83.221.146.45:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 124ms, Maximum = 126ms, Average = 124ms

Connection to the server works, it just returns html tags (and I've manually went to the page before)

I can go to the page manually and look for Soulcarved Evil and find

Code: [Select]
<font color=#FFFFFF>2</font> <font color=#79CBE6>Results :: </font><a href="text://<font color=#CCCCCC><font color=#FFFFFF>Items Database</font>
<font color=#79CBE6>Query:</font> Soucarved Evil
<font color=#79CBE6>Results:</font> 1 / 2</font>

<font color=#FFFFFF>Results</font>
<a style='text-decoration:none' href='chatcmd:///tell  !item 3806424'><font color=html_link_color>[Soulcarved Evil]</font></a> lvl: 74
<a style='text-decoration:none' href='chatcmd:///tell  !item 3806424'><font color=html_link_color>[Soulcarved Evil]</font></a> lvl: 74
">Click to View Results</a>

BTW, does !items support partial item names?

As you can get the page manually it sounds quite weird. I don't really have any clue why you get this on your server.

Yes you can search with partial names and other boolean operators like "soulcarved evil", soul*, *evil etc

Title: Re: !items
Post by: kaeus on July 15, 2008, 08:07:36 pm
The oddest part is that the page has NO <html> or <head> tags in the source if I manually go to it, so I'm not sure where it is getting its data from, and with current < and > breaking chat, I dont get enough output to figure that out.

EDIT:
Made the bot instead output the address, and it is going to the right place, I did !items tin and got this:

http://aocdb.lunevo.net/botsearch/?search=tin&botname=Kbot&pre=!

So...the only thing I can think of is an issue with the get_site() function.
SimplePortal 2.3.7 © 2008-2024, SimplePortal