It's a highly specific patcher for a game. You will certainly know what we're talking about if you know our situation.
Because the project is the continuation of another project, whose name is also spelled wrong since the beginning of the development.
- Windows 7 or higher versions, 64 bits
- GNU C++ Compiler with C++17 support
Note: If your machine does not satisfy the requirements, or you encountered issues while compiling, you can use the already-compiled file dbquery.exe
in this repo.
- Chromium/Webkit based browser, the last two versions
- Windows 7 (untested on other versions, but there's no choice!), 64 bits
- Windows Task scheduler support
- Apache environment, with PHP 7.1.9 (also tested with 7.4.9), which starts on boot.
- mod_rewrite support on Apache server
Note: The game might update automatically, breaking this program. You have been warned.
The project uses SQLite3MultipleCiphers. The code is present in this repo, so you don't need to download it while building.
This is sort of complicated. See setup guide.
Click the info icon on the navigation menu, and then you can see buttons for language switching.
On the system status page, you can see the current status and time.
You can use the buttons at the bottom of the page to start/stop GS.Terminal, and reboot the server.
Once a checking-in lesson is detected, it will show up on the Classroom Check-in page.
Click the button under the name to change the state of a participant. If the icon at the lower-right corner is a tag, you could click on it to toggle check-in type.
After clicking, hover on the floating button and click the send icon. Changes will be submitted automatically. After that, you will be reminded to restart the GS.Terminal.
If something funny happens, check the output of the API using the browser Network panel.
This function is used for notifying birthdays, so we can have Arubas more precisely.
You have to set hz2zrun_host
properly in order to use this. If you don't know how to set, refer to a portable sign-in machine in the school.
Before using, send a request api/hz2zrun/student/sync
to get data.
Check data/hz2zrun/student/_classes.json
and set other configurations.
Then you can see birthday info on the page.
Enjoy, and Good Luck : )
Q: Is this safe?
A: Generally not. The patcher is highly specific and may be broken by automatic game updates (or even worse, break the updated game).
Q: Will classroom singin be fully automated in the future?
A: Probably not. The conditions are complicated, and full automation is likely to make deadly mistakes.