Simon Omega
Traveler
http://www.runuo.com/community/threads/new-uo-patches-repository.533684/I can contribute patches
They were collecting patches here. I have been out for a while though.
http://www.runuo.com/community/threads/new-uo-patches-repository.533684/I can contribute patches
Hi,
many compliment for the work but unfortunately I'm not so expert and I'm not able to set-up it.
I install the UO Classic Client 7_0_15_1.
I create an archive folder in C:\ with all patch ut to 7_0_24_2 and in the C:\ I have the UOPatchServer.py script.
I run the script and here the first problem:
Code:127.0.0.1 listening on 8888 Socket: Waiting on Connections. PatchHandler for %s is using directory %s ('127.0.0.1', '/home\\simonomega\\archive') Traceback (most recent call last): File "C:\UOPatchServer.py", line 155, in <module> _CLIENTS[ip_port[0]] = PatchHandler(connection, ip_port[0], _PATCH_DIR) File "C:\UOPatchServer.py", line 26, in __init__ for a_file in listdir(_PATCH_DIR): FileNotFoundError: [WinError 3] Impossibile trovare il percorso specificato: '/home\\simonomega\\archive\\*.*' >>>
I change the _PATCH_DIR at line 134 and here the second problem.
Code:127.0.0.1 listening on 8888 Socket: Waiting on Connections. PatchHandler for %s is using directory %s ('127.0.0.1', '.\\archive') PatchHandler for 127.0.0.1 is using file list ['uosa_win32_7-0-16-0.pat', 'uosa_win32_7-0-16-0.rtp', 'uosa_win32_7-0-16-1.pat', 'uosa_win32_7-0-16-1.rtp', 'uosa_win32_7-0-16-3.pat', 'uosa_win32_7-0-16-3.rtp', 'uosa_win32_7-0-17-0.pat', 'uosa_win32_7-0-17-0.rtp', 'uosa_win32_7-0-18-0.pat', 'uosa_win32_7-0-18-0.rtp', 'uosa_win32_7-0-19-0.pat', 'uosa_win32_7-0-19-0.rtp', 'uosa_win32_7-0-19-1.pat', 'uosa_win32_7-0-19-1.rtp', 'uosa_win32_7-0-20-0.pat', 'uosa_win32_7-0-20-0.rtp', 'uosa_win32_7-0-21-1.pat', 'uosa_win32_7-0-21-1.rtp', 'uosa_win32_7-0-21-2.pat', 'uosa_win32_7-0-21-2.rtp', 'uosa_win32_7-0-22-0.pat', 'uosa_win32_7-0-22-0.rtp', 'uosa_win32_7-0-22-8.pat', 'uosa_win32_7-0-22-8.rtp', 'uosa_win32_7-0-23-0.pat', 'uosa_win32_7-0-23-0.rtp', 'uosa_win32_7-0-23-1.pat', 'uosa_win32_7-0-23-1.rtp', 'uosa_win32_7-0-24-2.pat', 'uosa_win32_7-0-24-2.rtp'] Socket: Waiting on Connections.>> 127.0.0.1 sent Client Hello/Request (b'\x00\x00\x00\x15') Server Sending: Protocol, Command, and UseSelf >> 127.0.0.1 sent Version Information ({'addon': 'Win32_UOSA', 'version': 51, 'namelen': 10}) << Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x00\r', 'working_filename': b'uosa_win32_7-0-16-0.pat', 'namelen': b'\x00\x00\x00\x17'} << Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x03\x19<\x98', 'working_filename': b'uosa_win32_7-0-16-0.rtp', 'namelen': b'\x00\x00\x00\x17'}>> 127.0.0.1 sent a Request for File uosa_win32_7-0-16-0.pat ({'working_filename': 'uosa_win32_7-0-16-0.pat', 'namelen': 23, 'padding': 0}) << Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x00\r', 'working_filename': b'uosa_win32_7-0-16-1.pat', 'namelen': b'\x00\x00\x00\x17'}>> 127.0.0.1 sent Version Information ({'addon': 'Win32_UOSA', 'version': 51, 'namelen': 10})Exception in thread Thread-4: Traceback (most recent call last): File "C:\Program Files\Python33\lib\threading.py", line 901, in _bootstrap_inner self.run() File "C:\Program Files\Python33\lib\threading.py", line 858, in run self._target(*self._args, **self._kwargs) File "C:\UOPatchServer.py", line 68, in commands if file == None: NameError: global name 'file' is not defined << Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\t\xde\x9c', 'working_filename': b'uosa_win32_7-0-16-1.rtp', 'namelen': b'\x00\x00\x00\x17'}>> 127.0.0.1 sent a Request for File uosa_win32_7-0-16-1.pat ({'working_filename': 'uosa_win32_7-0-16-1.pat', 'namelen': 23, 'padding': 0})<< Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x00\r', 'working_filename': b'uosa_win32_7-0-16-0.pat', 'namelen': b'\x00\x00\x00\x17'} << Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x00\r', 'working_filename': b'uosa_win32_7-0-16-3.pat', 'namelen': b'\x00\x00\x00\x17'}Exception in thread Thread-6: Traceback (most recent call last): File "C:\Program Files\Python33\lib\threading.py", line 901, in _bootstrap_inner self.run() File "C:\Program Files\Python33\lib\threading.py", line 858, in run self._target(*self._args, **self._kwargs) File "C:\UOPatchServer.py", line 68, in commands if file == None: NameError: global name 'file' is not defined >> 127.0.0.1 sent Version Information ({'addon': 'Win32_UOSA', 'version': 51, 'namelen': 10})<< Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x03\x19<\x98', 'working_filename': b'uosa_win32_7-0-16-0.rtp', 'namelen': b'\x00\x00\x00\x17'} << Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x01\xe2', 'working_filename': b'uosa_win32_7-0-16-3.rtp', 'namelen': b'\x00\x00\x00\x17'}>> 127.0.0.1 sent a Request for File uosa_win32_7-0-16-0.pat ({'working_filename': 'uosa_win32_7-0-16-0.pat', 'namelen': 23, 'padding': 0})<< Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x00\r', 'working_filename': b'uosa_win32_7-0-16-0.pat', 'namelen': b'\x00\x00\x00\x17'}<< Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x00\r', 'working_filename': b'uosa_win32_7-0-16-1.pat', 'namelen': b'\x00\x00\x00\x17'} << Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x00\r', 'working_filename': b'uosa_win32_7-0-17-0.pat', 'namelen': b'\x00\x00\x00\x17'}>> 127.0.0.1 sent Version Information ({'addon': 'Win32_UOSA', 'version': 51, 'namelen': 10})Exception in thread Thread-8: Traceback (most recent call last): File "C:\Program Files\Python33\lib\threading.py", line 901, in _bootstrap_inner self.run() File "C:\Program Files\Python33\lib\threading.py", line 858, in run self._target(*self._args, **self._kwargs) File "C:\UOPatchServer.py", line 68, in commands if file == None: NameError: global name 'file' is not defined << Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x03\x19<\x98', 'working_filename': b'uosa_win32_7-0-16-0.rtp', 'namelen': b'\x00\x00\x00\x17'}<< Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\t\xde\x9c', 'working_filename': b'uosa_win32_7-0-16-1.rtp', 'namelen': b'\x00\x00\x00\x17'} << Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x03\xbec\xd8', 'working_filename': b'uosa_win32_7-0-17-0.rtp', 'namelen': b'\x00\x00\x00\x17'}>> 127.0.0.1 sent a Request for File uosa_win32_7-0-16-0.rtp ({'working_filename': 'uosa_win32_7-0-16-0.rtp', 'namelen': 23, 'padding': 0})<< Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x00\r', 'working_filename': b'uosa_win32_7-0-16-0.pat', 'namelen': b'\x00\x00\x00\x17'}<< Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x00\r', 'working_filename': b'uosa_win32_7-0-16-1.pat', 'namelen': b'\x00\x00\x00\x17'}<< Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x00\r', 'working_filename': b'uosa_win32_7-0-16-3.pat', 'namelen': b'\x00\x00\x00\x17'} << Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x00\r', 'working_filename': b'uosa_win32_7-0-18-0.pat', 'namelen': b'\x00\x00\x00\x17'}Exception in thread Thread-10: Traceback (most recent call last): File "C:\Program Files\Python33\lib\threading.py", line 901, in _bootstrap_inner self.run() File "C:\Program Files\Python33\lib\threading.py", line 858, in run self._target(*self._args, **self._kwargs) File "C:\UOPatchServer.py", line 68, in commands if file == None: NameError: global name 'file' is not defined << Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x03\x19<\x98', 'working_filename': b'uosa_win32_7-0-16-0.rtp', 'namelen': b'\x00\x00\x00\x17'}<< Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\t\xde\x9c', 'working_filename': b'uosa_win32_7-0-16-1.rtp', 'namelen': b'\x00\x00\x00\x17'}<< Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x01\xe2', 'working_filename': b'uosa_win32_7-0-16-3.rtp', 'namelen': b'\x00\x00\x00\x17'} << Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x0e\x11)', 'working_filename': b'uosa_win32_7-0-18-0.rtp', 'namelen': b'\x00\x00\x00\x17'}<< Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x00\r', 'working_filename': b'uosa_win32_7-0-16-1.pat', 'namelen': b'\x00\x00\x00\x17'}<< Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x00\r', 'working_filename': b'uosa_win32_7-0-16-3.pat', 'namelen': b'\x00\x00\x00\x17'}<< Sever sent 127.0.0.1 PatchListData entry {'working_filelen': b'\x00\x00\x00\r', 'working_filename': b'uosa_win32_7-0-17-0.pat', 'namelen': b'\x00\x00\x00\x17'} Exception in thread Thread-1: Traceback (most recent call last): File "C:\Program Files\Python33\lib\threading.py", line 901, in _bootstrap_inner self.run() File "C:\Program Files\Python33\lib\threading.py", line 858, in run self._target(*self._args, **self._kwargs) File "C:\UOPatchServer.py", line 128, in run self.requesthandler() File "C:\UOPatchServer.py", line 92, in requesthandler self.data = self.connection.recv(self.buffer_len) ConnectionResetError: [WinError 10054] Connessione in corso interrotta forzatamente dall'host remoto Exception in thread Thread-3: Traceback (most recent call last): File "C:\Program Files\Python33\lib\threading.py", line 901, in _bootstrap_inner self.run() File "C:\Program Files\Python33\lib\threading.py", line 858, in run self._target(*self._args, **self._kwargs) File "C:\UOPatchServer.py", line 63, in commands self.connection.send(file_listing['namelen']) ConnectionResetError: [WinError 10054] Connessione in corso interrotta forzatamente dall'host remoto Exception in thread Thread-9: Traceback (most recent call last): File "C:\Program Files\Python33\lib\threading.py", line 901, in _bootstrap_inner self.run() File "C:\Program Files\Python33\lib\threading.py", line 858, in run self._target(*self._args, **self._kwargs) File "C:\UOPatchServer.py", line 63, in commands self.connection.send(file_listing['namelen']) ConnectionResetError: [WinError 10054] Connessione in corso interrotta forzatamente dall'host remoto Exception in thread Thread-7: Traceback (most recent call last): File "C:\Program Files\Python33\lib\threading.py", line 901, in _bootstrap_inner self.run() File "C:\Program Files\Python33\lib\threading.py", line 858, in run self._target(*self._args, **self._kwargs) File "C:\UOPatchServer.py", line 63, in commands self.connection.send(file_listing['namelen']) ConnectionResetError: [WinError 10054] Connessione in corso interrotta forzatamente dall'host remoto Exception in thread Thread-5: Traceback (most recent call last): File "C:\Program Files\Python33\lib\threading.py", line 901, in _bootstrap_inner self.run() File "C:\Program Files\Python33\lib\threading.py", line 858, in run self._target(*self._args, **self._kwargs) File "C:\UOPatchServer.py", line 63, in commands self.connection.send(file_listing['namelen']) ConnectionResetError: [WinError 10054] Connessione in corso interrotta forzatamente dall'host remoto
Can someone help me?
Thanks,
Andrea
I'm using Python 3.3.3 on Windows 7 Home premium x64
_PATCH_DIR = path.join('.', 'archive')
_PATCH_DIR = path.join('/home', 'simonomega', 'archive')
# _PATCH_DIR = path.join('/home', 'simonomega', 'archive')
Morgan was working in C# I believe.What language is that script in? I've tried C++, C# and Python but no go on either one
Like I said above, if people are still interested let me know.+1 to what this guy said. Any progress?