Mega Offer Notification

So I finally got round to coding this the other day and he's what I found/learnt.

First I'll post the structure for the composer:
Code:
int : type - 1 = open | 4 = closed
int : id
string : identifier 
string : second identifier (useless)?
int : cost credits
int : cost activity
int : activity type - 0 = duckets
int : amount (per user)
int : time left
string : title
string : description 
string : large image
string : icon image
int : type (useless)?
int : count
     string : image part

I found it best to send the composer after the welcome message. After the composer is sent it sends back an event (you can ignore this). This event also sends whenever you open and close the offer. I assume you just send back the composer with the updated data, unless there is another composer I'm still missing.

When the user has made all his purchases, meaning he's brought the amount that the offer has to.. offer? haha, it closes and goes away automatically. But you need to keep updating the amount in the composer when ever the user makes a purchase. So if he buys 1, take away 1 from the amount.

There is a second event which is used for the actually purchase, it's fairly straight forward. It sends two ints to the server, the id and the amount the user wishes to purchase.

I'm yet to check if the offer automatically goes away when the offer runs out of time. But I believe it does (could be wrong).

If I find anything new I'll update it in this post. But with this information you should be able to get them working perfectly fine, there just might be another composer to handle the updates better.
 
PHP:
public const int TargetOfferMessageComposer = 975; //PRODUCTION-201607262204-86871104
Seems like you're professional about cracking, can you help me on this: Menu bar not changing when I change clothes, it's changed after I reload client, my product: PRODUCTION-201607262204-86871104
 
@ Jig !

Hhaah




Seems like you're professional about cracking, can you help me on this: Menu bar not changing when I change clothes, it's changed after I reload client, my product: PRODUCTION-201607262204-86871104

@Jiq

You find in the wrong section, but in short, normal your package structure is not up to date!
Sorry for the bad English I am french

->
PRODUCTION-201607262204-86871104

ServerPacketHeader.cs
Code PHP:
public const int AvatarAspectUpdateMessageComposer = 3283;

To

ServerPacketHeader.cs
Code PHP:
public const int AvatarAspectUpdateMessageComposer = 470; //Fixe Look Instant






You find in the wrong section, but in short, normal your package structure is not up to date!
 
I have other packages if need be.

public const int TargetOfferMessageComposer = 3727;

I'm not sure if the packet change on PRODUCTION-201802201205-141713395. But thanks, i'll try.
 
Back