You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In tests performed by steam, the error is always given below, and when performing through the web interface, the sending of exchange proposal works, but it is being held back.
it is possible to send an example that is working, so that I can understand the operation of exchange using the gem.
def send_offer
account = Handler.new(************',**********')
his = account.normal_get_inventory('Skanby', 570)
me = account.normal_get_inventory("76561199093280846", 570)
myarray = [me[8]].compact!
theirarray = [his[8]].compact!
# whenever
trade_url = "https://steamcommunity.com/tradeoffer/new/?partner=112865394&token=fhoqG7oX"
account.send_offer(myarray, theirarray, trade_url)
end
The text was updated successfully, but these errors were encountered:
As i have specified in the other issues, the nilClass error is because you are running .compact!, which will return nil if it does not make any modifications to the array
I removed the 'compact!', Now it is giving an error when sending the exchange, does the array of the item to be exchanged need to be treated before sending the exchange? because I'm sending the item as it comes in the normal_get_inventory method.
In tests performed by steam, the error is always given below, and when performing through the web interface, the sending of exchange proposal works, but it is being held back.
The text was updated successfully, but these errors were encountered: