Chapter 461 Are there any more experts?

Gu Fan continued to explain: "So how exactly do computers store decimals?

“This is what I called ‘floating point’ before. Floating point means that the decimal point can float.

"For example, the binary number 1000.101 can be expressed as 1.000101 x 2^3, which is somewhat similar to scientific notation in mathematics.

"In the program, in order for the binary system to use scientific notation and standardize it, it is necessary to ensure that there is only one digit to the left of the decimal point, and it must be 1. The floating point numbers used by most of our current computers are all international standards established by IEEE. Standard, using the format of sign bit + exponent bit + mantissa.

"In short, due to the conversion between decimal and binary, so calculated in this way, 0.1+0.2 is not equal to the complete 0.3, because in computers, many decimals cannot be expressed in complete binary, so they can only If it is stored as an approximate number, then the addition of two approximate numbers can only be a new approximate number.

"Convert decimal to binary for calculation, and then convert to decimal for output. This leads to the situation that the two numbers before and after are not equal."

Lilith frowned: "Then why can't we use decimal to calculate accurately?"

Gu Fan coughed twice and said, "Well...if I had to explain 'why computers use binary' from the beginning, it would be too complicated and I wouldn't be able to explain it for a while.

"But regarding this issue, I can explain from another angle why everyone tolerates this kind of error, because this kind of error itself cannot be eliminated.

"Even in the decimal system, there will be many situations that cannot be divided. The decimal system can only accurately express the numbers that can be divided by 2 and 5, but for numbers such as 1/3 and 1/7, the decimal system cannot do anything. Errors will occur.

"So no matter what base system is used, errors are bound to exist."

Lilith felt smoke coming from her brain: "Okay, I understand, in the computer 0.1+0.2≠0.3, so what's going on with this bug?"

Gu Fan let out a sigh of relief: "If Mr. Li can understand this, it will be a little easier to explain this bug.

"To put it simply, when programmers wrote code with dynamic difficulty, they did not consider the extreme special case of 999 followed by a decimal, and did not write a special judgment for this special case. Therefore, in the process of converting values ​​​​to each other, The program couldn't determine which difficulty range this number was in, so it directly dropped it to the lowest difficulty level.

"From a human perspective, 4999.99 is certainly within the range of 5000, but this is not the case for the program. In other words, 0.1+0.2=0.30000000000000004, which overflows the normal range of 0.3."

Lilith was simply stunned. Although she still couldn't accept it, from a program point of view, the emergence of this bug was really reasonable.

Moreover, this is not just something Gu Fan said out of hand, similar bugs have appeared in other games.

Lilith quickly realized a new problem: "But assuming it is as you said, this special case should be difficult to trigger, right? Only when the difficulty value is stuck at 999 with decimals when entering the boss room, can It will trigger. But why can everyone trigger it in the game!”

Gu Fan coughed twice: "This... let me take a look."

He still opened the "Blood of Lies" program and carefully checked the relevant codes of "Fanatic Believer".

"Mr. Li, this is because of the special setting of the monster's throwing skill, the Fanatic.

"This throwing skill requires the player to manually break free. According to the dynamic difficulty setting, the slower the player breaks away, the better he is. Therefore, the dynamic difficulty will increase as the throwing time increases. Is this reasonable?"

Lilith thought for a while: "Hmm... reasonable."

Dynamic difficulty is the most basic setting of "Blood of Lies". Simply put, the more skillful the player, the higher the difficulty.

So from the perspective of throwing skills, the player who won the throwing skill is definitely bad, and the player who won the throwing skill but is slow to break away is even worse. Therefore, the dynamic difficulty continues to increase during the duration of the investment skill, which is a very reasonable design.

Gu Fan continued: "However, it seems unreasonable to continue to increase the dynamic difficulty.

“For a pitching skill, this kind of punishment is too harsh.

"So, in order to comply with the original design intention of dynamic difficulty, and to avoid some inexplicable bugs, the program has limited the dynamic difficulty value of this throwing skill, so that it can only increase to a maximum of 4999.99 under the current difficulty level, and cannot increase. Go to the next difficulty level.

“Only when the player is hit by another monster can he break through this value and reach the next dynamic difficulty level.

"This can be considered a more reasonable setting."

Lilith nodded slightly: "Well...it seems..."

Gu Fan continued: "But when these two problems are superimposed, a brand new problem appears.

"That is, when the player maintains this value and directly enters the boss battle, the system will re-judge the current dynamic difficulty, and then... there will be nothing more."

Lilith couldn't help but be stunned and temporarily lost her speech.

