My server added special protection so that phBot cant just buy goods (it tries to buy the first stack and stops without buying anything)
I understand that you dont want to support this (it would be way to much work for you bypass the special protection on every server). I am able to code aswell but i just wanted to know if you think its possible to do with just a plugin & if you could maybe give me some hints in what i should look into and what i would have to do, theoretically? Do i have to override “oldtrade,buy” command with a plugin (is the even possible) or what else should i look into?
Also i saw in the forum that there should be a list of available methods in the plugin folder but i cant find it.
No theres not but you could make your own function which selects the NPC and buys the goods. If you are familiar with Python that should be pretty easy for you.
Chefkoch solution may work too but i would recommend making your own function if you have the ability to.
Well, xPackTool tells me that the command to buy a good changes after tp (it uses different packages everytime to buy goods after tp) so i have to figure out what the package would be like