• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Strange bug

Status
Not open for further replies.
Level 8
Joined
Mar 28, 2009
Messages
179
I got a strange bug, everytime i visit this thread. ( i work in the project, so i visit this thread quite often):

Zombie Assault Force

The bug is: +1 page to last page. So if i get to last oage (5) and click on 8 it redirects me to 5.

Here is the prove (attached).

You can also try it yourself.
 

Attachments

  • Bug-submission.jpg
    Bug-submission.jpg
    609.4 KB · Views: 111
Change the number of posts displayed per page to maximum. It seems only an issue with some of the lower numbers (I have it set to the largest number and seem to never encounter this issue).
This error appears as following:
It calculates:
round(POSTS_COUNT / POST_PER_PAGE)
If it will be more as X.00, it will round up, so its 1 page more as the thread originally is.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,275
We found it being related to deleted posts actually so what you psoted is wrong. The page count still counts deleted posts as actual posts to build onto pages, probably from an old version of VB when the feature was added. However they changed how deleted posts are displayed so they do not count as posts on a page so you can have infinate deleted posts on a page as long as the number of non deleted are less than the display number. Thus if you display 50 posts per page and there are 51 posts but 1 is deleted, it will list 2 pages as 51/50 rounded up is 2, yet there are only 50 posts and thus it should only display 12 page. Atleast this what the moderators agreed appon.
 
Status
Not open for further replies.
Top