Hello i am trying to implement the leaderboard into my project but keep getting database error i added all the data as in tutorial on my LDConstants.h file but cant find the db name the correct on isnt it working somehow like mysql i think i should create the db inside the game panel but dont know how.. i copied all the files as in tut and created a new uiviewcontroler inside my storyboard instead of using the Xib file designed it to look the same and hooked all the methods and action buttos etc. as on the sample project but when i am in main menu and click the button i have to send me over to that screen i get this error .
can somebody help me ? how to create db and how to correctly connect all together? i want a simple login in settings and then a diferent button for leaderboard that the could check on it thats all ;/
thanks a lot any help would be much apreciate!
*** Terminating app due to uncaught exception 'Database Name', reason: 'Database Name : parameter can't be blank.'
*** First throw call stack:
(
0 CoreFoundation 0x0238a1e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x021098e5 objc_exception_throw + 44
2 Quiz 0x00022451 +[Utils validateMax:] + 0
3 Quiz 0x00093019 -[App42Service setQuery:metaInfoQuery:] + 80
4 Quiz 0x0000dcc4 -[App42Helper getScores] + 132
5 Quiz 0x00014eaf __25-[LDLeaderBoard getScore]_block_invoke + 143
6 libdispatch.dylib 0x026897b8 _dispatch_call_block_and_release + 15
7 libdispatch.dylib 0x0269e4d0 _dispatch_client_callout + 14
8 libdispatch.dylib 0x0268ceb7 _dispatch_root_queue_drain + 291
9 libdispatch.dylib 0x0268d127 _dispatch_worker_thread2 + 39
10 libsystem_pthread.dylib 0x029cddab _pthread_wqthread + 336
11 libsystem_pthread.dylib 0x029d1cce start_wqthread + 30
)
libc++abi.dylib: terminating with uncaught exception of type App42Exception
2014-06-13 00:09:06.857 Quiz[1937:60b] -[LDLeaderBoard numberOfSectionsInTableView:]