Re: Mega Offer Notification
Maybe try sending catalog purchase ok composer?
Re: Mega Offer Notification
Quote:
Originally Posted by
Jonteh
Maybe the way you're currently doing it is correct? Or maybe there is another packet to confirm the purchase that you don't have yet.
Seems like it shouldn't be the correct way, but it does appear to work.
Thanks for all the suggestions, think I'll just leave it with sending back a '0' limit.
Re: Mega Offer Notification
Only for release 201611230949-886705386?
Re: Mega Offer Notification
@Akix No, if you update packets it works on updated PRODUCTION :cool:
Re: Mega Offer Notification
Quote:
Originally Posted by
Akix
Only for release 201611230949-886705386?
Tell me your production and I'll update the packet for you.
Re: Mega Offer Notification
Quote:
Originally Posted by
N0tis
Tell me your production and I'll update the packet for you.
My PRODUCTION is 201607262204-86871104.
Re: Mega Offer Notification
Quote:
Originally Posted by
Akix
My PRODUCTION is 201607262204-86871104.
Packet is 975.
Re: Mega Offer Notification
Quote:
Originally Posted by
Akix
My PRODUCTION is 201607262204-86871104.
PHP Code:
public const int TargetOfferMessageComposer = 975; //PRODUCTION-201607262204-86871104
Re: Mega Offer Notification
Quote:
Originally Posted by
N0tis
PHP Code:
public const int TargetOfferMessageComposer = 975; //PRODUCTION-201607262204-86871104
Hi, I would like to ask you if you have this packets for PRODUCTION-201612201205-462162202 thank you :)
Re: Mega Offer Notification
Quote:
Originally Posted by
DoDoN3
Hi, I would like to ask you if you have this packets for PRODUCTION-201612201205-462162202 thank you :)
PHP Code:
public const int TargetOfferMessageComposer = 28; // PRODUCTION-201612201205-462162202
:zippy:.
Re: Mega Offer Notification
Quote:
Originally Posted by
N0tis
PHP Code:
public const int TargetOfferMessageComposer = 28; // PRODUCTION-201612201205-462162202
:zippy:.
Work! Thank you very much, if you have other packets for this PRODUCTION I gladly accapte it in private message!
Re: 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.
Re: Mega Offer Notification
Hi, I would like to ask you if you have this packets for PRODUCTION-201601012205-226667486 thank you :)
Re: Mega Offer Notification
Quote:
Originally Posted by
N0tis
PHP Code:
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
Re: Mega Offer Notification
@ Jig !
Hhaah
- - - Updated - - -
Quote:
Originally Posted by
Jiq
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!