Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: shadypalm88 on July 16, 2005, 04:28 PM

Title: BnetDocs Quick Lookup
Post by: shadypalm88 on July 16, 2005, 04:28 PM
I whipped up a couple of quick PHP scripts and an Apache URL rewriting rule to create a quick lookup service for BnetDocs.  Currently only implemented for BNCS, you specify the packet sender ("sender" / "s", or "c" / "client") and either its ID or name (SID_ prefix may be omitted), and you are jumped directly to the packet which you seek.

Some Examples:
[C>0x50] SID_AUTH_INFO
http://bnetdocs.ionws.com/c/50
http://bnetdocs.ionws.com/client/0x50
http://bnetdocs.ionws.com/c/AUTH_INFO
http://bnetdocs.ionws.com/client/SID_AUTH_INFO

[S>0x0F] SID_CHATEVENT
http://bnetdocs.ionws.com/server/0F
http://bnetdocs.ionws.com/s/0x0F
http://bnetdocs.ionws.com/server/CHATEVENT
http://bnetdocs.ionws.com/s/SID_CHATEVENT

The URL's are case-insensitive.  Enjoy!
Title: Re: BnetDocs Quick Lookup
Post by: Elneroth on July 16, 2005, 05:14 PM
You might want to watch what you modify/create.
I really don't care what you did to the guide I created, but did you get permission from Arta or someone that owns BNETDocs?

A simple copyright and an angry author could 'own' you for doing this.
Title: Re: BnetDocs Quick Lookup
Post by: shadypalm88 on July 16, 2005, 05:28 PM
Quote from: Elneroth on July 16, 2005, 05:14 PM
You might want to watch what you modify/create.
I really don't care what you did to the guide I created, but did you get permission from Arta or someone that owns BNETDocs?

A simple copyright and an angry author could 'own' you for doing this.
For redirecting to his site?
Title: Re: BnetDocs Quick Lookup
Post by: MyndFyre on July 16, 2005, 05:55 PM
Quote from: Elneroth on July 16, 2005, 05:14 PM
A simple copyright and an angry author could 'own' you for doing this.
No, I don't think so.

shadypalm isn't actually copying any information.  For a copyright to be violated, something has to be copied.

The URLs are, as he pointed out, simply redirects to Arta's site.

On that note, this might be something worthwhile to look at later.
Title: Re: BnetDocs Quick Lookup
Post by: Kp on July 16, 2005, 06:00 PM
Of course if you wanted it to be really nifty, you should put your logic in a Firefox extension so we can have a BnetDocs jumpbar. ;)  Then there's no dependence on an extra webserver being up just to allow quick jumps.
Title: Re: BnetDocs Quick Lookup
Post by: Sorc.Polgara on July 16, 2005, 07:29 PM
Does anyone have any experience with making FireFox plugin thingies?  Like the little Google search bar.  The WoW site Thottbot.com made one of these plugin thingies for their site so you can search it easily.  Would it be hard to make one for BnetDocs?

Just an idea.



EDIT:  Oh shit, I didn't read Kp's post (Above)... lol.
Title: Re: BnetDocs Quick Lookup
Post by: R.a.B.B.i.T on July 16, 2005, 08:17 PM
http://mycroft.mozdev.org/deepdocs.html

I've started on it.  I'll post the plugin once it's ready :)

Okay, well it works...sortof.
http://www.liquid-server.org/stuff/bnetdocs.src

It inputs the query into the search box, but doesn't actually perform the search, I'm still trying to work this out :\
Title: Re: BnetDocs Quick Lookup
Post by: Blaze on July 16, 2005, 11:04 PM
http://bnetdocs.valhallalegends.com/content.php?Terms="The Keywords Here"&Include%5BBNCS%5D=1&Section=s

Would search the BNCS packets
Title: Re: BnetDocs Quick Lookup
Post by: R.a.B.B.i.T on July 16, 2005, 11:38 PM
I'm not exactly sure how to make it do that though...I'll look into it.

[edit]
Fixed that, but sidebar won't work.  Do what you will to fix it, but remember to tell me what!

[edit2]
Fixed more!  It works!

[edit3]
(http://www.liquid-server.org/stuff/bnetdocs2.PNG)
Title: Re: BnetDocs Quick Lookup
Post by: Arta on July 17, 2005, 07:02 AM
wow, lots of neat things happened while I was asleep :)
Title: Re: BnetDocs Quick Lookup
Post by: Blaze on July 17, 2005, 07:54 AM
Could you post a link for it rabbit?
Title: Re: BnetDocs Quick Lookup
Post by: R.a.B.B.i.T on July 17, 2005, 11:12 AM
Quote from: rabbit on July 16, 2005, 08:17 PM
http://mycroft.mozdev.org/deepdocs.html

I've started on it.  I'll post the plugin once it's ready :)

Okay, well it works...sortof.
http://www.liquid-server.org/stuff/bnetdocs.src

It inputs the query into the search box, but doesn't actually perform the search, I'm still trying to work this out :\
Title: Re: BnetDocs Quick Lookup
Post by: R.a.B.B.i.T on July 17, 2005, 11:12 AM
Quote from: Arta[vL] on July 17, 2005, 07:02 AM
wow, lots of neat things happened while I was asleep :)
Yes, mostly because I haven't yet.  I had lots of free time to kill :X