hey guys / Scawen!
after INSIM_VERSION was increased to 5, for example the insim-tool "camlevel" (http://www.lfsforum.net/showth ... 37&highlight=camlevel) doesn't work anymore because it won't work with any other version than 4, like it says in it's programming in "camlevel.py":
can I do anything about this? I'd really like to use the tool furthermore..
after INSIM_VERSION was increased to 5, for example the insim-tool "camlevel" (http://www.lfsforum.net/showth ... 37&highlight=camlevel) doesn't work anymore because it won't work with any other version than 4, like it says in it's programming in "camlevel.py":
# Try to connect to LFS...
insim = socket.socket()
connected = False
while not(connected):
try:
print 'Attempting to connect to LFS on port', insimport, '...'
insim.connect(('localhost',insimport))
insim.send(is_isi.pack(44,1,1,0,outsimport,0,0,0,0,'','CamLevel'))
version = is_ver.unpack(insim.recv(20))
if version[6] != 4:
print 'Wrong InSim version, (expected 4, got', version[6],',) exiting...'
time.sleep(5)
sys.exit()
else:
connected = True
print 'Connected to LFS...'
except socket.timeout:
print 'LFS did not respond to connection attempt, waiting 5 seconds...'
time.sleep(5)
except socket.error:
print 'Could not connect to LFS, check that InSim ports match.'
time.sleep(5)
can I do anything about this? I'd really like to use the tool furthermore..