TuZaKK 1
TuZaKK
sermin 1
sermin
berkmenoo 1
berkmenoo
mannaxxx 1
mannaxxx
Agora Metin2 1
Agora Metin2
[DEV]AB 1
[DEV]AB
kaptanmikro1 1
kaptanmikro1
Hikaye Ekle

[SRC] Belt Bug Fix.. (Kemer Sistemi)

  • Konuyu başlatan Konuyu başlatan Kaneki
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 25
  • Görüntüleme Görüntüleme 5K
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Merhaba TURKMMO,

Fixlenecek bug sadece 40k [SOURCE] uyumludur.

@Rideas arkadaşımıza teşekkürler.


Bug Bilgi;



Kemer sistemindeki bug, kemer takılı (Kemer Slotlarında Eşya Mevcut) halde olduğu zaman başka bir kemere sağ tık yapılıp giyildiğinde, açık olmayan slotlara eşya konulmasını fixliyecektir.


char_item.cpp açılır



Kod:
[COLOR=#000088][FONT=monospace]const[/FONT][/COLOR][COLOR=#000088][FONT=monospace]int[/FONT][/COLOR][COLOR=#000000][FONT=monospace] ITEM_BROKEN_METIN_VNUM [/FONT][/COLOR][COLOR=#666600][FONT=monospace]=[/FONT][/COLOR][COLOR=#006666][FONT=monospace]28960[/FONT][/COLOR][COLOR=#666600][FONT=monospace];[/FONT][/COLOR]


:
Kod:
[COLOR=#880000][FONT=monospace]#define[/FONT][/COLOR][COLOR=#000000][FONT=monospace] ERROR_MSG[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#000000][FONT=monospace]exp[/FONT][/COLOR][COLOR=#666600][FONT=monospace],[/FONT][/COLOR][COLOR=#000000][FONT=monospace] msg[/FONT][/COLOR][COLOR=#666600][FONT=monospace])[/FONT][/COLOR][COLOR=#000000][FONT=monospace]  \[/FONT][/COLOR]
[COLOR=#000088]       if[/COLOR][COLOR=#666600]([/COLOR][COLOR=#000088]true[/COLOR][COLOR=#666600]==[/COLOR][COLOR=#666600]([/COLOR][COLOR=#000000]exp[/COLOR][COLOR=#666600]))[/COLOR][COLOR=#666600]{[/COLOR][COLOR=#000000] \
               [/COLOR][COLOR=#660066]ChatPacket[/COLOR][COLOR=#666600]([/COLOR][COLOR=#000000]CHAT_TYPE_INFO[/COLOR][COLOR=#666600],[/COLOR][COLOR=#000000] msg[/COLOR][COLOR=#666600]);[/COLOR][COLOR=#000000] \
               [/COLOR][COLOR=#000088]return[/COLOR][COLOR=#000088]false[/COLOR][COLOR=#666600];[/COLOR][COLOR=#000000] \ [/COLOR][COLOR=#000000][FONT=monospace]    
[/FONT][/COLOR][COLOR=#666600][FONT=monospace]    }[/FONT][/COLOR]





Kod:
[COLOR=#000088][FONT=monospace]bool[/FONT][/COLOR][COLOR=#000000][FONT=monospace] CHARACTER[/FONT][/COLOR][COLOR=#666600][FONT=monospace]::[/FONT][/COLOR][COLOR=#660066][FONT=monospace]UnequipItem[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#000000][FONT=monospace]LPITEM item[/FONT][/COLOR][COLOR=#666600][FONT=monospace])[/FONT][/COLOR]
[COLOR=#666600]{[/COLOR][COLOR=#000000]
    [/COLOR][COLOR=#000088]int[/COLOR][COLOR=#000000] pos[/COLOR][COLOR=#666600];[/COLOR][COLOR=#000000]

    [/COLOR][COLOR=#000088]if[/COLOR][COLOR=#666600]([/COLOR][COLOR=#000088]false[/COLOR][COLOR=#666600]==[/COLOR][COLOR=#660066]CanUnequipNow[/COLOR][COLOR=#666600]([/COLOR][COLOR=#000000]item[/COLOR][COLOR=#666600]))[/COLOR][COLOR=#000000][FONT=monospace]        
[/FONT][/COLOR][COLOR=#000088][FONT=monospace]         return[/FONT][/COLOR][COLOR=#000088][FONT=monospace]false[/FONT][/COLOR][COLOR=#666600][FONT=monospace];[/FONT][/COLOR]


Aratılır ve altına eklenir. ("Bu" - "Aşağıdaki" Linkler paste2.org'dur)

Kod:
[COLOR=#000088][FONT=monospace]if[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#000000][FONT=monospace]ITEM_BELT [/FONT][/COLOR][COLOR=#666600][FONT=monospace]==[/FONT][/COLOR][COLOR=#000000][FONT=monospace] item[/FONT][/COLOR][COLOR=#666600][FONT=monospace]->[/FONT][/COLOR][COLOR=#660066][FONT=monospace]GetType[/FONT][/COLOR][COLOR=#666600][FONT=monospace]())[/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]  VERIFY_MSG[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#660066][FONT=monospace]CBeltInventoryHelper[/FONT][/COLOR][COLOR=#666600][FONT=monospace]::[/FONT][/COLOR][COLOR=#660066][FONT=monospace]IsExistItemInBeltInventory[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#000088][FONT=monospace]this[/FONT][/COLOR][COLOR=#666600][FONT=monospace]),[/FONT][/COLOR][COLOR=#008800][FONT=monospace]"Error text"[/FONT][/COLOR][COLOR=#666600][FONT=monospace]);[/FONT][/COLOR][COLOR=#880000][FONT=monospace]// locale_string lc_text[/FONT][/COLOR]


En son durum bu şekilde olması gerekir.
NEUH0nI.png


Not: Hata alırsanız lütfen cevap atınız.



Derleme aşamasında bir hata:
char_item.cpp:6073: error: 'VERIFY_MSG' was not declared in this scope

6073. satırda bulunan kod (TAB AYARI YAPILMIŞ ŞEKİLDE .cpp içine yerleştirildi.)

Kod:
[COLOR=#000088][FONT=monospace]if[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#000000][FONT=monospace]ITEM_BELT [/FONT][/COLOR][COLOR=#666600][FONT=monospace]==[/FONT][/COLOR][COLOR=#000000][FONT=monospace] item[/FONT][/COLOR][COLOR=#666600][FONT=monospace]->[/FONT][/COLOR][COLOR=#660066][FONT=monospace]GetType[/FONT][/COLOR][COLOR=#666600][FONT=monospace]())[/FONT][/COLOR]
[COLOR=#000000][FONT=monospace] VERIFY_MSG[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#660066][FONT=monospace]CBeltInventoryHelper[/FONT][/COLOR][COLOR=#666600][FONT=monospace]::[/FONT][/COLOR][COLOR=#660066][FONT=monospace]IsExistItemInBeltInventory[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#000088][FONT=monospace]this[/FONT][/COLOR][COLOR=#666600][FONT=monospace]),[/FONT][/COLOR][COLOR=#008800][FONT=monospace]"Error text"[/FONT][/COLOR][COLOR=#666600][FONT=monospace]);[/FONT][/COLOR][COLOR=#880000][FONT=monospace]// locale_string lc_text[/FONT][/COLOR]


 
Denedım hata verdı

Derleme aşamasında bir hata:
char_item.cpp:6073: error: 'VERIFY_MSG' was not declared in this scope

6073. satırda bulunan kod (TAB AYARI YAPILMIŞ ŞEKİLDE .cpp içine yerleştirildi.)

Kod:
[COLOR=#000088][FONT=monospace]if[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#000000][FONT=monospace]ITEM_BELT [/FONT][/COLOR][COLOR=#666600][FONT=monospace]==[/FONT][/COLOR][COLOR=#000000][FONT=monospace] item[/FONT][/COLOR][COLOR=#666600][FONT=monospace]->[/FONT][/COLOR][COLOR=#660066][FONT=monospace]GetType[/FONT][/COLOR][COLOR=#666600][FONT=monospace]())[/FONT][/COLOR]
[COLOR=#000000][FONT=monospace] VERIFY_MSG[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#660066][FONT=monospace]CBeltInventoryHelper[/FONT][/COLOR][COLOR=#666600][FONT=monospace]::[/FONT][/COLOR][COLOR=#660066][FONT=monospace]IsExistItemInBeltInventory[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#000088][FONT=monospace]this[/FONT][/COLOR][COLOR=#666600][FONT=monospace]),[/FONT][/COLOR][COLOR=#008800][FONT=monospace]"Error text"[/FONT][/COLOR][COLOR=#666600][FONT=monospace]);[/FONT][/COLOR][COLOR=#880000][FONT=monospace]// locale_string lc_text[/FONT][/COLOR]


Teşekkürler
(Linkler paste2.org'dur)


Uyarıda zaten bulunmuştum "tab" ayarları hatalı olabilir cinsinden paste2.org'a kodları paylaşıp linklemiştim.
paste2.orgdan yapmanız daha sağlıklı olcaktır iyi forumlar.

 
Son düzenleme:
Merhaba TURKMMO,

Fixlenecek bug sadece 40k [SOURCE] uyumludur.

@Rideas arkadaşımıza teşekkürler.


Bug Bilgi;



Kemer sistemindeki bug, kemer takılı (Kemer Slotlarında Eşya Mevcut) halde olduğu zaman başka bir kemere sağ tık yapılıp giyildiğinde, açık olmayan slotlara eşya konulmasını fixliyecektir.


char_item.cpp açılır



Kod:
[COLOR=#000088][FONT=monospace]const[/FONT][/COLOR][COLOR=#000088][FONT=monospace]int[/FONT][/COLOR][COLOR=#000000][FONT=monospace] ITEM_BROKEN_METIN_VNUM [/FONT][/COLOR][COLOR=#666600][FONT=monospace]=[/FONT][/COLOR][COLOR=#006666][FONT=monospace]28960[/FONT][/COLOR][COLOR=#666600][FONT=monospace];[/FONT][/COLOR]


:
Kod:
[COLOR=#880000][FONT=monospace]#define[/FONT][/COLOR][COLOR=#000000][FONT=monospace] ERROR_MSG[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#000000][FONT=monospace]exp[/FONT][/COLOR][COLOR=#666600][FONT=monospace],[/FONT][/COLOR][COLOR=#000000][FONT=monospace] msg[/FONT][/COLOR][COLOR=#666600][FONT=monospace])[/FONT][/COLOR][COLOR=#000000][FONT=monospace]  \[/FONT][/COLOR]
[COLOR=#000088]       if[/COLOR][COLOR=#666600]([/COLOR][COLOR=#000088]true[/COLOR][COLOR=#666600]==[/COLOR][COLOR=#666600]([/COLOR][COLOR=#000000]exp[/COLOR][COLOR=#666600]))[/COLOR][COLOR=#666600]{[/COLOR][COLOR=#000000] \
               [/COLOR][COLOR=#660066]ChatPacket[/COLOR][COLOR=#666600]([/COLOR][COLOR=#000000]CHAT_TYPE_INFO[/COLOR][COLOR=#666600],[/COLOR][COLOR=#000000] msg[/COLOR][COLOR=#666600]);[/COLOR][COLOR=#000000] \
               [/COLOR][COLOR=#000088]return[/COLOR][COLOR=#000088]false[/COLOR][COLOR=#666600];[/COLOR][COLOR=#000000] \ [/COLOR][COLOR=#000000][FONT=monospace]    
[/FONT][/COLOR][COLOR=#666600][FONT=monospace]    }[/FONT][/COLOR]





Kod:
[COLOR=#000088][FONT=monospace]bool[/FONT][/COLOR][COLOR=#000000][FONT=monospace] CHARACTER[/FONT][/COLOR][COLOR=#666600][FONT=monospace]::[/FONT][/COLOR][COLOR=#660066][FONT=monospace]UnequipItem[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#000000][FONT=monospace]LPITEM item[/FONT][/COLOR][COLOR=#666600][FONT=monospace])[/FONT][/COLOR]
[COLOR=#666600]{[/COLOR][COLOR=#000000]
    [/COLOR][COLOR=#000088]int[/COLOR][COLOR=#000000] pos[/COLOR][COLOR=#666600];[/COLOR][COLOR=#000000]

    [/COLOR][COLOR=#000088]if[/COLOR][COLOR=#666600]([/COLOR][COLOR=#000088]false[/COLOR][COLOR=#666600]==[/COLOR][COLOR=#660066]CanUnequipNow[/COLOR][COLOR=#666600]([/COLOR][COLOR=#000000]item[/COLOR][COLOR=#666600]))[/COLOR][COLOR=#000000][FONT=monospace]        
[/FONT][/COLOR][COLOR=#000088][FONT=monospace]         return[/FONT][/COLOR][COLOR=#000088][FONT=monospace]false[/FONT][/COLOR][COLOR=#666600][FONT=monospace];[/FONT][/COLOR]


Aratılır ve altına eklenir. ("Bu" - "Aşağıdaki" Linkler paste2.org'dur)

Kod:
[COLOR=#000088][FONT=monospace]if[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#000000][FONT=monospace]ITEM_BELT [/FONT][/COLOR][COLOR=#666600][FONT=monospace]==[/FONT][/COLOR][COLOR=#000000][FONT=monospace] item[/FONT][/COLOR][COLOR=#666600][FONT=monospace]->[/FONT][/COLOR][COLOR=#660066][FONT=monospace]GetType[/FONT][/COLOR][COLOR=#666600][FONT=monospace]())[/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]  VERIFY_MSG[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#660066][FONT=monospace]CBeltInventoryHelper[/FONT][/COLOR][COLOR=#666600][FONT=monospace]::[/FONT][/COLOR][COLOR=#660066][FONT=monospace]IsExistItemInBeltInventory[/FONT][/COLOR][COLOR=#666600][FONT=monospace]([/FONT][/COLOR][COLOR=#000088][FONT=monospace]this[/FONT][/COLOR][COLOR=#666600][FONT=monospace]),[/FONT][/COLOR][COLOR=#008800][FONT=monospace]"Error text"[/FONT][/COLOR][COLOR=#666600][FONT=monospace]);[/FONT][/COLOR][COLOR=#880000][FONT=monospace]// locale_string lc_text[/FONT][/COLOR]


En son durum bu şekilde olması gerekir.
NEUH0nI.png


Not: Hata alırsanız lütfen cevap atınız.




Resimleri yenilermisin
 
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)

Geri
Üst