HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!
Okay, thank you, or someone else could help me?
they are never information 😁😁
Hey guys.
I have some problem with pet system..
I need some help .: (
1. My pet skills don't unlock if my pet level is 40 or 82 or 121...
2. If i change other player my pet is hidding.
3. If i put in the box and i give other player he dont know open ( You can not use )
4. I change evolve items in the source ..
But it request first item ..
[FONT="] [/FONT][FONT="] [/FONT][FONT="]int it[3][7] = { [/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="]{ 55003, 30058, 30073, 30041, 30017, 30078, 30088 }, //Here Modify Items to request for 1 evo[/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="]{ 55004, 30035, 30089, 30031, 30011, 30080, 27994 }, //Here Modify Items to request for 2 evo[/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="]{ 55005, 30083, 30086, 30077, 30550, 27993, 72992 } //Here Modify Items to request for 3 evo[/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="]};[/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="]int ic[3][7] = {{ 10, 10, 10, 10, 10, 5, 5 },[/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="]{ 10, 10, 10, 10, 10, 5, 2 },[/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="]{ 10, 10, 10, 10, 5, 2, 2, }[/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="]};[/FONT]
I have some problem with pet system..
I need some help .: (
1. My pet skills don't unlock if my pet level is 40 or 82 or 121...
2. If i change other player my pet is hidding.
3. If i put in the box and i give other player he dont know open ( You can not use )
4. I change evolve items in the source ..
But it request first item ..
[FONT="] [/FONT][FONT="] [/FONT][FONT="]int it[3][7] = { [/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="]{ 55003, 30058, 30073, 30041, 30017, 30078, 30088 }, //Here Modify Items to request for 1 evo[/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="]{ 55004, 30035, 30089, 30031, 30011, 30080, 27994 }, //Here Modify Items to request for 2 evo[/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="]{ 55005, 30083, 30086, 30077, 30550, 27993, 72992 } //Here Modify Items to request for 3 evo[/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="]};[/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="]int ic[3][7] = {{ 10, 10, 10, 10, 10, 5, 5 },[/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="]{ 10, 10, 10, 10, 10, 5, 2 },[/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="] [/FONT][FONT="]{ 10, 10, 10, 10, 5, 2, 2, }[/FONT]
[FONT="] [/FONT][FONT="] [/FONT][FONT="]};[/FONT]
You have to edit the for loopHey guys.
I have some problem with pet system..
I need some help .: (
1. My pet skills don't unlock if my pet level is 40 or 82 or 121...
2. If i change other player my pet is hidding.
3. If i put in the box and i give other player he dont know open ( You can not use )
4. I change evolve items in the source ..
But it request first item ..
[FONT=&] [/FONT][FONT=&] [/FONT][FONT=&]int it[3][7] = { [/FONT]
[FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&]{ 55003, 30058, 30073, 30041, 30017, 30078, 30088 }, //Here Modify Items to request for 1 evo[/FONT]
[FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&]{ 55004, 30035, 30089, 30031, 30011, 30080, 27994 }, //Here Modify Items to request for 2 evo[/FONT]
[FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&]{ 55005, 30083, 30086, 30077, 30550, 27993, 72992 } //Here Modify Items to request for 3 evo[/FONT]
[FONT=&] [/FONT][FONT=&] [/FONT][FONT=&]};[/FONT]
[FONT=&] [/FONT][FONT=&] [/FONT][FONT=&]int ic[3][7] = {{ 10, 10, 10, 10, 10, 5, 5 },[/FONT]
[FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&]{ 10, 10, 10, 10, 10, 5, 2 },[/FONT]
[FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&] [/FONT][FONT=&]{ 10, 10, 10, 10, 5, 2, 2, }[/FONT]
[FONT=&] [/FONT][FONT=&] [/FONT][FONT=&]};[/FONT]
here it is
ACMD(do_PetEvo) {
if (ch->GetExchange() || ch->GetMyShop() || ch->GetShopOwner() || ch->IsOpenSafebox() || ch->IsCubeOpen()) {
ch->ChatPacket(CHAT_TYPE_INFO, " [تطوير الرفيق] لا يمكنك تطوير الرفيق الآن! ");
return;
}
if (ch->GetNewPetSystem()->IsActivePet()) {
int it[3][7] = {
{ 55003, 30058, 30073, 30041, 30017, 30074, 30088 }, //Here Modify Items to request for 1 evo
{ 55004, 27994, 30035, 30089, 30011, 30031, 30080 }, //Here Modify Items to request for 2 evo
{ 55005, 27992, 30083, 30086, 30077, 27993, 30550 } //Here Modify Items to request for 3 evo
};
int ic[3][7] = {{ 10, 10, 10, 10, 10, 10, 5 },
{ 10, 2, 10, 10, 10, 10, 10 },
{ 10, 2, 10, 10, 10, 2, 5 }
};
int tmpevo = ch->GetNewPetSystem()->GetEvolution();
if (ch->GetNewPetSystem()->GetLevel() == 40 && tmpevo == 0 ||
ch->GetNewPetSystem()->GetLevel() == 60 && tmpevo == 1 ||
ch->GetNewPetSystem()->GetLevel() == 80 && tmpevo == 2) {
for (int b = 0; b < 1; b++) {
if (ch->CountSpecifyItem(it[tmpevo]) < ic[tmpevo]) {
ch->ChatPacket(CHAT_TYPE_INFO, "[تطوير الرفيق] الأدوات المطلوبة هي:");
for (int c = 0; c < 7; c++) {
DWORD vnum = it[tmpevo][c];
ch->ChatPacket(CHAT_TYPE_INFO, "%s عدد %d", ITEM_MANAGER::instance().GetTable(vnum)->szLocaleName , ic[tmpevo][c]);
}
return;
}
}
for (int c = 0; c < 7; c++) {
ch->RemoveSpecifyItem(it[tmpevo][c], ic[tmpevo][c]);
}
ch->GetNewPetSystem()->IncreasePetEvolution();
}
else {
ch->ChatPacket(CHAT_TYPE_INFO, "لا تستطيع تطوير رفيقك!");
return;
}
}else
ch->ChatPacket(CHAT_TYPE_INFO, "Your pet should be summoned!");
}
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 2
- Görüntüleme
- 522
