Chapter 183 Optimizing Shit Mountain Code

Jiang Bin's exclusive interview report was quickly posted on the homepage of the Game Star Portal.

The accompanying picture is a group photo.

Chen Ba was wearing a gray hoodie with Biye on his right hand, smiling and standing with Xiao Lu, Yang Dong and others. There was a big "Tianba Game" logo on the background wall behind him.

This report went viral.

Because the news that Tianba Games is developing a AAA game has been widely circulated all over the Internet, but no one has found out the specific inside story.

Jiang Bin was the first game media person to find out about the game and conduct an exclusive interview.

Therefore, many netizens, including people in the industry, can only learn about "Global Evolution", which is said to be the third domestic AAA large-scale production game, through this exclusive interview report.

That’s right, the third model made in China!

As of now, there are already two AAA 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 AAA games are both relatively difficult Souls games.

All right!

Maybe it's because these game producers prefer soul games, since they are all of this genre anyway.

In comparison, "Global Evolution" is not that difficult and can be considered a relatively easy-to-play type, which has become the main reason for everyone's expectations.

after all……

Souls games are really unfriendly to some players. After falling into the hands of a Boss countless times, the feeling of frustration and dissuasion is quite strong.

In fact, Chen Ba also planned to make a soul game from the beginning.

However, not long after he had this idea, he gave up the idea because he was handicapped.

After the game was finished, he, the producer, couldn't pass it. How embarrassing would that be?

It's pretty good now.

The difficulty level is average, focusing on an open world adventure. With this more relaxed and casual gameplay, he won't feel so uncomfortable while playing, and he won't be discouraged by the game he developed himself.

"Just practice more cooking!"

Xiao Lu said speechlessly: "You can break the defense with red temperature when playing the games you developed. Brother Ba, you are definitely the first person..."

"Why did I break my defense?"

Chen Ba let go of the mouse and said disdainfully: "I just think this difficulty level is too easy for me, that's all."

"Really?"

Xiao Lu sneered, already seeing through Brother Ba's harsh words.

They just finished making a ferocious beast Boss, and they need to test the difficulty and skill cycle of the Boss.

Brother Ba volunteered and said that he was a hardcore player. He repeatedly emphasized that he was a master and it would be absolutely foolproof for him to test.

Everyone believed it.

As a result, Ba Ge took action and was tortured to death by this ferocious boss. He was so angry that his face turned red and he pounded the keyboard furiously. He complained angrily that there was a problem with the difficulty balance of Xiaolu's levels.

Xiao Lu was speechless.

Are there any problems with this difficulty level?

To be fair, Brother Ba is the boss and the one who pays him wages. If someone else had said this, he would have been able to demonstrate on the spot what it meant to clear the level with one hand!

Brother Ba is a pure vegetable...

Forget it, just refuse to admit it. I would rather blame the difficulty of the level for being unbalanced than admit that I am a cold-legged person who is so stupid that I can't dodge a single skill.

"Forget it, I'll do it."

Xiao Lu sighed and said: "Brother Ba, please rest for now. It's really embarrassing for you to test the difficulty of the level BOSS."

If Brother Ba continues to test, I'm afraid the easiest difficulty will become a hell difficulty. If I don't feel sorry for Brother Ba, then the keyboard and mouse are always innocent, right?

"I told you, it's too difficult for you... huh?"

Less than three minutes after he left his seat, Chen Ba was still muttering that the difficulty was too high and that he might dissuade many players.

When he turned around, he saw that Xiao Lu had actually defeated this ferocious beast Boss?

What's the meaning?

This ferocious beast boss likes to watch people serve food, so he deliberately lets Xiao Lu get into trouble, right? Punch him hard, then let Xiao Lu sit down and let him be slaughtered?

Chen Ba is really popular.

He really couldn't stay in this office for a second. He always felt that the eyes of other people looking at him were half ridicule and half pity...

Stop watching!

The upset Chen Ba 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 floating and have not stabilized.

What surprised him was.

In the [Program] category, the detailed score for the code was as low as 62 points. This was an ultra-low score that Chen Ba had never seen before.

there is a problem……

Why is this part of the code rated so low? Is this a bunch of shit code?

Chen Ba was troubled by the 62 points, so he called Yang Dong, and the two worked together to investigate and sort out the existing code, trying to find the root cause of the problem.

After investigation, Chen Ba felt that the problem should be in the code priority.

There are two main reasons for the occurrence 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 one day be insufficient. To put it more abstractly, the elevator of a high-rise building may be faced with the situation that there are not enough elevators or the elevator load is insufficient.

At this time, either change the elevator, which means rewriting this section of code, or ignore the old elevator and install a new elevator, which means bypassing this section of code and adding a new section of code.

This problem is mainly caused by the changes of the times, but it 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 scalable and may not be suitable for launching a series of DLC or even version updates in the future.

Because after checking, he found that if "Global Evolution" is really released like this, if he wants to make DLC in the future, a simple skin map DLC will be nothing.

But when it comes to DLC with more complex mechanisms, it's a bit difficult, and the code may even have to be rewritten.

"It can be optimized!"

After finding the root of the problem, Chen Ba wanted to use the optimization function of the Tiehanhan system to optimize the Shishan code.

I dare not say anything else about the Tiehanhan system, but its code optimization capabilities are absolutely god-like. The code optimized by it will not look outdated in another twenty years.

"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 why did it only increase by 7 points?

Could it be that the problem comes from somewhere else?

With a trace of curiosity, Chen Ba tested other codes. From morning to afternoon, he finally found the source of the problem.

"Damn it, it's actually evolution..."

He thought about many possibilities, but he never thought that the problem actually came from the game's evolution mechanism.

