Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / Direct database support?

Author
Message
Jambo B
14
Years of Service
User Offline
Joined: 17th Sep 2009
Location: The Pit
Posted: 25th Jul 2020 10:59
Hello all,

I've managed to have AppGameKit access an SQL database through its socket commands and then PHP on the server. I just wondered if there was a more elegant way to have AppGameKit directly interact with a database, either stored locally on the device or remotely on another server.
gosukiwi
AGK Tool Maker
3
Years of Service
User Offline
Joined: 24th May 2020
Location: Argentina
Posted: 25th Jul 2020 18:50
If you are using a server you can try using HTTP and have the server do the talking with the DB. If you need to talk with the DB using AppGameKit I guess not. Either write a library yourself or use a C/C++ library and write a plugin

I did notice AppGameKit has support for Firebase though, but it might not be what you want.
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 3rd Aug 2020 08:56
For windows, if required I could wrap libmysql.dll but the problem is most MySql servers do not allow remote connections unless you have a premium package, for local I already have a SQLite plugin (see my sig)

for crosspaltform remote access, as gosukiwi said you better off using HTTP+PHP, if you use types and return JSON from your PHP you can manage large data structures with ease.
Jambo B
14
Years of Service
User Offline
Joined: 17th Sep 2009
Location: The Pit
Posted: 8th Aug 2020 10:52
Thank you both.

@PartTimeCoder that is insanely brilliant!

Login to post a reply

Server time is: 2024-04-20 06:04:27
Your offset time is: 2024-04-20 06:04:27