Ph bot Gold log

How do I save Gold Logs? For example, after learning the amount of gold before selling caravans and the amount of gold after selling caravans, I must do a mathematical operation on it. I would appreciate if you write a sample code best regards.

1 Like

@Ryan I think it shouldn’t be that hard for you to answer this question.?

You have to parse the 0xB034 packet and keep track of the gold pick up.

Can you send me a sample to do that?