Hellcase031 Posted February 14, 2018 Report Share Posted February 14, 2018 var client = new SteamUser();var community = new SteamCommunity();var manager = new TradeOfferManager({ "steam": client, // Polling every 30 seconds is fine since we get notifications from Steam "domain": "example.com", // Our domain is example.com "language": "en", // We want English item descriptions "cancelTime" : 120000 //Cancellation Time in miliseconds 1000 ms = 1 second, After 2 minute cancel trade}); var offer = manager_coinflip.createOffer(user_trade_url);offer.addTheirItems(inv_to_trade);offer.setMessage(secretMessage);offer.send(function (err, status) { community.acceptConfirmationForObject("identitySecret", offer.id, function(invAcceptErr) { if (invAcceptErr) { //Here I got error but do not print any error message in Console.log("Winner Trade Accept Error : ",invAcceptErr); return true; } });}) Note : In above code I am putted statatically "identitySecret". Is it correct? Please let me suggest where I am wrong ? Quote Link to comment Share on other sites More sharing options...
McMuffinDK Posted February 15, 2018 Report Share Posted February 15, 2018 What error do you get? Quote Link to comment Share on other sites More sharing options...
Hellcase031 Posted February 17, 2018 Author Report Share Posted February 17, 2018 (edited) I already mentioned in my question Give me Error without any error Message. But, I got solution for that issue. Problem is I used identitySecret statically which is not work. Then I used identitySecret From maFile which is working like charm!!! Edited February 17, 2018 by Hellcase031 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.