MODB Updates, Feature Requests & Bug Reports

Speak about everything.
No Spam!
Post Reply
User avatar
bobdylan
Ghost
Posts: 172
Joined: Sun Oct 19, 2014 9:24 pm

MODB Updates, Feature Requests & Bug Reports

Post by bobdylan »

Just wanted to start a thread where I could post updates to MODB, take suggestions and bug reports.

If you haven't seen it yet, https://modb.rpgmobob.com is a wiki-like utility for RPG MO. It's fast way to search and view information on items, pets, recipes, mobs, breeding, and other info in the RPG MO world.

So here's a list of changes I've made recently:
  • Load Character - Loads your character's stats from the highscores and affects the various lists on MODB (much more about this on the MODB home page under "Recent Updates".)
  • Spells - New Spells page showing XPS and DPS for all spells.
  • Breeding Results Sorted - The offspring listed on the breeding page now sorts by order they are rolled for.
  • Breeding Food - Breeding page now shows the number of each food needed to feed a pet instead of a useless percentage. =)
  • Leveled Pets - Pets that level/evolve now have a Pet tab on their item page showing the full chain of pets involved.
  • Breeding Tab - Breeding Tab now shows parent/offspring relationships to pet items.
  • Pets Page - Added Pets page.
  • Item Info on Hover - When on the Items page stats will now show on the left when you hover over them. Desktop only.
I would also mention that https://www.rpgmobob.com/ has useful links and other utilities. It's worth a look/bookmark!

I want to thank leriel for all the hard work keeping it running while I was gone. Leriel added some great features, as well as made it much easier to update the database using a script that can connect to the game and pull the data automatically.
User avatar
Rebelmoon
Spirit
Posts: 704
Joined: Sat Aug 22, 2015 11:56 pm

Re: MODB Updates, Feature Requests & Bug Reports

Post by Rebelmoon »

+1

Congratulations Bob (and helpers), you have just slain the wiki ;)
Entering a new Era of RpgMO.
User avatar
bobdylan
Ghost
Posts: 172
Joined: Sun Oct 19, 2014 9:24 pm

Re: MODB Updates, Feature Requests & Bug Reports

Post by bobdylan »

Your Chance to Craft - Your chance to craft items will be calculated on the Recipes page if you have loaded your character's stats and have a stat loaded for the skill listed.
User avatar
bobdylan
Ghost
Posts: 172
Joined: Sun Oct 19, 2014 9:24 pm

Re: MODB Updates, Feature Requests & Bug Reports

Post by bobdylan »

Sticky Headers - Table headers will now stick to the top of the window as you scroll down the page. Works in Chrome and Firefox and possibly other webkit browsers. IE may support this in the future.
User avatar
manawe
Dark Orc
Posts: 546
Joined: Sun Mar 17, 2013 2:59 pm

Re: MODB Updates, Feature Requests & Bug Reports

Post by manawe »

First of all, Thank You for Your service.

Now for suggestions:
1) I would recommend adding rendered maps instead of png - its reasonably simple.

In 2nd year at uni I did a small wiki myself in order to learn angular for my summer job - here is a short video:
https://www.youtube.com/watch?v=o2OfkTTqAaY

This could allow you to add filter options to the map - highlight objects on maps, hide ground, add background mask and opacity, etc etc, sort of like Gabrael maps, or link to mob map links which could center on map.

2) Improve navigation of wiki (NOT SURE if can be done easily in react! Quick googling showed this: https://reacttraining.com/react-router/ ... mple/basic)
Every time you load up a new page from navigation it is re-rendered. It could be better to use History API to update the URL without reloading the page or partial view.

Quick example (couldnt find anything I did which is more cpu intensive to highlight the difference, I used static routing in my rpg wiki too xD):
https://youtu.be/YTSqkzyed3I

3) Add page showing arrow information (like spells)

4) Allow to adjust dps/xps for spells/arrows based on the selected cool down reduction.

5) List vendors with just their names and images of items - condensed view which does not require clicking on vendor names which takes you to separate screen. Add item filter to vendors.

If you have any questions I am free this week before I start school again so feel free to ask any questions in game. :)
I can't help with the implementation since I do not know react but could try to dig up some old code.

Once again great job!

Will be back with more,
Merry Halloween from Mana***
Professor Manawe, O.M. (First Class), Grand Sorc., D. Wiz., X.J.(sorc.), S. of Mag.Q tinyurl.com/rpgmoMaps
User avatar
bobdylan
Ghost
Posts: 172
Joined: Sun Oct 19, 2014 9:24 pm

