METIN2 import socket

07/14/2013 23:40 dramcio#1
Hello.

I try to use socket's in metin2.
Code:
import socket
and syserr:
Code:
No module named _socket
I add socket.pyc to lib but is still not found.
07/14/2013 23:42 monsterbacke778#2
Quote:
No module named _socket
please name you precompiled lib __socket.pyc^^

try now^^
07/15/2013 00:13 dramcio#3
hehm.

After change name to __socket.pyc

Quote:
0715 00:10:40163 :: No module named socket
so i made two files..

But

0715 00:12:26160 :: File "system.py", line 137, in __pack_import

Quote:
0715 00:12:26160 :: File "D:\Metin2\lib\socket.py", line 41, in ?

0715 00:12:26160 :: File "system.py", line 137, in __pack_import

0715 00:12:26160 :: ImportError
0715 00:12:26160 :: :
0715 00:12:26160 :: No module named _socket
0715 00:12:26160 ::

Maybe i have bad socket.pyc?

Can u send me your socket.pyc?
07/15/2013 00:18 monsterbacke778#4
sorry dude, i dont have socket.pyc in my client^^
because i dont use it...
i think you have to declare all functions manually...
maybe socket.pyc isnt for this python version..
or try _socket.pyc

sorry now i cant help you anymore :(