Game Development Community

Scoreloop and OpenFeint

by Ronald Ian Bantayan · in iTorque 2D · 07/30/2009 (1:24 pm) · 84 replies

these are third party (and free) services that provide achievements and other functions like chatroom integration and such on top of your app. i'm experimenting with these products to see if i could add global and cumulative achievements to my games. it would be interesting to hear what other iTGB devs have to say about this.

http://www.scoreloop.com/
http://www.openfeint.com/
Page «Previous 1 2 3 4 5 Last »
#1
07/30/2009 (1:37 pm)
I looked into implementing Open Feint, but ran into issues because of the "new" operator in iTGB. It wasn't really worth my time to investigate more, but is something that I would like to implement down the road.
#2
07/30/2009 (3:58 pm)
Same issue here with OpenFeint.
Tried to fix it but the success has yet to happen, so its back on the queue for later again once the immediate technical problems are solved and will then likely be in ping - pong with VFP


ScoreLoop should work much more painless actually.
#3
07/30/2009 (5:25 pm)
I got openfeint working by putting #ifndef TORQUE_DISABLE_MEMORY_MANAGER around its definition (where Xcode told me it was conflicted). Also there is a typo in the preprocessor definition for this define that needs to be fixed (the R is missing, it was reported as a bug in a previous thread).

I don't know if this has caused anything else to break but so far everything is working fine... memory appears to be allocated and deallocated without issue.

Also you need to initialize OpenFeint after TGB in the iPhone delegate or OpenFeint seems to get overridden by TGB's initialization.
#4
07/30/2009 (6:06 pm)
thats not an option.
Not disabling the memory manager is for testing only, the performance impact is too high. (also most builds especially the script optimize one) have the memory manager disabled so you defacto remove your whole openfeint

The conflict comes from the operator new overload in iPhoneMemory.mm which conflicts with the standard operators (enabled through the ctor flag) from GCC itself.

what you would need to fix is the function that actually instantiates the templates ...
#5
07/30/2009 (11:37 pm)
These are both pretty cool services, and fill a need I have in some future projects!

Has anyone seen anything like these that work on multiple platforms? For example... let's say I wanted to have a game that was on Windows, Mac and the iPhone. Both OpenFeint and ScoreLoop are mobile-specific. Has anyone seen anything that is much more global and would work on any platform?

#6
07/30/2009 (11:51 pm)
There are some that are multi platform but none mobile + win + mac, which likely has quite a bit to do with the efforts to get such a tech work nicely with 10.4, 10.5, soon 10.6 and the Windows incarnations

This is likely also related to the fact that there are hardly no games that are released for multiple platforms in the same way and without it, it wouldn't work out as they aren't comparable anymore for the social backend (for example achievments)

Just for highscore, I think there are services, but they are just as well only a POST request away ...
#7
07/31/2009 (12:45 am)
What about having a game on Steam? Don't they have an Achievement service that "Steam Powered" games get to feed into?
#8
07/31/2009 (1:51 am)
Right
But steam is a Windows only thing as Xbox Live is an Xbox only thing
#9
07/31/2009 (5:26 am)
@Marc

What I said was that I disabled the overload in iPhoneMemory.mm with the #ifndef.

The memory manager IS disabled, that's why you need to fix the typo in the preprocessor macro in the build settings.

I have OpenFeint working in Script_Optimized build.

Edit: I guess I wasn't very clear what "its" referred to in my original post -- I meant the overridden definition of the new operator.

Edit #2: Basically, this: www.garagegames.com/community/resources/view/6790
#10
07/31/2009 (5:47 am)
Hmm interesting that it should work just like that, because I had it commented out and it didn't work, resulted in a pointer missmatch problem.

Do you build for OS 2.x and GCC 4.0 or OS 3.x and GCC 4.2?


Perhaps its also related to the newest version of openfeint, they update pretty regularily
#11
07/31/2009 (6:02 am)
A combination! OS 3.x with GCC 4.0

Last time I tried to use GCC 4.2 (before I even knew OpenFeint existed), I ran into problems and didn't have the time to debug them, so I gave up on it and stuck with what worked.
#12
08/01/2009 (2:37 am)
If anyone is willing to do a good integration of either of these frameworks with Torque, we'd be happy to include in the official build. I'd like to see both supported, it's just not something we've gotten to yet.
#13
08/01/2009 (4:40 am)
Sure your Base SDK is set correctly?

Didn't think that OS 3.x Base SDK and its frameworks would even work without GCC 4.2

I'm using 2.1 right now with GCC 4.0, might potentially go up to 2.2.1, but definitely not 3.x


Brett: Should I be able to get OpenFeint in in a clean and potentially non-programmer way, I'll let you know :)
#14
08/01/2009 (4:15 pm)
I'm planning on doing a Scoreloop integration sometime soon. Actually I've been offered an open channel to their CTO (via their product marketing guy) for any questions etc I may have. I've already offered them advice on any problems I encounter so as to produce a guide - license permitting discussion ofc - but pushing stuff back into the official build sounds far better for everybody concerned.
#15
08/02/2009 (9:17 am)
Just saw some posts on the Apple iPhone developer forums about people being rejected for using OpenFeint. Reason? According to Apple, people "may be subjected to mature content". Guess you could be rejected for any scoreboard showing various animals.

So the reviewers wanted ratings to be 17+ for OpenFeint apps.
#16
08/02/2009 (9:40 am)
@Ronny -- I actually got an email from the OpenFeint developers regarding games being rejected by Apple for mature content. Turns out it the was the chatrooms getting too rowdy, hence "mature content" slipping through. OpenFeint moderates their chatrooms and hands out regular bans, but I guess they can't be in all places at all times, and people can get pretty crafty when it comes to walking around word filters.
#17
08/02/2009 (4:07 pm)
Actually the problems with the chat was not OpenFeint devs directly (although they are in touch with Apple on the issue) not beeing there all the times but developers using outdated OpenFeint versions that allowed them to mess it.
Thats why the old OpenFeint versions will be locked out by mid of August and I think they will do that in the future everytime they have at least a minor (2.0 -> 2.1 and alike) to ensure that all games are either current OpenFeint or at least no longer able to harm the platforms reputation.

If you disable chat you won't have problems. If you enable it, then ensure to mark it right. There is a corresponding page for OpenFeint that explains both paths.
#18
08/02/2009 (9:40 pm)
i say "tomaytoe", you say "tomahtoe"
#19
08/02/2009 (9:53 pm)
I say BLT.
#20
08/02/2009 (10:09 pm)
replace the "B" with pastrami, and we have a deal
Page «Previous 1 2 3 4 5 Last »