GLBasic forum

Codesnippets => Userlibs [ *.gbal] => Topic started by: trucidare on 2010-Feb-01

Title: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-01
Hi There,

Now time for OpenFeint :)

1. Download the Xcode.rar file.
2. Unrar it
3. Go to X:/Program Files/GLBasic/Compiler/platform/iPhone
4. Rename XCode folder to XCode - Non OF
5. Copy the unrared XCode folder to X:/Program Files/GLBasic/Compiler/platform/iPhone
6. Run GLBasic
7. Open your Project
8. Add following OpenFeint.gbas to your Project
9. Write your Game
10. add the functions declared in 8 to your game
11. Compile
12. Copy to mac
13. Compile Xcode Project with XCode
14 Be happy

for questions answer in this thread.

Known Issues

-> table content in OpenFeint are slow, hope for a quick solution but not sure how. (tab and wait after some time it will click with row) - solved
-> Slowdown after some playing some level. (thanks Kittie for finding the bug) Working on solution. - thanks kittie for solving.

Download Link -> http://www.davis.org.au/trucidare/XCode.rar
(Thanks to Hatanostick for Hosting)

Some Infos:

-> OpenFeint Version 2.4.3
-> libGLBOpenFeint.a Version 1.5
-> Wrapper Version 1.2

Post you Problems, Questions or Requests.




[attachment deleted by admin]
Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-Feb-01
trucidare: Can't you make the thing, so we can download the SDK sperately from the OF server and make the GLBasic specific package smaller?
Would be easer to update OF then, too...
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-01
Update OpenFeint is only copy new OpenFeint into XCode->Glbasic->OpenFeint
Then OpenFeint is the newest.

I can remove OpenFeint from XCode project but you must add it by yourselfe.
Title: Re: [iPhone] OpenFeint
Post by: Mindfield on 2010-Feb-01
Sweet!  So, is there any documentation on how to use it for n00bs?
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-01
Read the first post. 14 Steps to luck :D
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-01
Hi there,

Awesome work! I was looking for that some time ago, I will try on my next project.

King Regards, fjsantos.

Title: Re: [iPhone] OpenFeint
Post by: Mindfield on 2010-Feb-01
Read the first post. 14 Steps to luck :D

Well, that part I got, I meant more how to use it within the game -- how to trigger achievements, post high scores, that sort of thing.
Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-Feb-01
See the functions it exports (I'll make a GBAS wrapper for convenience). It's very easy. You just set up a score table or an achievement, then trigger the GLB_Of_UnlockAchievement(my_id). Totally trivial.

Use at your own risk and give us feedback, helping to improve it.

SEE ATTACHEMENT

[attachment deleted by admin]
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-01
Nice, i didnt know that preprocessors are working.
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-01
Hi there,

I am testing OpenFeint (very insteresting), and trying imagine how to works.
I have a few question about the use of the differents commands, so i tell you how i am trying to use and please correct me when wrong.

- At the first of my app, i use GLB_Of_Init, with parameters (third parameter is the name of the app?).
- When i want to use OpenFeint i use GLB_Of_ShowDashboard() then I do a while .. wend loop while GLB_Of_isDashboardClosed() is 0.
- What's the purpose of GLB_Of_isOnline(), check if user in OpenFeint online?
- I can imagine the other commands what are used for.

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: codegit on 2010-Feb-02
This is just AWESOME. Thank you!!  :)
Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-Feb-02
The "GLB_Of_IsOnline" checks if you're connected. I use that to disable the "OpenFeint" menu button.

ShowDashboard shows the thing. Yes, you oughta IDLE here. We should make that in the library so it's easier to use. But you could fade your screen out while it fades in...
Title: Re: [iPhone] OpenFeint
Post by: Mindfield on 2010-Feb-03
See the functions it exports (I'll make a GBAS wrapper for convenience). It's very easy. You just set up a score table or an achievement, then trigger the GLB_Of_UnlockAchievement(my_id). Totally trivial.

Use at your own risk and give us feedback, helping to improve it.

SEE ATTACHEMENT

Awesome!  This looks like a piece of cake.  Well, it will be when I get the language down, but I can wrap my head around this quite easily.  Nice.  I was hoping to have OF support out of the gate for my first game. :)
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-04
Hi There,

I was testing OpenFeint last days to include with my next project 'Defeat the Darkness' and i have found the following:

- I noticed some slowdowns after open OpenFeint (from 60 fps to 30 - 40), as trucidare posted.
- I noticed that horizontal resolution for OpenFeint doesn't work ('Defeat the Darkness' is an horizontal game, but when OpenFeint opens, do in Vertical mode). Is there anyway to change orientation?

And as a extra question, i wonder if we can update the OpenFeint version and how?

Thanks in advance.

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-04
Orientation come with update.
Slowdown issue not found yet :( i´m working on it and next update fix both

Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-04
Thanks for the fast reply.

Your work is really amazing!

I hope you can find the issue and don't give you so much headache; i will continue testing while coding my next app and will wait for the next update.

Great work!

King Regards, fjsantos.

Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-05
Hey Folk,

because the SlowMo Bug and some other issues i decided to kill OpenFeint and add AGON support. Agon works like a charm, no speed issues after closing. Hope for a release tomorrow. functions are the same but compiles faster and is easier to add Leadboards and co to your game.

Hope you follow me to agon

thanks
trucidare
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-05
Hi trucidare,

I will follow to AGON, i don't know AGON personally but if works better than OpenFeint for glbasic and have similar features, it's fine for me :D.
Have you any xcode project to begin testing agon for glbasic?

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-05
Working on it, its only another xcode project and a changed wrapper gbas. nothing more. after add your game to agon developer dashboard you must download a bundle file. just input in resource folder of the xcode project compile and go. no slowmo bugs anymore. :)
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-05
Hi trucidare,

Thanks for the information about how AGON works!
I have just sign up on AGON, and create my first App from there. It's seem to be really similar to OpenFeint, with leaderboards and achievements.
I will wait for the xcode project and wrapper to start testing.

Thanks for share your amazing work trucidare.

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-Feb-06
I also sent a request for Crystal SDK. The more the better ;)
No, honestly, AGON would be really cool, though I'm missing that you can browse games your friends played w/o leaving to the app store.
Also, import my twitter friends is not possible so far - just a matter of time I think.

Try the free game "Atoms" to see AGON in action. (My profile is "GLBasic", of course),
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-06
Hi Gernot,

It's seems that nowadays there is a lot of 'social platform gaming' for iPhone. I didn't know of crystal (but seems it's beta now, isn't it?).
Sometime ago, i get a message from 'Florian Heinle' from scoreloop, another 'social platform gaming', i don't know if now, scoreloop is more know or even better.
Maybe the only adventage of OpenFeint over the rest, is that its more know for the people (well, at least by now).
I have downloaded Atom to see AGON in action, it's seems as good as OpenFeint, at least in functionality (it has scores and awards which is the added value for any 'social gaming').

(I have added you as friend on Atom).

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-06
Hey,

some updates.

