Chapter 8 Causes of Bugs
Thinking of this, Lecturer Ding continued to move forward.
Sure enough, after finding the "right way to open the game", the single-player challenge looked much more normal.
In the course of the subsequent game, Lecturer Ding began to encounter different scenes, the gate of hell in his field of vision was getting closer and closer, and the traces of demonic corrosion in the scene were becoming more and more obvious.
The demons they encountered also began to become stronger, not only in size, with more and more health, but also with better weapons.
At first, Lecturer Ding could rely on the "Bullet Turn" stunt to kill most of the enemies, but soon, the difficulty of the level continued to increase, and he had to continue to hone his skills to improve the accuracy of "Bullet Turn", and also used various tactics in general FPS games.
Detour, outflanking, guerrilla, flexible use of different firearms......
At first, Lecturer Ding was just trying to complete the business order, but as the game progressed, he found that the game became more and more fun!
It's just a simple "bullet turn", but it almost completely subverts the basic gameplay of the game, making it a lot of fun!
On the other side, Lecturer Ding's fans also started testing in the game.
And the players with better talent have also quickly mastered the core technology of "Bullet Turn".
They were surprised to find that they seemed to have a fight with the devil!
Although these demons have a lot of blood and firepower, they only have three people and move slowly.
The Apocalypse Cannon can't move once it's placed, while the Golem Gatling can move, but it's very slow and still a live target.
As for why......
Obviously, because Lilith never thought of the possibility of a "demon beating".
Of course, players who play as demons can also choose other demon characters or more flexible guns, but the demons' health and other attributes will also be reduced.
As a result, human players were pleasantly surprised to find that when the demon chooses to stand on the stake with heavy firepower, they can use the "bullet turn" method to attack behind cover in the distance; And when demons choose a highly mobile body and weapon, they can use their numerical advantage to gather fire.
The combat power of demons and humans has really reached a strange balance!
……
At this time, the rental house is in the house.
The negative emotions in Gu Fan's vision are still changing rapidly, but the growth rate has slowed down significantly.
It's not that fewer players are entering the game, on the contrary, it's just the peak of the game's drainage.
The point is that a lot of people's attitudes towards the game have changed.
From the original increase in negative sentiment value, it has become a deduction of negative sentiment value!
[Negative emotions from Ding Qiang-95! ] 】
[Negative emotions from Ding Qiang-332! 】
Obviously, among the many players, Lecturer Ding is particularly energetic.
When he said "the answer to the mystery is on the mystery" and unlocked the "secret" of the game "Hell Tracks", he instantly generated a negative emotional value of -332 because of pleasure and happiness.
This value is even more than the joy that players would have had when they played as a demon and killed other players in the online mode.
This shows that Gu Fan's plan has worked!
He managed to change the core gameplay of the game with a small bug, turning this game with no fun and pure abuse of players into an excellent game with a moderate level of difficulty and novel gameplay.
Looking at the data background again, sales have also begun to grow!
Originally, after two hours of abuse, the vast majority of players would not have purchased it, but after discovering this hidden mechanism, they generously donated it.
18 yuan, you can't buy it, you can't buy it, you can't be fooled!
With only 18 yuan to experience the joy of bullet turning, who wouldn't want to give it a try?
As for Lilith, her hand holding the potato chips hung in the air, and the whole person, oh no, the whole demon was completely still.
What's going on??
She felt that her CPU was burning a little: there was a bug in this game, and as a result, the players who were supposed to be dissuaded from playing more and more happily?
Seeing that the negative emotions she could receive were rapidly decreasing, Lilith instantly became angry, and she angrily threw the finished potato chips package on the ground, asking, "What the hell is going on!" ”
Facing Lilith's menacing, Gu Fan looked terrified: "I don't say it!" ”
Lilith was even more angry: "You made the game, how could you not know!" ”
Gu Fan shouted wronged: "The design of this game is all done by you, I know that you demons have no conscience, but you say with your conscience, am I writing the program in strict accordance with your requirements?"
"I haven't changed any of your designs at all, have I?
"Could it be that you are also like the big Internet companies in the world, and if something goes wrong, kill a few programmers first? It's unreasonable! ”
Lilith was stunned, her brows furrowed, and she thought about it, as if what Gu Fan said did make some sense.
The game is indeed made in strict accordance with her design scheme.
But soon, she reacted: "But how do you explain this BUG?" ”
Gu Fan felt inexplicable: "Isn't it normal for the game program to have bugs?"
"If you want to make a game without bugs, it's really too high for me, let alone me, and no programmer can do it!
"I think that kind of thing can only be done by God himself, or why don't you go and ask him for help?
"Besides, even if either of us is responsible for the bug, it should be you!"
Lilith was stunned: "Why?" ”
Gu Fan turned defense into offense, and said confidently: "I said at the time, a game of this size has to be tested for at least a week, and if you want to be safe, you can even test it for a month."
"It's what you said about testing and putting it on the shelves in three days, and it's normal that some bugs haven't been tested, is this to blame me?"
The corners of Lilith's mouth twitched slightly: "But you have corrected most of the bugs after three days of testing, leaving only this one of the deadliest!" It's hard for me to believe you didn't mean to! ”
Gu Fan did not back down: "I fixed most of the bugs in three days, which shows that I have strong work ability!"
"And you also saw when I used the test tool to test the BUG, how can I change the BUG that the test tool didn't detect?"
As a programmer, throwing the pot is obviously a mandatory skill, and Gu Fan has mastered it perfectly.
His attitude is very tough, even if this matter is said today, it is a BUG! It's an accident!
Lilith's voice weakened visibly, and it was clear that she felt unreasonable.
As long as Gu Fan didn't break the contract, Lilith couldn't find fault.
"Well, it really doesn't seem to be your fault......
"But I'm still puzzled! This game is obviously made with a game template, why are there so many games that use this template are no problem, but only our game has a bullet turn? ”
Gu Fan was silent for a moment and sighed: "Okay, I'll go and check the code." ”
Speaking of which, Gu Fan moved the laptop to the living room, sat on a small bench, opened the game editor, and began to check the underlying code of "Hell Tracks".
Even though you use a specific game template, it's okay to see the underlying code of the template.
Lilith stood aside, watching the code in white on a black background constantly flashing across the screen, and seeing what Gu Fan was constantly operating, and even searching for some information on the Internet during the period, she had a sense of uncertainty.
She couldn't say anything more, so she could only wait patiently.
After more than an hour, Gu Fan finally showed an expression of sudden realization.
He pointed to one of the lines of code and said, "Okay, I've figured it out, here's the problem." ”
Lilith looked at it with a frown, but it was clear that she was confused and didn't understand it at all.
Gu Fan explained: "This set of templates was officially changed from a very old game "Anti-Terrorist Action". There was a similar bug in this game, but it was fixed quickly, so it didn't attract much attention. ”
Lilith frowned: "Anti-terrorist operation"? ”
She hadn't heard of this name, but Gu Fan had already found information on the Internet in advance.
Judging by the data, this should be a game from more than 10 years ago.
It is precisely because this game is so old and has a strong commemorative significance that it will be officially bought with the copyright and code and made into a game template for the general indie game producers.
The information also shows that this game does have a very special BUG, called the "Sniper" BUG!
It caused the player to deal damage to an entire line of snipers at the same time when they were "sniping", which was a sensation at the time.
However, this balance-busting bug was quickly fixed, so until now, most players don't remember unless they specifically searched for information from the time.
But that clearly didn't convince Lilith.
"No, isn't this bug fixed a long time ago? Why is it still triggering? And this bug doesn't look the same as the bug in our game! ”
Gu Fan sighed: "It's been fixed, but you have to know that we programmers can never 'completely solve the problem from the root' when we fix bugs, we can only do 'make the bugs seem to disappear', but are there any other parts of the underlying code that induce bugs?" There's no way to know for sure.
"Just like a doctor's visit, we can only make sure that the patient looks better now, as for whether it will relapse in the future? This is not guaranteed.
Obviously, this has been hidden in the underlying code all along.
"It just so happened that there was a special trigger in our game."
Lilith asked, "What trigger?" ”
Gu Fan looked at her: "It's what you wrote in the game design draft, this game should use real ballistics." ”
Lilith was a little puzzled: "What happened to the real ballistics?" I just want to simulate a bullet falling, which should be a normal and reasonable need, right? ”
Gu Fan nodded: "Yes, this is indeed a very normal and reasonable demand."
"The so-called real trajectory is nothing more than that the bullet will affect the flight trajectory when it is subjected to gravity, and I did this, but obviously, this seems to induce a loophole in the original underlying code, resulting in a game judgment error, and the player also inexplicably applied an external force to the bullet when sniping, making it turn like 'falling by gravity'......
"Anyway, that's the situation, that's the problem.
"I'm just a programmer, not a god, after all."
Gu Fan spread his hands and shook the pot clean.