En Çok Reaksiyon Alan Mesajlar
can you upload freebsd ready?I'll share it soon when it's ready.how you did this? send a tips please or send only db and game
Öğeyi görmek için üye olmalısınız.
sökülcek şeyleri var baya emek verilmiş bu files üzerinde 1 ay çalışılsa arındırılsa tamamen iş yapar ve güzel online da görmüş verilere bakılırsa
# 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`.
24 saat içinde virustotal sonucu, ve görsel ekleyiniz.
The sources are incomplete — several libraries are missing and others are broken, so everything would need to be restructured. My guess is these are just test serverfiles.
Some systems crash outright, and the sysser log is full of client-side errors. Whisper in particular crashes the client, and most of the other systems don't work properly either.
Bottom line: you're better off downloading Arezzo than using these serverfiles.
Öğeyi görmek için üye olmalısınız.
The sources are incomplete — several libraries are missing and others are broken, so everything would need to be restructured. My guess is these are just test serverfiles.
Some systems crash outright, and the sysser log is full of client-side errors. Whisper in particular crashes the client, and most of the other systems don't work properly either.
Bottom line: you're better off downloading Arezzo than using these serverfiles.
Some systems crash outright, and the sysser log is full of client-side errors. Whisper in particular crashes the client, and most of the other systems don't work properly either.
Bottom line: you're better off downloading Arezzo than using these serverfiles.
Şu an konuyu görüntüleyenler (Toplam : 2, Üye: 1, Misafir: 1)
Benzer konular
- Cevaplar
- 1
- Görüntüleme
- 88
- 5.00 yıldız(lar) 1 Değerlendirme
- Cevaplar
- 4
- Görüntüleme
- 879
- Cevaplar
- 3
- Görüntüleme
- 544
Türkçe (Düzeltme & Güncelleme Listesi)
English (Changelog & Fixes)