LearnDB interface (similar to the old one)


Ask fellow adventurers how to stay alive in the deep, dark, dangerous dungeon below, or share your own accumulated wisdom.

Lair Larrikin

Posts: 24

Joined: Thursday, 8th March 2012, 17:12

Post Tuesday, 24th February 2015, 19:24

LearnDB interface (similar to the old one)

Hi Guys,

I use to use the old learnDB interface a lot but it got removed a few months ago. Inspired by the new learndb API, I have created a new version which allows you to search for monsters and learndb entries.

You can access it here: https://lookupdb.guy.ht
Source/bugs/development: https://github.com/guyht/lookup

For this message the author guyht has received thanks: 8
Arrhythmia, Cheibrodos, Lasty, n1000, rockygargoyle, Sar, wheals, zxc23

Vaults Vanquisher

Posts: 428

Joined: Friday, 17th December 2010, 22:07

Post Tuesday, 24th February 2015, 20:46

Re: LearnDB interface (similar to the old one)

Very slick...

Where is the API documentation for the learndb libraries you used?

Lair Larrikin

Posts: 24

Joined: Thursday, 8th March 2012, 17:12

Post Tuesday, 24th February 2015, 21:54

Re: LearnDB interface (similar to the old one)

Not sure if there is any official documentation, I got help on the ##crawl-dev chat. You can use the following calls:

https://loom.shalott.org/api/sequell/ldb?term=xxx
https://loom.shalott.org/api/sequell/ldb?search=xxx

Dungeon Master

Posts: 634

Joined: Sunday, 22nd September 2013, 14:46

Post Tuesday, 24th February 2015, 22:28

Re: LearnDB interface (similar to the old one)

Another minor thing that might help, learndb usually formats links by surrounding them with {}, as in the link in the lich entry to {ancient lich}. Would be cool if those links could be clickable to redirect you to the other page.
User avatar

Spider Stomper

Posts: 216

Joined: Monday, 1st April 2013, 04:41

Location: TX

Post Tuesday, 24th February 2015, 22:57

Re: LearnDB interface (similar to the old one)

Very nice thing you've made here broski.
take it easy

Lair Larrikin

Posts: 24

Joined: Thursday, 8th March 2012, 17:12

Post Tuesday, 24th February 2015, 23:29

Re: LearnDB interface (similar to the old one)

wheals wrote:Another minor thing that might help, learndb usually formats links by surrounding them with {}, as in the link in the lich entry to {ancient lich}. Would be cool if those links could be clickable to redirect you to the other page.


Thanks, implemented :)

Lair Larrikin

Posts: 24

Joined: Thursday, 8th March 2012, 17:12

Post Thursday, 26th February 2015, 17:54

Re: LearnDB interface (similar to the old one)

Due to the frolickings of certain individuals, stats now only take valid searches into account.

For this message the author guyht has received thanks: 3
Arrhythmia, duvessa, tasonir

Lair Larrikin

Posts: 24

Joined: Thursday, 8th March 2012, 17:12

Post Monday, 16th March 2015, 23:21

Re: LearnDB interface (similar to the old one)

Updated to crawl trunk. No excuses for early deaths now.

For this message the author guyht has received thanks: 2
Arrhythmia, tasonir

Lair Larrikin

Posts: 24

Joined: Thursday, 8th March 2012, 17:12

Post Thursday, 19th March 2015, 05:30

Re: LearnDB interface (similar to the old one)

Lookupdb now also displays search results. E.g. http://lookupdb.guy.ht/#term/poison

Lair Larrikin

Posts: 24

Joined: Thursday, 8th March 2012, 17:12

Post Monday, 12th October 2015, 05:55

Re: LearnDB interface (similar to the old one)

I have now updated lookup to 0.16.2

For this message the author guyht has received thanks: 3
chequers, nago, ontoclasm

Return to Dungeon Crawling Advice

Who is online

Users browsing this forum: No registered users and 26 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.