korvin Posted January 13, 2018 Report Posted January 13, 2018 Hi,I need to know, how to send in offer items that user selected on website. I found only code that selects all items: for(i=0; i<itemsArray.length; i++){ const item = theirInv.find((item) => item.assetid ==''+itemsArray[i]); console.log("got item number" + i); offer.addTheirItem(item); } Also I don't understand how to make a webpage where user can select items for trade. User just need to click on his (or bot's) items, then press button for trade. Then somehow nodejs bot must to get trade url, items ids and start trade function.I know that I probably need to use ajax and curl, but just don't understand HOWThanks Quote
McMuffinDK Posted January 15, 2018 Report Posted January 15, 2018 I would recommend PHP on the server-side and JavaScript on the client-side. You can learn the languages here. Then you can try make what you think fits your needs the most Quote
korvin Posted January 16, 2018 Author Report Posted January 16, 2018 I would recommend PHP on the server-side and JavaScript on the client-side. You can learn the languages here. Then you can try make what you think fits your needs the mostIt's okay, i solved the problem Quote
Go Fast Posted March 5, 2018 Report Posted March 5, 2018 It's okay, i solved the problemDo you mind sharing how? Quote
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.