Project 1999

Go Back   Project 1999 > Class Discussions > Melee

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 04-09-2025, 11:29 AM
loramin loramin is offline
Planar Protector

loramin's Avatar

Join Date: Jul 2013
Posts: 10,623
Default

Quote:
Originally Posted by DeathsSilkyMist [You must be logged in to view images. Log in or Register.]
It looks like the wiki calculator doesn't allow users to adjust the textbox values. Bcbrown and myself are unable to edit things like AC and Defense. The calculator looks like it is only using the default values, it doesn't accept the new values. Some of the textboxes are working, like Off Hand Weapon Damage.
I checked the code, and the problem I found was actually with the mob (not player) stats: they weren't using the form values.

However, I have no idea what values are correct (I don't play many melee characters), so I can't really do much more QA myself: that's all on you DSM.

(Developer Talk) If you want to debug the code further yourself, you can use the browser dev tools to do so. Open the dev tools (F12), go to the sources tab, and pick the file "index.php?title=MediaWiki: DamageCalculator.js&action=raw&ctype=text/javascript" (it should be the second "index.php?" one on the list). You can then see the source code, add break points, trigger the form, and check any variables' values.

For instance,if you add a break point to line 141:

const results = RunDPSTest(playerStats, mobStats, 500);

... and then hover over playerStats/mobStats, you can now see that they use the form's values.


(Non-Developer Talk) If anyone else wants to check it out, you'll have to clear your cache (or else you might have to wait a few days to see the changes). A simple way (for anyone, not just a developer) to do this in Chrome is to open the developer tools (F12), click and hold down the reload button, and then pick "Empty Cache and Hard Reload" (and then do F12 to close the dev tools after).
__________________

Loramin Frostseer <Anonymous>, Hetch<Anonymous>, Tecla <Kingdom>, ...
Check out the "Where To Go For XP/For Treasure?" Guides

Anyone can improve the wiki! If you are new to the Blue or Green servers, you can improve the wiki to earn a "welcome package" of platinum and/or gear! Send me a forum message for details.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:47 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.