Scripts / HTTP Get/Post Request

Author
Message
Guru
2
Years of Service
User Offline
Joined: 25th Mar 2022
Location:
Posted: 31st Mar 2023 18:42
If I want to do HTTP get or post via lua scripting in GameGuru MAX how would I do it?

For example, sending HTTP post to send player highscore data to my php script hosted somewhere on the net, then requesting HTTP get to grab that highscore lists to show it in game.
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 31st Mar 2023 19:36
afaik you can use os.execute() to do it if you have some app that can send a request you could include that with your game.. likely wouldn't flow very nicely and cause permission issues but i don't know if it's possible otherwise (in native lua)
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11

Login to post a reply

Server time is: 2024-12-30 18:22:39
Your offset time is: 2024-12-30 18:22:39