- Lib is done so far.
- found a bug in AGON, hope for fast fix (first time opening dashboard works, a second time it crashes. found its a selector thats name is unknown, called after user data loaded and cached)
- XCode project is in work.
- some new commands like AGN_StartGameSession() and ..End.. for set GameSessions. U need this for earning awards.

ok must go now, birthday... :/

cya
trucidare
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-06
Hi Trucidare,

Wow, how fast!

I hope you can fix the bug.
It's seem AGON has a little more commands that OpenFeint, but is easy as it which is great.
If you think i can help you anyway, please don't hesitate to contact me. (for testing beta or anything but I fear that I am not good using xcode as you).

Have you a nice afternoon in the birthday.

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-06
The bug is not mine ;)

Yep has some more commands, but so you can "pause" agon in menus or something else and only set active in game session.

if the xcode project is fully ready you get an example and you can test.

now i have to implement the "you earned a award" sheet.

thanks
trucidare
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-06
Hi trucidare,

Very interesting that AGON can be paused anytime and anywhere.
I wonder how much people actually are using AGON?

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-07
I found a 'social gaming' platform comparission, it's seem interesting.

http://cavalcadegames.com/blog/iphone/social-platforms-revisited/

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-07
Ok thread closed -> see here for Agon -> http://www.glbasic.com/forum/index.php?topic=4162.0 (http://www.glbasic.com/forum/index.php?topic=4162.0)
Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-Feb-16
http://openfeint.com/developers/forum/showthread.php?26-Huge-performance-impact-after-dashboard-close (http://openfeint.com/developers/forum/showthread.php?26-Huge-performance-impact-after-dashboard-close)
Posted a ticket on OpenFeint forums.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-16
I will post it to agon too
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-16
Really great Gernot!

I hope get some lucky and they help to fix the problem. It will be a great tool to use with glbasic!

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-16
Hi there,

I get response from OpenFeint requesting more technical information; Gernot I redirected them to your ticket on forums, where they can find all technical information they may need.

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-17
There is an answer in ticket thread.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-19
Updated first post - Slowmo Bug is gone, kittie have to update glbasic. Same thing todo described in first post.
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Feb-19
Great news, changing plans from Scoreloop to OpenFeint...:)
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-19
Sorry, corrected the OpenFeint.gbas download :/ updated functionname.
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-19
Great news!

I will test inmmediatelly!

Thanks for share all the work!

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-19
Hi trucidare,

I wonder about the use of last parameter of GLB_OF_CreateOpenFeint, parameter: int mode.

Thanks in advance,

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-19
is for landscape (1) or portrait mode (2)
hope i used the right landscape mode for glbasic.
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-19
Wow great! I will try inmmediately and post results!

Great work trucidare and Thanks for sharing!

King Regards, fjsantos.

Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-19
Hi Trucidare,

All is working properly now!
The slowdown issue is gone, and the landscape mode is working on the right way.

I will do more testing right now, but all its seems to work like a charm!

Great work Trucidare!

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-19
all thanks to Kittie, he made glbasic working in a thread
Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-Feb-20
Uhm... If he says it's gone now, it also gone without my thread solution. But I'll release anyway, because it gives a speed boost.
Title: Re: [iPhone] OpenFeint
Post by: codegit on 2010-Feb-20
Kitty and Trucidare....YOU GUYS ROCK MAN!!!!  :good:
Title: Re: [iPhone] OpenFeint
Post by: codegit on 2010-Feb-20
Trucidare, is it now possible to complete the iPhone GUI controls, since the slowmo bug is fixed?  ;)
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-20
it is, is on todo right after mac ide. but holidays ended yesterday. so next week i have to work

i have a look everytime a have nothing to do.
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-20
Thanks to Gernot too (he is always on the wave!).

It's seems it's running properly (I did more testing) and works! Only I have noticed a little drop of frames 1 second inmmediately after closing (I think its something perfectly normal).
I will start to implement to my games (old ones and news).
Must I wait for the 'thread' update on GLBasic?

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Feb-21
Hi There,

Does anybody have any small tutorial about this? I can see there are a few functions in it but I'm not sure how frequent and usage in any part of the game will cause any problem or not?

Thanks in advance...

Özden
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-21
the first lines of your game have to be GLB_OF_Init() and GLB_OF_CreateOpenFeint(..); after that you can use the functions everytime you need to use it.

thats all. Dont forget to add your game in openfeint developer dashboard, after that you get leadboard IDs and award IDs.
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Feb-21
Thank you for your response...

You mentioned a function called " GLB_OF_Init()" but I don't see it in the gbas file? Am I missing something?
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-21
if its missing its ok, i make init in the create function too.
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Feb-21
Thanks again...

I'm now in the process of integration and will let you know how it goes..

Cheers
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Feb-21
OK, I'm getting an error in here stating that "MapKit not found". I'm building for 2.2.1 and OpenFeint requires MapKit and UIKit to be referenced as weak to compile under this version, which I already did.

What might be wrong?
Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-Feb-22
OF requires 3.0 or later!
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Feb-22
I know, but you can weak reference to MapKit and UIKit to get the game work in 2.2.1, which I did, but I still get the error, might be something about the new xcode project type for openfeint?
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-22
Hi there,

I have the following scenery:

- My old games are build using '2.2.1' to reach all possible customers.

I wonder if i do an update with OpenFeint using build 3.0, customer with firmware minor than 3.0 can be download the update (my worries here are than Applications stop working cause the firmware, i don't know if Apple don't let download App to firmwares minor than 3.0).

Anyone has tried this?

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-22
Turn MapKit.framework to weak - so it wouldnt output any errors in 2.2.1
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-22
Hi trucidare,

I tried to weak link 'UIKit.framework' and 'MapKit.framework' and I continue getting errors.

Any clue / help on this?

King regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Feb-22
Hi,

I've the same problem in here, still getting error when I weak link those 2 libraries. Also, when I compile against 3.0, my app is recognized different than the older one, antyhign related with the new XCode project template that is provided for OpenFeint?

Özden
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-22
Same here,

I can't change the name using Product Name :S.

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-22
Hi there,

I managed to found a big BUG on OpenFeint (implementation).
When I close application on OpenFeint screen, all seems to work, but the application seems to continue working on a thread. Wen I open the aplication again, random result occurs (black screen, immediately Open the App in the same screen i close, or simply crash).
I have to wait a bit and reopen application and it's work (maybe OS shut down the thread in a minute or so).

And other glitch i have found is the music; when open OF, its stop (as expected), but when I close OF, its take to long to get the music playing again.

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-22
only MapKit framework, UIKit is necessary.
You can rename your project. i have 2 different app on ipod with same xcode project. No problem here.
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-22
Hi trucidare,

I wonder for the 'OpenFeint continues open when i close' problem, if it be possible to create a command to close OF.
So I can call the command on GLB_ON_QUIT and close for sure OF.

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-22
what you mean with open? The session would be killed after closing your program
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-22
Well, its seems that OF session remains opens after close the program.
I have tested and if I close my App on OF screen, it reamins somewhat opens.

Steps to get this behaviour:

1. Open App.
2. Open OF.
3. Close the App in OF screen.
4. Open App Again.

If you follow this steps you will find that aplications don't open properly.
If you try to open App after a while, it will open correctly.

