kaptanmikro1 1
kaptanmikro1
romegames 1
romegames
Best Studio 1
Best Studio
Reklam vermek için turkmmo@gmail.com

Serverfiles Elvion

  • Konuyu başlatan Konuyu başlatan xblondubro
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 88
  • Görüntüleme Görüntüleme 7K
Senden bir şey istediğini söyleyen olmadı zaten. İndirmediysen daha da komik; kullanmadığın, indirmediğin ve seni ilgilendirmeyen bir şey hakkında gelip bu kadar konuşan sensin. 😂 Ben saatlerimi Elvion’daki bugları, bağımlılıkları, derleme sorunlarını ve bozuk sistemleri düzeltmeye harcadım; sen ise hiçbir katkın olmayan bir işin altına gelip emeğimin ne kadar etmesi gerektiğine karar vermeye çalışıyorsun.
‘Buradan sana ekmek çıkmaz’ diye ilk konuşan da sendin. Şimdi cevap gelince ‘Ben senden bir şey mi istedim?’ diyorsun. İstemediysen neden bu kadar rahatsız oldun? İndirmediysen neden hâlâ buradasın?
Bir dahaki sefere küçümsemeye çalıştığın birinin emeği hakkında konuşmadan önce en azından ne yaptığını öğren. Çünkü şu an beni küçük düşürmeye çalışırken yaptığın tek şey, hakkında hiçbir şey bilmediğin bir konuda ne kadar gereksiz konuşabildiğini göstermek oldu.
Merak etme, dosyaları sana saklamama gerek yok. Zaten senin elinde olsalar ne yapacağını bildiğine dair hiçbir belirti göstermedin.
Patron Sensin sakin ol reis :D Ben bişey demedim sen sat dosyaları :D hayatını anlattın mq 2 mesajda :) zamanı sen dosyalarda harca ac oyunda oynayalım bakalım bugsuz oyunda :D
 

Pack Açıcı:

# Metin2 Core & Client Fixes / Düzeltmeler ve Güncellemeler

## 🇹🇷 Türkçe (Düzeltme & Güncelleme Listesi)

1. **Client Derleme (MSVC C2039 & C2065) Hataları Düzeltildi:**
- `PythonNetworkStreamPhaseGame.cpp` içerisindeki `dwPongValue` üye elemanı eksikliği (`C2039`) giderildi.
- `PythonNetworkStream.cpp` içerisindeki `m_bufRecv` tanımlanamayan simge (`C2065`) hatası düzeltildi.

2. **DB Core Çökme (Segmentation Fault / Core Dump) Hatası Düzeltildi:**
- 32-bit FreeBSD ortamında `ENABLE_LONG_LONG` ile 64-bit (`int64_t`) yapılan `gold` (Yang) ve `cheque` (Won) verilerinin SQL sorgusunda `%ld` (32-bit long) olarak biçimlendirilmesinden kaynaklanan yığıt kayması (stack misalignment) tespit edildi.
- `snprintf` sonrasındaki `"ip = '%s'"` parametresi kayıp geçersiz bellek adresini `strlen()`'e gönderdiği için DB Core'un çökmesine neden olan bu durum, `ClientManagerPlayer.cpp` içerisindeki `%ld` belirleyicileri `%lld` yapılarak tam olarak çözüldü.

3. **ByteShield Sistemi ve Giriş Ekranına Atma (Disconnect) Sorunu Tamamen Kaldırıldı:**
- Oyuncuların durduk yere giriş ekranına atılmasının ana nedeni olan `PING_BYTESHIELD_EVENT: no pong` bağlantı kesme mekanizması tespit edildi.
- ByteShield sistemi hem **Server (`game`)** hem de **Client (`UserInterface`)** kaynak kodlarından kalıntı kalmayacak şekilde tamamen ve temiz bir şekilde kaldırıldı.

4. **ESC Menüsü Python Hatası (`SendLogOutPacket` / `SendExitPacket`) Düzeltildi:**
- ESC menüsündeki çıkış ve karakter değiştir butonlarına tıklandığında oluşan `AttributeError: 'module' object has no attribute 'SendLogOutPacket'` hatası düzeltildi.
- C++ tarafında (`PythonNetworkStreamModule.cpp`) `SendLogOutPacket`, `SendExitPacket` ve `SendChangeCharacterPacket` takma adları (alias) tanımlandı, Python tarafında (`uiSystem.py`) butonlar standart `net.LogOutGame()` ve `net.ExitGame()` metodlarına bağlandı.

5. **Bineklere Binememe Sorunu Düzeltildi:**
- Karakterin at seviyesi 0 olduğunda (`horse_level = 0`) binek kostümü veya binek eşyası giyilse dahi bineklerin üzerine binilmesini engelleyen durum `horse_rider.cpp` (`CHorseRider::StartRiding`) içerisinde `__RENEWAL_MOUNT__` sistemi için güncellendi.
- `char_item.cpp` içerisinde binek eşyası giyildiğinde binmeyi başlatan `StartRiding();` satırı aktif edildi.

