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

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

Author Topic: YGItem Search for BeBot  (Read 4231 times)

0 Members and 1 Guest are viewing this topic.

Offline Drizzurdeen

  • BeBot Apprentice
  • ***
  • Posts: 193
  • Karma: +0/-0
    • Obsidian-Cult
YGItem Search for BeBot
« on: August 09, 2011, 12:20:17 pm »
Hi @ all,

here is an Module where u can search about the yg-db for items ....

!!! important !!!
this module works not really
u can search about the items and u will get the results ... BUT u can't have a look at the item itself over yg ... WHY ???? i don't know .... :(

here how it's working at the moment
Code: [Select]
Mitrabot [GROUP] [MSG] [Sensational Knights] Mitrabot: More than 50 Results :: [link]Click to View Results[/link] (page 1 of 2)
Mitrabot [GROUP] [MSG] [Sensational Knights] Neaira: huhu
Mitrabot [GROUP] [MSG] [Sensational Knights] Mitrabot: More than 50 Results :: [link]Click to View Results[/link] (page 2 of 2)
Mitrabot [TELL] [INC] Devildrizz: !ygitem oJg12VkL
Mitrabot [TELL] [OUT] -> Devildrizz: Item could not be found. (1)

mybee some could fix the mod ... so it's working ;)

greetz Drizz
« Last Edit: August 09, 2011, 12:25:38 pm by Drizzurdeen »

Offline kenny

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Re: YGItem Search for BeBot
« Reply #1 on: August 09, 2011, 05:26:48 pm »
Is this intended?

Offline Drizzurdeen

  • BeBot Apprentice
  • ***
  • Posts: 193
  • Karma: +0/-0
    • Obsidian-Cult
Re: YGItem Search for BeBot
« Reply #2 on: August 09, 2011, 06:17:29 pm »
do u mean the ?s or only the ? ..... i think so taht it's intended ....

but seems the url for itself have to change ... but don't know which url i have to add or to modify

this url works fine: http://aoc.yg.com/de/item/armschienen-des-schwarzen-trotzes?h=mt93BLPE
this not: http://aoc.yg.com/de/items?s=mt93BLPE

had a look at the api by yg but don't know how to implement into this mod :(
« Last Edit: August 09, 2011, 06:43:10 pm by Drizzurdeen »

Offline kenny

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Re: YGItem Search for BeBot
« Reply #3 on: August 10, 2011, 02:01:31 pm »
No no no... I mean the change of the url. On the english link, you query "search", on the German module, you query "items".

I figured the URL would be the same except for the /de/-tag added to them.

Offline Drizzurdeen

  • BeBot Apprentice
  • ***
  • Posts: 193
  • Karma: +0/-0
    • Obsidian-Cult
Re: YGItem Search for BeBot
« Reply #4 on: August 10, 2011, 02:21:29 pm »
ok i tried both of them ... no of the url's are working ... i'm getting an error page of yg ....

but mybee this would help to get this mod running http://aoc.yg.com/help-lookup-api ... but don't know how :(
« Last Edit: August 10, 2011, 02:23:00 pm by Drizzurdeen »

Offline kenny

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Re: YGItem Search for BeBot
« Reply #5 on: August 11, 2011, 10:33:50 pm »
I'll see if I can do something about it on weekend.
If it's just an updated API call, it might work out.

Offline Drizzurden

  • BeBot Rookie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: YGItem Search for BeBot
« Reply #6 on: August 15, 2011, 03:44:04 pm »
how is the work going on at this mod ^^  :P

Offline kenny

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Re: YGItem Search for BeBot
« Reply #7 on: August 16, 2011, 01:21:37 am »
So, here's what I found out:
It seems that the queried pages are still intact, but yg made changes to its layout, rendering the preg_match pattern useless.
I don't have any experience in preg_matching, so someone more skilled will have to look into it, sorry.


-- kenny

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 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: 371
  • 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