In the game, players gain experience and eat ferocious beast meat to increase their evolution. When the evolution reaches 100%, they can unlock the next stage of evolution and acquire a powerful talent.

There are big flaws in the code written around this mechanism. If it weren't for targeted investigation, Chen Ba wouldn't have been able to find it.

This level of evolution may get stuck at 99% under certain circumstances and cannot be improved further. This is a serious bug in the game.

No wonder the code score cannot go up!

The degree of evolution in "Global Evolution" is approximately equal to the experience bar in other games. I can't level up while playing games, and the experience bar is always stuck at 99%. Isn't this a serious enough problem?

After rewriting this string of code and re-optimizing it using the Tiehanhan system, Chen Ba was pleased to find that the code score finally rose from 69 to 92 points.

take off!

The sudden increase of 23 points was enough to prove how serious this problem was, and Chen Ba was very scared.

If he had not clicked on the second-level page and seen the 62-point code score, he would not have discovered this problem.

Just release the game like this, and players will buy it and play it later, only to find that the evolution level is stuck at 99% and cannot go up, so why don’t you get frustrated and ask for a refund?

"Fortunately, it was discovered in time."

Yang Dong also breathed a sigh of relief and felt grateful that this bug was 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 "dead stall". There is no other solution except restarting.

in other words.

This bug is quite bad in nature. If it is not checked out in time, I am afraid it will cause an uproar among players after the game is released.

"Don't worry, it's okay."

Chen Ba smiled and said: "This can't be blamed on our carelessness. The main reason is that this bug is hidden so cleverly."

To be honest, if it weren't for this abnormal score, Chen Bazhen wouldn't have discovered this "99% evolution degree infinite stuck" problem.

Hidden too deep!

But now that they have discovered it, there is no need to worry. It has risen from 62 points to 92 points, a full 30 points increase.

A code score of 92 points is already considered a very high score among games produced in the past. If you continue to optimize, it is very likely to reach a score of 95 or above.

This score is so stable!

A code with a score of 62 will definitely have some big problem, but a code with a score of 92 or even 95 will most likely have no problem.

But then again.

Although Chen Ba is very satisfied with the score of 92 and thinks there will be no problem, after all, this is the score after the optimization of the Tiehanhan system, and the optimization of the Tiehanhan system...

Let’s test it a few more times!

Anyway, idle time is idle, so just find something to do for yourself. Test it several times to avoid problems in the future.

Ever since, Chen Ba conducted multiple rounds of routine tests of "ordering fried rice at the bar" around the optimized evolutionary mechanism, and the results were all normal.

"OK!"

After Chen Ba tested it several times, he was so impressed by the Tiehanhan system.

The code has been streamlined by two-thirds, but the functionality remains the same and is even better than before. It can only be said that it is a product of black technology, and the code it writes is easy to use!

No matter how he tests, the evolution level will never be stuck at 99%, and the inability to evolve will never happen again.

This means the problem is solved!

However, for a large-scale game, there must be more than one problem that needs to be solved. The code has just been optimized here, and a new bug has appeared in the combat system over there.

"Swallowing damage?"

"right!"

This bug was tested by Xiao Lu. He found that during combat, if the damage per second is too high, damage will be swallowed.

This problem is also serious.

It's just that the solution is simpler than the previous evolution bug. You only need to rewrite the relevant code.

"Are there any other bugs?"

In just one day, two relatively fatal game bugs were found. This also 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, don't worry about that!"

Chen Ba waved his hand. The NPC template of "Global Evolution" borrowed part of the NPC generation program of "God's Grace Continent".

So to a certain extent, the NPCs in this game also have AI intelligence and act relatively intelligently.

But it's not a big problem.

Globally evolved NPCs cannot be smarter than the NPCs in "God's Grace Continent", nor can they take over the main role and turn players into supporting actors carrying cameras.

This can be regarded as a kind of restraint.

The NPCs in "God's Grace Continent" have no restrictions, so each one looks like a real person, a real person living in the virtual world.

However, the NPCs in "Global Evolution" are restrained and need to circle around the players. This is determined by the nature of the game, so the degree of intelligence is limited.

The reason why we need to add intelligence to NPCs is actually to add some sense of immersion.

After all, to create a grand world view, various NPC characters are always indispensable. The smarter they are, the more realistic and detailed the worldview created by the game will be.

But don’t even think about falling in love!

Brother Ba, who is still single, is determined not to eat dog food, and it is impossible to give out candy to players. In the game "Global Evolution", players can like a certain NPC, but getting married is impossible.

Don't ask why, just ask that Brother Ba disagrees with the marriage. This game does not support the favorability system for the time being!

What?

There is no favorability system, so how do you conquer your companions, that is, your pets?

Of course it is convincing with reason!

Have you ever seen a fist as big as a sandbag? Once you are convinced, you will naturally win over your partner (pet)!

"The male protagonist has a very different personality..."

"If others regard him as a leader or an idol, then he will try his best to do his best."

Chen Ba explained: "So love, love, etc., are completely burdensome to this kind of person. He only sees 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 an unsmiling and cold-faced murderer.

"What a twisted character!"

Xiao Lu commented: "If you ask me whether I respect this kind of person, then I respect him. But if you ask me if I want to be this kind of person, then I most likely don't want to."

"Yes, you're right."

Chen Ba also felt that there was nothing wrong with Xiao Lu's generalization.

The male protagonist of "Global Evolution" is this kind of person. He is respectable and convincing enough, but no one would want to be like him.

This is also the main reason why there is no favorability system in the game...

What use does the NPC's favorability to this kind of male protagonist do to him? He only cares about whether his fist is hard enough and whether he is strong enough!

His sister is his only weakness.

In other words, his only affection is for his sister. The other NPCs will die and go away. No matter how beautiful and enchanting they are, they will be slapped to death...