Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GameBehaviors.cs RegisterPackets #14

Open
OhnkytaBlabdey opened this issue Dec 7, 2017 · 2 comments
Open

GameBehaviors.cs RegisterPackets #14

OhnkytaBlabdey opened this issue Dec 7, 2017 · 2 comments

Comments

@OhnkytaBlabdey
Copy link
Contributor

What are these functions used for?
Can these functions response to the server directly?

@OhnkytaBlabdey
Copy link
Contributor Author

one more question. does the packet contains all the StoC information?
i mean information such as select hint, and the contained cards/options/positions or so, that can be selected...

@mercury233
Copy link
Collaborator

mercury233 commented Dec 7, 2017

Them add handler for game messages. Must send response if required.

YGOPro don't send all informations for an "operation for user" in one STOC message. For example, this script will send MSG_HINT and MSG_SELECT_CARD.

Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectTarget(tp,c83764718.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,1,nil,e,tp)

So the bot need to get information from those messages both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants