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
-
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
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
-
Is this intended?
-
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 :(
-
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.
-
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 :(
-
I'll see if I can do something about it on weekend.
If it's just an updated API call, it might work out.
-
how is the work going on at this mod ^^ :P
-
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