Chapter 183 Optimizing Shit Mountain Code
Jiang Bin’s interview report was soon posted on the homepage of the Game Star portal website.
The accompanying picture is a group photo.
Chen Ba was wearing a gray hoodie, making a "V" sign with his right hand, and standing with Xiao Lu, Yang Dong and others with a smile on his face. There was a big "Tianba Game" logo on the background wall behind him.
This report is very popular.
Because the news that Tianba Games is developing a 3A game is spreading like wildfire on the entire Internet, but no one has found out the specific inside story.
Jiang Bin was the first gaming media person to inquire about the game and conduct an exclusive interview.
Therefore, many netizens, including industry insiders, can only learn about "Global Evolution", which is said to be the third domestically produced 3A big-budget game, through this exclusive interview report.
That’s right, the third domestically produced model!
So far, there are two 3A games in China, one is "Black Myth: Wukong" and the other is "Battle of Bright Summit".
What’s interesting is that the first two domestic 3A games are both soul-like games with relatively high difficulty.
All right!
It may be because these game producers prefer soul-type games, anyway, they are all of this type of subject matter.
In comparison, "Global Evolution" is not that difficult and is relatively easy to get started, which is also the main reason why everyone is looking forward to it.
after all……
Souls games are really unfriendly to some players. After falling to a boss countless times, the feeling of failure and discouragement is quite strong.
In fact, Chen Ba also planned to make a soul-like game at the beginning.
However, not long after he came up with this idea, he gave up the idea because he was clumsy.
How embarrassing it would be if he, the producer, couldn't finish the game after it was made?
The difficulty is average, and it focuses on an open world adventure. This more relaxed and casual gameplay will not make it so uncomfortable for him to play, and he will not be discouraged by the game he developed.
"If you're not good at it, practice more!"
Xiao Lu was speechless: "You can break through the defense at red temperature by playing the game you developed yourself. Brother Ba, you are definitely the first one..."
"Why did I break down?"
Chen Ba let go of the mouse and said disdainfully, "I just think that this difficulty is too easy for me, that's all."
"Really?"
Xiao Lu sneered, having seen through Brother Ba's stubbornness.
They just finished making a ferocious beast Boss and needed to test the difficulty and skill cycle of the Boss.
Brother Ba volunteered, saying that he was a hardcore gamer, and repeatedly emphasized that he was an expert and that it would be absolutely foolproof for him to do the test.
Everyone believed it.
As a result, Brother Ba came out and was beaten to death by the ferocious Boss. He was so angry that his face turned red and he pounded the keyboard wildly, angrily criticizing Xiao Lu for having a problem with the difficulty balance of the levels.
Xiao Lu was speechless.
Is there still a problem with this difficulty?
To be honest, it was fortunate that Brother Ba was the boss and the one who paid him. If someone else had said this, he would have demonstrated on the spot what it meant to clear a level with one hand!
Brother Ba is a pure vegetable...
It's fine if he's a bad player, but he still refuses to admit it. He'd rather blame the level difficulty imbalance than admit that he has a cold leg and can't dodge a single skill.
"Forget it, I'll do it."
Xiao Lu sighed and said, "Brother Ba, you should take a rest first. It is really embarrassing for you to test the difficulty of the level BOSS."
If Brother Ba continues testing, I'm afraid the easiest difficulty will become hellish. I don't feel sorry for Brother Ba, but the keyboard and mouse are always innocent, right?
"I've already told you that this is too difficult... huh?"
Less than three minutes after leaving his seat, Chen Ba was still muttering that the difficulty was too high and that he was afraid that it would discourage many players.
But when I turned around, I saw that Xiao Lu had actually defeated the ferocious beast boss?
What does that mean? This beastly boss likes to take advantage of others, so he deliberately lets Xiao Lu off, right? He hits him hard, but Xiao Lu just lies down and lets him be slaughtered?
Chen Bazhen became famous.
He really couldn't stay in this office for even a second. He always felt that the way other people looked at him was half mocking and half pitying...
I won’t watch it anymore! Chen Ba, who was upset, simply returned to his office, sat on a chair, closed his eyes and studied the system interface.
"Global Evolution" is still in the development stage, and various ratings are fluctuating and have not stabilized.
What surprised him was.
In the [Program] score, the detailed score for the code was as low as 62 points, which was an extremely low score Chen Ba had never seen before.
Something went wrong…
Why is the code scored so low? Is it a pile of shit code? Chen Ba was a little troubled by the 62 points, so he called Yang Dong, and the two of them worked together to sort out the existing code and try to find the root cause of the problem.
After investigation, Chen Ba felt that the problem should lie in the code priority.
There are two main reasons for the emergence of shit mountain code: one is the code interface, and the other is the code priority! The former, that is, the number of interfaces and interface formats of the old code, will not be enough one day. To put it more abstractly, the elevators in a high-rise building may face the situation of insufficient elevators or insufficient elevator load.
At this time, you either have to change an elevator, that is, rewrite this section of code, or ignore the old elevator and install a new one, that is, bypass this section of code and add a new section of code.
This problem is mainly caused by the changes of the times and is actually not that serious.
The code score of "Global Evolution" is very low. Chen Ba suspects that it is a problem of code priority, that is, the code is not very extensible and may not be suitable for launching a series of DLCs or even version updates in the future.
Because after checking, he found that if "Global Evolution" was really released like this, if he wanted to make DLC in the future, simple skin map DLC would be fine.
But for DLCs that involve more complex mechanisms, that would be a bit difficult, and you might even have to rewrite the code.
“It can be optimized!”
After finding the root cause of the problem, Chen Ba wanted to use the optimization function of the Tiehanhan system to optimize the Shishan code.
I can't say anything else about the Tiehanhan system, but its code optimization capability is absolutely top-notch. The code optimized by it will not look old and outdated even after twenty years.
"It increased by 7 points?"
After discovering that the code score increased from 62 to 69, Chen Ba was not very satisfied, because he had already optimized the Shishan code, so how could it only increase by 7 points? Could it be that the problem came from somewhere else?
With a hint of curiosity, Chen Ba tested other codes again. After working on it from morning to afternoon, he finally found the root cause of the problem.
"Fuck, it's actually evolution..."
He thought of many possibilities, but he never thought that the problem came from the game's evolution mechanism.
In the game, players gain experience and eat the meat of ferocious beasts to increase their evolution level. When this evolution level reaches 100%, they can unlock the next stage of evolution and gain a powerful talent.
The code written around this mechanism has major flaws. If it weren't for targeted investigation, Chen Ba would not have been able to discover it.
This evolution degree, under certain circumstances, will get stuck at 99% and cannot be improved any further, which is a serious bug in the game.
No wonder the code score is not going up! The evolution degree in Global Evolution is roughly equivalent to the experience bar in other games. I can't level up while playing the game, and the experience bar is always stuck at 99%. Isn't this a serious problem?
After rewriting the code and re-optimizing it using the Tiehanhan system, Chen Ba was pleased to find that the code score finally increased from 69 to 92 points.
take off!
A sudden increase of 23 points was enough to prove how serious the problem was. Chen Ba was very scared.
If he hadn't clicked on the secondary page and seen the 62-point code score, he wouldn't have discovered this problem.
If you release the game like this, and then players buy it and play it, only to find that the evolution level is stuck at 99% and cannot go any higher, wouldn't they be furious and demand a refund?
"Fortunately, we found it in time."
Yang Dong also breathed a sigh of relief and felt fortunate that the bug had been eliminated.
This bug is caused by code priority. It will not be triggered under normal circumstances, but once it is triggered, it is equivalent to a "dead file". There is no other solution except restarting the game.
in other words.
There is no mistake in the poem, post, content, and read the book on 6, 9, and bar!
The nature of this bug is quite serious. If it is not detected in time, it will probably cause an uproar among players after the game is released.
"Don't worry, it's all right now."
Chen Ba smiled and said, "We can't blame ourselves for being careless. The main reason is that the bug was hidden too cleverly."
To be honest, if it weren't for this abnormal score, Chen Bazhen would not have been able to discover the problem of "evolution degree 99% stuck infinitely".
It was hidden too deep! But since they found it, there was no need to worry. It went from 62 points to 92 points, a full 30 points increase.
The code score of 92 points is already a very high score in the previous games. If we continue to optimize it, it is very likely to reach more than 95 points.
This score is so stable!
Code with a score of 62 must have some major problems, but code with a score of 92 or even 95 is likely to be fine.
But having said that.
Although Chen Ba was very satisfied with the score of 92 and felt that there would be no problem, this was after all the score after the optimization of the Tiehanhan system, and the optimization of the Tiehanhan system...
Let’s test it a few more times!
I have nothing to do anyway, so I might as well find something to do. Test it a few more times to avoid any problems.
Therefore, Chen Ba conducted several rounds of routine "bar fried rice" tests around the optimized evolution mechanism, and the results were all normal.
"OK!"
After testing it several times, Chen Ba was completely impressed by the Tiehanhan system.
The code was reduced by two-thirds, but the function remained the same, and it was even more useful than before. It was a product of black technology, and the code was just good! No matter how he tested it, the evolution degree would not get stuck at 99%, and there would be no more situations where it could not evolve.
This means the problem has been solved!
However, a large-scale game must have more than one problem to solve. Just when we have optimized the code, a new bug appears in the combat system.
"Swallowing damage?"
"right!"
This bug was discovered by Xiao Lu during testing. He found that during combat, if the DPS is too high, the damage will be swallowed.
This problem is also very serious.
However, it is actually simpler to solve than the previous evolution bug. You just need to rewrite the relevant code.
“Are there any other bugs?”
In just one day, two relatively fatal game bugs were found, which made Chen Ba very curious. Are there any other bugs in "Global Evolution"?
"I haven't found anything yet, but..."
Xiao Lu hesitated for a moment, and finally chose to tell the truth: "But I found that our NPCs seem to be more intelligent?"
"Oh, never mind that!"
Chen Ba waved his hand. The NPC template of "Global Evolution" borrowed part of the NPC generation program of "Divine Grace Continent".
So to some extent, the NPCs in this game also have AI intelligence and their actions are relatively intelligent.
But it's not a big problem.
The globally evolved NPCs cannot be smarter than the NPCs in "Shennong Continent", nor can they overshadow the main characters and turn players into supporting roles carrying cameras.
This is also a kind of restraint.
The NPCs in "Divine Grace Continent" have no constraints, so each one of them looks like a real person, a real person living in a virtual world.
However, the NPCs in "Global Evolution" are restricted and need to revolve around the players. This is determined by the nature of the game, so the degree of intelligence is limited.
The reason for adding intelligence to NPCs is actually to increase the sense of immersion.
After all, creating a grand worldview always requires a variety of NPC characters. The smarter they are, the more realistic and detailed the worldview created by the game.
But forget about dating! Brother Ba, who is still single, is determined not to eat dog food, and it is impossible for him to give sweets to players. In the game "Global Evolution", players can like an NPC, but it is impossible to get married.
Don't ask why. The answer is that Brother Ba doesn't agree with this marriage. The game does not support the favorability system yet! What? Without the favorability system, how can you win over your partners, or pets? Of course, you have to convince them with reason!
Have you ever seen a fist as big as a sandbag? Beat them until they are convinced, and then you can naturally conquer your partner (pet)! "The hero has a very... "
"Others regard him as a leader and an idol, so he will try his best to do his best."
Chen Ba explained: "So love and romance are just a burden to this kind of person. He only cares about strength."
This kind of person is very scary.
He also has a gentle and considerate side, but that is only towards his sister. To outsiders, the male protagonist is a stern and cold-faced killer.
"What a twisted personality!"
Xiao Lu commented: "If you ask me whether I respect this kind of person, then I respect him. But if you ask me whether I want to be this kind of person, then I probably don't want to."
"Yes, you are right."
Chen Ba also felt that Xiao Lu’s summary was correct.
The male protagonist of "Global Evolution" is such a person. He is respectable and convincing enough, but no one would want to be the second him.
This is also the main reason why there is no favorability system in the game...
What use is the NPC's favorability to this kind of male protagonist? He only cares about whether his fists are hard enough and whether his strength is strong enough! His sister is his only weakness.
In other words, the only thing he likes is his sister. All other NPCs should just die. No matter how pretty and charming they are, they will be killed with a slap...
(End of this chapter)