Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I have slight experience with deatabases, but I have not done something like this before so I could be completely wrong. However from what I understand connecting the app directly to the SQL databased would be both risky and difficult to do with gamemaker. While researching I didn't see anyone suggest doing this so I could be completely wrong, but I would suggest having the app send a normal networking message to the server, a 'handler' then reads it, sanitizes the input , doess whatever needs to be done in the database, and sends back success or failure and any neccessary info.
"Next Steps
Please modify your app to include an optional user registration feature that allows users to restore their purchases to all of their iOS devices.
We recommend indicating that account registration is necessary to restore previously purchased In-App Purchase products, and providing a way for users to register later if they wish to access this content in the future."
The reason must be because I have included in app purchases and even though they are consumables, they (gold) can be used to purchase non-consumable in game items.
And about what you suggested, could you possibly put that into gamemaker code?
Thanks for your help! I really appreciate it!
EDIT:
Also, in that tutorial I provided the link to above, is it possible to use that in my game? So I would send the client to a web page and then the data is read off of the web page and the client is sent back to the game? Just an idea, but I would rather have it ingame.
My skim of this says you need a website with php script that has access to the sql DB. Your GM code simply sends data to the PAGE - not the DB - and the php script sends back the data.
You would not access the DB itself through GM, you only recieve the data from the php script when you access the actual page. (GM effectively acts like a bot)
This (also) allows people to access their account info etc. without being in the game and appears to be what Apple & Google require because of your ingame purchases etc.
If you already know this, carry on. I just saw this comment and wondered how you have it set up.
Yes, thank you, but since this is an iPhone and Android app, how would I do that in GML code, I see what you mean, but I need it in code. Thanks for the help though!