Gui ile banka sistemi

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

Admin

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

Game.py

Kodu:
onClickKeyDict [ app . DIK_X ] = lambda : kendini . OpenBankWindow ()


# BANK_SYSTEM
"BankQuest" : kendini . BankQuest ,
"Bankdata" : kendini . Bankdata ,
# END_OF_BANK_SYSTEM

# GİRİŞ
"GetInputStart" : kendini . GetInputStart ,
"GetInputStop" : kendini . GetInputStop ,
"GetInput" : kendini . GetInput ,
# END_OF_INPUT



def BankQuest ( öz , vid = 0 ):
constInfo . BANK_QUEST = int ( vid )

def BankData ( self , yang = 0 , last_login = "Brak" , last_operation = "Brak" ):
constInfo . YANG_BANK = int ( yang )
constInfo . LAST_LOGIN = str ( last_login )
constInfo . LAST_OPERATION = str ( last_operation )

def OpenBankWindow ( öz ):
ithalat uiBank
kendini . wndBank = uiBank . BankDialog ()
kendini . wndBank . göster ()

def GetInputStart ( öz ):
constInfo . INPUT_IGNORE = 1

def GetInputStop ( öz ):
constInfo . INPUT_IGNORE = 0

def GetInput ( öz ):
Net . SendQuestInputStringPacket ( str ( constInfo . INPUT_DATA ))
constInfo.py

Kodu:
INPUT_IGNORE = 0
INPUT_DATA = ""
YANG_BANK = 0
LAST_LOGIN = "Brak"
LAST_OPERATION = "Brak"
SEND_YANG = 0
SENDING_TYPE = 0
BANK_QUEST = 0
Component.py

Kodu:
HTTP : //wklej.to/MsOGi
uiBank.py

Kodu:
HTTP : //wklej.to/1SM4l
uiOperation.py

Kodu:
HTTP : //wklej.to/BeZld
Kök. Bu dosyaları paketi gerekir bankwindow.py



Kodu:
HTTP : //wklej.to/FXeUU
Sen uiscript için bu dosyayı paketi gerekir. Görev:



Kodu:
HTTP : //wklej.to/4MaTB
Questlib:

Kodu:
function get_input ( par )
cmdchat ( "GetInputStart" )
local ret = input ( cmdchat ( par ))
cmdchat ( "GetInputStop" )
return ret
end
Questfunctions:

Kodu:
get_input
interfacemodule.py olarak bu işlevi değiştirmeniz gerekir:

Kodu:
def OpenQuestWindow ( öz , deri , idx ):
Kodu:
def OpenQuestWindow ( öz , deri , idx ):
eğer int ( constInfo . INPUT_IGNORE ) == 0 : # PODZIĘKOWANIA DLA EVORA, ZAPRASZAM NA NOSTIDLA.PL / TEODOR;)
wnds = ()
q = uiQuest . QuestDialog ( deri , idx )
q . SetWindowName ( "QuestWindow" + str ( idx ))
q . göster ()
#else :
# pas
eğer cilt :
q . Kilit ()
wnds = kendini . __HideWindows ()

# UNKNOWN_UPDATE
q . SetOnDoneEvent ( lambda tmp_self , args = wnds : kendini . __ShowWindows ( Args ))
# END_OF_UNKNOWN_UPDATE

if skin :
q . AddOnCloseEvent ( q . Unlock )
q . AddOnCloseEvent ( lambda s = self , qw = q : s . __dict__ . __getitem__ ( "wndQuestWindow" ). remove ( qw ))

# UNKNOWN_UPDATE
kendini . WndQuestWindow . Append ( q )
başka :
geçişli

Kodu:
onClickKeyDict [ app . DIK_X ] = lambda : kendini . OpenBankWindow ()


# BANK_SYSTEM
"BankQuest" : kendini . BankQuest ,
"Bankdata" : kendini . Bankdata ,
# END_OF_BANK_SYSTEM

# GİRİŞ
"GetInputStart" : kendini . GetInputStart ,
"GetInputStop" : kendini . GetInputStop ,
"GetInput" : kendini . GetInput ,
# END_OF_INPUT



def BankQuest ( öz , vid = 0 ):
constInfo . BANK_QUEST = int ( vid )

