[BeviS] Hesap Kaydetme Sistemi - Windows Kayıt Defterinde Tutma.

  • Konbuyu başlatan Konbuyu başlatan Admin
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 0
  • Görüntüleme Görüntüleme 37

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0


Merhaba global birçok oyunda gördüm hesapları windows kayıt defterinde tutarak daha güvenli hale getiriyorlar pack paylaşımı yapılsa bile hesaplar gitmiyor.
Şifrelenebilir kaydedilmeden önce tabi geliştirmeye açık.

Kod:
// Dosya: root/intrologin.py // Arat: def save_user_in_slot(self, slot): // Kod bloğunu değiştir     def save_user_in_slot(self, slot):         username = self.idEditLine.GetText()         password = self.pwdEditLine.GetText()         pin = "1234"             msg = app.SetUserInfomation(slot,username,password,pin)         if (msg != "DataExists"):             if username == "" or password == "" or pin == "":                 self.PopupNotifyMessage(localeInfo.SAVE_ACCOUNT_TEXTBOX_INFO)                 return             self.read_all_account()             self.PopupNotifyMessage(localeInfo.SAVE_ACCOUNT_SUCCES)         else:             (username, password, pin) = app.GetUserInfomation(slot)             self.idEditLine.SetText(username)             self.pwdEditLine.SetText(password)             self.Connect(username,password)

285af5e7a64d78378a5fc2e973b3ca1a.gif


Download:

BeviS Hesap Kaydetme Sistemi - Windows Kayıt Defterinde Tutma

Metin2 özel sunucu geliştirme süreçlerinde kullanıcıların birden fazla hesabını hızlıca değiştirebilmesi için geliştirilmiş olan BeviS Hesap Kaydetme Sistemi, geliştiriciler arasında büyük ilgi görmüştür. Bu sistem sayesinde oyuncular, farklı karakterlerini veya sunuculara ait giriş bilgilerini kolayca yönetebilirler. Ancak bu sistemin daha da gelişmiş bir versiyonu olarak, hesap bilgilerinin doğrudan Windows kayıt defterinde (registry) saklanması yöntemi geliştirilmiştir. Bu yöntem sayesinde, daha güvenli ve daha az dosya iletilmesi gerektiği için sistem daha stabil çalışır.

Windows Kayıt Defteri Nedir?

Windows kayıt defteri (Registry), Microsoft Windows işletim sistemlerinde kullanılan merkezi bir yapıdır. Sistem ayarları, yüklü programlar, donanım yapılandırmaları gibi pek çok bilgi burada tutulur. Geliştiriciler bu yapıyı kullanarak uygulamaları daha entegre hale getirebilirler. BeviS sisteminde bu yapıdan faydalanarak, kullanıcıların hesap bilgilerini doğrudan kayıt defterine yazmak mümkündür.

BeviS Hesap Sistemi Nasıl Çalışır?

BeviS sistemi temel olarak kullanıcı adı, şifre ve sunucu IP bilgilerini bir dosyada veya artık geliştirilmiş versiyonunda doğrudan Windows kayıt defterinde saklar. Kullanıcı giriş ekranında bir butona basarak, daha önce kaydettiği hesaplardan birini seçebilir. Bu işlem sırasında sistem, kayıt defterinden bilgileri okur ve otomatik olarak doldurur. Böylece kullanıcı her seferinde tekrar yazmak zorunda kalmaz.

Kayıt Defterine Yazma İşlemi

Python GUI veya C++ tabanlı sistemlerde kayıt defterine yazma işlemi oldukça kolaydır. Python ile bu işlem için winreg modülü kullanılır. Örnek bir kayıt defteri yolu şu şekildedir:

HKEY_CURRENT_USER\SOFTWARE\BeviS\Accounts

Her bir hesap, bu yol altında bir alt anahtar (subkey) olarak tanımlanabilir. Örneğin 'Account1', 'Account2' gibi. Her anahtarda kullanıcı adı, şifre ve IP bilgisi tutulabilir. Bu sayede Metin2 Lobby gibi platformlarda geliştirilen sistemlerde daha stabil ve güvenli hesap yönetimleri sağlanabilir.