In principle, she has reluctantly accepted this bug.

But the result is totally unacceptable!

Because of this bug, the difficulty of getting the God-like ending has been greatly reduced!

Originally, it was a long process for players to reduce the dynamic difficulty to the lowest level. Not only did they have to carefully collect items and not be hit, but they also had to cause as much damage to the monster as possible. Any small mistake during this period could easily lead to failure.

After being hit several times in a row, the dynamic difficulty went up, and it was almost impossible to reduce it.

Many players had to restart.

In this process, a lot of negative emotions would naturally arise.

But what about now? Players don't need to be so troublesome at all. They just need to find a fanatic to hug before entering the boss room, and set the dynamic difficulty to 4ss room, and the dynamic difficulty will directly become the lowest!

From the online players' comments on the monster "Fanatical", we can also see how significant this bug is.

Before this, the Fanatic had almost become the TOP1 dung monster in the game "Blood of Lies", and it can also be said to be the first on the birth list.

At that time, players hated it so much that they even wanted to take a taxi to the headquarters of Against Heaven and put a knife on the developer's neck to ask them to delete this monster.

Because this thing has a large throwing range and a wide judgment, once it is hit, not only the character in the game will be mentally crit, but also the players outside the game will be severely visually impacted.

Especially those speed runners, they hate it even more.

Because even if you click the button at the fastest speed to break free, it still takes about three or four seconds. For speed runners, every second counts, and these three or four seconds are simply a death wish.

But now?

Both ordinary players and speed runners have fallen in love with this monster!

For ordinary players, if you think the game is too difficult, go to the boss room to hug it, and the difficulty will be reduced to the lowest, and the difficulty of beating the boss will be greatly reduced.

And for speed runners, it is even more fun. They can rely on this method to keep the difficulty low throughout the whole process, and the situation of overturning when beating some bosses is greatly reduced!

For players who want to get a god ending, it is even a great blessing.

Dynamic difficulty was originally intended to disgust players, but by some strange coincidence, it became a tool for the official to skip classes.

Players even wanted to worship the fanatic as their own father.

"Fanatic! Big-headed doll! Fanatic fan! He is simply the best person in "Blood of Lies"!"

"Brother Fanatic has helped you reduce the difficulty of the game to the lowest level, and you still don't say thank you to Brother Fanatic!"

"Blood of Lies can be missing anyone, but Brother Fanatic is indispensable. Charlton City is incomplete without Brother Fanatic!"

"Can the official change the range of Brother Fanatic's throwing skills to be a little wider? I want him to hug me faster, thank you!"

"It's amazing!"

"Is there any big guy who can develop a beautiful girl mod for Brother Fanatic? I don't mean anything else, it's completely for practical considerations."

Lilith scratched her head angrily: "Damn it!!"

Although she was angry, it was obvious that she couldn't do anything this time. Gu Fan obviously didn't participate in the development of the game. It's obviously not appropriate to put the blame on Gu Fan, right?

But if there are other insiders...

It will be troublesome to catch them.

Gu Fan hurriedly persuaded: "Mr. Li, actually think optimistically, at least the current players' complaints about this ending of becoming a god have become louder."

Lilith was stunned for a moment: "Oh? Really?"

She opened a forum and found that it was true.

There are still as many players who curse the ending of becoming a god as before, and even more.

Why is this?

Because although this bug improves the player experience, it improves the experience because of the bug. Doesn't it prove that the ending of becoming a god is deliberately disgusting players from the beginning?

If a certain ending of a game uses a bug to barely achieve a normal game experience, it can only mean that the official did it on purpose from the beginning, right?

For this point, the bug faction and the mechanism faction have reached a rare agreement.

This time, no one said it was a mechanism. It was obviously a pure bug!

After all, the floating-point calculation bug is also a classic bug in the game field. Anyone who knows a little about computer knowledge can see it.

So what is the benefit of this for Lilith to collect negative emotions?

Of course there are.

If players think this is some kind of special mechanism, then they will be cheated during the game and have relatively fewer negative emotions, because they are more likely to accept similar settings.

But if it is a bug, even if the game experience becomes normal after using the bug, players will still have a lot of negative emotions.

Because bugs are generally not considered to be part of the normal experience of the game.

Lilith sighed: "Well, this is a blessing in disguise..."

However, while she was sighing, she suddenly saw another video.

"Heavy news! There is actually a way to block the Master Sword in "Blood of Lies"? Teach you how to double the judgment frame of GP!"

Seeing this title, Lilith's eyes widened instantly and she almost vomited blood.

"What the hell!!"

There are still masters?