BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6.x Custom/Unofficial modules => Topic started by: Drizzurdeen on August 09, 2011, 12:20:17 pm

Title: YGItem Search for BeBot
Post by: Drizzurdeen 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
Title: Re: YGItem Search for BeBot
Post by: kenny on August 09, 2011, 05:26:48 pm
Is this intended?
Title: Re: YGItem Search for BeBot
Post by: Drizzurdeen 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 :(
Title: Re: YGItem Search for BeBot
Post by: kenny 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.
Title: Re: YGItem Search for BeBot
Post by: Drizzurdeen 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 :(
Title: Re: YGItem Search for BeBot
Post by: kenny 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.
Title: Re: YGItem Search for BeBot
Post by: Drizzurden on August 15, 2011, 03:44:04 pm
how is the work going on at this mod ^^  :P
Title: Re: YGItem Search for BeBot
Post by: kenny 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
SimplePortal 2.3.7 © 2008-2024, SimplePortal