mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-12-05 03:30:23 -06:00
- addUser/addDoll: doll_seed within 0-23327 (higher values disable growth), starting equipment from dollinitdata on the doll and in the closet, mission 1, first powder and rival ticket - getCardInfo: locked/active_key follow the key card, accessories are counted in the equip list, worn accessories fill equip[4]/[5], the scanned card's own kira bonus, version 5/11 - setCardInfo: kira rolled per card (0-9), equip slots kept in place, star powder and decoseal spent - checkKeyUser answers status 10 for a key that is not the player's - addItem rows line up with the items; delItem adds the kept drops; sellItem handles the sell scene's placeholder seqs and takes the game's balance; composition takes consumed accessories off the doll - addStamp: 10-square card (stamp_conv_rate 0 divided by zero), powder per full card; reportMission advances; questionnaires off - receiveGift honours only the game's own offline card
54 lines
2.6 KiB
Markdown
54 lines
2.6 KiB
Markdown
# otoca d'or
|
|
|
|
Plugin Version: **v0.2.0**
|
|
|
|
---
|
|
|
|
Supported Versions
|
|
- otoca d'or (NCG:J:A:A:2019012900)
|
|
|
|
---
|
|
|
|
How it works
|
|
- The game's network code lives in `modules/ealocal.dll`. It sends XRPC module `game` on service `local`
|
|
(the `local` URL comes from CORE's `services.get`). Every field name, node type and array limit here
|
|
follows the psmap tables in that DLL, and every value follows how game.dll uses it.
|
|
- Players are identified by the printed cards, not by an e-amusement pass:
|
|
- `game.addUser` creates the player and the first doll (level 1, the doll's starting equipment).
|
|
- `game.setCardInfo` prints a card. The server issues its `otocard_id` (8 characters of
|
|
`0123456789ABCDEFGHJKLMNPRSTUWXYZ`), which the game packs into the card's QR code, and rolls the
|
|
kira bonus printed on it.
|
|
- Scanning a card sends `game.getCardInfo` with that id and gets the player, the doll, the closet and
|
|
that card's kira bonus back. An unknown card answers status 1, and the game then plays offline.
|
|
- The key card (`game.bindKeyUser`) is a second printed card tied to the player. Once a key is bound,
|
|
scanning a card asks for the key card (`game.checkKeyUser`) and the closet holds 999 items instead of 50.
|
|
- `game.getVersion` and getCardInfo both send episode 5 / phase 11, the newest the game knows.
|
|
- Without a camera, printed card images can be scanned with a hook that feeds an image to the game's
|
|
camera library (libcamera.dll) in place of the camera frame.
|
|
|
|
Settings
|
|
- Version marker: unlocks hair/eye colours in the salon and the mode-select tips (the game checks 1 to 8).
|
|
- Limited-time enemy: shows the one limited-time enemy the data has (episode 3).
|
|
- Double stamps: two stamps per play.
|
|
- Free star kira: star kira cards need no star powder.
|
|
|
|
Server policy (the game does not decide these)
|
|
- Kira bonus: star kira gives +1-3 to two stats, gold kira +1-5 to all four.
|
|
- Accessory stats: 80/90/100% of the base values for grade N/R/SR.
|
|
- One stamp per play; a full card of 10 gives one star powder. New players start with one powder
|
|
and the first rival card ticket.
|
|
- "New doll" unlocks once any doll reaches level 5.
|
|
- No questionnaires, and old campaign gift cards answer "expired". The game's own offline card
|
|
(printed when setCardInfo fails) gives its apology gift once.
|
|
|
|
Not done yet
|
|
- No WebUI.
|
|
|
|
---
|
|
|
|
Changelog
|
|
- 0.2.0: every response rebuilt from a full analysis of game.dll (starting equipment, doll seed range,
|
|
key card binding, per-card kira, stamp card of 10, missions, closet rules for accessories, selling
|
|
and discarding).
|
|
- 0.1.0: first version.
|