noisiv 1
noisiv
Manwe Work 1
Manwe Work
Scarlet 1
Scarlet
xranzei 1
xranzei
mavzermete 1
mavzermete
Hikaye Ekle
Kaynak ikonu

Offical pet sistemi 1

indirmek için izniniz yok
  • Konuyu başlatan Konuyu başlatan sareman56
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 678
  • Görüntüleme Görüntüleme 154K
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=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot]int it[3][7] = { [/FONT]
[FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot]{ 55003, 30058, 30073, 30041, 30017, 30078, 30088 }, //Here Modify Items to request for 1 evo[/FONT]
[FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot]{ 55004, 30035, 30089, 30031, 30011, 30080, 27994 }, //Here Modify Items to request for 2 evo[/FONT]
[FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot]{ 55005, 30083, 30086, 30077, 30550, 27993, 72992 } //Here Modify Items to request for 3 evo[/FONT]
[FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot]};[/FONT]
[FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot]int ic[3][7] = {{ 10, 10, 10, 10, 10, 5, 5 },[/FONT]
[FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot]{ 10, 10, 10, 10, 10, 5, 2 },[/FONT]
[FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot]{ 10, 10, 10, 10, 5, 2, 2, }[/FONT]
[FONT=&quot] [/FONT][FONT=&quot] [/FONT][FONT=&quot]};[/FONT]
 
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=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp]int it[3][7] = { [/FONT]
[FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp]{ 55003, 30058, 30073, 30041, 30017, 30078, 30088 }, //Here Modify Items to request for 1 evo[/FONT]
[FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp]{ 55004, 30035, 30089, 30031, 30011, 30080, 27994 }, //Here Modify Items to request for 2 evo[/FONT]
[FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp]{ 55005, 30083, 30086, 30077, 30550, 27993, 72992 } //Here Modify Items to request for 3 evo[/FONT]
[FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp]};[/FONT]
[FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp]int ic[3][7] = {{ 10, 10, 10, 10, 10, 5, 5 },[/FONT]
[FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp]{ 10, 10, 10, 10, 10, 5, 2 },[/FONT]
[FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp]{ 10, 10, 10, 10, 5, 2, 2, }[/FONT]
[FONT=&amp] [/FONT][FONT=&amp] [/FONT][FONT=&amp]};[/FONT]
You have to edit the for loop
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, "[&#1578;&#1591;&#1608;&#1610;&#1585; &#1575;&#1604;&#1585;&#1601;&#1610;&#1602;] &#1575;&#1604;&#1571;&#1583;&#1608;&#1575;&#1578; &#1575;&#1604;&#1605;&#1591;&#1604;&#1608;&#1576;&#1577; &#1607;&#1610;:");
for (int c = 0; c < 7; c++) {
DWORD vnum = it[tmpevo][c];
ch->ChatPacket(CHAT_TYPE_INFO, "%s &#1593;&#1583;&#1583; %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, "&#1604;&#1575; &#1578;&#1587;&#1578;&#1591;&#1610;&#1593; &#1578;&#1591;&#1608;&#1610;&#1585; &#1585;&#1601;&#1610;&#1602;&#1603;!");
return;
}

}else
ch->ChatPacket(CHAT_TYPE_INFO, "Your pet should be summoned!");

}
 
Thank you anglelive now i need other fix . (

1. My pet skills don't unlock if my pet level is 40 or 82 or 121...

2. If i trade 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 )
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst