Project 1999

Project 1999 (/forums/index.php)
-   Blue Server Chat (/forums/forumdisplay.php?f=17)
-   -   New Wiki Page: Find Mobs By Level (/forums/showthread.php?t=320360)

loramin 03-20-2019 01:26 AM

Quote:

Originally Posted by Hibbs (Post 2879594)
https://i.imgur.com/i6WzSIv.png

This is all I see, so unsure where to "enter 30 for level"... am I missing something?

That means the Javascript code (which is necessary since wikis don't let you add form fields) isn't working. Unfortunately I don't have access to an Internet Explorer machine, but if anyone does and can report back any error messages I can hopefully fix it.

As an aside, normally when I program I use tools to help avoid this sort of issue, but the wiki limits things in a way that makes using those tools difficult.

mizzbiscuits 03-20-2019 01:53 AM

I love this! The wiki is my bff.

Tethler 03-20-2019 04:15 AM

Quote:

Originally Posted by jolanar (Post 2879237)
Great idea. Once it gets some more polish it would be great. I searched for level 40 mobs and a whole bunch of player magelo pages came up.

That's the red server search :D

Tethler 03-20-2019 04:17 AM

Quote:

Originally Posted by loramin (Post 2879643)
That means the Javascript code (which is necessary since wikis don't let you add form fields) isn't working. Unfortunately I don't have access to an Internet Explorer machine, but if anyone does and can report back any error messages I can hopefully fix it.

As an aside, normally when I program I use tools to help avoid this sort of issue, but the wiki limits things in a way that makes using those tools difficult.

I see that same page from my work PC (uses IE), but there are no error messages. Just loads like a usual page.

loramin 03-20-2019 11:13 AM

Quote:

Originally Posted by Tethler (Post 2879661)
I see that same page from my work PC (uses IE), but there are no error messages. Just loads like a usual page.

Thanks.

Based on that I'd guess that the people with problems are probably on IE8 (there was a big change between IE8 and IE9; basically Microsoft stopped being assholes and started playing by the same rules as everyone else) ... but that browser has such low usage now I'm kind of surprised that multiple people would have problems, so I figured maybe it was affecting all IEs.

Caldwin 03-20-2019 03:34 PM

Quote:

Originally Posted by loramin (Post 2879801)
Thanks.

Based on that I'd guess that the people with problems are probably on IE8 (there was a big change between IE8 and IE9; basically Microsoft stopped being assholes and started playing by the same rules as everyone else) ... but that browser has such low usage now I'm kind of surprised that multiple people would have problems, so I figured maybe it was affecting all IEs.

Both my laptop and computer at work uses IE11. Neither shows the wiki page correctly. While on my laptop (and PC) I can use Firefox, at work I'm stuck with IE.

loramin 03-20-2019 03:58 PM

Quote:

Originally Posted by Caldwin (Post 2879926)
Both my laptop and computer at work uses IE11. Neither shows the wiki page correctly. While on my laptop (and PC) I can use Firefox, at work I'm stuck with IE.

Here's instructions for getting errors on IE11:

https://answers.microsoft.com/en-us/...b-13ba725cedda

I realize it's a hassle, but if anyone wants to bother and paste the error messages here I'd be happy to try and fix them. It's just that without knowing what the actual problem is it's difficult for me to fix it.

Redlite 03-22-2019 03:33 PM

This is great, thank you!

Would it be possible to add an HP range search as well?

loramin 03-22-2019 03:59 PM

Quote:

Originally Posted by Redlite (Post 2881003)
This is great, thank you!

Would it be possible to add an HP range search as well?

Short answer: no. First off, a healthy percentage of mobs don't even have HP info, but more importantly the limited Mediawiki search can't search for ranges, it can only search for exact strings. So to search for "between 100 and 200 HP" you'd have to search for "HP: 100 and HP: 101 and HP:102 and ... HP: 200".

The slightly longer answer is that it absolutely would be possible to do something like that with a custom MediaWiki (PHP) extension, much like how Rahvin created our custom item searches (the ones you see when you look at rogue arm slot items or whatever). However, unless you happen to program in PHP and feel motivated, it's unlikely this will happen, as Rahvin is retired and I hate PHP with a fiery passion :)

Caldwin 03-23-2019 03:33 PM

I don't know if this helps any (not at all familiar with debuggers), but in "load.php" the debugger in IE11 says "Object doesn't support property or method 'startsWith'" for the following statement:

$(function(){var hideDelay=0;var trigDelay=250;var hideTimer=null;var ajax=null;var currentPosition={left:'0px',top:'0px'};var container=$('<div id="itemHoverContainer">'+'<div id="itemHoverContent"></div>'+'</div>');$('body').append(container);var $mouseoverTargets=$('span.ih a');var isItemCategory=document.title.startsWith('Category:')&&document.title.includes('Equipment - Project 1999 Wiki')&&!document.title.includes('Worshiper Equipment');if(isItemCategory){$mouseoverTargets=$ mouseoverTargets.add('.mw-content-ltr a');}


All times are GMT -4. The time now is 04:20 PM.

Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.