Re: MODB Updates, Feature Requests & Bug Reports

Post by bobdylan »

Thanks for the suggestions! Here's some responses:
manawe wrote:1) I would recommend adding rendered maps instead of png - its reasonably simple.

In 2nd year at uni I did a small wiki myself in order to learn angular for my summer job - here is a short video:
https://www.youtube.com/watch?v=o2OfkTTqAaY

This could allow you to add filter options to the map - highlight objects on maps, hide ground, add background mask and opacity, etc etc, sort of like Gabrael maps, or link to mob map links which could center on map.

Yup, this is on my list of things to do. Don't know if you've seen my Interactive World Map but my idea is to turn that into rendered maps you can quickly move around on, zoom in and out on, and look at stuff on. Then I want to have MODB link to it (like click from a vendor page to go to the interactive map that vendor is on and see where they're at. Mobs & other stuff too. Just need time to work on it. (all of this is done in my "spare time" after working an average of 60hrs a week, lol)
And BTW, that YouTube link says the video is unavailable. LMK if you have a working link, would love to see it.
manawe wrote:2) Improve navigation of wiki (NOT SURE if can be done easily in react! Quick googling showed this: https://reacttraining.com/react-router/ ... mple/basic)
Every time you load up a new page from navigation it is re-rendered. It could be better to use History API to update the URL without reloading the page or partial view.

Quick example (couldnt find anything I did which is more cpu intensive to highlight the difference, I used static routing in my rpg wiki too xD):
https://youtu.be/YTSqkzyed3I
Actually, the entire page isn't re-rendered when you click stuff/search. It only changes the parts of the DOM that need updated. EG, the nav on the left almost never changes (the numbers change when you search, but otherwise it's pretty static.) That said, I'm actually rebuilding the app in the latest version of React (the original app is very old, and a lot has changed.) I'm also breaking the data out (right now everything is in one giant JS file (almost 3MB.) I've already built an API for it, and am working on the app itself now. It'll probably be a month or two before I release this version, lots to do, and I want to continue working on the current version too.
Edit: I just noticed on mobile that clicking some links will scroll the page to the top, giving the feeling that it is refreshing. This is because I'm using the Hash API - This will change in the next version of MODB. For now, it has to stay though.
manawe wrote:3) Add page showing arrow information (like spells)
Good idea! I've actually got it on my list to make arrow images work (they work completely differently than the rest of the game's images) and just haven't gotten around to doing it. Maybe I'll make that arrow page as you suggest and do the images at the same time. ;)
manawe wrote:4) Allow to adjust dps/xps for spells/arrows based on the selected cool down reduction.
Actually, I'm working on adding "Item Sets" to the "Load Character" system so you can create 3 sets of gear: Melee, Magic & Archery. Then if you create a Magic set the spells page will automatically calculate your CD reduction and add "Your DPS" and "Your XPS" columns to the list. The same idea would apply to your Archery set and the (soon to exist) Arrows page. ;)
I also want to use the Item Sets to integrate a Combat Analysis (one that would work for Archer too!)
manawe wrote:5) List vendors with just their names and images of items - condensed view which does not require clicking on vendor names which takes you to separate screen. Add item filter to vendors.
Nice idea. I'll have to look into it. Shouldn't be too hard. :D
User avatar
manawe
Dark Orc
Posts: 546
Joined: Sun Mar 17, 2013 2:59 pm

Re: MODB Updates, Feature Requests & Bug Reports

Post by manawe »

I changed the video from private to unlisted - its not a final version though, I did the video just to share how map scrolling could be done.

https://www.youtube.com/watch?v=o2OfkTTqAaY
Professor Manawe, O.M. (First Class), Grand Sorc., D. Wiz., X.J.(sorc.), S. of Mag.Q tinyurl.com/rpgmoMaps
User avatar
bobdylan
Ghost
Posts: 172
Joined: Sun Oct 19, 2014 9:24 pm

Re: MODB Updates, Feature Requests & Bug Reports

Post by bobdylan »

manawe wrote:I changed the video from private to unlisted - its not a final version though, I did the video just to share how map scrolling could be done.

https://www.youtube.com/watch?v=o2OfkTTqAaY
Yeah, that's cool. Maybe you should do the interactive map! :P
User avatar
bobdylan
Ghost
Posts: 172
Joined: Sun Oct 19, 2014 9:24 pm