def BankData ( self , yang = 0 , last_login = "Brak" , last_operation = "Brak" ):
constInfo . YANG_BANK = int ( yang )
constInfo . LAST_LOGIN = str ( last_login )
constInfo . LAST_OPERATION = str ( last_operation )

def OpenBankWindow ( öz ):
ithalat uiBank
kendini . wndBank = uiBank . BankDialog ()
kendini . wndBank . göster ()

def GetInputStart ( öz ):
constInfo . INPUT_IGNORE = 1

def GetInputStop ( öz ):
constInfo . INPUT_IGNORE = 0

def GetInput ( öz ):
Net . SendQuestInputStringPacket ( str ( constInfo . INPUT_DATA ))
constInfo.py

Kodu:
INPUT_IGNORE = 0
INPUT_DATA = ""
YANG_BANK = 0
LAST_LOGIN = "Brak"
LAST_OPERATION = "Brak"
SEND_YANG = 0
SENDING_TYPE = 0
BANK_QUEST = 0
Component.py

Kodu:
HTTP : //wklej.to/MsOGi
uiBank.py

Kodu:
HTTP : //wklej.to/1SM4l
uiOperation.py

Kodu:
HTTP : //wklej.to/BeZld
Kök. Bu dosyaları paketi gerekir bankwindow.py



Kodu:
HTTP : //wklej.to/FXeUU
Sen uiscript için bu dosyayı paketi gerekir. Görev:



Kodu:
HTTP : //wklej.to/4MaTB
Questlib:

Kodu:
function get_input ( par )
cmdchat ( "GetInputStart" )
local ret = input ( cmdchat ( par ))
cmdchat ( "GetInputStop" )
return ret
end
Questfunctions:

Kodu:
get_input
interfacemodule.py olarak bu işlevi değiştirmeniz gerekir:

Kodu:
def OpenQuestWindow ( öz , deri , idx ):
Kodu:
def OpenQuestWindow ( öz , deri , idx ):
eğer int ( constInfo . INPUT_IGNORE ) == 0 : # PODZIĘKOWANIA DLA EVORA, ZAPRASZAM NA NOSTIDLA.PL / TEODOR;)
wnds = ()
q = uiQuest . QuestDialog ( deri , idx )
q . SetWindowName ( "QuestWindow" + str ( idx ))
q . göster ()
#else :
# pas
eğer cilt :
q . Kilit ()
wnds = kendini . __HideWindows ()

# UNKNOWN_UPDATE
q . SetOnDoneEvent ( lambda tmp_self , args = wnds : kendini . __ShowWindows ( Args ))
# END_OF_UNKNOWN_UPDATE

if skin :
q . AddOnCloseEvent ( q . Unlock )
q . AddOnCloseEvent ( lambda s = self , qw = q : s . __dict__ . __getitem__ ( "wndQuestWindow" ). remove ( qw ))

# UNKNOWN_UPDATE
kendini . WndQuestWindow . Append ( q )
başka :
geçişli
Gui ile Banka Sistemi

Metin2 özel sunucularında banka sistemi, oyuncuların eşyalarını güvenli bir şekilde saklamasını sağlar. Bu sistem genellikle Python GUI (Py GUI) ve Uiscript teknolojileri kullanılarak geliştirilir.

Banka Sistemi Nedir?
Banka sistemi, oyuncuların sahip oldukları değerli eşyaları, para ve envanter sınırlarının ötesinde depolamalarına olanak tanır. Bu sayede oyuncular, eşyalarını güvende tutabilir ve ihtiyaç duyduklarında hızlıca erişebilirler. Bu sistem genellikle Py Root klasöründe geliştirilir ve Uiscript dosyaları aracılığıyla arayüz oluşturulur.

Gui Kullanımı ve Avantajları
Python GUI (Py GUI), Metin2 özel sunucu geliştiricileri için güçlü bir araçtır. Gui ile banka sistemi geliştirilirken kullanıcı dostu arayüzler tasarlanabilir. Gui, hem görsel açıdan hem de işlevsel olarak kullanıcı deneyimini artırır. Gui ile geliştirilen banka sistemleri, kolay entegre edilebilir ve özelleştirilebilir yapıya sahiptir.