Its seems that OF remains open after closing App, but its killed by OS in a few minutes after.

Very strange.

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-23
Mmmm very Strange,

I tried to implement in other App, and it's seems to work properly  :blink:

I will take a look on my other App.

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Feb-23
Ok, here's the response from OpenFeint guys :

Please try setting the active target to 3.1.3 or 3.1.2 (upper left pull down menu in project window).  If you want to support old devices just set the deployment target in build settings to include OS 2.2.1.

So it seems that we should not target to 2.2.1 directly but instead set the deployment target.

Özden
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-23
Works here too. Its your test app fsantjosb

sorry guys the weak set solution was for agon :/
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-23
Yep, its 'seem working well on my other project (very strange).

A little question, I tried to change the name of the App (currently is OF-Test), I tried on 'Product Name', but altought change the name of the build, not change the name of the App once i Upload to iPod / iPhone. How I can do that?

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-23
in Info.plist you can set the AppName. Bundle-Display-Name i think.
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Feb-23
Thanks very much trucidare!

It's was exactly the place to change.

Thank for sharing and for continuous helping!

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Feb-24
Trucidare,

I want to thank you for providing this nice OpenFeint wrapper. I posted my game update with OpenFeint integration now and  integrated it into the Lite version as well.

Thanks again... ;)
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Feb-24
no problem really. Have fun with it :)
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Mar-02
Hi,

I've one problem in here now. Since I integrated OpenFeint, when my game is played online, meaning OpenFeint has connected to it's servers, responsiveness of my game decreased a lot to nearly an unplayable level. I would like to ask whether this is something to do with the GLBasic wrapper or is something to do with OpenFeint in general?

Thanks,

Özden
Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-Mar-02
Did you use the latest wrapper? That problem is already solved.
When OF displays a message, the game slows down, yes. But after the message is gone, everything should be Ok.
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Mar-02
I'm using the lib in xcode and wrapper in the first post of this thread with v2.4.3 OpenFeint. Is there any newer version?
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Mar-02
I seriously think I got the wrong version as if I don't open the openfeint dashboard, everything seems to run fine, could somebody, please, point me to the latest and correct files  :nw:
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Mar-03
in first post there are the latest files, the bug with slowmo(w) after opening the dashboard is gone after the last release.

@kittie: did you released glbasic update with thread lib???

please Ozden wait for kitties answer i think u use your own xcode project so the latest update of my OF wrapper is obsolet.


thanks and sorry for the problems

edit:// thread release is live - please update glbasic to 7.285
Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-Mar-03
The thread fix is out as a live update since... 4 hours or so ;)
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Mar-03
there is your bug ozden. You used your own xcode project and added openfeint manualy - so the thread lib was not in!

update glbasic and your slowmo(w) is gone.
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Mar-03
I've now did manually update to the latest version. (bad side of putting the computer to sleep and continuing later :))

In xcode side, I only add the "liblibOpenFeint.a" that I got from the xcode project in the first thread of this project, is that ok or does it need to be updated as well?
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Mar-03
Hi there,

I have just update to version 7.285. While updating my XCode project was the one i downloaded in the first post (which include OF support).

Now, i am a bit confuse; maybe I have to update using XCode project by default? And if so, What need to do to use OF?

Update: I have noticed 2 new bmps that are copied on XCode folder when build from GLBasic.
They are achiv.bmp, choose.bmp, what new graphics are used for?

Thanks in advance, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Mar-03
There is no need for additional change as far as I see. I recompiled my projects and everything seem to run fine on IPod now...

Thanks again...

Edit : Apart a small glitch, when the openfeint dashboard opens, the music stops and after returning back, it takes 5-10 seconds to resume the music, which I can live for now...
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Mar-03
Hi Özden,

The music problem is normal (well, it was present on the last version too).
What about the glitch?

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Mar-03
Francisco,

About the unresponsiveness, it seems to be fixed and I immediately updated my game with this new version... =D

Özden
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Mar-03
ähm öhm the bmp´s ... delete it in Program Files/GLBasic/Compiler/platform/iPhone/XCode/Glbasic/Media
My sample graphics for porting libs.

Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Mar-03
Hi Özden,

Then it's Fixed now, great!

Trucidare, no problem, deleted :)

Btw: I updated to OF 2.4.4

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Mar-03
yep simply put the new Openfeint folder to project and then its updated
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Mar-03
Hi trucidare,

It's exactly i did!

I would like to notify that i have noticed an overall speed up on my app, what it's great!

Thanks for sharing your work!

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Mar-29
Hi there,

From last update of GLBasic, OpenFeint project doesn't work anymore. I think is anything related to change of 'main.mm' to 'main.m'.

Please, anyone can help?

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Mar-30
Francisco,

Forget the template and build from scratch (refer to Opefeint Readme.txt file on how to do it), it takes a couple of minutes only and I could compile and submit our new game "Birdie In Trouble" without any problem with v2.4.5.

Özden
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Mar-30
Hi Ozden,

Thanks for your reply, but the problem arise when I updated GLBasic to 7.308. (have you compile your new game with this version?).

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Mar-30
Francisco,

Yes, I've the latest version (checked just now) and compiled the game with that version.

Özden
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Mar-30
Hi Ozden,

Then i will try to build from scratch.

Thanks for your help!

King Regards, fjsantos.

pd-> It looks great your new game!!
Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Mar-30
You're welcome, let me know if you need any help on it...

Glad you liked the new game "Birdie In Trouble", seen it's video?

Özden
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Mar-30
you can build own xcode projects just import openfein folder and the lib i created and add prefix in prefix.pch

my template was only a easy to use solution. you can simply backup libGLBasiciPhone-egl.a copy the template described in first post and then overwrite the  libGLBasiciPhone-egl.a with your back uped one and all is done.

Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Mar-30
Hi there,

I am not tried to compiled yet, but thanks for your help Ozden. Yep i saw the video of 'Bridie in trouble' and it's seems very playable!

Thanks for your continuous helping trucidare, i will try from scratch following instructions.

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: fjsantosb on 2010-Mar-30
Hi there,

I have managed to build iPhone OpenFeint enabled App from scratch, it was kinda easy following instructions on OpenFeint readme and adding OpenFeint trucidare lib.

Thanks for helping!

King Regards, fjsantos.
Title: Re: [iPhone] OpenFeint
Post by: jaywat on 2010-Mar-31
@trucidare,

I've been playing with Openfeint using your lib, and got it working with Openfeint 2.4.5, which is very cool, thankyou!

Is the OpenFeint.gbas a complete list of all the calls supported by your library?

What I'd really, really like is support for 'Downloading leaderboard data for custom display' as detailed here: http://www.openfeint.com/developers/support/index.php/kb/article/000028

The game has a lot of gameplay variants and each has a high score table, and it's very cumbersome for a player to have to scroll through pages of score tables from the Openfeint Dashboard, all the while trying to remember which table they want to compare! So I'd like to be able to download and show them the world leaderboard at game end, instead.

Would this be possible to include in your library, and as a similarly accessible function in your gbas? If so, would you consider it? pretty please? with sugar on top? :)
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Mar-31
cant say it yet... have to speak to kittie how convert nsmutable array to dgstr or dgarray for easy use in glbasic.

