Login Register


Since when is negative NSP a thing? filter_list
Author
Message
RE: Since when is negative NSP a thing? #11
(03-28-2017, 03:43 AM)DarkMuse Wrote:
(03-27-2017, 02:21 AM)Zenith Wrote: It's a bug that happens when someone bets / uses credits, then after they use the credits the posts / threads they created get removed.

The post being deleted tells the Newpoints (that's the plugin being used) to remove -1 (or -3 if it's a thread) from a profile. The Newpoints plugin sees that there are less points than it has to remove. (I'm really bad at explaining)

For example. Let's say I had 2 credits because I donated all of them to @MyNameJeff or someone. If one of my threads were to be deleted, the Newpoints plugin would automatically think "okay. I need to remove 3 NSP from Zeniths profile. But oh look. He only has 2 NSP"

If there wasn't - numbers added, there would be an underflow which would give the user either an "error", or an infinite amount of Newpoints.

So why not just have a check for 0 nsp??

Idk yell at the Creator
I think it's because the Newpoints plugin is pretty simple, and something like 1-2= -1. I don't think the guy ever made a "stop at 0" patch since there have been other sites with the same issue.
Who Knows?

Reply

RE: Since when is negative NSP a thing? #12
(03-28-2017, 03:49 AM)Zenith Wrote:
(03-28-2017, 03:43 AM)DarkMuse Wrote:
(03-27-2017, 02:21 AM)Zenith Wrote: It's a bug that happens when someone bets / uses credits, then after they use the credits the posts / threads they created get removed.

The post being deleted tells the Newpoints (that's the plugin being used) to remove -1 (or -3 if it's a thread) from a profile. The Newpoints plugin sees that there are less points than it has to remove. (I'm really bad at explaining)

For example. Let's say I had 2 credits because I donated all of them to @MyNameJeff or someone. If one of my threads were to be deleted, the Newpoints plugin would automatically think "okay. I need to remove 3 NSP from Zeniths profile. But oh look. He only has 2 NSP"

If there wasn't - numbers added, there would be an underflow which would give the user either an "error", or an infinite amount of Newpoints.

So why not just have a check for 0 nsp??

Idk yell at the Creator
I think it's because the Newpoints plugin is pretty simple, and something like 1-2= -1. I don't think the guy ever made a "stop at 0" patch since there have been other sites with the same issue.

Well it's one of two things then (obviously)
1. He's too lazy to fix (kind of doubt this, especially if a lot of people use this plugin)
2. There's some more complex issues at hand with this specific error. You'd think he'd at least document it the fucker.
Scientia potentia est

[Image: inkexplosion.jpg]

Reply

RE: Since when is negative NSP a thing? #13
(03-28-2017, 03:58 AM)DarkMuse Wrote:
(03-28-2017, 03:49 AM)Zenith Wrote:
(03-28-2017, 03:43 AM)DarkMuse Wrote: So why not just have a check for 0 nsp??

Idk yell at the Creator
I think it's because the Newpoints plugin is pretty simple, and something like 1-2= -1. I don't think the guy ever made a "stop at 0" patch since there have been other sites with the same issue.

Well it's one of two things then (obviously)
1. He's too lazy to fix (kind of doubt this, especially if a lot of people use this plugin)
2. There's some more complex issues at hand with this specific error. You'd think he'd at least document it the fucker.

This is what he had to say

Warning* big size
Spoiler:
[Image: cmmpyf.png]
Who Knows?

[+] 1 user Likes zenith's post
Reply

RE: Since when is negative NSP a thing? #14
(03-28-2017, 04:06 AM)Zenith Wrote:
(03-28-2017, 03:58 AM)DarkMuse Wrote:
(03-28-2017, 03:49 AM)Zenith Wrote: Idk yell at the Creator
I think it's because the Newpoints plugin is pretty simple, and something like 1-2= -1. I don't think the guy ever made a "stop at 0" patch since there have been other sites with the same issue.

Well it's one of two things then (obviously)
1. He's too lazy to fix (kind of doubt this, especially if a lot of people use this plugin)
2. There's some more complex issues at hand with this specific error. You'd think he'd at least document it the fucker.

This is what he had to say

Warning* big size
Spoiler:
[Image: cmmpyf.png]

I like his answer!

Reply

RE: Since when is negative NSP a thing? #15
I swear this has cropped up a few times. I could be wrong.

We don't tend to manually make people have negative NSP - I promise! xD
[Image: 4GNsK67.png]

[+] 1 user Likes Jiggly's post
Reply







Users browsing this thread: 1 Guest(s)