6. **Hızlı Kanal Değiştirme (`BL_MOVE_CHANNEL`) Python Hatası Düzeltildi:**
- ESC menüsünde veya kısayolda `AttributeError: 'SystemDialog' object has no attribute 'moveChannelDlg'` hatası veren eksik pencere yapısı düzeltildi.
- `uiSystem.py` içerisine `MoveChannelDialog` pencere sınıfı eklendi, `SystemDialog` içine değişken tanımlamaları yapıldı ve `interfaceModule.py` güvenli erişim kontrolü (`getattr`) ile güncellendi.

---

## 🇬🇧 English (Changelog & Fixes)

1. **Client Compilation (MSVC C2039 & C2065) Fixes:**
- Fixed `C2039: 'dwPongValue': is not a member of 'CPythonNetworkStream'` error in `PythonNetworkStreamPhaseGame.cpp`.
- Fixed `C2065: 'm_bufRecv': undeclared identifier` error in `PythonNetworkStream.cpp`.

2. **DB Core Crash (Segmentation Fault / Core Dump) Fix:**
- Resolved a 32-bit stack misalignment in `CreatePlayerSaveQuery` & `CreatePlayerTable` caused by using `%ld` (32-bit long) for 64-bit `int64_t` `gold` (Yang) and `cheque` (Won) variables (`ENABLE_LONG_LONG`).
- The stack alignment shift caused `snprintf` to feed invalid memory pointers to `strlen()` for the IP parameter (`ip = '%s'`). Replaced `%ld` specifiers with `%lld` in `ClientManagerPlayer.cpp`, permanently fixing the DB core crash.

3. **Complete Removal of ByteShield & Fix for Random Disconnects:**
- Identified the root cause of random player disconnects back to login screen: `PING_BYTESHIELD_EVENT: no pong` connection destruction.
- Completely and cleanly removed the ByteShield system from both **Server (`game`)** and **Client (`UserInterface`)** source code.

4. **ESC System Menu Python `AttributeError` Fix:**
- Fixed `AttributeError: 'module' object has no attribute 'SendLogOutPacket'` / `'SendExitPacket'` when clicking exit or logout buttons in ESC menu.
- Added method alias mappings (`SendLogOutPacket`, `SendExitPacket`, `SendChangeCharacterPacket`) to `s_methods[]` in `PythonNetworkStreamModule.cpp` and updated `uiSystem.py` button handlers to use standard `net.LogOutGame()` and `net.ExitGame()`.

5. **Mount Riding Issue Fix:**
- Fixed an issue where characters with horse level 0 (`horse_level = 0`) were unable to mount despite equipping a costume mount or mount item.
- Updated `CHorseRider::StartRiding()` in `horse_rider.cpp` to bypass horse level restrictions when `__RENEWAL_MOUNT__` is active, and uncommented `StartRiding();` in `char_item.cpp` when equipping mount items.

6. **Fast Channel Switch (`BL_MOVE_CHANNEL`) Python `AttributeError` Fix:**
- Resolved `AttributeError: 'SystemDialog' object has no attribute 'moveChannelDlg'` when opening the move channel dialog from ESC menu or hotkey.
- Implemented `MoveChannelDialog` class in `uiSystem.py`, added proper `moveChannelDlg` member initialization & cleanup, and added safe attribute checks (`getattr`) in `interfaceModule.py`.
 
Son düzenleme:


# Metin2 Core & Client Fixes / Düzeltmeler ve Güncellemeler

## 🇹🇷 Türkçe (Düzeltme & Güncelleme Listesi)

1. **Client Derleme (MSVC C2039 & C2065) Hataları Düzeltildi:**
- `PythonNetworkStreamPhaseGame.cpp` içerisindeki `dwPongValue` üye elemanı eksikliği (`C2039`) giderildi.
- `PythonNetworkStream.cpp` içerisindeki `m_bufRecv` tanımlanamayan simge (`C2065`) hatası düzeltildi.

2. **DB Core Çökme (Segmentation Fault / Core Dump) Hatası Düzeltildi:**
- 32-bit FreeBSD ortamında `ENABLE_LONG_LONG` ile 64-bit (`int64_t`) yapılan `gold` (Yang) ve `cheque` (Won) verilerinin SQL sorgusunda `%ld` (32-bit long) olarak biçimlendirilmesinden kaynaklanan yığıt kayması (stack misalignment) tespit edildi.
- `snprintf` sonrasındaki `"ip = '%s'"` parametresi kayıp geçersiz bellek adresini `strlen()`'e gönderdiği için DB Core'un çökmesine neden olan bu durum, `ClientManagerPlayer.cpp` içerisindeki `%ld` belirleyicileri `%lld` yapılarak tam olarak çözüldü.

