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 Classic Chat / [Tier 1][Mod] Hockeykid's AGK Mod

Author
Message
Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 8th Aug 2014 12:10 Edited at: 24th Sep 2014 00:35
Hi guys,

Recently, whenever I've needed new commands that AppGameKit doesn't have I've modified the interpreter to expand the command set.

Some of you might have seen some of my posts about the new commands I've added such as: interstitial ads, more sensors (in the Google Cardboard thread), or Google Play Game Services (in "The Bird Game" thread).

Anyways, I decided to put all of my changes together into a single mod for Tier 1 (BASIC) and release it here to the community.

Current Features:

Admob Interstitial Ads

Access To More Sensors
Gyroscope
Magnetometer
Light Sensor
Proximity Sensor
Rotation Vectors

Google Play Game Services
Sign In with Google+
Leaderboards
Achievements


Supported Platforms:

Android

Credits:

Easter Bunny for the source code to Automayte 2.1 (http://forum.thegamecreators.com/?m=forum_view&t=210058&b=41)
Rick Vanner for Snake Snacker (modified and used as an example)


What the download contains:

A heavily altered version of Automayte 2.1 for one click APK building. The altered version of Automayte 2.1 will allow you to build an APK that uses this mod. It also addresses some of the building issues a select few people have been having with Automayte.

An example of Google Play Game Service in action in Rick Vanner's Snake Snacker game (You'll also find a built Snake_Snacker_Mod.APK in the folder).

An AppGameKit Player ("AGK_Player_Mod.apk") for use with this mod.

Documentation (Probably not the best documentation, but I tried!) which I HIGHLY ADVISE YOU READ.

