On official mt2 servers if i click itemshop button webwindow open logged in.
I decompiled root.epk but command is "app.ShowWebPage(url, (sx, sy, ex, ey))"
and i didn't find url variable assign. Addres of itemshop is "http://de.shop.metin2.de" and i found in patch.cfg :
How do they know if page is opened in mt2 client or a normal webbrowser and how it login automatically (i think it is about URL_IDPWD to recive account data from name of character or.... and URL_NEW to login automatically)?
PS: I didn't find anything relevant in uiweb.py and webwindow.py!
I decompiled root.epk but command is "app.ShowWebPage(url, (sx, sy, ex, ey))"
and i didn't find url variable assign. Addres of itemshop is "http://de.shop.metin2.de" and i found in patch.cfg :
Code:
URL_MAIN: patch.metin2.de URL_NEW: http://www.metin2.de/game_signup.php URL_IDPWD: http://www.metin2.de/account_data.php NOTICE_ENABLE: 1
PS: I didn't find anything relevant in uiweb.py and webwindow.py!