Ahh!
The good old chicken and the egg. Let me explain a little bit about TWXSync. The ONLY time TWXSync EVER generates XML to send is when you first log in with SWATH/ATTAC. After that, TWXSync acts as a forwarding server to forward packets received from helpers. Therefore, that XML that you receive when you are both online.... is generated by SWATH or the helper that sends it. If it receives garbage data, it send garbage data. (data in -> data out; garbage in -> garbage out)
How do you know the database is corrupted? Did the size change? what error do you get? Email the database so i can review it in detail. I had a bunch of testers with ATTAC and i dont recall a corrupted database. TWXSync uses the same codebase as ATTAC to store data to the database and ATTAC has no corruption problems.
Lets chat by email so forward all data to tradewars@hotmail.com and CC Stein as well please. I will try to join the beta cycle so i can help debug the problem. If needed, i will compile Stein a special version of TWXSync that prints ALL data received to a file.
earth.