but noticed this
Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-Apr-06
That should be pretty easy.

void GetArray(DGStrArray& array)
{
REDIM(array, 0); // Clean all elements
For each element in an array
   const char* pChar = GetTheASCII_Version_of_the_element();
   DIMPUSH(array, DGStr(pChar) );
Next
}
Title: Re: [iPhone] OpenFeint
Post by: mykyl66 on 2010-Apr-06
Hopefully your right Kitty. Would be good to have this.

Cheers

Mike
Title: Re: [iPhone] OpenFeint
Post by: Dark Schneider on 2010-May-05
Hi, I'd like to know if there is a way to detect if dashboard is visible to pause the game, for example if the user touchs at the new achievement unlocked.
Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-May-05
The game is auto-paused with the dashboard visible.
Title: Re: [iPhone] OpenFeint
Post by: Dark Schneider on 2010-May-06
OK, then the right term would be "auto-locked", but I think it is locked when dashboard is completely shown, my game is an action one, and when I touch to show the achievement unlocked, see it, and return to game, I lose "something" in the process. I say it because I accumulate some MISS (that is when you lose a target out of the screen).

IMO it would be a good idea to "lock" the game just when begin to show the dashboard and "unlock" after a second or two that it hides completely, if possible.

But, as achievements are not something you unlock so many times surely it is not priority.

I am compiling with the OpenFeint 2.4.5 instead with the one included in the lib.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-May-06
if you are using my lib the dashboard will stop the game.
Title: Re: [iPhone] OpenFeint
Post by: kaotiklabs on 2010-Jul-02
Hi,

I´m having problems compiling openfeint over xcode 3.2 :rant:

I´m building for arm6 only.
I´m using latest version of Openfeint version (trying to build using the openfeint readme) and I´m rewriting libglbasiciphone-egl.a with the correspondent trucidare version.

I´m receiving the next error:

Code: GLBasic [Select]
Ld build/Release-iphoneos/DefConZ.app/DefConZ normal armv6
cd "/Users/xau/Desktop/DefConZ 1.1 OF/XCode/GLBasic"
setenv IPHONEOS_DEPLOYMENT_TARGET 3.0
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk "-L/Users/xau/Desktop/DefConZ 1.1 OF/XCode/GLBasic/build/Release-iphoneos" "-L/Users/xau/Desktop/DefConZ 1.1 OF/XCode/GLBasic/Lib" "-L/Users/xau/Desktop/DefConZ 1.1 OF/XCode/GLBasic" "-F/Users/xau/Desktop/DefConZ 1.1 OF/XCode/GLBasic/build/Release-iphoneos" -filelist "/Users/xau/Desktop/DefConZ 1.1 OF/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/DefConZ.LinkFileList" -dead_strip -lstdc++ -miphoneos-version-min=3.0 -framework Foundation -weak_framework UIKit -framework OpenGLES -framework QuartzCore -framework AudioToolbox -framework CoreLocation -framework OpenAL -lpng-gf -lPROGRAM -framework MediaPlayer -framework CoreGraphics -framework Security -framework SystemConfiguration -lsqlite3.0 -framework CFNetwork -weak_framework MapKit -lGLBasiciPhone-egl -o "/Users/xau/Desktop/DefConZ 1.1 OF/XCode/GLBasic/build/Release-iphoneos/DefConZ.app/DefConZ"