3. **ByteShield Sistemi ve Giriş Ekranına Atma (Disconnect) Sorunu Tamamen Kaldırıldı:**
- Oyuncuların durduk yere giriş ekranına atılmasının ana nedeni olan `PING_BYTESHIELD_EVENT: no pong` bağlantı kesme mekanizması tespit edildi.
- ByteShield sistemi hem **Server (`game`)** hem de **Client (`UserInterface`)** kaynak kodlarından kalıntı kalmayacak şekilde tamamen ve temiz bir şekilde kaldırıldı.

4. **ESC Menüsü Python Hatası (`SendLogOutPacket` / `SendExitPacket`) Düzeltildi:**
- ESC menüsündeki çıkış ve karakter değiştir butonlarına tıklandığında oluşan `AttributeError: 'module' object has no attribute 'SendLogOutPacket'` hatası düzeltildi.
- C++ tarafında (`PythonNetworkStreamModule.cpp`) `SendLogOutPacket`, `SendExitPacket` ve `SendChangeCharacterPacket` takma adları (alias) tanımlandı, Python tarafında (`uiSystem.py`) butonlar standart `net.LogOutGame()` ve `net.ExitGame()` metodlarına bağlandı.

5. **Bineklere Binememe Sorunu Düzeltildi:**
- Karakterin at seviyesi 0 olduğunda (`horse_level = 0`) binek kostümü veya binek eşyası giyilse dahi bineklerin üzerine binilmesini engelleyen durum `horse_rider.cpp` (`CHorseRider::StartRiding`) içerisinde `__RENEWAL_MOUNT__` sistemi için güncellendi.
- `char_item.cpp` içerisinde binek eşyası giyildiğinde binmeyi başlatan `StartRiding();` satırı aktif edildi.

6. **Hızlı Kanal Değiştirme (`BL_MOVE_CHANNEL`) Python Hatası Düzeltildi:**
- ESC menüsünde veya kısayolda `AttributeError: 'SystemDialog' object has no attribute 'moveChannelDlg'` hatası veren eksik pencere yapısı düzeltildi.
- `uiSystem.py` içerisine `MoveChannelDialog` pencere sınıfı eklendi, `SystemDialog` içine değişken tanımlamaları yapıldı ve `interfaceModule.py` güvenli erişim kontrolü (`getattr`) ile güncellendi.

---

## 🇬🇧 English (Changelog & Fixes)

1. **Client Compilation (MSVC C2039 & C2065) Fixes:**
- Fixed `C2039: 'dwPongValue': is not a member of 'CPythonNetworkStream'` error in `PythonNetworkStreamPhaseGame.cpp`.
- Fixed `C2065: 'm_bufRecv': undeclared identifier` error in `PythonNetworkStream.cpp`.

2. **DB Core Crash (Segmentation Fault / Core Dump) Fix:**
- Resolved a 32-bit stack misalignment in `CreatePlayerSaveQuery` & `CreatePlayerTable` caused by using `%ld` (32-bit long) for 64-bit `int64_t` `gold` (Yang) and `cheque` (Won) variables (`ENABLE_LONG_LONG`).
- The stack alignment shift caused `snprintf` to feed invalid memory pointers to `strlen()` for the IP parameter (`ip = '%s'`). Replaced `%ld` specifiers with `%lld` in `ClientManagerPlayer.cpp`, permanently fixing the DB core crash.

3. **Complete Removal of ByteShield & Fix for Random Disconnects:**
- Identified the root cause of random player disconnects back to login screen: `PING_BYTESHIELD_EVENT: no pong` connection destruction.
- Completely and cleanly removed the ByteShield system from both **Server (`game`)** and **Client (`UserInterface`)** source code.

4. **ESC System Menu Python `AttributeError` Fix:**
- Fixed `AttributeError: 'module' object has no attribute 'SendLogOutPacket'` / `'SendExitPacket'` when clicking exit or logout buttons in ESC menu.
- Added method alias mappings (`SendLogOutPacket`, `SendExitPacket`, `SendChangeCharacterPacket`) to `s_methods[]` in `PythonNetworkStreamModule.cpp` and updated `uiSystem.py` button handlers to use standard `net.LogOutGame()` and `net.ExitGame()`.

5. **Mount Riding Issue Fix:**
- Fixed an issue where characters with horse level 0 (`horse_level = 0`) were unable to mount despite equipping a costume mount or mount item.
- Updated `CHorseRider::StartRiding()` in `horse_rider.cpp` to bypass horse level restrictions when `__RENEWAL_MOUNT__` is active, and uncommented `StartRiding();` in `char_item.cpp` when equipping mount items.

6. **Fast Channel Switch (`BL_MOVE_CHANNEL`) Python `AttributeError` Fix:**
- Resolved `AttributeError: 'SystemDialog' object has no attribute 'moveChannelDlg'` when opening the move channel dialog from ESC menu or hotkey.
- Implemented `MoveChannelDialog` class in `uiSystem.py`, added proper `moveChannelDlg` member initialization & cleanup, and added safe attribute checks (`getattr`) in `interfaceModule.py`.

nacivat şifresi nedir

Freaky Morex

 

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

Geri
Üst