Banka Sistemi Nasıl Çalışır?
Oyuncu banka arayüzüne erişmek istediğinde, Gui tabanlı bir pencere açılır. Bu pencere Uiscript ile tanımlanmıştır. Oyuncu, eşyalarını bu pencerede bulunan slotlara sürükleyip bırakarak saklayabilir. Saklanan eşyalar DB (veritabanı) üzerinde güvenli bir şekilde tutulur. Sistem genellikle Auth ve Game sunucuları arasında senkronize çalışır.

Sistem Geliştirme Süreci
Metin2 banka sistemi geliştirmek isteyen geliştiriciler, Martysama gibi kaynaklardan faydalanabilir. Py Gui ve Uiscript bilgisi mutlaka gerekir. Sistemin doğru çalışması için Game Server Programming bilgisi de önemlidir. Geliştirme sürecinde Pack dosyaları da düzenlenebilir. Sunucu SRC (source) üzerinde değişiklik yapılarak banka sistemi entegre edilir.

Geliştirme İçin Gerekli Unsurlar
- Python GUI (Py GUI)
- Uiscript bilgisi
- Metin2 Server SRC (Source Code)
- DB Core bilgisi
- Game ve Auth sunucu yapılandırması
- Pack ve Client SRC düzenlemeleri

Banka Sisteminin Güvenliği
Banka sistemi, oyuncuların eşyalarını barındırdığı için yüksek güvenlik gerektirir. Bu nedenle geliştiriciler, sistem üzerinde gerekli güvenlik önlemlerini almalıdır. DB üzerinde şifreleme, erişim kontrolleri ve loglama işlemleri yapılmalıdır. Ayrıca sunucu tarafında gerekli doğrulamalar yapılmalıdır.

Sonuç
Gui ile banka sistemi, Metin2 özel sunucularında önemli bir rol oynar. Py Gui ve Uiscript ile geliştirilen bu sistem, kullanıcı dostu bir arayüz sunar. Oyuncular eşyalarını güvenli bir şekilde saklarken, geliştiriciler ise sistemi özelleştirme imkanına sahiptir. Bu tür sistemler, Metin2 geliştirme sürecinde önemli bir yere sahiptir.


Bank System with GUI

In Metin2 private servers, the bank system allows players to securely store their items. This system is typically developed using Python GUI (Py GUI) and Uiscript technologies.

What is a Bank System?
The bank system enables players to store valuable items, gold, and inventory beyond their limits. This way, players can keep their items safe and access them quickly when needed. The system is usually developed in the Py Root folder and the interface is created via Uiscript files.

GUI Usage and Advantages
Python GUI (Py GUI) is a powerful tool for Metin2 private server developers. When developing a bank system with GUI, user-friendly interfaces can be designed. GUI enhances both visual and functional user experience. Bank systems developed with GUI have easily integrable and customizable structures.

How Does the Bank System Work?
When the player wants to access the bank interface, a GUI-based window opens. This window is defined with Uiscript. Players can drag and drop their items into slots within this window to store them. Stored items are safely kept in the DB (database). The system typically works synchronized between Auth and Game servers.

Development Process of the System
Developers who want to create a Metin2 bank system can benefit from resources like Martysama. Knowledge of Py GUI and Uiscript is essential. Game Server Programming knowledge is also important for proper functionality. Pack files may also be edited during the development process. Modifications to the Server SRC (source code) integrate the bank system.

Required Elements for Development
- Python GUI (Py GUI)
- Uiscript knowledge
- Metin2 Server SRC (Source Code)
- DB Core knowledge
- Game and Auth server configuration
- Pack and Client SRC modifications

Security of the Bank System
Since the bank system stores players' items, it requires high security measures. Therefore, developers must implement necessary security measures on the system. Encryption, access controls, and logging should be performed in the database. Additionally, validations must be carried out on the server-side.

Conclusion
A GUI-based bank system plays an important role in Metin2 private servers. The system developed with Py GUI and Uiscript provides a user-friendly interface. While players securely store their items, developers have the ability to customize the system. Such systems hold significant importance in the Metin2 development process.
 

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

Benzer konular

Geri
Üst Alt