Undefined symbols:
  "_GLB_OF_ShowDashboard", referenced from:
      __GLBASIC__::ShowOpenFeint()       in libPROGRAM.a(gpc_tempf.o)
  "__GLBASIC__::FIXDIM(__GLBASIC__::DGIntArray&, int, int, int, int)", referenced from:
      __GLBASIC__::tSHOT::tSHOT() in libPROGRAM.a(gpc_tempg.o)
      __GLBASIC__::tSHOT::tSHOT() in libPROGRAM.a(gpc_tempg.o)
      __GLBASIC__::tSHOT::tSHOT() in libPROGRAM.a(gpc_tempg.o)
      __GLBASIC__::tSHOT::tSHOT() in libPROGRAM.a(gpc_tempg.o)
      __GLBASIC__::tSHOT::tSHOT() in libPROGRAM.a(gpc_tempg.o)
      __GLBASIC__::tSHOT::tSHOT() in libPROGRAM.a(gpc_tempg.o)
      __GLBASIC__::tSHOT::tSHOT() in libPROGRAM.a(gpc_tempg.o)
  "_GLB_OF_CreateOpenFeint", referenced from:
      __GLBASIC__::StartOpenfeint()       in libPROGRAM.a(gpc_tempf.o)
  "_GLB_OF_Achive", referenced from:
      __GLBASIC__::AchvOpenFeint(__GLBASIC__::DGStr)in libPROGRAM.a(gpc_tempf.o)
  "__GLBASIC__::FIXDIM(__GLBASIC__::DGNatArray&, int, int, int, int)", referenced from:
      __GLBASIC__::tSHOT::tSHOT() in libPROGRAM.a(gpc_tempg.o)
      __GLBASIC__::tSHOT::tSHOT() in libPROGRAM.a(gpc_tempg.o)
      __static_initialization_and_destruction_0(int, int)in libPROGRAM.a(gpc_tempg.o)
      __static_initialization_and_destruction_0(int, int)in libPROGRAM.a(gpc_tempg.o)
      __static_initialization_and_destruction_0(int, int)in libPROGRAM.a(gpc_tempg.o)
      __static_initialization_and_destruction_0(int, int)in libPROGRAM.a(gpc_tempg.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

I´ve trying all day but I´m not getting nothing.  :(
any hint?
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Jul-02
hm linker errors from 2 diffrent libs. think you have an old lib from gernot and forgot to add my openfeint lib.

Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-Jul-02
Oh, is that the beta? It doesn't find FIXDIM with is very bad.
Title: Re: [iPhone] OpenFeint
Post by: kaotiklabs on 2010-Jul-02
No, is the latest stable version, not the beta.

I´m just using the template in the first post, and including the corresponding OpenFeint.gbas in my project.
Inside my project I´m calling GLB_OF_CreateOpenFeint(key$, secret$, displayName$, mode) and GLB_OF_ShowDashboard() when a button is pressed.
In Xcode 3.2.2 I´m just changing the bundle identifier and compiling under Device 3.0 - Release, nothing more.

maybe I´m missing something?

Title: Re: [iPhone] OpenFeint
Post by: kaotiklabs on 2010-Jul-02
I´ve also tested with v8 beta and I´m obtaining the same results, errors with FIXDIM.

I have even try to build openfeint myself with same results.
Please, any clue? I´m totally stacked!  :rant:
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Jul-02
ok i think i know whats the error.
i think you installed glbasic then copied the xcode folder described in first post.

so the error is i think you have overwritten the new libGLBasic-egl.a with the one out of my xcode project. So you have an old one.

ok what now?:

reinstall glbasic and copy all out of my openfeint archiv but not the LIB Folder.

After that all is working i hope
Title: Re: [iPhone] OpenFeint
Post by: kaotiklabs on 2010-Jul-02
Thanks Trucidare, you got it!!!
Now the app builds without errors.

Another problem has arised later.
Nothing from OF is beeing shown on the app an I got a leak on the debug console, so I believe I´m not calling the functions correctly.

I´m using this syntax for initialization:
GLB_OF_CreateOpenFeint("keyhere", "secrethere", "appnamehere", 1)

And I´m showing the dashboard with GLB_OF_ShowDashboard when a button is pressed.

Is this OK?

I´m using the wrapper from the first post.

Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Jul-02
GLB_OF_CreateOpenFeint("keyhere", "secrethere", "appnamehere", 1)
 somethere at the start, you need to register on openfeint and get key and secret to work.

after init you will see dashboard and other things
Title: Re: [iPhone] OpenFeint
Post by: kaotiklabs on 2010-Jul-02
I´m registered.
Just didn´t want to post my keys here :p


is enough with a GLB_OF_CreateOpenFeint and a GLB_OF_ShowDashboard or should I call any other thing too?
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Jul-02
hmm i dont know, long time ago.

is there an _OF_Init function? call it.
then Create and then only once / pressing button showDasshboard
Title: Re: [iPhone] OpenFeint
Post by: kaotiklabs on 2010-Jul-03
Finally got it working!  =D
Many thanks or your help trucidare! All was fine, bug was found in front of the screen hehehe.

I should sleep a bit more often...
Title: Re: [iPhone] OpenFeint
Post by: Nobiag on 2010-Aug-13
hi,
i just tried to implement openfeint into my game and at first it seemed to work. When i just use the GLB_OF_CreateOpenFeint() function i see the openfeint login screen. But as soon as i use the GLB_OF_HighScore() function in my game i get the following error in xcode:

(http://250kb.de/u/100813/p/DjzJwVKd4r7u.png)
Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-Aug-13
you must build for ARMV6 only - there's a flag "only build for target architecture" or so...
Hiro must fix that!!
Title: Re: [iPhone] OpenFeint
Post by: Nobiag on 2010-Aug-13
thx, now i at least get the app on the device again :)
I also get the OF Login Screen the first time i start the app and i get the "new highscore message. But everytime i use the GLB_OF_ShowDashboard() function the app crashes.
Now i've got a few questions:

1. I use setcurrentdir("Media") in my code. Does that in any way interfere with the Openfeint functions?
2. What is the difference with using the armv6 settings? Can i just use this setting always or does it have any disadvantages?
3. On the Openfeint Developer Site is an offline settings xml file that seems to be updated whenever i change settings on the openfeint site. Is there offline support in this GLB_OF Stuff or do i have to implement this file from the Openfeint site?

Title: Re: [iPhone] OpenFeint
Post by: blackway on 2010-Aug-31
I was using Openfeint under GLBasic 7.xxx .  I'm using the xcode's project from the first post and I use the lastest libGLBasiciPhone-egl.a and libpng-gf.a and runs perfect!
Now I have installed 8.085 and Openfeint isn't running anymore. After I call GLB_OF_CreateOpenFeint(blablabla) and the Openfeint screen appears the application shutdown.  To see what happens I build and run in debug mode and this is from the console:
Code: GLBasic [Select]
Running…
[Switching to thread 11779]
[Switching to thread 11779]
sharedlibrary apply-load-rules all
continue
warning: Unable to read symbols for "/Library/MobileSubstrate/MobileSubstrate.dylib" (file not found).
2010-08-30 23:03:59.503 iPhone[1981:207] MS:Notice: Installing: com.glbasic.GLPaint [iPhone] (478.52)
2010-08-30 23:03:59.871 iPhone[1981:207] MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Activator.dylib
warning: Unable to read symbols for "/Library/MobileSubstrate/DynamicLibraries/Activator.dylib" (file not found).
2010-08-30 23:04:00.072 iPhone[1981:207] MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Backgrounder.dylib
warning: Unable to read symbols for "/Library/MobileSubstrate/DynamicLibraries/Backgrounder.dylib" (file not found).
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2 (7D11)/Symbols/usr/lib/libsubstrate.dylib" (file not found).
-applicationDidBecomeActive    -> unpause
backing: 320 x 480
Init GFX
Init Finalized
2010-08-30 23:04:06.302 iPhone[1981:207] Using OpenFeint version 2032010.https://api.openfeint.com/
GLB Error: 9
Shut down GLB
glb is shut down
GLB Error: 9

Debugger stopped.
Program exited with status value:0.


I'm using Iphone 3.2 SDK and my OS is 3.1.2 in my IPOD TOUCH ...    Do I need IOS 4.0 SDK and 4.0 operating system installed in my Ipod Touch???
Is the problem with multitasking because the glbasic app lose focus when openfeint start???

Thanks!!

Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Aug-31
um no... someone in the forum had error 9 some weeks ago... kitty?
its not a bug of openFeint so i cant help yet, you will have to wait for kitty.

sorry
Title: Re: [iPhone] OpenFeint
Post by: blackway on 2010-Aug-31
Thanks Trucidare for your reply.
Yes, I have to wait for Kitty to know what can be the problem, but is something related with GlBasic's update  to 8.085
Anybody are running Openfeint under 8.085 ???
Bye!
Title: Re: [iPhone] OpenFeint
Post by: backslider on 2010-Aug-31
Hi guys,

I was the person who had GLB Error: 9 Trucidare  =D
Then Kitty told me i should use STDOUT "position in game like loading graphics" (output->debugging console in xcode)

In my case I tried to dim my mouse-array with 5 (DIM mouse[5]) and the GETMOUSECOUNT() in the for loop (for i=0 to getmousecount()-1) was bigger than 5 :D
So I overloaded the array and bam -> crash!

Maybe you have the same problem?!
Title: Re: [iPhone] OpenFeint
Post by: blackway on 2010-Aug-31
I'm at work now but I feel that's the same problem because now GLBasic support up to 16 mousecount...
I forgot that !  :-[
Thanks to all!

Title: Re: [iPhone] OpenFeint
Post by: Ozden79 on 2010-Oct-02
Any update to the library for the latest version, which has GameCenter support as well? I ask this as in the latest OpenFeint, achievement unlocking function has been changed...

Thanks...
Title: Re: [iPhone] OpenFeint
Post by: blackway on 2010-Oct-10
An update to latest version will be great !!....

Meanwhile I have a question/problem...
I was using Openfeint SDK that comes with the file in the first post (the file that include de xcode project template) and I compile and run my game without problems.... until now... I upgrade to IOS SDK 4.1 and after compile using 4.1 SDK and I try to run my game in the moment that openfeint try to show the "Bla bla bla, welcome back" my game freezes and a get a lot of text from the debug console (the last two lines are:   "terminate called after throwing an instance of 'NSException'" Program received signal: "SIGABRT"
Anybody are running Openfeint after building for 4.1 SDK??  If I need another sdk version of Openfeint where I can get it??? Openfeint website only have the latest SDK version..
Thanks to all !!!
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Oct-12
wow thats awesome - how we get all infos about your crash with one line?
Title: Re: [iPhone] OpenFeint
Post by: blackway on 2010-Oct-12
 :-[
Sorry trucidare, you are right :(
Im at work now,  I'll post the complete crash info tonigth...
Thank you...
Title: Re: [iPhone] OpenFeint
Post by: blackway on 2010-Oct-13
This is what I get in the moment when Openfeint should start with "Bla bla bla, welcome back...."

Code: GLBasic [Select]
[Session started at 2010-10-12 22:44:05 -0300.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Thu Aug  5 05:54:10 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys000
Loading program into debugger…
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-138-24
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
run
Running…
[Switching to thread 11523]
[Switching to thread 11523]
sharedlibrary apply-load-rules all
continue
2010-10-12 22:46:06.105 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50ab20 of class NSConcreteValue autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.117 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50ae80 of class NSConcreteValue autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.121 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50bd80 of class NSConcreteValue autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.131 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50cd10 of class CADisplayMode autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.136 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50cea0 of class UIScreenMode autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.144 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50ee20 of class CADisplayMode autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.149 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x504980 of class UIScreenMode autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.154 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50f4b0 of class __NSCFSet autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.159 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50fbe0 of class __NSCFSet autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.163 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50fdc0 of class __NSCFSet autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.187 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x515260 of class NSPathStore2 autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.194 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x5154d0 of class NSPathStore2 autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.200 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x514dd0 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.205 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x515410 of class NSURL autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.210 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x3e97ef7c of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.214 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x3e97ef7c of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.219 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x515720 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.224 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x515590 of class __NSArrayM autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.229 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x5156a0 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.234 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x5156c0 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.238 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x5156d0 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.242 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x515780 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.247 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x515840 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.252 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x5157c0 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.258 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x515970 of class NSCFString autoreleased with no pool in place - just leaking
-applicationDidBecomeActive    -> unpause
backing: 320 x 480
Init GFX
AudioStreamBasicDescription:  2 ch,  44100 Hz, 'lpcm' (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved
Init Finalized
2010-10-12 22:46:08.951 libOFTest[1260:307] *** Terminating app due to uncaught exception &#39;NSInternalInconsistencyException&#39;, reason: &#39;Could not load NIB in bundle: &#39;NSBundle </var/mobile/Applications/135FB051-4284-42BE-9127-AFDBA69F25EA/libOFTest.app> (loaded)&#39; with name &#39;RootControllerLandscapeOf&#39;&#39;
*** Call stack at first throw:
(
        0   CoreFoundation                      0x33506ed3 __exceptionPreprocess + 114
        1   libobjc.A.dylib                     0x30412811 objc_exception_throw + 24
        2   CoreFoundation                      0x33506d15 +[NSException raise:format:arguments:] + 68
        3   CoreFoundation                      0x33506d4f +[NSException raise:format:] + 34
        4   UIKit                               0x343a60d3 -[UINib instantiateWithOwner:options:] + 1110
        5   UIKit                               0x343a7489 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 92
        6   libOFTest                           0x000687b8 _Z17loadObjectFromNibI16UIViewControllerEPT_P8NSStringP11objc_object + 84
        7   libOFTest                           0x00068c50 _ZL17tryLoadControllerP8NSStringP8NSObjectS0_S0_ + 108
        8   libOFTest                           0x00026430 +[OpenFeint(Private) tryCreateDashboardWithModal:] + 168
        9   libOFTest                           0x00028590 +[OpenFeint(Private) presentRootControllerWithModal:] + 68
        10  libOFTest                           0x0002cf20 +[OpenFeint presentUserFeintApprovalModal:deniedDelegate:] + 240
        11  libOFTest                           0x00026ebc +[OpenFeint(Private) doBootstrap:userId:onSuccess:onFailure:] + 468
        12  libOFTest                           0x0002c9fc +[OpenFeint initializeWithProductKey:andSecret:andDisplayName:andSettings:andDelegates:] + 2072
        13  libOFTest                           0x00232a0d -[myBest GLB_OF_Create] + 444
        14  CoreFoundation                      0x334a52eb -[NSObject(NSObject) performSelector:withObject:] + 22
        15  Foundation                          0x302b4825 __NSThreadPerformPerform + 268
        16  CoreFoundation                      0x334bcf25 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
        17  CoreFoundation                      0x3348eba7 __CFRunLoopDoSources0 + 382
        18  CoreFoundation                      0x3348e44b __CFRunLoopRun + 230
        19  CoreFoundation                      0x3348e277 CFRunLoopRunSpecific + 230
        20  CoreFoundation                      0x3348e17f CFRunLoopRunInMode + 58
        21  GraphicsServices                    0x31b5e5f3 GSEventRunModal + 114
        22  GraphicsServices                    0x31b5e69f GSEventRun + 62
        23  UIKit                               0x341bd123 -[UIApplication _run] + 402
        24  UIKit                               0x341bb12f UIApplicationMain + 670
        25  libOFTest                           0x002326dc GLB_iPhone_call_main + 120
        26  libOFTest                           0x0000a770 main + 32
        27  libOFTest                           0x0000a718 start + 52
)
terminate called after throwing an instance of &#39;NSException&#39;
Program received signal:  “SIGABRT”.
(gdb)
 

If I build using 3.2 I can start Openfeint without problems...

Just for reference.... I get 12 warnings while Compile Openfeint stuff (under 3.2 and 4.1)
I never had warnings before when I used to compile using 3.0 SDK.


Thanks to all...
Title: Re: [iPhone] OpenFeint
Post by: blackway on 2010-Oct-13
The 12 warnings:

Code: GLBasic [Select]
Build iPhone of project iPhone with configuration Release

CompileC build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/OFAsyncSocket.o OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m normal armv6 objective-c com.apple.compilers.gcc.4_2
cd /Volumes/Untitled/bb/XCode/GLBasic
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -x objective-c -arch armv6 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk -fvisibility=hidden -gdwarf-2 -miphoneos-version-min=3.0 -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-generated-files.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-own-target-headers.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-all-target-headers.hmap -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-project-headers.hmap -F/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos -I/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos/include -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources/armv6 -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources -include /var/folders/Cl/ClSMSSrSGF0P3e-zKM94Lk+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/iPhone_Prefix-ddgifpxrnqqhlweloeavygdoushm/iPhone_Prefix.pch -c /Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m -o /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/OFAsyncSocket.o

/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m: In function &#39;-[OFAsyncSocket connectToHost:onPort:withTimeout:error:]&#39;:
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m:977: warning: format not a string literal and no format arguments
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m:983: warning: format not a string literal and no format arguments
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m: In function &#39;-[OFAsyncSocket connectToAddress:withTimeout:error:]&#39;:
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m:1025: warning: format not a string literal and no format arguments
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m:1031: warning: format not a string literal and no format arguments

CompileC build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/OFPresenceService.o OpenFeint/api/internal/OpenFeint/Presence/OFPresenceService.mm normal armv6 objective-c++ com.apple.compilers.gcc.4_2
cd /Volumes/Untitled/bb/XCode/GLBasic
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -x objective-c++ -arch armv6 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk -fvisibility=hidden -fvisibility-inlines-hidden -gdwarf-2 -miphoneos-version-min=3.0 -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-generated-files.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-own-target-headers.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-all-target-headers.hmap -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-project-headers.hmap -F/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos -I/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos/include -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources/armv6 -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources -include /var/folders/Cl/ClSMSSrSGF0P3e-zKM94Lk+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/iPhone_Prefix-axpyzookfhpfytdubcbkdenorccs/iPhone_Prefix.pch -c /Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFPresenceService.mm -o /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/OFPresenceService.o

/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFPresenceService.mm: In function &#39;void -[OFPresenceService sendHttpRequest:](OFPresenceService*, objc_selector*, NSString*)&#39;:
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFPresenceService.mm:437: warning: multiple methods named &#39;-start&#39; found
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h:59: warning: using &#39;-(void)start&#39;
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:168: warning: also found &#39;-(UITextPosition *)start&#39;

CompileC build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/FBRequest.o OpenFeint/api/internal/Vendor/FBconnect/FBRequest.m normal armv6 objective-c com.apple.compilers.gcc.4_2
cd /Volumes/Untitled/bb/XCode/GLBasic
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -x objective-c -arch armv6 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk -fvisibility=hidden -gdwarf-2 -miphoneos-version-min=3.0 -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-generated-files.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-own-target-headers.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-all-target-headers.hmap -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-project-headers.hmap -F/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos -I/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos/include -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources/armv6 -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources -include /var/folders/Cl/ClSMSSrSGF0P3e-zKM94Lk+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/iPhone_Prefix-ddgifpxrnqqhlweloeavygdoushm/iPhone_Prefix.pch -c /Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/Vendor/FBconnect/FBRequest.m -o /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/FBRequest.o

/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/Vendor/FBconnect/FBRequest.m: In function &#39;-[FBRequest parseXMLResponse:error:]&#39;:
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/Vendor/FBconnect/FBRequest.m:180: warning: class &#39;FBXMLHandler&#39; does not implement the &#39;NSXMLParserDelegate&#39; protocol

CompileC build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/OFDeadEndErrorController.o OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm normal armv6 objective-c++ com.apple.compilers.gcc.4_2
cd /Volumes/Untitled/bb/XCode/GLBasic
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -x objective-c++ -arch armv6 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk -fvisibility=hidden -fvisibility-inlines-hidden -gdwarf-2 -miphoneos-version-min=3.0 -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-generated-files.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-own-target-headers.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-all-target-headers.hmap -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-project-headers.hmap -F/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos -I/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos/include -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources/armv6 -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources -include /var/folders/Cl/ClSMSSrSGF0P3e-zKM94Lk+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/iPhone_Prefix-axpyzookfhpfytdubcbkdenorccs/iPhone_Prefix.pch -c /Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm -o /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/OFDeadEndErrorController.o

/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm: In function &#39;objc_object* +[OFDeadEndErrorController mustBeOnlineErrorWithMessage:](objc_object*, objc_selector*, NSString*)&#39;:
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm:37: warning: format not a string literal and no format arguments
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm: In function &#39;objc_object* +[OFDeadEndErrorController deadEndErrorWithMessage:](objc_object*, objc_selector*, NSString*)&#39;:
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm:44: warning: format not a string literal and no format arguments
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm: In function &#39;objc_object* +[OFDeadEndErrorController deadEndErrorWithMessageAndOfflineButton:](objc_object*, objc_selector*, NSString*)&#39;:
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm:51: warning: format not a string literal and no format arguments

Ld build/Release-iphoneos/libOFTest.app/libOFTest normal armv6
cd /Volumes/Untitled/bb/XCode/GLBasic
setenv IPHONEOS_DEPLOYMENT_TARGET 3.0
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk -L/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos -L/Volumes/Untitled/bb/XCode/GLBasic/Lib -L/Volumes/Untitled/bb/XCode/GLBasic/../../libOpenFeint/build/Debug-iphoneos -L/Volumes/Untitled/bb/XCode/GLBasic -F/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos -filelist /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/libOFTest.LinkFileList -dead_strip -lstdc++ -miphoneos-version-min=3.0 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework AudioToolbox -framework CoreLocation -framework OpenAL -lpng-gf -lPROGRAM -framework AddressBook -framework CoreGraphics -framework MapKit -framework MediaPlayer -framework MessageUI -framework Security -framework SystemConfiguration -lsqlite3.0 -framework CFNetwork -lGLBasiciPhone-egl -llibOpenFeint -o /Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos/libOFTest.app/libOFTest

ld: warning: directory &#39;/Volumes/Untitled/bb/XCode/GLBasic/../../libOpenFeint/build/Debug-iphoneos&#39; following -L not found

 

I added -ObjC in "other links flags" ... without that I can't compile, I had errors....

Thanks again!
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Oct-13
i think that openfeint changed around 180 degrees. hmm send me your project please.
Title: Re: [iPhone] OpenFeint
Post by: blackway on 2010-Oct-13
Trucidare, thanks for your help!
Im at work Now but i'll post a link to download the xcode project tonight.
Could be that Openfeint 2.4.3 isn't compatible with iOS sdk 4.X ?
I use exactly the xcode template from first post.
Thanks again!
Title: Re: [iPhone] OpenFeint
Post by: blackway on 2010-Oct-14
Ok, I have news!! good news I think  :)
I compile my project using the latest Openfeint SDK  2.7.xxx  and compile ok, the Dashboard runs good, everything fine !!! I didn't test achievements but as Ozden79 said now Openfeint works different (achievements are progressive , lock-unlock no more), so I think that isn't working anymore.
I need 2.6 Openfeint SDK (still have Lock-Unlock achievements), but I don't know where get it....
Anybody can help me??

Ozden??

Trucidare:
The problem is that Openfeint 2.4.3 isn't compatible with IOS 4.xx SDK, I'm think (maybe I'm wrong) that you need Openfeint 2.5 SDK or newer to compile under IOS 4.x

Thanks to all!


Title: Re: [iPhone] OpenFeint
Post by: Dark Schneider on 2010-Dec-02
I have a question, is then the current OpenFeint 2.7.5 usable on GLBasic, and compatible with iOS4?.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Dec-02
if i find the wrapper source i will release it and anyone could compile with new version and new sdk.
Title: Re: [iPhone] OpenFeint
Post by: Dark Schneider on 2010-Dec-03
if i find the wrapper source i will release it and anyone could compile with new version and new sdk.

"Order and method, Hastings"  =D

I think we ITs are not in that way  :D
Title: Re: [iPhone] OpenFeint
Post by: Dark Schneider on 2010-Dec-16
Excuse me, have you found the source?, I'd like very much to take it a look and see if it can works compiling with the lastest SDKs.

Thanks.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Dec-16
come tomorrow (friday) into chat, found the source and i will try to compile to latest sdk - need a tester. from 9.00 am gmt+
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Dec-17
Ok here it is -

the new lib into your xcode project, add the new sdk OpenFeint folder and compile. if you get linker errors add AdressBookUI.framework and GameKit.framework.

have fun

FIXED: working with latest OF and working achivements (they changed the name of the command)

http://rapidshare.com/files/437784580/liblibOpenFeint.a.zip (http://rapidshare.com/files/437784580/liblibOpenFeint.a.zip)
Title: Re: [iPhone] OpenFeint
Post by: backslider on 2010-Dec-17
very nice!

thanks! ;)
Title: Re: [iPhone] OpenFeint
Post by: matchy on 2010-Dec-17
:coke:  :booze:
Title: Re: [iPhone] OpenFeint
Post by: Wampus on 2010-Dec-18
 :happy:

I'll be pleased to test this over the next few days while I work on substantial improvements to PowFish.
Title: Re: [iPhone] OpenFeint
Post by: erico on 2010-Dec-18
powfish?
Title: Re: [iPhone] OpenFeint
Post by: Dark Schneider on 2010-Dec-18
Thank you very much
Title: Re: [iPhone] OpenFeint
Post by: Wampus on 2010-Dec-19
powfish?
A little puzzle game I have been sitting on. I should have concentrated on getting released it on the app store months ago but instead I started 3-4 projects all at once. I uploaded an early Alpha version to the forum here http://www.glbasic.com/forum/index.php?topic=4931.0 (http://www.glbasic.com/forum/index.php?topic=4931.0). Its a lot prettier and more complete now.
Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-Dec-20
  :coke:  :good:
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Dec-20
thanks :)
Title: Re: [iPhone] OpenFeint
Post by: mykyl66 on 2010-Dec-20
Thank you Trucidare for your hard work.

Cheers

Mike
Title: Re: [iPhone] OpenFeint
Post by: blackway on 2010-Dec-20
Thanks Trucidare!  :nw:
I'll try it very soon!!
Can we use GameCenter now?  Can Openfeint handle it ?
Cheers!
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Dec-21
it can, but didnt find out how - it requires gamekit.framework.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Dec-21
oops i have to activate it manually, update comes.
Title: Re: [iPhone] OpenFeint
Post by: Dark Schneider on 2010-Dec-21
If you are going to add Game Center sync, maybe you'd like to see at this:
http://iphonedevelopertips.com/xcode/base-sdk-and-iphone-os-deployment-target-developing-apps-with-the-4-x-sdk-deploying-to-3-x-devices.html (http://iphonedevelopertips.com/xcode/base-sdk-and-iphone-os-deployment-target-developing-apps-with-the-4-x-sdk-deploying-to-3-x-devices.html)
or something like this:
http://www.iphonedevsdk.com/forum/iphone-sdk-development/52101-sdk-4-apps-os-3-1-3-a.html (http://www.iphonedevsdk.com/forum/iphone-sdk-development/52101-sdk-4-apps-os-3-1-3-a.html)

And do it only for iOS 4, if not the code will crash if running on OS 3 devices, see that we must compile now with iOS 4 (Apple doesn't accept others from now), but we can use OS 3 as deployment target so our app can run on OS 3 devices. But these checks are needed.

From now the min deployment target accepted by Apple is the 3.xx, 2.xx is not accepted more.
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Dec-21
gamecenter is available through 4.1 and higher and from iphone 3gs and higher. so target is 4.0 since the update to 4.0 is free.
Title: Re: [iPhone] OpenFeint
Post by: Dark Schneider on 2010-Dec-21
That's right, what I meant is using checks so it doesn't crash on old devices and things like that. There is much people using their classic iPhone or iPod Touch.
Title: Re: [iPhone] OpenFeint
Post by: blackway on 2010-Dec-21
oops i have to activate it manually, update comes.

Cool!!  I'll wait for the update!
Thank you!
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Dec-21
at this moment the wrapper dont use gamecenter - i make it optional for glbasic.
Title: Re: [iPhone] OpenFeint
Post by: Millerszone on 2010-Dec-22
Thanks trucidare!
I'll be using on my next update.
Title: Re: [iPhone] OpenFeint
Post by: Kitty Hello on 2010-Dec-22
Does it mean, that I can't deploy to 3.0?
Title: Re: [iPhone] OpenFeint
Post by: trucidare on 2010-Dec-22
try it, i think it should work but not with gamecenter
Title: Re: [iPhone] OpenFeint
Post by: Dark Schneider on 2010-Dec-23
Does it mean, that I can't deploy to 3.0?

Yes, you can, look at your Apple developer center (you must be logged to see this page):
http://developer.apple.com/devcenter/ios/checklist/ (http://developer.apple.com/devcenter/ios/checklist/)

We read:

Quote
Existing apps in the App Store and those built using iPhone SDK 3.1.3 should already run on iOS 4 without modification. However, you should test your existing apps on a development device running iOS 4 to be certain there aren't any compatibility issues. All new applications and updates to existing applications submitted to the App Store must be built with iPhone SDK 4. iTunes Connect will no longer accept app submissions targeting iOS 2.x. These changes do not affect existing apps on the App Store.

But it says nothing about 3.x version. Take in mind that iOS 4 is not available for iPod Touch 1G and iPhone 2G or earlier, these devices use iOS 3.
Title: Re: [iPhone] OpenFeint
Post by: blackway on 2011-Jan-18
Any news about GameCenter ???
Thanks!
Title: Re: [iPhone] OpenFeint
Post by: blackway on 2011-Jan-22
Hi to all...
After a long time finally I tested this "new" lib and I found that still has memory leaks:
Code: GLBasic [Select]
Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x70a970 of class NSConcreteValue autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x70acd0 of class NSConcreteValue autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x70bbe0 of class NSConcreteValue autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x70cb70 of class CADisplayMode autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x70cd00 of class UIScreenMode autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x70f8f0 of class CADisplayMode autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x70d800 of class UIScreenMode autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x70ff70 of class __NSCFSet autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x7106a0 of class __NSCFSet autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x710880 of class __NSCFSet autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x717ce0 of class NSPathStore2 autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x717f60 of class NSPathStore2 autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x717840 of class NSCFString autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x717ea0 of class NSURL autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x3e97ef7c of class NSCFString autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x3e97ef7c of class NSCFString autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x7181c0 of class NSCFString autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x718030 of class __NSArrayM autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x718140 of class NSCFString autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x718160 of class NSCFString autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x718170 of class NSCFString autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x718220 of class NSCFString autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x7182e0 of class NSCFString autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x718260 of class NSCFString autoreleased with no pool in place - just leaking


Sat Jan 22 01:27:35 Blackway Roll_n_Fall[529] <Warning>: *** __NSAutoreleaseNoPool(): Object 0x718410 of class NSCFString autoreleased with no pool in place - just leaking

Sadly this means that we can't use this wrapper... Maybe Openfeint runs ok in your device but if you submit your app to App Store you'll find a very bad review from customers saying that the app doesn't run....

It's obvious that we need GameCenter or Openfeint support , it's a basic feature of any game in this days, but we don't have it yet...

Regards,

Title: Re: [iPhone] OpenFeint
Post by: pinete on 2011-Dec-03
Hi guys :)
I was just wondering if there has been any improvement or update for this project as it's sleeping for almost a year, and really, to have openfeint in our games could be great..
My concern is regarding last post from Blackway related to memory leaks.. it was solved??
Could I ask for the current status of the libraries??
:)
thanks a lot!