Closed tkphoto closed 11 years ago
See #116. It makes Bot.OpenTrade
work as described in it's comments.
Bot.OpenTrade(steamid); crashes.. Do i need to find some updated files?
If you apply the changes in #116 then it should fix the issue. If you are unaware how to get the changes, you can just open each file that has changed, copy the code, and paste it over the code in the files you have locally.
Using the updated files does indeed fix the issue and trades do get iniated.
I understand with Bot.OpenTrade() it needs a steamid number to trade a specific person.. Is there a way of making this use a steamid name instead.
What are you attempting to accomplish? It's always better to use SteamID instead of a name.
Im trying to make a bot iniate a trade with someones username via a chat message.. but i dont want to have to look up converted id names via websites etc.. So basically i send a message to the bot saying !trade username and it will then iniate a trade to that person
This is no longer a problem with the bot.
You can't add a friend via username without first selecting the proper friend, which actually is there to convert their username into the steamid. Therefore, what your proposing, wouldn't really be the correct way to go about things.
You wouldn't happen to be working on a middleman bot are you? If so, there are other ways for this to work.
coffman, you got it in one.. middleman bot:)
Add me on Steam: Coffman34
Looking through through the bot.steamfriends and bot.trade options i cant seem to locate any commands for issueing a trade request... does anyone know an option for making the bot iniate a trade request.
Thanks