Рейтинг темы:
  • 0 Голос(ов) - 0 в среднем
  • 1
  • 2
  • 3
  • 4
  • 5
Weapon activate
#11
Yes i get packet Coupon and weapon active this is coupon 50 % RESPAWN
see in packet 534 this i'm trying fix

Код:
[CM]received data size: 14
[CM]received size: 10
[CM]received key: 128
[CM]received opcode: [color=blue]534[/color]  <--- This is packet i'm trying fix
00000000   16 02 C8 3A 50 D4 6F 0A  00 00 00 00               ··È:PÔo·····    

[SM]received data size: 29
[SM]received size: 25
[SM]received opcode: 535
00000000   19 00 17 02 01 00 00 00  F6 DA 03 5A 50 D4 6F 0A   ········öÚ·ZPÔo·
00000010   00 00 00 00 00 00 00 00  01 00 00 00 00            ·············  

[SM]received data size: 34
[SM]received size: 30
[SM]received opcode: 3588
00000000   1E 00 04 0E 01 00 00 00  00 00 00 00 00 01 00 00   ················
00000010   00 51 16 AA 0A 00 00 00  00 00 86 87 47 02 0B 02   ·Q·ª······??G···
00000020   04 5A                                              ·Z
Ответ
#12
Код:
// 534

50 D4 6F 0A  00 00 00 00 // ObjectId

// 535

// 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
00 00 00 00 // Quantity

// 3588

01 // ?
00 00 00 00 // Chara Items
00 00 00 00 // Weapons
01 00 00 00 // Coupons

51 16 AA 0A 00 00 00 00 // ObjectId
00 86 87 47 // ItemId
02 // ConsumableType
0B 02 04 5A // Quantity
Ответ
#13
Thanyou

Добавлено через 15 часов 23 минуты
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

Код:
0B 02 04 5A // Quantity

writeD(count);  //86400 ([color=blue]1 day[/color])

And how can i make coupon effect? Why after equip no effect



[Изображение: UitNZSw.png]

After active

[Изображение: tISP1T4.png]

Now player trying test EFFECT HP 10% NO WORKING

[Изображение: TDRGO1q.jpg]

Добавлено через 15 часов 31 минуту
Player no EFFECT

Добавлено через 15 часов 47 минут
i try use this code u send but same no 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

Добавлено через 16 часов 51 минуту
This is OPCODE Weapon Active

Код:
[CM]received data size: 14
[CM]received size: 10
[CM]received key: 128
[CM]received opcode: 1068
00000000   2C 04 A6 07 AC DE F4 14  00 00 00 00               ,·¦·¬Þô·····    

[SM]received data size: 29
[SM]received size: 25
[SM]received opcode: 535
00000000   19 00 17 02 01 00 00 00  9C 68 70 5F D6 6F 7A 0A   ········?hp_Öoz·
00000010   00 00 00 00 7C 9B D7 17  02 CD 12 7D 5F            ····|?×··Í·}_

[Изображение: TInhk2x.png]

i try your method this is correct?

Код:
01 00 00 00 // Count Items
9C 68 70 5F  D6 6F 7A 0A // ObjectId
00 00 00 00 // ItemId
7C 9B D7 17 //?
02 // ConsumableType
CD 12 7D 5F  // Quantity

Добавлено через 20 часов 8 минут
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

Код:
0B 02 04 5A // Quantity

writeD(count);  //86400 (1 day)
Ответ


Возможно похожие темы ...
Тема Автор Ответы Просмотры Последний пост
  Парсинг Weapon.pef в xml и обратно denvm 0 1,610 08-08-2022, 04:41 PM
Последний пост: denvm
  Weapon,map,item Boris2105 1 1,561 01-11-2018, 12:36 AM
Последний пост: PROGRAMMATOR
  Delect Item&Weapon After 0 Hr. BallDev 0 1,130 11-21-2016, 07:18 PM
Последний пост: BallDev
  Battle Weapon Issue bola 10 2,786 11-13-2016, 02:27 AM
Последний пост: bola
  Played time with a specific weapon bola 3 1,856 10-23-2016, 01:16 PM
Последний пост: PROGRAMMATOR
  Weapon activate packet nikolen 0 1,527 03-24-2016, 11:19 AM
Последний пост: nikolen
  How fix weapon? Help Yusqa 2 1,552 02-26-2016, 11:37 PM
Последний пост: Yusqa

Перейти к форуму:


Пользователи, просматривающие эту тему: 1 Гость(ей)