- Katılım
- 15 Kas 2015
- Konular
- 27
- Mesajlar
- 384
- Online süresi
- 1mo 4d
- Reaksiyon Skoru
- 124
- Altın Konu
- 0
- TM Yaşı
- 10 Yıl 7 Ay 5 Gün
- Başarım Puanı
- 126
- MmoLira
- 6,837
- DevLira
- 0
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!
Zırha tıklayınca oyundan atıyor syserr :
0113 19:34:33688 :: Cannot find item by 16778817
0113 19:34:33688 :: Cannot find item by 16778817
0113 19:34:33688 :: Cannot find item by 1060044800
0113 19:34:33688 :: Cannot find item by 1060044800
0113 19:34:33688 :: Cannot find item by -900825856
0113 19:34:33688 :: Cannot find item by -900825856
0113 19:34:33689 :: Cannot find item by -29893
0113 19:34:33689 :: Cannot find item by -29893
0113 19:34:33689 :: Cannot find item by 143578496
0113 19:34:33689 :: Cannot find item by 143578496
0113 19:34:33689 :: Cannot find item by -1208879096
0113 19:34:33689 :: Cannot find item by -1208879096
0113 19:34:33689 :: Cannot find item by -701974690
0113 19:34:33689 :: Cannot find item by -701974690
0113 19:34:33689 :: Cannot find item by 3
0113 19:34:33689 :: Cannot find item by 3
0113 19:34:33689 :: Cannot find item by -265267069
0113 19:34:33689 :: Cannot find item by -265267069
0113 19:34:33690 :: Cannot find item by 724374288
0113 19:34:33690 :: Cannot find item by 724374288
0113 19:34:33690 :: Cannot find item by 738197504
0113 19:34:33690 :: Cannot find item by 738197504
0113 19:34:33690 :: Cannot find item by 1641704064
0113 19:34:33690 :: Cannot find item by 1641704064
0113 19:34:33688 :: Cannot find item by 16778817
0113 19:34:33688 :: Cannot find item by 16778817
0113 19:34:33688 :: Cannot find item by 1060044800
0113 19:34:33688 :: Cannot find item by 1060044800
0113 19:34:33688 :: Cannot find item by -900825856
0113 19:34:33688 :: Cannot find item by -900825856
0113 19:34:33689 :: Cannot find item by -29893
0113 19:34:33689 :: Cannot find item by -29893
0113 19:34:33689 :: Cannot find item by 143578496
0113 19:34:33689 :: Cannot find item by 143578496
0113 19:34:33689 :: Cannot find item by -1208879096
0113 19:34:33689 :: Cannot find item by -1208879096
0113 19:34:33689 :: Cannot find item by -701974690
0113 19:34:33689 :: Cannot find item by -701974690
0113 19:34:33689 :: Cannot find item by 3
0113 19:34:33689 :: Cannot find item by 3
0113 19:34:33689 :: Cannot find item by -265267069
0113 19:34:33689 :: Cannot find item by -265267069
0113 19:34:33690 :: Cannot find item by 724374288
0113 19:34:33690 :: Cannot find item by 724374288
0113 19:34:33690 :: Cannot find item by 738197504
0113 19:34:33690 :: Cannot find item by 738197504
0113 19:34:33690 :: Cannot find item by 1641704064
0113 19:34:33690 :: Cannot find item by 1641704064
- Katılım
- 20 Kas 2017
- Konular
- 65
- Mesajlar
- 1,034
- Online süresi
- 1d 13h
- Reaksiyon Skoru
- 197
- Altın Konu
- 0
- TM Yaşı
- 8 Yıl 6 Ay 29 Gün
- Başarım Puanı
- 127
- MmoLira
- 202
- DevLira
- 0
Teşekürler
- Katılım
- 20 Kas 2017
- Konular
- 4
- Mesajlar
- 182
- Online süresi
- 1d 1h
- Reaksiyon Skoru
- 35
- Altın Konu
- 0
- TM Yaşı
- 8 Yıl 7 Ay
- Başarım Puanı
- 85
- Yaş
- 27
- MmoLira
- 91
- DevLira
- 0
Garip değilmi bilader? @Dr.AlchemyGame/packet.h Açılır-Aratılır:
Kod bloğu değişilir;Kod:typedef struct pakcet_view_equip
Kod:typedef struct pakcet_view_equip { BYTE header; DWORD vid; struct { DWORD vnum; BYTE count; long alSockets[ITEM_SOCKET_MAX_NUM]; TPlayerItemAttribute aAttr[ITEM_ATTRIBUTE_MAX_NUM]; } equips[19]; } TPacketViewEquip;Char.cpp aratılır:Kod bloğu değiştirilir;Kod:void CHARACTER::SendEquipment(LPCHARACTER ch)
Kod:void CHARACTER::SendEquipment(LPCHARACTER ch){[/B][/LEFT] [B] [LEFT]TPacketViewEquip p; p.header = HEADER_GC_VIEW_EQUIP; p.vid = GetVID(); int pos[19] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 19, 20, 21, 22, 23, 24, 25, 26 }; for (int i = 0; i < 19; i++) { LPITEM item = GetWear(pos[i]); if (item) { p.equips[i].vnum = item->GetVnum(); p.equips[i].count = item->GetCount(); thecore_memcpy(p.equips[i].alSockets, item->GetSockets(), sizeof(p.equips[i].alSockets)); thecore_memcpy(p.equips[i].aAttr, item->GetAttributes(), sizeof(p.equips[i].aAttr)); } else { p.equips[i].vnum = 0; } } ch->GetDesc()->Packet(&p, sizeof(p)); }
Gamesrc bitti
Clientsrc/Userınterface/packet.h aratılır:Kod:typedef struct pakcet_view_equipKod bloğu değiştirilir;Kod:typedef struct pakcet_view_equip { BYTE header; DWORD dwVID; TEquipmentItemSet equips[19]; } TPacketGCViewEquip;
UserInterfacePythonNetworkStreamPhaseGame.cpp aratın:
Değiştirin;Kod:bool CPythonNetworkStream::RecvViewEquipPacket()Kod:bool CPythonNetworkStream::RecvViewEquipPacket() { TPacketGCViewEquip kViewEquipPacket; if (!Recv(sizeof(kViewEquipPacket), &kViewEquipPacket)) return false; PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "OpenEquipmentDialog", Py_BuildValue("(i)", kViewEquipPacket.dwVID)); for (int i = 0; i < 19; ++i) { TEquipmentItemSet & rItemSet = kViewEquipPacket.equips[i]; PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "SetEquipmentDialogItem", Py_BuildValue("(iiii)", kViewEquipPacket.dwVID, i, rItemSet.vnum, rItemSet.count)); for (int j = 0; j < ITEM_SOCKET_SLOT_MAX_NUM; ++j) PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "SetEquipmentDialogSocket", Py_BuildValue("(iiii)", kViewEquipPacket.dwVID, i, j, rItemSet.alSockets[j])); for (int k = 0; k < ITEM_ATTRIBUTE_SLOT_MAX_NUM; ++k) PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "SetEquipmentDialogAttr", Py_BuildValue("(iiiii)", kViewEquipPacket.dwVID, i, k, rItemSet.aAttr[k].bType, rItemSet.aAttr[k].sValue)); } return true; }Clientsrcde bitti
root/uitarget.py aratın:
Altına ekle:Kod:self.buttonDict[localeInfo.TARGET_BUTTON_EXIT_OBSERVER].SAFE_SetEvent(self.__OnExitObserver)
uitargetin ilk başındaki:Kod:self.buttonDict[localeInfo.TARGET_BUTTON_VIEW_EQUIPMENT].SAFE_SetEvent(self.__OnViewEquipment)
Aralarına ekleyin;Kod:BUTTON_NAME_LIST = (
Aratın:Kod:localeInfo.TARGET_BUTTON_VIEW_EQUIPMENT,Kod:def __OnExitObserver(self): net.SendChatPacket("/observer_exit")Altına ekleyin;Kod:def __OnViewEquipment(self): net.SendChatPacket("/view_equip " + str(self.vid))Aratın:
Kod:def ShowDefaultButton(self):Kod:def ShowDefaultButton(self): self.isShowButton = TRUE self.showingButtonList.append(self.buttonDict[localeInfo.TARGET_BUTTON_WHISPER]) self.showingButtonList.append(self.buttonDict[localeInfo.TARGET_BUTTON_EXCHANGE]) self.showingButtonList.append(self.buttonDict[localeInfo.TARGET_BUTTON_FIGHT]) self.showingButtonList.append(self.buttonDict[localeInfo.TARGET_BUTTON_VIEW_EQUIPMENT]) self.showingButtonList.append(self.buttonDict[localeInfo.TARGET_BUTTON_EMOTION_ALLOW]) for button in self.showingButtonList: button.Show()Bir bug var onuda fixliyelim sürekli açabiliyorsunuz;
root/interfacemodule.py aratın:
Değiştirin;Kod:def OpenEquipmentDialog(self, vid):
Linkleri görebilmek için Turkmmo Forumuna ÜYE olmanız gerekmektedir.Kod:def OpenEquipmentDialog(self, vid): if self.equipmentDialogDict.has_key(vid): self.equipmentDialogDict[vid].Destroy() self.CloseEquipmentDialog(vid) dlg = uiEquipmentDialog.EquipmentDialog() dlg.SetItemToolTip(self.tooltipItem) dlg.SetCloseEvent(ui.__mem_func__(self.CloseEquipmentDialog)) dlg.Open(vid) self.equipmentDialogDict[vid] = dlg
- Katılım
- 6 Eyl 2017
- Konular
- 77
- Mesajlar
- 1,771
- Çözüm
- 2
- Reaksiyon Skoru
- 505
- Altın Konu
- 0
- TM Yaşı
- 8 Yıl 9 Ay 15 Gün
- Başarım Puanı
- 142
- Yaş
- 26
- MmoLira
- 275
- DevLira
- 0
Garip değilmi bilader? @Dr.Alchemy![]()
bir imkansizi başrmssn .d
- Durum
- Üzgünüz bu konu cevaplar için kapatılmıştır...
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 1
- Görüntüleme
- 212
- Cevaplar
- 37
- Görüntüleme
- 2K
- Cevaplar
- 33
- Görüntüleme
- 7K
- Cevaplar
- 65
- Görüntüleme
- 12K




