Ultima modifica da un moderatore:
Salve Inforge 
Oggi ho deciso di postarvi come implementare Pagina Registrazione in Game.
#1
Estrarre root.epk / eix
Aprire il file Intrologin.py
Ora dovrete cercare
Successivamente aggiungere questo sotto
#2
Adesso dovrete cercare
E aggiungere questo
#3
Ora dovrete aggiungere questo alla fine

Oggi ho deciso di postarvi come implementare Pagina Registrazione in Game.
#1
Estrarre root.epk / eix
Aprire il file Intrologin.py
Ora dovrete cercare
PHP:
def __ init__ (self):
def __init__ ( auto ):
PHP:
self.systemOptionDlg = None
. systemOptionDlg = None
#2
Adesso dovrete cercare
PHP:
. Self.GetChild ("key_at") SetToggleUpEvent (lambda: self.__VirtualKeyboard_SetAlphabetMode ())
. GetChild ( "key_at" ). SetToggleUpEvent ( lambda : auto . __VirtualKeyboard_SetAlphabetMode ())
PHP:
self.pyth = ui.Button()
self.pyth.SetParent(self)
self.pyth.SetUpVisual('d:/ymir work/ui/game/taskbar/community_button_01.sub')
self.pyth.SetOverVisual('d:/ymir work/ui/game/taskbar/community_button_02.sub')
self.pyth.SetDownVisual('d:/ymir work/ui/game/taskbar/community_button_03.sub')
self.pyth.SetText("R")
self.pyth.SetPosition(11,10+4+32)
self.pyth.SetEvent(self.__Web) self.pyth.Show()
#3
Ora dovrete aggiungere questo alla fine
PHP:
def __Web(self):
import uiweb
f = open("pack/index", "r+").read()
if f.find("locale_df") != -1:
url = "http://www.metin2.com/register.php" # agregan link
else:
url = "http://www.metin2.com/register.php" # agregar link
self.mallWindow = uiweb.WebWindow()
self.mallWindow.LoadWindow() self.mallWindow.Open(url)
.