A file called "AGK_Mod.agc" this contains the new commands for the mod, and must be included in your code (using #include "AGK_Mod.agc").

Download Link:

Note Before Downloading!
Also, be sure to run Automayte 2.1 as administrator.

Download Here V1.02: https://www.mediafire.com/?7x97bjo1z1kcd16

Mirror 2: https://drive.google.com/file/d/0Bz1y6TeA4uATaFY1ak94cDZnbDQ/edit?usp=sharing

Changelog:


Let me know if you have any issues.



Sean

Rickynzx
12
Years of Service
User Offline
Joined: 19th Dec 2011
Location: Troon, Scotland
Posted: 8th Aug 2014 14:46
This sounds great, cant wait to try this out in my wip when the time comes to add these features, especially the interstitial ads and the google play game services.

Much appreciated Hockeykid, keep up the good work.

easter bunny
11
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 8th Aug 2014 15:06 Edited at: 8th Aug 2014 15:07
Awesome! Will check this out tomorrow


Audacia Games - Latest WIP - AUTOMAYTE 2.1, AppGameKit one click deploy to Android
"When you've finished 90% of your game, you only have 90% left"
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 8th Aug 2014 15:14
FANTASTIC work!

why doesn't TGC do these mods, it's always the users who have to fix things and make them work
Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 8th Aug 2014 22:22
Quote: "Much appreciated Hockeykid, keep up the good work."


Thanks, glad it's useful for you!

Quote: "Will check this out tomorrow"


Let me know how it goes, like I said I had a little trouble with it on one of my Windows 8.1 machines.

Quote: "FANTASTIC work!"


Thank You!


Sean

FakeBlood
21
Years of Service
User Offline
Joined: 18th Nov 2002
Location: Alabama, United States
Posted: 9th Aug 2014 01:33 Edited at: 9th Aug 2014 01:59
errors with automayte windows 8 here

[EDIT] hmmm actually I get the same error on my windows 7 laptop as well.

Running both as administrator.

error is:

Unhandled exception occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Index was outside the bounds of the array.
easter bunny
11
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 9th Aug 2014 02:44 Edited at: 9th Aug 2014 02:46
I get this .net error (appears at launch, Windows 8.1):

It still appears to run normally if I hit continue though. I'll edit back later when I get around to testing the various features Looks like a dream come true so far

EDIT: Which appears to be the same error as FakeBlood


Audacia Games - Latest WIP - AUTOMAYTE 2.1, AppGameKit one click deploy to Android
"When you've finished 90% of your game, you only have 90% left"
Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 9th Aug 2014 02:48 Edited at: 9th Aug 2014 02:48
Quote: "errors with automayte windows 8 here"

Quote: " hmmm actually I get the same error on my windows 7 laptop as well."

Quote: "I get this .net error (appears at launch, Windows 8.1):"



Thanks for trying it out. I'll look into the error and see if I can find out why it doesn't happen on my machine. I suspect it has something to do with Automayte's preset system. I'll get it fixed and post an update as soon as it's fixed. For now hitting "Continue" might work, however it might also cause other errors to come up.

Sean

FakeBlood
21
Years of Service
User Offline
Joined: 18th Nov 2002
Location: Alabama, United States
Posted: 9th Aug 2014 06:50
tried to build with the error and receive

"FAILED No more information available"
Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 9th Aug 2014 09:36
Quote: "tried to build with the error and receive

"FAILED No more information available""


This has to do with having spaces in the path name (the android-sdk doesn't like spaces). I discovered this issue a little while ago. I'll have a fix out soon, but if you need to build an APK right now, move the folder to directory that has no spaces and also change the folder name from "Automayte 2.1 (Mod)" to something like "Automayte" that way you won't have any spaces.


Sean

Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 10th Aug 2014 05:07 Edited at: 10th Aug 2014 05:09
Update V1.01:

Changes:
Fixes issues with android-sdk not finding Java.
Fixes Automayte errors
Added installer for Automayte

Download: https://drive.google.com/file/d/0Bz1y6TeA4uATVVljeF9jMGFHb0E/edit?usp=sharing


I've tested this version quite extensively. Let me know how it works!

Sean

FakeBlood
21
Years of Service
User Offline
Joined: 18th Nov 2002
Location: Alabama, United States
Posted: 10th Aug 2014 10:17
All seems well now
This is great. TGC should've had this done long ago...
if they could stay on one product instead of half doing 600 products and moving to another....

Maybe in the future you can look at some other aspects of GPGS such as the multiplayer, events, quests, saves, etc...

I'd be willing to donate for some of those additions!
Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 10th Aug 2014 10:38
Quote: "All seems well now"

Good to hear!

Quote: "Maybe in the future you can look at some other aspects of GPGS such as the multiplayer, events, quests, saves, etc..."


I'll keep those in mind, I plan on supporting this mod beyond the initial command set that I have now. So any feature requests are welcome.


Sean

lilpissywilly
AGK Developer
13
Years of Service
User Offline
Joined: 10th Sep 2010
Location: Office Chair
Posted: 10th Aug 2014 13:29
Well done! downloading and testing

My hovercraft is full of eels
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 12th Aug 2014 19:09
Great work!
Any chance you can make the source for this available in the RAR so that folks can see how it's done?

Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 13th Aug 2014 00:55
Quote: "Any chance you can make the source for this available in the RAR so that folks can see how it's done?"


You can find the source in "C:\Automayte\Data\Template".


Sean

Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 13th Aug 2014 08:19
Very cool, thank you. I did not check that part

Effishen
9
Years of Service
User Offline
Joined: 13th Jun 2014
Location:
Posted: 14th Aug 2014 17:05
Hello HockeyKid

Is there any way to turn on the command prompt messages during buiding of APK? Or is there a log somewhere?

There seems to be an error, and said 'Failed No messages' something like that, when I tried compiling into APK

Easterbunny's version allowed the command prompt messages to show. which guided me into finding out what went wrong during compile, which I found particularly useful.

Effishen
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 15th Aug 2014 00:04
Just got this set up for Sudoku In Space. I'll be testing it out over the next couple weeks to make sure I didn't mess anything up.
Great work on this, HockeyKid!

Paul REALLY needs to implement this and other Google Play Services features into v2. However, at least this provides an interesting method to do so. We do still need to be able to call certain things on command instead of right out of launch.

Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 16th Aug 2014 04:05
Quote: "There seems to be an error, and said 'Failed No messages' something like that, when I tried compiling into APK"


Sorry, I looked over your post earlier. I've attached a new APKBuilder.exe to this post that will allow you to see the command prompt output. If you are doing a release build, there will be several command prompts (one will appear at a time, if it finishes successfully, you need to X out the prompt to continue through the build process). If you have trouble with the error, post the output here and I can help figure it out.


Sean

Attachments

Login to view attachments
Effishen
9
Years of Service
User Offline
Joined: 13th Jun 2014
Location:
Posted: 18th Aug 2014 11:50
Hello HockeyKid

Thanks for looking into the problem.

May I know where can I find the attachment?

Effishen
george++
AGK Tool Maker
16
Years of Service
User Offline
Joined: 13th May 2007
Location: Thessaloniki, Hellas
Posted: 23rd Aug 2014 12:57 Edited at: 23rd Aug 2014 13:34
I didn't manage build an .apk with Automayte
What I've done so far:
1. I installed Automayte from the link in the first post of Hockeykid
2. I installed the JDK and JRE in my PC (Win 7 pro)
3. I've set the JAVA_HOME variable to:
C:\Program Files (x86)\Java\jdk1.8.0_20
and included ALL possible Java folders in the system path

Quote: "
C:\Program Files\Java\jre1.8.0_20
C:\Program Files (x86)\Java\jdk1.8.0_20
C:\Program Files (x86)\Java\jre1.8.0_20
C:\Program Files (x86)\Java\jre7
"


When I run the Automayte I am getting a message from MS NET framework:
http://www.mediafire.com/view/ix5s0i1l4s7bz2f/NET_err.png

I continue as the following image shows:
http://www.mediafire.com/view/8121n4vi19drt4h/Build_err.png

After a few seconds I am getting the following message:
http://www.mediafire.com/view/w124aoaa5dob6pv/Build_msg.png

Any help please?

EDIT:
I removed any spaces from Java paths by using Progra~1 and Proga~2 instead for Program Files and Program Files (86) respectively
I have the same issue if I will install the Automayte from the second link too
JimHawkins
14
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 23rd Aug 2014 14:31
Yiasou George,

Put all the Java etc stuff in a path WITHOUT spaces - for example c:\Java

Spaces are not Unix or Java friendly!

-- Jim - When is there going to be a release?
george++
AGK Tool Maker
16
Years of Service
User Offline
Joined: 13th May 2007
Location: Thessaloniki, Hellas
Posted: 23rd Aug 2014 15:45
Yiasou Dimitri!!!
Have you been in Corfu this summer finally?
I followed your suggestion without success...

I am a milestone before releasing my first game with AppGameKit and the only success way so far was the web version from TGC
Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 23rd Aug 2014 22:14
Quote: "When I run the Automayte I am getting a message from MS NET framework:"


You need to run the program as administrator.

Quote: "May I know where can I find the attachment?"


Here it is:
https://forumfiles.thegamecreators.com/download/2530013


Sean

george++
AGK Tool Maker
16
Years of Service
User Offline
Joined: 13th May 2007
Location: Thessaloniki, Hellas
Posted: 24th Aug 2014 00:17
Thanks Hockeykid,
I don't have the NET warning but Automayte still fails.
Do you have any idea what I am missing?
I've installed the latest version Java (JDK & JRE). Do I need to install a specific version?
Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 24th Aug 2014 00:48
Quote: "I've installed the latest version Java (JDK & JRE). Do I need to install a specific version?"


You shouldn't have to install anything, my version of Automayte should be handling all of that for you.

If you go to this post and download the file attached to it (Backup the original APKBuilder.exe and replace it. Located in C:\Automayte), you should get the command line output. When it fails post the information here and I can help you further.

http://forum.thegamecreators.com/?m=forum_view&t=211806&b=41&msg=2530013#m2530013


Sean

george++
AGK Tool Maker
16
Years of Service
User Offline
Joined: 13th May 2007
Location: Thessaloniki, Hellas
Posted: 24th Aug 2014 00:55
Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 24th Aug 2014 03:38
Quote: "This is what I am getting"


Ah, that shouldn't be hard to fix. Go to "My Computer", right click on any white space and hit "Properties". In the window that pops up, you'll see off to the left "Advanced System Settings" click that. Another window will popup, click the "Advanced" tab and at the bottom you'll see "Environment Variables..." click that. In the window that pops up, under "System variables" you should see ANT_HOME. Click on it and hit delete. Next time you run Automayte it should auto create a new ANT_HOME variable for you (You might have to close and reopen twice).

Sean

george++
AGK Tool Maker
16
Years of Service
User Offline
Joined: 13th May 2007
Location: Thessaloniki, Hellas
Posted: 24th Aug 2014 10:30 Edited at: 24th Aug 2014 10:32
Because I wanted to start from scratch I did the following:
1. I removed the Automayte and I made a new install
2. I replaced the the APKBuilder.exe file with this one with the console output
3. I ran the Automayte and voila! I had success!
4. Because I wanted to make a change to the orientation I tried again but the build failed. I tried again and again but I am always getting in last this message:
http://www.mediafire.com/view/bb258zeuatj9xpj/builder_console1.png
george++
AGK Tool Maker
16
Years of Service
User Offline
Joined: 13th May 2007
Location: Thessaloniki, Hellas
Posted: 24th Aug 2014 10:52 Edited at: 24th Aug 2014 11:04
OK, I think I found what's wrong:
If I set the 'Portrait' mode then the builder fails.
If I set 'Landscape' or 'Both' the builder does not fail
Also I noticed that the APK Output location is better to be a non existing APK because otherwise the NET framework will rise an excpetion (even if I ran the Automayte as Administrator)
In any case many thanks Hockeykid for your valuable support
yamyam
11
Years of Service
User Offline
Joined: 12th Jan 2013
Location: Black Country
Posted: 24th Aug 2014 12:40 Edited at: 24th Aug 2014 12:42
Hi Hockeykid

Just installed the new version of the automayte v101, to try with my app, and with one or two problems with spaces in folder names sorted and the ANT path name, i am now stuck on this error.

c:\Automayte\DATA\jdk1.7.0_02\bin\java.exe is not compatible with the version of windows you are running.

Could this be because the 64 bit version of the jdk1.7.0_02 is in the DATA folder and i am using 32 bit windows 7 on my machine?


Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 24th Aug 2014 20:56 Edited at: 24th Aug 2014 20:57
Quote: "If I set the 'Portrait' mode then the builder fails."

Interesting, I'll see if I can get that fixed.

EDIT: Ah, found the issue. It's a spelling error , I'll have a fix up soon.

Quote: " i am using 32 bit windows 7 on my machine?"


Yep, that could do it. Sorry, I didn't think about that. What you should be able to do is download a 32 bit version of the JDK and replace the files in the jdk1.7.0_02 with the files from the 32 bit version you download. Make sure you keep the "jdk1.7.0_02" folder name though!

Sean

Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 24th Aug 2014 22:38
Update V1.02:
Changed to a 32bit version of the JDK for compatibility
Fixed bug causing portrait apps to fail while building

Download:
https://drive.google.com/file/d/0Bz1y6TeA4uATaFY1ak94cDZnbDQ/edit?usp=sharing


Sean

sdl
AGK Developer
11
Years of Service
User Offline
Joined: 5th May 2012
Location: Germany
Posted: 25th Aug 2014 01:09
Hi, can you Marke a Version for V2 ?
I need fullscreen ADS....
easter bunny
11
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 29th Aug 2014 10:29
Finally got around to testing out the Leaderboard features. I set my app up with Google Play services and all that and to my surprise, it worked first time!
Be expecting Leaderboards in my next game

Thanks so so so much for doing this mod Hockeykid!


Audacia Games - Latest WIP - AUTOMAYTE 2.1, AppGameKit one click deploy to Android
"When you've finished 90% of your game, you only have 90% left"
Tristanlogd
10
Years of Service
User Offline
Joined: 23rd Jun 2013
Location: Virginia
Posted: 4th Sep 2014 18:37
Does this work with AppGameKit V2? It builds correctly, shows the splash screen and then crashes. Also crashes with no Splash Screen.

Only build process that works for me is the web based one.

Thanks!

Realm of Ages
Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 4th Sep 2014 23:51
Quote: "Hi, can you Marke a Version for V2 ?"

Quote: "Does this work with AppGameKit V2? "


Sorry, but no. AppGameKit V2 isn't complete, so new alphas are coming out all the time. It would be to hard to support.


Sean

easter bunny
11
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 5th Sep 2014 02:51
Hi Hockeykid,

Is there any way to detect if the user gets the high score on a Google Play Leaderboard? I'd like to let them know when they beat the high score, but it doesn't look like they get any sort of notification at all.


Audacia Games - Latest WIP - AUTOMAYTE 2.1, AppGameKit one click deploy to Android
"When you've finished 90% of your game, you only have 90% left"
Jack
19
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 23rd Sep 2014 01:20
Hello Hockeykid,

thank you for your hard work on this impressive modification.

There is a bug with the google drive. I can't download the
current version Is there an alternative link to this file?


[/url]
Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 23rd Sep 2014 05:46 Edited at: 23rd Sep 2014 05:46
Quote: "There is a bug with the google drive. I can't download the
current version"


What happens when you try to download it?

Sean

Jack
19
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 23rd Sep 2014 13:28
I click on the link, the preview want to show up, there is a loading indicator, but it doesn't load at all.
Then I press on download, and it says something like this:



Crappy translated with google:

"This file can not currently be displayed or downloaded.

This file has been viewed or downloaded lately by too many users. Please try again later access the file. If the file is particularly large or if many people can access it, it can take up to 24 hours before you can view or download them. If you still can not access the file after 24 hours, please contact your domain administrator."


[/url]
Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 24th Sep 2014 00:35
Quote: "I click on the link, the preview want to show up, there is a loading indicator, but it doesn't load at all.
Then I press on download, and it says something like this:"


Just tried downloading it, did the same thing for me. Weird, sorry about that.

Anyways, I've reuploaded it to Mediafire. You can get it from here:

https://www.mediafire.com/?7x97bjo1z1kcd16

Sean

Login to post a reply

Server time is: 2024-04-20 14:16:31
Your offset time is: 2024-04-20 14:16:31