Güvenlik Açısından Avantajlar

Kayıt defterine yazılan veriler, genellikle normal kullanıcılar tarafından görülmez. Bu nedenle dışsal saldırılara karşı daha korunaklıdır. Ayrıca dosya sistemine göre daha az yer kaplar ve sistemde parmak izi bırakmaz. Ancak, şifrelerin şifrelenmeden saklanması güvenlik açığı yaratabilir. Bu yüzden verilerin AES veya başka bir algoritma ile şifrelenerek yazılması önerilir.

C++ ile Entegrasyon

C++ tabanlı Metin2 client src üzerinde çalışan geliştiriciler için, kayıt defterine yazma işlemleri doğrudan WinAPI fonksiyonları ile yapılabilir. RegSetValueEx ve RegQueryValueEx gibi fonksiyonlar bu işlemi kolaylaştırır. Böylece hem Python hem de C++ ortamlarında desteklenen bir hesap yönetim sistemi oluşturulabilir.

Sonuç

BeviS Hesap Kaydetme Sistemi, Metin2 özel sunucu geliştiricileri için önemli bir araçtır. Özellikle kayıt defterine yazarak çalışan versiyonu ile kullanıcı deneyimi daha da artırılmıştır. Bu sistem sayesinde hem geliştiriciler hem de kullanıcılar daha verimli bir oyun deneyimi yaşar. Geliştiriciler, bu yapıyı kendi sistemlerine entegre ederek, kullanıcı dostu ve güvenli çözümler üretebilirler.


BeviS Account Saving System - Storing in Windows Registry

Within the scope of Metin2 private server development, the BeviS Account Saving System has gained significant attention among developers for allowing users to easily switch between multiple accounts. This system enables players to manage different characters or login credentials across various servers efficiently. An advanced version of this system involves storing account information directly within the Windows registry. This approach ensures a more stable and secure process by reducing file dependencies and centralizing data storage.

What is the Windows Registry?

The Windows registry is a centralized database used by Microsoft Windows operating systems. It stores configuration settings, installed programs, hardware configurations, and other vital information. Developers can leverage this structure to create more integrated applications. The BeviS system utilizes this registry to save user account details directly, providing seamless access without relying on external files.

How Does the BeviS Account System Work?

The BeviS system primarily stores usernames, passwords, and server IP addresses either in a file or, in its newer version, directly in the Windows registry. When the user clicks a button at the login screen, they can select a previously saved account. The system then reads the information from the registry and auto-fills the fields, eliminating the need for manual input each time.

Writing to the Registry

In Python-based GUIs or C++ systems, writing to the registry is straightforward. For Python, the winreg module is used. A typical registry path might be:

HKEY_CURRENT_USER\SOFTWARE\BeviS\Accounts

Each account can be stored as a subkey under this path, such as 'Account1', 'Account2', etc., containing username, password, and IP details. This method allows for more stable and secure account management in platforms like Metin2 Lobby.

Security Advantages

Data stored in the registry is generally not visible to regular users, making it less prone to external threats. It also consumes less disk space and leaves fewer traces in the file system. However, storing passwords in plain text may pose a security risk. Therefore, encrypting the data using algorithms like AES before saving is recommended.

Integration with C++

For developers working with Metin2 client src in C++, registry operations can be performed using WinAPI functions like RegSetValueEx and RegQueryValueEx. This allows the creation of account management systems compatible with both Python and C++ environments.

Conclusion

The BeviS Account Saving System is an essential tool for Metin2 private server developers. Its registry-based version enhances user experience by providing secure and efficient account switching. Both developers and players benefit from a smoother gameplay experience. Developers can integrate this structure into their own systems to build user-friendly and secure solutions.​
 

Şuan Bu Konuyu Görüntüleyen Kullanıcılar (Toplam : 0, Üye : 0, Misafir : 0)

Benzer konular

Geri
Üst Alt