1. Packet logger gets the Packets from the server and the cielt and loggs then.
You click in game to walk, your client sends walk packets, packetlogger loggs packet.
2. Yes iīm sure something like this exists but donīt know where and maybe not for free, technicaly its very easy.
Here you have a example, you just would need to fix the login, reverse engineer some outdated packets and develop the mechanism for searching for cheep stuff and autobuy: