I know the script you are talking about Micro, thanks for the suggestion but I tried running pack 2 worldtrade before I ever started looking for other world trade scripts, could never get it to work either. Not sure if sometimes in the past I didn't forget to turn the lightbulb (SWATH helper as you say) off. I doubt it has always been database corruption, although I do have scripts that don't run right the first time so I suppose it is possible you could be onto something there.
In this case I think you might be right. I tried to import an exported twx file from SWATH into TWXProxy and it gave me a message about it couldn't import, incorrect database size, and a couple of scripts I have been working on got locked into a loop or something so it could possibly be a database corruption.
I don't know enough about importing and exporting TXW databases between SWATH and TWXProxy to know for sure, but I would think they should be compatible. A long time ago you had to pick between TWXProxy ver 1.x or 2.x for exporting and importing the databases, but that was back in like the early 2000's. But I didn't swap around the twx exports much between them (always figured they are supposed to be capturing the same data from the game) so I don't know for sure if that size mismatch error is because of corrupted database on one side or the other, or if I am getting it because they don't want to play nicely together
I'll keep looking at it, try some different things, it's just a test game for scripting and I'm not far into it so no big deal to delete either database or the database from both and start over from scratch. CIM download and a couple of other things and I would think I'm back in business anyway.