On-Line Database Extension (Parse.com) = Abandoned

bonzero

  • *
  • Posts: 488
Are you sure that your LoginName is an Actor?
The attribute must be an Actor-Attribute. Not a Actor Type or any other attribute!

Regards from
M.E.
Yes, I'm using an actor attribute, not actor type nor actor group

mdotedot

  • Posts: 1554
Can you give me some more information because creating a new game , a scene with when created event with an Actor attribute and setting the [create actor] still works fine on Mac and Windows.
Please give me information on OS used, version of Stencyl OpenFL and stuff like that!
Did you try to create a new game or incorporated it into your existing one? Because things might be conflicting!

Best regards from
M.E.

Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

bonzero

  • *
  • Posts: 488
It was a new game, i'm using the build from today on a mac with the latest OS, you can download the test app from here= https://dl.dropboxusercontent.com/u/30969481/testParse.zip

mdotedot

  • Posts: 1554
It is best to do an export of the game to a .stencyl file. I couldn't open the file in stencyl. I could unzip it and check the code.
I compared it with the code I have and apart from the parse stuff that is what I tested today.
Can you do a clean-project or something like that in your environment?
I find it strange that I can't reproduce it.
I'm not on the latest build on my Mac since I'm in the middle of coding and don't want to change core-platform in the middle of my work. Maybe I'll reboot in another partition to test it, but I would still like to hear if clean-project will do it for you.
Please send the .stencyl to my private message-system. You can remove the testParse.zip from your dropbox!

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

bonzero

  • *
  • Posts: 488
this is the error from the log, I've sent the stencyl clean-project via PM=

...ets/data/scenes.xml
[LOG] Running command: BUILD
[LOG]  - Running command: haxe Export/mac64/cpp/haxe/release.hxml -D HXCPP_CLANG -D HXCPP_M64
[LOG] /Applications/Stencyl-full/plaf/haxe/extensions/gui/GUI.hx:198: characters 121-135 : Bool should be Int
[LOG] Behavior Name = GUI
[LOG] Line Num = 198
[LOG] Cols = 121-135
[LOG] Msg =  Bool should be Int
[LOG] /Applications/Stencyl-full/plaf/haxe/extensions/gui/GUI.hx:198: characters 121-135 : For function argument 'physicsMode'
[LOG] Behavior Name = GUI
[LOG] Line Num = 198
[LOG] Cols = 121-135
[LOG] Finished building for Windows/Mac/Linux (or errored out): 1
[LOG] Msg =  For function argument 'physicsMode'
[LOG] Loading Closed Resource: null
[ERR] java.lang.RuntimeException: java.lang.NullPointerException
[ERR] java.lang.RuntimeException: java.lang.NullPointerException
[LOG] Unexpected problem on thread AWT-EventQueue-0: java.lang.NullPointerException

mdotedot

  • Posts: 1554
Hello,

The issue with the GUI Extension has been found and there is a fix. Goto the GUI Extension thread for more information.

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

1MrPaul1

  • *
  • Posts: 1268
Please advice
I want to make a global counter,
for example -  "bananas"
so when player will collect bananas it will be added to some global counter of bananas and than I will show how many bananas was collected by all players.
I do not need to login for player,
i just need a mechanism how to set and get one value in the net.
But I do not know programming and have no idea how to archive it.
Need your help

mdotedot

  • Posts: 1554
Hello 1MrPaul1,

You can do that with the on-line Parse Extension.
What you have to realise is that there has to be a way for users to be able to login or something like that since how do I as a player know which score is mine?
If it is just for "player100" for instance then you would be fine to do without a name, but I would suggest you still use the HighScore extension that uses the Parse extension and use the 'add player with password' since that is easier to do then to code the behavior yourself.

So my advice is to login with ['Player' & counter] and ['Password'&counter] and use the add HighScore block from the HighScore behavior.

Good luck!

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

1MrPaul1

  • *
  • Posts: 1268
My Idea is to count how many bananas all players collected and  I do not need high score table.
I need just one number for all players.
Will try to describe more detailed.
Player collecting bananas while playing
When game ending I get from the web global number of bananas and plus  it with the number of bananas that player collected in the current level
Than show to the player how many bananas was collected by all players.


mdotedot

  • Posts: 1554
Hello 1MrPaul1,

You can surely do that with the HighScore behavior. Just use the same (=only) player.
So then that player will store the highscore => banana-count.

In the meantime SadiQ and myself are working on an extension for multi-player and the integration in Flash and other platforms is far easier than the Parse.com connection.

But if you can't wait you can definitely go with the high-score behavior together with the Parse.com extension.

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

LePoulpe

  • Posts: 181
Hi mdotedot

I saw in the rest API doc in "updating object" that you can increment/decrement any number field ?
https://www.parse.com/docs/rest#objects-updating
Do you think it's possible to add this to the extension ?

Thanks

mdotedot

  • Posts: 1554
Hello LePoulpe,

You are free to modify the parse.com extension yourself. I'm not even sure that the extension works for 3.1 so you have to be careful!
The current way that the extension works is that all fields are textfields! You could do a lot with the Parse.Com environment, but for the general purpose of the extension at the time I made it I decided that I would work only with textfields.

Good luck in incorporating the numbers into Parse.Com extension!

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

LePoulpe

  • Posts: 181
Thank you for your reply mdotedot
The extension works well for me for 3.1.
I had not thought that all fields are textfields, indeed it must be difficult to integrate.

One more thing, I saw that you create too the nuggeta extension, I use parse only to save all my game online , not for multiplayer.
I start looking to use nuggeta which seems simpler than parse but I can not find any reviews on this service.
What do you think of nuggeta compared to parse for data backup ? As safe and robust ?

Thanks

mdotedot

  • Posts: 1554
Well, the Parse.com is more like an online database than it is for multi player gaming. Nuggeta offers a better environment for turn-based-systems and small inventory-like storage.
But if you have an inventory system and want to track a lot or want to store your level-data for instance then a system like Parse.com would be better. Due to the communication the parse.com is slower than the nuggeta environment, but offers a better query environment to get the data.

Hope this helps to identify the difference between the two.

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

LePoulpe

  • Posts: 181
Thank you for your clarification and  for all your time to improve Stencyl.