Jump to content
McKay Development

Debug

Member
  • Posts

    5
  • Joined

  • Last visited

Debug's Achievements

  1. Im Trying to post a request to a steam cart, Error: Hostname/IP doesn't match certificate's altnames: "Host: http. is not in the cert's altnames: DNS:store.steampowered.com"Looking for mistakes to be clarified so that i can make success with this step. Thank you for the time.
  2. How can i loop the sender message, so that i can wait for the response of the option to be selected which was printed by the for loop Kindly View the Attached Images for an clear example: Image of the example client.on("friendMessage", (SENDER, MSG) => { ... ... else{ var countList = 1; for(var i = 0; i < listOfProducts.length; ++i){ if(listOfProducts[i].is_free_license == false){ client.chatMessage(SENDER, countList +". "+listOfProducts[i].option_text) ountList++; } else{ client.chatMessage(SENDER, result[0].name + ", Unfortunately you can not buy this game as a gift.") } } console.log(countList); client.on("friendMessage", (SENDER, MSG) => { countList = countList - 1; if (MSG === 1) { client.chatMessage(" has been added to the Cart.") } }); } ... ... }); Kindly drop your suggestions... and thank you for your precious time.
  3. Hi Mod, how can i validate the userinput is a steam store game url and get the details of the games such as name, price of the game. kindly help sir for example, input : https://store.steampowered.com/app/284790/Nightmares_from_the_Deep_2_The_Sirens_Call/ validate it and get app id and all the details of the app id and also if something which does not belong to steam store - an excecption
×
×
  • Create New...