Page 1 of 1
TASClient Request
Posted: 17 Dec 2008, 00:42
by FLOZi
It'd be great to have a feature for mod devs to be able to start a game despite of supposed sync problems, it's often a real pain when working from an sdd with SVN to get sync, in fact it currently seems to be broken altogether.
Re: TASClient Request
Posted: 17 Dec 2008, 01:13
by Peet
IIRC you can force with SL :)
Re: TASClient Request
Posted: 17 Dec 2008, 01:21
by lurker
You can edit the hash in archivecache if you want. I'll look at making an python to fake sync.
Edit: Well, looks like aegis made an python but didn't quite finish the bug testing, so I changed one line to fix a bug. Save this to Spring\lobby\Python\scripts\forcesync.py and restart TASClient. Then just use /sync (and change your color or side or anything that forces a status update)
Code: Select all
import lobbyscript
api = lobbyscript.Callback()
gui = lobbyscript.GUI()
sync = False
def out_MYBATTLESTATUS(battlestatus, color):
battlestatus = int(battlestatus) & ~(1<<23) | 1<<22
return str(battlestatus), color
def cmd_sync():
global sync
sync = not sync
if sync: status = 'on'
else: status = 'off'
gui.AddToRichEdit('$current','Forced sync is %s' % status, 16711680)
return True
But you need a custom spring that doesn't abort the instant you connect, too, such as
http://evolutionrts.info/~lurker/noresi ... spring.zip