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: omg !items  (Read 4689 times)

0 Members and 1 Guest are viewing this topic.

Offline Hyde

  • BeBot Apprentice
  • ***
  • Posts: 92
  • Karma: +0/-0
omg !items
« on: January 25, 2009, 06:42:50 pm »
Bebot 0.6.2 + Slaves 1.3

This MAY be slaves related. However I think the slaves may have just been invoked because of the enormous number of blobs that needed to be sent. Splitting the results like that also made the results appear out of order.

"!items 100 ring" returned 109 tells to me, with each page having only a single element (like 1 blob would have an icon of a ring, next blob would have name of a ring with links to various QLs of the item, next blob would have another ring icon, etc).

An !items request that only returns 7 items like "/tell botname !items pure novictum" works fine, all on 1 page.

"!items implant" worked fine too, all 50 were on a single page blob.

"!items 100 implant" gave me 109 pages like the ring ... so the bug seems to be when you get 50 items AND links to a specific middle QL.

Maybe the blob size is a bit too much and the bot decides to chunk it up? However since I'm using a fairly unmodified 0.6.2 so its likely happening to others.

But since it DOES work without the middle QL ... it is -weird- that 1 page with 50 results becomes 100+ pages with 1/2 of a result per page. I would have expected it to become 2 pages if the blob size broke.

"!items 100 ring" results sample:
[Botname2]: 50 Results :: Click to View (page 5 of 109)
[Botname]: 50 Results :: Click to View (page 1 of 109)
[Botname]: 50 Results :: Click to View (page 2 of 109)
[Botname]: 50 Results :: Click to View (page 3 of 109)
[Botname]: 50 Results :: Click to View (page 4 of 109)
[Botname3]: 50 Results :: Click to View (page 9 of 109)
[Botname2]: 50 Results :: Click to View (page 6 of 109)

(etc all the way to 109)
Doctorhyde/Jexyll/Goraud@RK2

Offline Hyde

  • BeBot Apprentice
  • ***
  • Posts: 92
  • Karma: +0/-0
Re: omg !items
« Reply #1 on: January 25, 2009, 06:51:19 pm »
It must be something with Slaves, as when I do this on a bot running from the same code but no Slaves configured I only get 2 pages when doing "!items 100 ring".
Doctorhyde/Jexyll/Goraud@RK2

Offline Hyde

  • BeBot Apprentice
  • ***
  • Posts: 92
  • Karma: +0/-0
Re: omg !items
« Reply #2 on: January 25, 2009, 07:05:20 pm »
!history doctorhyde

returns 124 pages on my slaved bot and 3 pages on my unslaved bot :)
Doctorhyde/Jexyll/Goraud@RK2

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: omg !items
« Reply #3 on: January 25, 2009, 07:10:16 pm »
yer i found the issue , it was using $this -> maxsize instead of $this -> bot -> maxsize
so with out a max size it made a tell for each line
1.4 released with the fix

Offline Hyde

  • BeBot Apprentice
  • ***
  • Posts: 92
  • Karma: +0/-0
Re: omg !items
« Reply #4 on: January 25, 2009, 07:46:23 pm »
ty, upgraded and confirmed ... soooo much better.
Doctorhyde/Jexyll/Goraud@RK2

 

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