Sign in to follow this  
Followers 0
SMT

[bug] [0.3.0] Funny Bug In Share Manager

11 posts in this topic

when unchecking some folder in shared folders tree, then checking it again, then unchecking, and checking again, you share size on hub grows with some large random numbers. it easy to "share" 10-20 terabytes with this nice feature

here is screenshots and video examples, provided by AniNerbe:

http://slil.ru/23556284

http://slil.ru/23556284/1822252535/clip0002.avi

Share this post


Link to post
Share on other sites

now users plays a game in hub - who beats "max shared" record æ-)

Share this post


Link to post
Share on other sites

Ain't that fakesharing ? And that 'bug' or feature doesnt work with me, maybe it's in your mod ? If so please change the topic name...

Share this post


Link to post
Share on other sites

Kind of bug, yes... Anyone please move this to "Bug Reports" section :blushing:

Using this will lead admins to disallow apex access to their hubs

Share this post


Link to post
Share on other sites

I tried this, and true it changes but in my apex the sharesize is reset to correct value when i press OK at the settings window

Share this post


Link to post
Share on other sites

well. i've tryed to reproduce this in unmodified 0.3.0, created share of 2 gb, but can't see bug. then switched to my main settings (share > 200gb) and bug appeared. try to test large shares, please

Share this post


Link to post
Share on other sites

p.s. share manager was not changed in any way, only limits tweaking. so i'm sure it can't be mod-specific bug

Share this post


Link to post
Share on other sites

Here you have your fix (i think)

add in the beginning of ShareManager::addTree:

//reset the sizes to avoid increasing the share size on every refresh
dir.size = 0;
add in the beginning of ShareManager::rebuildIndices:
//for statusbar
sharedSize = 0;

Share this post


Link to post
Share on other sites

Acc. to SMT, our fix too? If so, congrats Crise. And if not even more, if you support unofficial release. :)

Share this post


Link to post
Share on other sites

Acc. to SMT, our fix too? If so, congrats Crise. And if not even more, if you support unofficial release. :)

Yeah our fix too :) (didn't take me too long to figure it out, so not that much reason for congrats though)

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0