Chapter 58: Who told you to use fake-AI?
Unconsciously, Gu Fan once again launched the technique of throwing the pot.
Although on the surface, it seems that he took the initiative to take on a little responsibility, but this responsibility is minimal, and the main part of this black cauldron is still firmly buckled on Lilith's body.
However, Lilith's expression suddenly became sharp.
"Wait, that seems wrong, right?"
As if she had spotted a blind spot, Lilith stood up and took a few quick steps as if she had been possessed by a detective.
"Let's not talk about 'tips' or 'the distinction between Wolongce and other conventional strategies'.
"Let's talk about 'stargazing' first!
"Gu Fan, if I'm not mistaken, 'Stargazing' was originally only designed for players, and its function only includes a property panel that shows players NPCs on the interface.
"If you didn't write the code, how does this feature work for NPCs? The AI doesn't have eyes at all, and they can't see the attribute panel, so how are their decisions affected by 'stargazing'? ”
Lilith stared at Gu Fan suspiciously.
"When the player is using the "Tips", you didn't put the other Wolong strategies in the dust, and you didn't mask to prevent the player from clicking, which I put up with, after all, my design plan was not written, and it was a design loophole, so I don't want to criticize you too much.
"But why does 'stargazing' work on AI? Is there any other reasonable explanation other than that you did it on purpose! ”
Obviously, at this time, Lilith's suspicion of Gu Fan instantly came to its peak.
Even people like her, who don't know much about programming, are beginning to suspect that this bug is a bit too outrageous, and it can even be said to be very unreasonable!
yes, how can a player-specific design work for NPCs?
If a bug itself is within the scope of the game mechanics, it can be said to be accidental.
But if a bug suddenly has a special feature outside of the game mechanics?
Then it must be the programmer secretly entrusting the code with smuggling!
Lilith was aggressive and confident, and was even thinking about how to settle the ledger with Gu Fan.
However, Gu Fan was more justified than her.
"Why doesn't Stargazing work on other AIs? It's strange that you think this way!
"It's obviously directly related to the underlying mechanics you designed!"
Lilith's pupils shook instantly, 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 know anything about code.
"I ask you, all the characters in the game use fake-AI to control their actions, and that's what you ask for, right?"
Lilith nodded, "That's right. ”
Gu Fan: "You want to make every start have a certain randomness, these AIs not only have to make the development of the game consistent with the original historical trend in terms of framework, but also have many possibilities in the details, this is so that players can't use a specific strategy to copy the answer to clear the level, right?" ”
Lilith: "Well, that's true, but what does this have to do with stargazing! ”
Gu Fan shook his head decisively: "It has a lot to do with it!"
"Do you think you can do this by applying the fake-AI template directly? Doesn't there need for subsequent development and adjustments? ”
Lilith was stunned: "Can't you?" ”
Gu Fan was speechless: "What do you think, of course you can't!"
"It's very simple, let's say I say to fake-AI, you are playing Cao Cao now, and at this time, Qingmei is cooking wine and talking about heroes, what kind of 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 judge that Liu Bei is a strong enemy in his life, so it will inevitably kill Liu Bei.
"But in this case, it will 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 and 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 killing Liu Bei as soon as he comes up."
Lilith was already a little confused: "And then?" ”
Gu Fan sighed, as if he was heartbroken by Lilith's flawed design: "So in order to fill your design loopholes, and in order to better complete this function, I have made a lot of efforts to block this part of the information about 'Future Prediction' in the fake-AI, and try to let these AIs use the current situation to make judgments as much as possible."
"To do this, the three of us programmers are working overtime, and the computer is almost smoking!"
Lilith was even more confused: "Okay, okay, I know you guys are working hard, but it's still the same sentence, what does this have to do with 'Wolong Ce'?" ”
Gu Fan continued to explain: "The key lies in the specific operation of this AI!
"As I said before, we've blocked out some of the information that fake-AI predicts the future, so that they can make judgments that are roughly in line with the historical trend based on the current situation.
"But in your design draft, it was written that the military commander must have seven-dimensional numbers and life equality content.
"If fake-AI can read the data and life information of the generals in the game in the game program, then it will still predict the future?
"Therefore, I deliberately encrypted and hidden this information inside the program, so that it is impossible for fake-AI to read this information.
"And the function of "stargazing" is actually not "showing background data", but "transmitting background data"!
"Because these data are encrypted inside the program, the function of 'stargazing' is actually 'decrypting the encrypted data inside the program and passing it to a specific general'."
Lilith interrupted in confusion, "Wait, why is it passed on to a specific general, and not to the 'player'?" ”
Gu Fan explained: "It's still the original reason! Because each general is controlled by a different fake-AI, there is no essential difference between the action patterns of the player and the AI, so the player and the AI-controlled generals are uniformly coded.
"The Zhuge Liang controlled by the player is 001, and the generals such as Liu Bei and Cao Cao controlled by the fake-AI are 002 and 003 respectively.
"The function of 'stargazing', to put it bluntly, is to decrypt this information and package it and send it to Zhuge Liang of code 001, or it can also be said that the system program will allow the generals of code 001 to view all the hidden military general data.
So within four rounds, the player gets the corresponding permission, and you can see the specific information by clicking on other generals.
"However, due to design loopholes, the design draft did not say 'stargazing cannot be effective against generals other than 001', so we did not deliberately restrict it when writing code.
"For example, code 002 is Liu Bei, if the player uses the trick and Liu Bei gets the stargazing effect, then the system will send all the general's data to the general of code 002.
"And the military commander of code 002 is actually fake-AI, which has been processing all kinds of information and making decisions on the next step.
At this critical juncture, the system sent him a huge amount of data, including the loyalty, attribute values and life of other generals.
"Then AI will inevitably adjust its decision-making ...... based on this data."
Lilith couldn't help but be dumbfounded, at this time she had roughly understood the cause of this bug, but she still didn't want to admit that it was her own problem so simply, and wanted to defend it again.
"But why did you make this feature so complicated? Can't you just make a pure display effect? ”
Gu Fan shook his head: "Can't!"
"For the same reason as mentioned before, fake-AI has been collecting information for thinking, and if it is not "encrypting and then directing the transmission of data" but "throwing this information directly in the program without encrypting it", it is equivalent to fake-AI may read this information at any time.
"In that case, all NPCs will have a stargazing effect permanently!
"Isn't that a hundred times worse than the current situation?"
Lilith was completely confused, she completely wilted, her double ponytail drooped, and she silently shrunk into the lazy sofa in the corner: "So...... Is the root of all this "using fake-AI"? The subsequent series of bugs are all chained in order to strictly complete this design requirement? ”
Gu Fan nodded and said confidently: "Yes." ”