InfernoShade 1
InfernoShade
Fethi Polat 1
Fethi Polat
Bvural41 1
Bvural41
noisiv 1
noisiv
Manwe Work 1
Manwe Work
shrpnl 1
shrpnl
YusufŞimşek14 1
YusufŞimşek14
berzahx 2
berzahx
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com
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

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!

peti çağırınca ch core veriyor:
Kod:
#0  0x0826b31e in CNewPetActor::Unsummon (this=0x648c3940)
    at New_PetSystem.cpp:440
440                     DBManager::instance().DirectQuery("UPDATE new_petsystem SET level = %d, evolution=%d, exp=%d, expi=%d, bonus0=%d, bonus1=%d, bonus2=%d, skill0=%d, skill0lv= %d, skill1=%d, skill1lv= %d, skill2=%d, skill2lv= %d, duration=%d, tduration=%d WHERE id = %lu ", this->GetLevel(), this->m_dwevolution, this->GetExp(), this->GetExpI(), this->m_dwbonuspet[0][1], this->m_dwbonuspet[1][1], this->m_dwbonuspet[2][1], this->m_dwskillslot[0], this->m_dwskill[0], this->m_dwskillslot[1], this->m_dwskill[1], this->m_dwskillslot[2], this->m_dwskill[2], this->m_dwduration, this->m_dwtduration, ITEM_MANAGER::instance().FindByVID(this->GetSummonItemVID())->GetID());
bt full hali de şöyle:
#0 0x0826b31e in CNewPetActor::Unsummon (this=0x648c3940)
at New_PetSystem.cpp:440
pSummonItem = <value optimized out>
#1 0x0826c258 in CNewPetActor::Update (this=0x648c3940, deltaTime=0)
at New_PetSystem.cpp:719
No locals.
#2 0x0826d04b in CNewPetSystem::Update (this=0x6470c200, deltaTime=0)
at New_PetSystem.cpp:986
petActor = (CNewPetActor *) 0x648c3940
bResult = true
currentTime = 101034
v_garbageActor = {<std::_Vector_base<CNewPetActor*,std::allocator<CNewPetActor*> >> = {
_M_impl = {<std::allocator<CNewPetActor*>> = {<__gnu_cxx::new_allocator<CNewPetActor*>> = {<No data fields>}, <No data fields>}, _M_start = 0x0,
_M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}
#3 0x0826d119 in newpetsystem_update_event (event=@0xbfbfa42c,
processing_time=6) at New_PetSystem.cpp:41
pPetSystem = <value optimized out>
__FUNCTION__ = "newpetsystem_update_event"
#4 0x0811f4f1 in event_process (pulse=2560) at event.cpp:140
pElem = <value optimized out>
the_event = {px = 0x648c8540}
---Type <return> to continue, or q <return> to quit---
processing_time = 6
new_time = <value optimized out>
num_events = 0
#5 0x08270e7f in heartbeat (ht=0x28ffb4f0, pulse=2560) at main.cpp:247
t = 101034
#6 0x082713ae in idle () at main.cpp:872
now = {tv_sec = 1464743952, tv_usec = 5476}
passed_pulses = 1
t = <value optimized out>
pta = {tv_sec = 1464743952, tv_usec = 5482}
process_time_count = 0
#7 0x08272c27 in main (argc=1, argv=0x646bffc0) at main.cpp:545
sectree_manager = {<singleton<SECTREE_MANAGER>> = {
_vptr$singleton = 0x84c2dd0, static ms_singleton = 0xbfbfa79c},
static current_sectree_version = 768, m_map_pkSectree = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, SECTREE_MAP*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, SECTREE_MAP*> > >> = {<No data fields>}, <No data fields>},
_M_key_compare = {<std::binary_function<unsigned int,unsigned int,bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red,
_M_parent = 0x353d19c0, _M_left = 0x2b585c80,
_M_right = 0x61acaae0}, _M_node_count = 32}}}, m_map_pkArea = {
_M_t = {
nasıl çözülür?
 
Problem :(

I can not log in

0924efba79.jpg
 
güle güle!
Ben sıkışmış bölümün evriminde Yardımlarınız için sormak istiyorum


cmd_general.cpp:

ACMD(do_PetEvo)
{


if (ch->GetExchange() || ch->GetMyShop() || ch->GetShopOwner() || ch->IsOpenSafebox() || ch->IsCubeOpen())
{
ch->ChatPacket(CHAT_TYPE_INFO, "[PetEvolution] You cannot evolve your pet now!");
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,30031,30011,30080 }, //Here Modify Items to request for 2 evo
{ 55005,30083,27992,27993,30086,30077,30550 } //Here Modify Items to request for 3 evo
};
int ic[3][7] =
{
{ 10,10,10,10,10,5,5 }, //Here Modify Items piece to request for 1 evo
{ 10,2,10,10,10,10,5 }, //Here Modify Items piece to request for 2 evo
{ 10,10,2,2,10,10,5 } //Here Modify Items piece to request for 3 evo
};
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 < 7; b++)
{
if (ch->CountSpecifyItem(it[tmpevo]) < ic[tmpevo])
{
ch->ChatPacket(CHAT_TYPE_INFO, "[PetEvolution] Items Required:");
for (int c = 0; c < 7; c++)
{
DWORD vnum = it[tmpevo][c];
ch->ChatPacket(CHAT_TYPE_INFO, "%s X%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, "You can't evolve your pet!");
return;
}


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


}




içinde cmd_general.cpp


evrim parçasıdır


Ben leltárbol çözmek istiyorum ama kimse teşekkür ederim yardımcı olabilir değilse slotbol ettetös magábol bunun gibi ondan öğeyi kaldırmak istiyorum


Yanıtınız için şimdiden teşekkürler
 
Can somebody put all files edited too compare the structur? I have some errors at compiling game source.
Thanks
 

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

Geri
Üst