DrMeepso's Recent Forum Activity

  • is it possible to make a phone to connect to a VPN form construct? I'm trying to make a personal VPN, and I would like too make it look nice. I am using OpenVPN

    Thanks

    -Meepso

  • how can I take a screen shot of the current layout and get a URL back to send via a messaging service

  • when using window.location = 'website.com' the construct 3 window will change to the website for about 1-3 seconds and then it just closes the page!

    Im trying to make a oath login button to login with discord and i just cant Evan load the page!

    Thanks

    -Meepso

  • You do not have permission to view this post

  • AnD4D add me on discord and we can continue on there

    DrMeepso#0000

    DO NOT ADD ME UNLESS YOUR AnD4D, YOU WILL BE BLOCKED

  • You did all this code yourself, DrMeepso ? Wow! How on Earth did you figure this out?

    Looking at it now, I can't make head nor tails of half of it, and it also appears to be different to the video example.

    This looks like it listens to a Discord, while your video version posts to a Discord.

    Also, "SendDiscordMSGToMainChannel" never appears to be called.

    I'd love to work on this more with you if I can twist your arm? :D

    EDIT - Yeah, I seem to be hitting the CORS issue, too... The Discord API references and instructions are pretty terrible. Doesn't seem to make sense that I can connect to Twitch with relative ease, but Discord is a confusing mess.

    Yeah the post is quite old and the video was filmed pretty much the same day i got it to work so it has been though some changes.

    As for discord.js it has decent documentation here docs

    when i first started trying to get it to work i did have to change the endpoint. so you may have to look into that.

    but that pretty much all i can help with because i made it so long ago.

  • Thanks, DrMeepso

    That's disappointing to hear. I've been trying to figure this out for a while. Maher to connect to Twitch API without too much issue, but Discord just looks complicated.

    Do you have any other tricks up your sleeves?

    I'd hate to get this close and walk away.

    It seems like the webbuild may have gotten a update

    github.com/discordjs/discord.js/tree/webpack

    but that's the best I can do

  • the Date object works on timespamps

    to get a date 3 days in the future you have to:

    FutureTimestamp = Date.ChangeDate(Date.Now,Date.GetDate(Date.Now)+3)

    THANK YOU SO MUCH!!!!!

  • i need to set the date object forward and if i just + 3 my program wont run for 3 days before a new month. so is there a way to just shift the clock forward 3 days in the date object

    -Meepso

  • You can get the project files

    Here

  • DrMeepso This is awesome. No idea why nobody else commented on this. Do you have time to share a little bit on how you did this? I'm currently researching the same thing.

    Discord.js has deprecated the web build of there project meaning that thanks to cors this dose not work any longer. i will share the project files if i can dig them up

    I have also integrated a twitch bot with construct 3 and i think that one still works

    -DrMeepso

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • you can't just disable CORS.

    API request can be sent if your game is uploaded to a hosting that does not block CORS requests.

    What are you trying to do, what API do you want to use?

    im trying to send data request too my schools API and when i call it with a fetch in JS when i disable cors it works but other wise i haven't found a way to make it work with cors

DrMeepso's avatar

DrMeepso

Member since 28 May, 2018

None one is following DrMeepso yet!

Connect with DrMeepso

Trophy Case

  • 6-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies