01-21-2016, 06:04 PM
Programmator, i've try your code. It work good but i have some problem. Count result 0 hour but i've set count 86400. Other bug is when i equip a weapon new weapon appear on coupon inventory. Example i've buy p90mcs, and equipping this disapper and appear coupon 30% gold bonus
And how can i make coupon effect? Why after equip no effect
After active
See in coupon used user day's 0 hours
writeD(count); is problem can help me
Now in this image i try effect coupon but no work
i used code u example but no work effect
Код:
// [color=Blue]535[/color]
// 01 00 00 00 // Count Items
F6 DA 03 5A
50 D4 6F 0A 00 00 00 10 // ObjectId
00 00 00 00 // ItemId
00 00 00 00 // ?
01 // ConsumableType
[color=blue]00 00 00 00[/color] // Quantity
writeD(count); //86400 ([color=Blue]1 day[/color])
And how can i make coupon effect? Why after equip no effect
After active
See in coupon used user day's 0 hours
writeD(count); is problem can help me
Now in this image i try effect coupon but no work
i used code u example but no work effect
Код:
WriteC(8); // Slot.State
WriteC(0); // Player.Rank
WriteD(0); // ClanId
WriteD(0); // ClanRole
WriteC(0); // Clan.Rank
WriteD(-1); // Clan.Mark
WriteC(0); // Player.Premium
WriteC(0); // Player.TournamentRank
WriteD(0); // Coupons
WriteS("", Clan.NAME_LENGTH);
WriteD(0); // ?
WriteC(0); // ClanNameColor