Chapter 865: Four Levels (2)
Chi Xiang wrote some commands on Xiao Yuan's note, the first two levels are obviously useless, and the third level is a command line interface, those commands obviously have a place to use, but in the distrust of Chi Xiang's instinct, Xiao Yuan in order to prevent himself from falling into the trap, he did not plan to try those commands directly, but decided to explore the third level on his own first, and then decided not to use those commands.
Once you enter a level, you can't exit it, which is an important rule mentioned in the original document, so everything that follows can only be done in this command-line environment. Xiao Yuan has a lot of experience in the use of the command line environment, and the first step to understand the basic situation of a command line system is to find the documentation of the system, so he tried to enter a few commands behind the command line according to his own experience, and soon found several basic file operation commands of the system.
The host system of this command line system is Windows, but the file operation commands in it are very flexible, not only using dos commands, but also using unix commands, such as file directory search commands, which can be dir or ls.
Using the file retrieval command, Xiao Yuan searched for the files in the system, the built-in file system of the system is very simple, there are only two layers of structure, it is very easy for Xiao Yuan to find an executable file called readme, execute this file, and enter a document reading interface.
This is a scripting language document, in the middle of which is to describe the syntax and design specifications of a scripting language called black, followed by a bunch of important API modules that have been written, and their introductions.
"Does this level need to be programmed to pass?" Xiao Yuan quickly skimmed through the document, thinking to himself, but he found that he had miscalculated something, because when he turned the readme to the last page, a countdown appeared on the screen and prompted him that he still had ten minutes to review, and the document was automatically closed after the countdown was over.
These ten minutes are dispensable for Xiao Yuan, because when he browsed in front, he had already memorized all the documents in his heart, and looked at some of the previous documents at will, and the ten minutes passed quickly, and the readme was automatically closed and returned to the command line.
"What's next?"
Xiao Yuan still didn't get any hints, so he reused the file retrieval command to carefully look through the files in this command-line environment, and found an executable file named run in a directory named black, and this executable file is the only non-system command executable file in the entire command-line environment except for readme, and he didn't find any of the commands written on the note that Chi Xiang gave him.
Xiao Yuan executed the file run, and found that this is a script IDE, when this script editor opens, a prompt box pops up, which gives a prompt, asking him to write a script using the readme document he read before and execute it, but what script to write is not said.
Turning off the prompt box, Xiao Yuan officially entered the script editing IDE, and after a little familiarity, he began to write the script, and the specific content of the script to be written was not mentioned in the prompt box just now, Xiao Yuan understood it as writing a script at will.
On the premise of memorizing all the documents, Xiao Yuan can write very complex scripts, but instead of doing that, he writes a very simple binary tree left-first recursive traversal algorithm.
After executing the algorithm, the prompt box appears again, with the above sentence: The script is being evaluated, please wait......
After waiting for about five minutes, the evaluation results were fed back to the prompt box: B+.
"It's a rating, I wonder what rating I would give if I wrote a helloworld script?" Xiao Yuan secretly thought in his heart, turned off the prompt box on the screen, and another prompt box popped up, giving a new hint, in which the method of leaving the third level and entering the fourth level was given, which was a long sequence of commands.
Back to the command prompt, he didn't execute this command sequence immediately, but studied these commands first, but he made an unexpected discovery, and he couldn't help but curse in his heart: "Damn, Chi Xiang is really uneasy and kind." ”
Because after in-depth study of these commands, Xiao Yuan found that the orders given by Chi Xiang turned out to be the aliases of these orders given just now, but the order of execution was different from the order given in the previous prompt, and the result after execution was not to enter the third level and enter the fourth level, but to forcibly exit the third level, admit that he failed to break through, and in the sequence of commands he gave, some parameters were still used, and the function of these parameters was not to make any prompts, and to exit directly.
"Insidious fellow!" Xiao Yuan couldn't help but curse again, and said in his heart that if he really believed in Chi Xiang and carried out those orders after entering the third level, I am afraid that this competition would have nothing to do with himself.
Chi Xiang wants to use cooperation as an excuse to yin himself, this matter is not so simple, there are many intriguing things behind it, first of all, Chi Xiang can know some things in the test in advance, there must be someone behind him to support him, and the identity of this person behind the scenes should be higher than Mrs. Green, and Mrs. Green is the sister of the current head of the Luo family, and there are only a handful of people in the Luo family who are higher than her status.
Secondly, Xiao Yuan also thought of another thing, when Chi Xiang asked him to discuss cooperation, he didn't eliminate anyone, so many people, Chi Xiang could find out how he should explain.
"I was introduced by Madame Green, this is definitely not a secret within the Luo family, and from the materials that Madame Green asked me to analyze before, we can see some clues, there are people within the Luo family who want to be unfavorable to Madame Green, so the competitors she introduced have naturally become the target of some people to eradicate, and Chi Xiang is a knife that those people sacrificed to kill, this possibility is very high."
"There is another possibility, Chi Xiang adopted a wide net tactic, that is, the people he wants to yin are not only me, but also others."
These should be the two hypotheses with the greatest probability, especially the first hypothesis.
Xiao Yuan didn't delay too much time because of thinking, but entered the command sequence given in the prompt to leave the third level and enter the fourth level into the command line, and after execution, he returned to the original interface, the button of the third level became gray, and the button of the fourth level became available.
Xiao Yuan picked up the mouse, clicked on the fourth level, and the screen turned and entered the fourth level.
"Congratulations on being the second successful passer, please read the following carefully: ......"
After entering the fourth level, the first thing is to take a prompt window, which says some introduction to the fourth level, and the fourth level turns out to be a game, not the first level of the game of entering words, but a real game, a handjob game.
"That's what to test, is it really a husband for Rose?"
Xiao Yuan was suspicious in the first three levels, and the last level turned out to be a handjob game, which made his suspicions even stronger, and he had even made a judgment: this test is in the name of finding a husband for Rose, doing other things, the Luo family is to find people with mental power that meet a certain condition through this test, because the previous test wants to pass the customs smoothly, the requirements for computer level are not particularly high, as long as a person with normal computer ability and professional background can meet the conditions, Compared with computer literacy, memory, comprehension, observation, and improvisation are more important in the first three levels.
When Xiao Yuan closed the prompt window and entered the fourth level of the game, a wry smile appeared on his face, because this game is too perverted, and it is impossible for normal people to use normal means to clear the level.
There is a three-dimensional space in the middle of the screen, the background is the starry sky, some planes are flying around, these so-called planes are actually very small spots, the size is not much larger than the mouse cursor, and the flight speed is extremely fast, and there is no law, his task is to use the mouse in his hand, one by one to knock down these planes, the goal is one hundred, the time is twenty minutes.
"Just by the mouse point, you must not be able to clear the level, and the test of a person using the mouse to fight a plane, even if you can clear the customs, it is not of much significance, there must be other means of customs clearance." Xiao Yuan tried to take the mouse a few times, then stopped, thinking about the things behind this game.
However, this reflection does not take too much time, because when he enters the game interface, the countdown has already begun, and if he does not complete the task before the countdown ends, it means that the mission has failed.
"Should see if there's another backdoor or something."
Xiao Yuan didn't dare to delay for too long, and he didn't immediately take the mouse to continue to jerk off, but used some key combinations on the keyboard to keep trying, trying to find out the back door of the game, tried several times, and finally when he pressed CTRL+Shift+F12, the screen changed, the countdown paused, the original game screen went dark, and a black window appeared in the middle of the game screen, and the title of the window was: "fly-fightingscripteditor." ”
"Sure enough, the right back door, this game can be controlled by script." Xiao Yuan was delighted, but he had another question, "What script should be used to control this game?" ”
"Could it be the black script of the third level?" Given the strong connection between the first and second levels, Xiao Yuan naturally thought that there must be a strong connection between the third and fourth levels, and there are some implementations of mouse control and screen capture in the APIs introduced later in the Black scripting language documentation.
"Give it a try." Xiao Yuan decided to give it a try, and quickly called up the file of the black script stored in the brain system in the third level, and quickly wrote a three-dimensional space moving spot capture script, and was about to execute it, but hesitated, modified some functions of the program, and then executed the script.
The script editor closes,The game continues,The mouse doesn't need Xiao Yuan to continue to control,Automatically move quickly under the control of the script,Capture those fast-flying small planes,It's just that this script was modified by Xiao Yuan later,The efficiency of capturing the plane is not high,When there is one minute left at the end of the countdown,It reached the game clearance standard - the number of destroyed planes is 100。
“congratulations!”
Such a congratulatory window popped up on the screen again, and after Xiao Yuan closed it, he returned to the initial interface, and the last button with entrance written on it became available.
"What the hell is this entrance?" Xiao Yuan was curious, picked up the mouse and clicked the button.