h1k3's Recent Forum Activity

  • Figured it out myself. I had just failed to tokenat the experience max value properly.

  • My capx

    So I have my app setup and Ajax is working flawlessly for this subapp but I can't seem to get the width right on the experience bar. I'm sure I'm just not getting the math right. Can someone take a peek and see what I'm doing wrong with the formula?

    Thank you in advance,

    Lance

  • If you have the ability for php on your server I can help you out with that one. The team at Scirra seem to be more busy with the game related side of the program and after reading I found that we really shouldn't be using the app secret on the javascript side because it can allow others to make unauthorized posts and such from the app. So I've been slowly chipping away at php to integrate it with the javascript offered in Construct2. I just today finished up the ability to generate a new user token using php. This is done using the ajax plugin and browser plugin. It can be done using the construct Facebook plugin but it requires the app secret which Facebook says not to put on the javascript side.

    You will need the browser plugin to pull down the information from the address bar and the ajax plugin to both login to the app server side and request an user token. Visit How to log in to your app server side

    for more info on how to set up your php files. It look overwhelming but it can easily be boiled down to just a few commands to work with the ajax plugin.

    Hope that helps or at least points you in the right direction.

    Lance

    You can visit my app page at lockegames.com/relicsofyore if you want to see it in action. Once you accept the game it will log you in and show you a valid access token on the screen. I'll leave it up so you can see for a day or two while I start plugging away at some other aspects of the app. You will currently need to change the permissions parameter manually if you want to reload and see it work a second time.

    It pulls the code variable down from the address which is used to get an access token, and it can only be used once. So if you leave the permissions set to one in the address bar it won't generate a new code which will kick up an error warning.

  • you need php to utilize facebook credits. It requires a callback php script. I'm working on that myself right now.

  • That is too cute.

  • do you have the links all configured correctly in the basic info? Such as canvas url and such? Could be you copied the appid wrong? Try going directly to the address for your game, if it works there then you probably configured on of the urls wrong.

  • You don't have a secure website(ssl certificate) I have the same problem on the game I'm making(http://lockegames.com/relicsofyore/main) Facebook defaults to requiring secure connections for its users. Users can turn off their secure browsing in settings to view your app or you can just give them the direct link to your app like I did above.

    You can of course buy an ssl certificate for your website. Once I'm ready to go live and market my game I'll be doing just that.

  • This is exactly how my game is designed. I'm so glad that I don't need to invent a way to communicate with my game subapps. TYVM

  • Add an invisible sprite and set the polygon to the whole sprite border. Then just cover all the black parts with the invisible sprite, stretching the sprite as needed. Of course it'll add another sprite instance but thats the only way I can think of.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • whatever23

    yes it is and I've thought of that. I just don't see a really good way to go about it outside of my sledgehammer approach. I could do it server side but then it's still the same problem of trying to figure out whats ok and what isn't. :( I never thought of that numeric problem. Maybe you wouldn't mind messaging me with any combinations like the above to keep the forum clean and give me the info to plug into the check? Never been much of a naughty word type of guy so it's hard to imagine all the combos for me.

  • although I believe going directly to the site will allow you to keep your secure browsing on. Go to

    http://lockegames.com/relicsofyore/main/

    I would greatly appreciate anyones help. I wish to find any holes in the adult language filter before I continue on to another part of the app.

    Thank you all in advance

    Lance

  • whatever23 yeah you need to turn off secure browsing in facebook under account settings until I pick up an ssl certificate. Make sure to turn it back on once you leave the app to maximize your facebook security.

h1k3's avatar

h1k3

Member since 1 Apr, 2012

Twitter
h1k3 has 3 followers

Connect with h1k3

Trophy Case

  • 12-Year Club
  • x5
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies