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

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

Author Topic: !items  (Read 6851 times)

0 Members and 1 Guest are viewing this topic.

Offline Dookie

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
!items
« 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!!
« Last Edit: July 13, 2008, 07:15:52 pm by Dookie »

Offline grasfer

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Re: !items
« Reply #1 on: July 13, 2008, 01:53:59 pm »
You could turn off the world/server first spam in the !settings items menu.

Offline Dookie

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: !items
« Reply #2 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!

Offline Gjeep

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: !items
« Reply #3 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.

Offline Noer

  • BeBot Apprentice
  • ***
  • Posts: 107
  • Karma: +0/-0
Re: !items
« Reply #4 on: July 14, 2008, 10:41:46 pm »
I fixed the problem causing it not to store discoveries of certain items.

Offline kaeus

  • BeBot User
  • **
  • Posts: 20
  • Karma: +0/-0
Re: !items
« Reply #5 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.

Offline Noer

  • BeBot Apprentice
  • ***
  • Posts: 107
  • Karma: +0/-0
Re: !items
« Reply #6 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.

Offline kaeus

  • BeBot User
  • **
  • Posts: 20
  • Karma: +0/-0
Re: !items
« Reply #7 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>
« Last Edit: July 15, 2008, 07:41:28 pm by kaeus »

Offline Noer

  • BeBot Apprentice
  • ***
  • Posts: 107
  • Karma: +0/-0
Re: !items
« Reply #8 on: July 15, 2008, 07:46:26 pm »
What version of the bot?

Offline kaeus

  • BeBot User
  • **
  • Posts: 20
  • Karma: +0/-0
Re: !items
« Reply #9 on: July 15, 2008, 07:48:27 pm »
I'm using the very latest revision.

Offline Noer

  • BeBot Apprentice
  • ***
  • Posts: 107
  • Karma: +0/-0
Re: !items
« Reply #10 on: July 15, 2008, 07:50:53 pm »
Can you ping aocdb.lunevo.net from the server running your bot?

Offline kaeus

  • BeBot User
  • **
  • Posts: 20
  • Karma: +0/-0
Re: !items
« Reply #11 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?

Offline Noer

  • BeBot Apprentice
  • ***
  • Posts: 107
  • Karma: +0/-0
Re: !items
« Reply #12 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


Offline kaeus

  • BeBot User
  • **
  • Posts: 20
  • Karma: +0/-0
Re: !items
« Reply #13 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.
« Last Edit: July 15, 2008, 08:10:00 pm by kaeus »

 

* Recent Posts
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 ]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm ]

* Who's Online
  • Dot Guests: 79
  • 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