This Is Not a Bug but a Game Feature-Chapter 275 - 183: Optimizing Spaghetti Code_2

If audio player doesn't work, press Reset or reload the page.
Chapter 275: Chapter 183: Optimizing Spaghetti Code_2

After checking, Chen Ba discovered that if "Global Evolution" were released as is, DLCs focusing on simple skin map types wouldn’t be an issue.

However, if the DLC involved more complex mechanisms, it would be a bit tricky, and might even require rewriting the code.

"It can be optimized!"

Finding the root of the problem, Chen Ba decided to use the optimization feature of the Iron Fool System to optimize the pile of code.

Aside from other things, the Iron Fool System’s code optimization ability is definitely at the God of Gods level. The code optimized by it won’t appear outdated or obsolete even after twenty years.

"Increased by 7 points?"

After noticing the code score increased from 62 to 69, Chen Ba wasn’t very satisfied. He had optimized the code pile, so why did it only increase by 7 points?

Could the problem come from somewhere else?

With a hint of curiosity, Chen Ba tested other parts of the code. From morning until afternoon, he finally found the true source of the problem.

"Damn, it’s evolution..."

He considered many possibilities, but never thought the problem would originate from the game’s evolution mechanism.

In the game, players gain experience and consume Fierce Beast Meat to increase their Evolution Level. When this level reaches 100%, they unlock the next stage of the evolution path and acquire a powerful Talent Superpower.

However, the code surrounding this mechanism had major flaws. Without targeted investigations, Chen Ba would have never discovered it.

The Evolution Level, under certain circumstances, would get stuck at 99% and couldn’t advance further, which in the game is a serious bug.

No wonder the code score couldn’t rise!

The Evolution Level in "Global Evolution" is equivalent to the experience bar in other games. If playing the game doesn’t allow level-ups, and the experience bar stays stuck at 99%, isn’t this a serious problem?

After rewriting this batch of code and using the Iron Fool System for another optimization, Chen Ba was relieved to find that the code score finally increased from 69 to 92.

It’s taking off!

A sudden 23-point increase was enough to prove how serious the issue was, and Chen Ba felt quite fearful.

If he hadn’t opened the secondary page and seen the code score of 62, he wouldn’t have discovered this issue.

If the game were released like that, players who bought it would find the Evolution Level stuck at 99% and unable to rise, leading them to explode in frustration and demand refunds.

"Luckily, it was discovered in time."

Yang Dong also breathed a sigh of relief, thankful for the bug’s elimination.

The bug was caused by code priority issues. Usually, it wouldn’t trigger, but once it did, it was equivalent to a "dead file," with no solution other than restarting.

In other words.

The nature of this bug is quite severe. If not detected in time, the game’s release might cause a great uproar among players.

"Don’t worry, it’s all good now."

With a smile, Chen Ba said, "We can’t blame ourselves for being careless. The main reason is that this bug is cleverly hidden."

Honestly, if it weren’t for the abnormal score, Chen Ba wouldn’t have discovered the "Evolution Level 99% infinite freeze" problem.

It was buried too deep!

But since they’ve discovered it, there’s no need to worry. From 62 points to 92 points, they’ve increased by 30 points.

A code score of 92 points, in past game productions, would already be considered a very high score. With a bit more optimization, it might reach over 95 points.

This score is rock solid!

A code score of 62 points definitely indicates major problems, but a score of 92 or even 95 points is likely not problematic.

But speaking of which.

Though Chen Ba was satisfied with 92 points, thinking there would be no problem, this was after the Iron Fool System’s optimization, and its optimizations...

Let’s test a few more times!

With nothing else to do, it’s better to keep checking to prevent any issues later.

Therefore, Chen Ba conducted multiple routine "bar fried rice point" tests on the optimized evolution mechanism, and all results showed no anomalies.

"OK!"

After several tests, Chen Ba was deeply impressed by the Iron Fool System.

The code had been simplified by two-thirds, yet its functionality remained intact, and it was even more efficient than before. It truly deserved to be called a black technology creation—its code is just effective!

No matter how he tested, the Evolution Level would not get stuck at 99%, and the issue of being unable to evolve wouldn’t appear.

This meant the problem was solved!

However, for a large game, there are bound to be more than one problem to resolve. Just after optimizing the code here, a new bug emerged in the combat system there.

"Damage absorption?"

"Exactly!"

This bug was discovered by Lu during testing. He noticed that during combat, if the damage per second was too high, damage absorption would occur.

This issue is also quite serious.

But resolving it is easier than the previous Evolution Level bug; rewriting the relevant code will fix it.

"Are there any other bugs?"

To find two relatively fatal game bugs within a single day, this made Chen Ba very curious if there were more bugs in "Global Evolution."

"Haven’t found any for now, but..."

Lu hesitated for a moment, then decided to speak honestly: "But I discovered that our NPCs seem quite 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 "Divine Grace Continent."

As a result, to some extent, the game’s NPCs also possess AI intelligence, making their actions relatively smart.

However, it’s not a big issue.

Global Evolution’s NPCs can’t be smarter than Divine Grace Continent’s NPCs, nor can they overshadow the players, turning them into mere camera-holders.

This is also a form of constraint.

The NPCs in Divine Grace Continent are unconstrained, which makes them like real people living in a virtual world.

But Global Evolution’s NPCs are bound, needing to revolve around the players, which is determined by the nature of the game. Thus, their level of intelligence is limited.

Adding intelligence to NPCs is actually to increase immersion.

After all, shaping a grand world view often requires a variety of NPC roles. The smarter they are, the more realistic and detailed the game’s world becomes.

But don’t expect romance!

Still single, Ba resolutely avoids any "dog food" and won’t provide any sweet moments for players. In "Global Evolution", players can like a particular NPC, but getting married is impossible.

Don’t ask why; if you ask, it’s because Ba disagrees with the marriage proposal. The game currently does not support a favorability system!

What?

No favorability system, so how do you capture partners or pets?

Naturally, by convincing them with reasoning!

Have you seen fists the size of sandbags? Punch them until they’re convinced, and that’s how you capture partners (pets)!

"The male protagonist’s personality is quite something..."

"Others see him as a leader, as an idol, so he strives to do his best."

Chen Ba explained: "So romance and love are completely burdens for someone like him; the only thing in his eyes is strength."

Such a person is terrifying.

He also has a gentle, considerate side, but it’s only for his younger sister. To outsiders, the male protagonist is a stern-faced killing machine, never speaking lightly.

"A really twisted personality!"

Lu commented: "For someone like this, if you ask if I respect him, then yes, I respect him. But if you ask if I want to become someone like him, then most likely, I don’t."

"You’re right, you described it accurately."

Chen Ba too felt that Lu’s summary was spot on.

The male protagonist of "Global Evolution" is this kind of person, enough to command respect and trust, but no one would want to become the second him.

This is also the main reason why the game doesn’t have a favorability system...

For this kind of male protagonist, what value does NPC favorability hold? He only cares about whether his fists are strong enough, whether his strength is sufficient!

His younger sister is his only weak spot.

In other words, his favorability is only for his sister; other NPCs should stay away. No matter how beautiful or charming they are, they’d end up getting slapped to death...