Jessecar96 / SteamBot

Automated bot software for interacting with Steam Trade
http://scrap.tf
MIT License
1.33k stars 910 forks source link

Steam Trade accept and friends accept #340

Closed kshahnazari closed 11 years ago

kshahnazari commented 11 years ago

just started working with the simpleuserhandler but I have few errors with it .

The first thing is that in ontraderequest() { return true; } if we return true then trade must begin but when I send the trade request the bot is not available for trade more information will be shown to the bot , what the problem with it ?

The second thing is that can the bot trade with few people at once or should it be one by one and whats the validate() part in trade -what does it do in default with no changes to it- ?

the Third thing is that what should we do to send a message to the person we added ?

kshahnazari commented 11 years ago

the second question was answered but the first and second not , the first part why when I add the bot the bot messages that the bot is not available for trade more information will be shown to the bot . how should I tell the bot accept the trade or send a request to the user

and the third part , how should I send the message right after the friend was added! cause when we return true in the onfriendadd() then the function finishes -when we return true the friend gets added- and we cant do anything to message that person

kshahnazari commented 11 years ago

helped alot tnx , but I haven't learned callback can you give me a small example and then close the issue ?

ghost commented 11 years ago

Wtf! when you use the bot using steam it accept trades but when you use SteamBot it doesn't accept trades