When I write a bug it becomes the core gameplay
Chapter 58 Who told you to use fakeAI?
Chapter 58 Who told you to use fake-AI?
Unknowingly, Gu Fan once again launched the blame-shifting technique.
Although on the surface it seemed that he had taken some responsibility on his own initiative, this responsibility was minimal. The main part of the blame still rested firmly on Lilith.
However, Lilith's expression suddenly became sharp.
"Wait, something seems wrong?"
Lilith seemed to have discovered a blind spot. She stood up and took a few quick steps as if possessed by a famous detective.
“Let’s not talk about the ‘tips’ or the ‘difference between Wolong strategy and other conventional strategies’.
“Let’s talk about ‘stargazing’ first!
"Gu Fan, if I remember correctly, 'Stargazing' was originally designed only for players, and its function only includes showing players the NPC's attribute panel on the interface.
"If you didn't write the code specifically, how does this function take effect on NPCs? AIs have no eyes at all, and they can't see the attribute panel. How are their decisions affected by 'stargazing'?"
Lilith stared at Gu Fan suspiciously.
"When players use the "Tips", you didn't put other Wolong strategies to dust, and you didn't add a mask to prevent players from clicking. I tolerated this. After all, it wasn't written in my design plan. It's a design flaw. , I don’t want to be too harsh on you.
"But why does 'Stargazing' take effect on AI? Apart from you doing it on purpose, is there any other reasonable explanation?"
Obviously, Lilith's suspicion of Gu Fan reached its peak at this moment.
Even someone like her, who doesn't know much about programming, began to suspect that this bug was a little too outrageous, and could even be said to be very unreasonable!
Yes, why should a design originally aimed at players take effect on NPCs?
If a BUG itself is within the scope of the game mechanism, it can be said to be accidental.
But what if a BUG suddenly has special functions beyond the game mechanics?
Then it must be the programmer who secretly included something private in the code!
Lilith was aggressive and confident, and was even thinking about how to settle the accounts with Gu Fan.
However, Gu Fan was more confident than her.
"Why doesn't 'Stargazing' work on other AIs? It's strange that you have such an idea!
"This is obviously directly related to the underlying mechanism you designed!"
Lilith's pupils instantly shook, and her previous arrogance was suppressed by a blow to the head.
She couldn't believe her ears: "What are you talking about?"
Gu Fan sighed, as if he was annoyed by Lilith, a dog planner who didn't understand code at all.
"Let me ask you, all the characters in the game use fake-AI to control their actions. This is what you requested, right?"
Lilith nodded: "That's right."
Gu Fan: "You want every start to have a certain degree of randomness. These AIs must not only make the development of the game consistent with the original historical trend in terms of framework, but also have many possibilities in details. This It’s so that players can’t use a specific strategy to copy the answers to pass the level, right?”
Lilith: "Well, that's true, but what does this have to do with the "stargazing" function!"
Gu Fan shook his head decisively: "It has a lot to do with it!
"Do you think this function can be achieved by directly applying the fake-AI template? Doesn't it require subsequent development and adjustment?"
Lilith was stunned: "Can't you?"
Gu Fan was speechless: "What are you thinking about? Of course not!
"It's very simple. Suppose I tell fake-AI that you are now playing Cao Cao. At this time, green plums are cooking wine and discussing heroes. What decision should you make? Then fake-AI will most likely kill Liu Bei directly.
"Because the original fake-AI has eaten a lot of historical data, it can completely determine that Liu Bei is a strong enemy in his life, so it will definitely kill Liu Bei.
“But in this case, it does not meet your requirements!
"Obviously, what we need in the game is not a simple "Cao Cao played by fake-AI", but a "Cao Cao played by fake-AI who only knows the current historical information"!
"In this way, he will judge Yuan Shao, Yuan Shu, Tao Qian, Liu Biao, Lu Bu and others as his main enemies, instead of giving up Liu Bei right away."
Lilith was already a little confused: "Then what?"
Gu Fan sighed, seeming to be worried about Lilith's design that was full of loopholes: "So in order to fill the loopholes in your design and to better complete this function, I spent a lot of effort to block the fake-AI Regarding the information about "predicting the future", let these AIs use the current situation to make judgments as much as possible.
"To do this, the three of us programmers worked overtime, and the computer almost started to smoke!"
Lilith was even more confused: "Okay, okay, I know you have worked very hard, but again, what does this have to do with 'Wolong Policy'?"
Gu Fan continued to explain: "The key lies in the specific operation method of this AI!
“As I said before, we have blocked part of the information that fake-AI can use to predict the future, so that they can make judgments based on the current situation that are generally in line with historical trends.
“But it’s also written in your design draft that generals must have seven-dimensional numbers and life expectancy.
“If the fake-AI can read the general data and life information in the game in the game program, will it still be able to predict the future?
“So, I deliberately encrypted and hidden this information within the program, so that fake-AI would not be able to read this information.
“And the function of ‘stargazing’ is not actually ‘displaying background data’, but ‘transmitting background data’!
"Because these data are encrypted within the program, the function of 'stargazing' is actually 'decrypting the encrypted data within the program and passing it to specific generals.'"
Lilith interrupted in confusion: "Wait a minute, why is it passed to a specific general and not to the 'player'?"
Gu Fan explained: "It's the same reason from the beginning! Because each general is controlled by a different fake-AI, there is no essential difference in the action modes of the player and the AI, so the players and the generals controlled by the AI are unified. Encoded.
"The Zhuge Liang controlled by the player is 001, while the generals Liu Bei, Cao Cao and other generals controlled by the fake-AI are 002 and 003 respectively. In the general code base, there is no number that specifically represents the "player".
"The function of 'Stargazing', to put it bluntly, is to decrypt and package this information and send it to Zhuge Liang with code 001. In other words, the system program will allow the general with code 001 to view all the hidden general data.
"So within four rounds, the player has obtained the corresponding permissions, and can see specific information by clicking on other generals.
“But due to design loopholes, the design draft did not say ‘Stargazing cannot be effective on generals other than 001’, so we did not specifically impose restrictions when writing the code.
"For example, code 002 is Liu Bei. If the player uses the tip bag and Liu Bei gets the stargazing effect, then the system will send all the general data to the general with code 002.
"The general code 002 is actually a fake-AI, which has been processing various information and making next decisions.
"At this critical juncture, the system sent him a massive amount of data, including the loyalty, attribute values, and biographies of other generals.
"Then AI will inevitably adjust its decision-making based on these data..."
Lilith couldn't help but be stunned. At this time, she had roughly understood the cause of the BUG, but she was still unwilling to admit that it was her problem so simply, and wanted to defend it again.
"But why did you make this function so complicated? Can't you just make it a pure display effect?"
Gu Fan shook his head: "No way!
"For the same reasons mentioned before, fake-AI has been collecting information for thinking. If instead of "encrypting and then transmitting the data in a directed manner" but "throwing the information directly into the program without encrypting it", it would be equivalent to fake-AI being able to collect information at any time. It is possible to read this information.
"In that case, it would be equivalent to all NPCs permanently having a stargazing effect!
"Isn't that a hundred times worse than this situation?"
Lilith was completely confused. She completely withered, her ponytails hanging down, and silently huddled on the lazy sofa in the corner: "So... the root of all this is still "using fake-AI"? A series of subsequent BUGs , are all caused by the chain in order to strictly complete this design requirement?"
Gu Fan nodded and said confidently: "Yes."
You'll Also Like
-
Immortality: Start by seeing the prompt entry
Chapter 219 9 hours ago -
Harvesting the world since 2008
Chapter 742 11 hours ago -
LOL: In order to survive, I tricked Lissandra at the beginning
Chapter 110 11 hours ago -
If the Pokemon becomes stronger, then I won't be a trainer anymore.
Chapter 170 11 hours ago -
Slaying God: Acting as Gray Wolf, Concept God is also God
Chapter 59 11 hours ago -
After 100,000 simulations, I am invincible in the past, present and future
Chapter 467 11 hours ago -
Sign in early! How can I lose after my rebirth?
Chapter 591 11 hours ago -
Are you crazy? He became an Immortal Emperor just after I became an immortal!
Chapter 362 11 hours ago -
Martial Arts Evil God
Chapter 1948 20 hours ago -
I became an old man in my leisure time
Chapter 327 20 hours ago