Hi guys, i'm trying to create a GMS-like wedding but I have my first problem here: When I double click the invitation it was supposed to open an box to type the character name, but nothing happens. Not even a packet is sent. How can I make it work?
Printable View
Hi guys, i'm trying to create a GMS-like wedding but I have my first problem here: When I double click the invitation it was supposed to open an box to type the character name, but nothing happens. Not even a packet is sent. How can I make it work?
It's not a cashshop item. It is ETC. Like the minigame, you double click it and nothing is sent, but the minigame shows the box correctly
The handler doesn't get called. You have to send a Marriage Status of ENGAGED (0x1) within the player's Marriage Record in order for the client to open an invitation to invite other players.
@OP I actually gave information about some of this on this guy's thread, consider reading about how marriage record's work. They are the Marriage Ring part of addRingInfo and the structure is provided here: https://forum.ragezone.com/f683/packet-string-1064933/
Just some extra info to add about the handler, all wedding actions are handled through the OdinMS name "RING_ACTION". Below are all of the mode's and the bytes read from the handler. If you get anywhere and need help, I've completed this and can try and help you.
Code:Modes:
0 - Send Proposal [string name, int itemid]
1 - Cancel Proposal
2 - Accept/Deny Proposal [byte (boolean accepted), string name, int characterid]
3 - Break Engagement (pretty sure this one was just int itemid)
5 - Invite %s to Wedding [string name, int weddingId (same as your Marriage Record), byte slot (of the invitation)]
6 - Open Wedding Invtiation [byte slot (of the invitation)]
9 - Groom and Bride's Wishlist [short size, foreach: string]