@xdem, so basicly u leave the bot to farm and write down the item ID's, and later, when u want to check who the items went to, you just do those SQL sentences ?
Anyway, so even materials, adena have it's own object ID on every player and can be traced that way ? It feels weird coz they add up, for example if u trade 500 coal from char "A" to char "B", the items add up in the inventory to the previus 200 u had(for example), so now u have 700. If your method is 100% sucessfull, every single coal should have its own ID wouldn't it ?