Project 1999

Go Back   Project 1999 > Server Issues > Bugs

Reply
 
Thread Tools Display Modes
  #1  
Old 03-11-2015, 11:15 AM
Grimjaw Grimjaw is offline
Planar Protector

Grimjaw's Avatar

Join Date: Jun 2014
Location: https://discord.gg/ngqrDtyVe6
Posts: 1,090
Default

im talking about the 17th tick... he reported it at 193 when it shoulda been 203. focus effects wouldnt have anything to do with that. a bad roll won't decrease the damage... just no increase. mob probably only had 193 hp left
__________________
Reply With Quote
  #2  
Old 03-11-2015, 09:20 PM
Technique Technique is offline
Sarnak


Join Date: Jun 2013
Posts: 451
Default

Spells with this formula must have used a counter to track the tick. The question is whether there was bounds checking on this variable and if so, what did a failed check result in?

If the formula were 12*tick - 1, and the counter wasn't bounded, then it'd be 17 on the extra tick, yielding 12*17 - 1 = 203.

Likewise, if the formula were 12*(duration_in_ticks - (ticksleft - 1)) - 1, and the counter wasn't bounded, then it'd be 0 on the extra tick, yielding 12*(16 - (0 - 1)) - 1 = 203 also.
Reply With Quote
Reply


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 06:28 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.