Jump to content

Sparta21

Inactive Member
  • Posts

    8
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Sparta21

  1. On 8/4/2022 at 9:21 AM, ARiniii said:

    Hello!

    I have a problem with the system:

    UNKNOWN HEADER: 215, LAST HEADER: 11(5), REMAIN BYTES: 4, fd: 20

    When I want to open the chest but disconnects from the server.

    Anyone know what the problem could be?

     Client source packet.h:

    Spoiler

    GKuoVuP.png

     

    Server source packet.h:

    Spoiler

    xPblyPj.png

    maybe

  2. On 5/1/2022 at 4:53 AM, Th1Doose said:

    I'm getting this error:

    0501 05:51:10824 :: Traceback (most recent call last): 0501 05:51:10824 :: File "ui.py", line 1051, in CallEvent

    0501 05:51:10824 :: File "ui.py", line 88, in call

    0501 05:51:10824 :: File "ui.py", line 70, in call

    0501 05:51:10824 :: File "introLogin.py", line 1541, in __OnClickSelectServerButton

    0501 05:51:10824 :: KeyError

    0501 05:51:10824 :: :

    0501 05:51:10824 :: 4

    0501 05:51:10824 ::

     

    Someone has this fix?

    Check the tabs

  3. Spoiler

    spacer.png

    Hello guys. I have a problem, if i get a message on the minimap don't show up the mailbox icon until character change or logout, and if i read the message don't disappear until log out or character change, what i do wrong?

    Thank you in advance for your help.

    @ Mali

  4.  With tabs, working for me.

    Spoiler

    spacer.png

    Extract root and open intrologin.py
    At the beginning add:

    import os
    from _winreg import *


    Search:

    self.loginExitButton		= GetObject("LoginExitButton")


    Add:

    			self.saveLoginButton		= GetObject("SaveLoginButton")
    			self.loadCredentialButton	= GetObject("LoadCredentials")

     

    Search

    self.pwdEditLine.SetTabEvent(ui.__mem_func__(self.idEditLine.SetFocus))

    Add:

    self.saveLoginButton.SetEvent(ui.__mem_func__(self.__OnClickSaveLoginButton))
    self.loadCredentialButton.SetEvent(ui.__mem_func__(self.__OnClickLoadInfoButton))


    Finally at the end add:
     

    	def ICDev_ECRYPT(self,data):
    		Data = ''
    		for l in data:
    			Data = Data+str(int(ord(l) + 2) * 2)+' '
    		return Data
    
    	def ICDev_DECRYPT(self,data):
    		Data = ''
    		data = data.split()
    		for l in data:
    			Data = Data+chr((int(l) / 2) - 2)
    		return Data
     
    	def __OnClickSaveLoginButton(self):
    		id = self.idEditLine.GetText()
    		pwd = self.pwdEditLine.GetText()
    		if (len(id) != 0 and len(pwd) != 0):
    			if not os.path.exists("SOFTWARE\ICDev"):
    				key = CreateKey(HKEY_CURRENT_USER,"SOFTWARE\ICDev")
    			SetValueEx(key, "UserID", 0, REG_SZ, self.ICDev_ECRYPT(id))
    			SetValueEx(key, "Passwd", 0, REG_SZ, self.ICDev_ECRYPT(pwd))
    			CloseKey(key)
    			self.PopupNotifyMessage("Saved successfully.",self.SetIDEditLineFocus)
                
    	def __OnClickLoadInfoButton(self):
    		try:
    			key = OpenKey(HKEY_CURRENT_USER, "SOFTWARE\ICDev", 0, KEY_ALL_ACCESS)
    			self.Connect(self.ICDev_DECRYPT(QueryValueEx(key, "UserID")[0]),self.ICDev_DECRYPT(QueryValueEx(key, "Passwd")[0]))
    		except:
    			self.PopupNotifyMessage("Save before load.",self.SetIDEditLineFocus)


    Extract locale_xx and open loginwindow.py
    Search:
     

    					"text" : uiScriptLocale.LOGIN_EXIT,
    				},
    			),
    		},

    Add: 

    		## userDataBoard
    		{
    			"name" : "UserDataBoard",
    			"type" : "thinboard",
    
    			"x" : (SCREEN_WIDTH - 208) / 2,
    			"y" : (SCREEN_HEIGHT - 410 - 70),
    			"width" : 208,
    			"height" : 35,
    
    			"children" :
    			(
    				{
    					"name" : "SaveLoginButton",
    					"type" : "button",
    
    					"x" : 10,
    					"y" : 0,
    					"vertical_align" : "center",
    					"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
    				   
    					"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
    					"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
    
    					"text" : uiScriptLocale.LOGIN_SAVE_BUTTON,
    				},
    				{
    					"name" : "LoadCredentials",
    					"type" : "button",
    
    					"x" : 105,
    					"y" : 0,
    					"vertical_align" : "center",
    					"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
    				   
    					"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
    					"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
    
    					"text" : uiScriptLocale.LOGIN_LOAD_BUTTON,
    				},
    			),
    		},

    In local_interface.txt (local_xx) add:

    LOGIN_SAVE_BUTTON	Save
    LOGIN_LOAD_BUTTON	Load
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.