Re: MODB Updates, Feature Requests & Bug Reports

Post by bobdylan »

Your Avg XP/HR - Added "Your Avg XP/HR" to the recipes list:
  • Requires you have loaded your stats (and entered them if need be.)
  • It is based on 1 action every 2 seconds. This seems about right for gathering skills, probably not right for other skills like farming and making items, but since it is applied the same to all of the actions on the list it at least gives you a good idea of what action will yeild the best xp/hr for a given skill.
  • Works best when you click "toggle filters" and choose a specific skill.
  • Does not take into account time it takes to run to chest, which if far away or you have to fight mobs, can drastically affect your outcome.
Sort Bug - Fixed a bug in some of the sorting routines (particularly when using floating point numbers or numbers with commas in them.)
User avatar
woodcroft
Green Wizard
Posts: 62
Joined: Tue Sep 23, 2014 1:22 am

Re: MODB Updates, Feature Requests & Bug Reports

Post by woodcroft »

That's extremely useful! I love the layout. One problem is that when I click "items", for example, it takes way too long to load on my toaster. Is it possible to have it list no item as default, instead of listing all items? There could be a button saying "Show all" or something like that. And filters could be on as default too.
User avatar
bobdylan
Ghost
Posts: 172
Joined: Sun Oct 19, 2014 9:24 pm

Re: MODB Updates, Feature Requests & Bug Reports

Post by bobdylan »

woodcroft wrote:That's extremely useful! I love the layout. One problem is that when I click "items", for example, it takes way too long to load on my toaster. Is it possible to have it list no item as default, instead of listing all items? There could be a button saying "Show all" or something like that. And filters could be on as default too.
MODB 2.0 will actually paginate the lists, so it will show much less at one time. This is a ways off still, but it will come eventually.
User avatar
Dssmount
Green Wizard
Posts: 61
Joined: Thu Jul 27, 2017 1:42 pm
Location: Canada

Re: MODB Updates, Feature Requests & Bug Reports

Post by Dssmount »

Would love to see a filter in the db that shows mobs with monster book connections to items, highlight them or have them stand out.
Cpawel
Chicken
Posts: 1
Joined: Mon Sep 02, 2024 8:37 pm

Re: MODB Updates, Feature Requests & Bug Reports

Post by Cpawel »

Would it be possible to make the data fully searchable, for each attribute? That is, having all fields queryable? Putting the information through a SQL-like database language would make this easy, and a powerful search tool.
User avatar
bobdylan
Ghost
Posts: 172
Joined: Sun Oct 19, 2014 9:24 pm

Re: MODB Updates, Feature Requests & Bug Reports

Post by bobdylan »

Update:
I got MODB updated yesterday, so it now has all the latest items and such. I've also moved it and www.rpgmobob.com to GitHub pages as the host. There is no longer an API server doing anything, both are just static sites basically with JavaScript providing some interactivity. This means the old rpgmobob.com site is gone now, I had the beta site up for a while and didn't get much feedback, so I decided to rip the bandaid off and get this all done... The 2 sites were costing me about $240/year to host (bandwidth on MODB is pretty bad because its over 1MB to download.) Now it's free. :geek:

That said, the ability to login and suggest links is gone. If you'd like to suggest a link, use the Ideas category in Discussons on the GitHub repo. If you're a developer, you're welcome to fork the repo and make pull requests to update/add content as well. Details about he tech stack are on the repo's main README.md.

Sorry for the late replies:
Dssmount wrote: Thu Apr 25, 2024 12:42 am Would love to see a filter in the db that shows mobs with monster book connections to items, highlight them or have them stand out.
Nice idea, I will try to take a look at this sometime in the future. I already have some ideas for integrating the monster book and other related things (including cabinet inventories, etc.) but just haven't had a lot of time to work on MODB recently. I'll certainly keep this in the notes tho!
Cpawel wrote: Mon Sep 02, 2024 8:42 pm Would it be possible to make the data fully searchable, for each attribute? That is, having all fields queryable? Putting the information through a SQL-like database language would make this easy, and a powerful search tool.
There is no database behind MODB, it is 100% an SPA that uses JSON files as the database. That said, there is quite a bit of filtering you can do... For instance, click items, then the toggle filters button. This will expose more fields you can query, and others will show up depending on choices you make.
If you're interested in having other fields used in the text search, give me an example and I'll add it to the code. It's just a regex that gets tested across a few properties on objects (eg, item.name, item.description....)
Post Reply