Ok i dont know what to put this under so i put it under nwebie central.
Ok so i want hubscores for my game and i got my game on the hub and click on hubfiles checkbox and then click save and it does nothing. The other thing is i use that demo thing and i put in my password and id but it say wrong id
/**************
Hub Scores Demo
This demonstrates how to report scores to the hub for the purpose
of ranking players. The ranks are accessible from the game's hub page.
***************/
#include
world
hub = "Mrhat99au.TheMysticalWorldofSaradush" //the hub path of your game goes here
key = "Mrhat99au"
password = "1234678"
mob/Bigkev/verb/report_scores()
var/scores[0]
//byondhub.ReportScores would normally be called automatically when the
//game is finished. In this "gambling" game, however, we just generate
//random scores whenever a player requests it.
for(var/mob/M)
scores[M] = lvl
byondhub.ReportScores(scores)
any ideas
ID:178830
![]() Mar 30 2002, 12:53 am
|
|
![]() Mar 30 2002, 4:18 am
|
|
It isn't really smart to post your password on the forums, I suggest you go change it.
|
Super16 wrote:
It isn't really smart to post your password on the forums, I suggest you go change it. Do you actually think that's his real password? |
Well, hopefully that isn't his real pasword...
Anyway, are there any other places that explain how to use hubfiles a little more completely? The two demos that are provided by Dantom don't really say what's happening with the procs they use, if we can modify them, and how. ByondHub/LoadHubfile(File,owners[],title,resolved_emails[]) What are the specifics of this datum? What if we aren't using an e-mail based game/meeting and we want other features instead of resolved_emails[]? byondhub.CheckinHubfile(F,owners,mygame.title) What is byondhub? Are there any other built in procs for it? Can we add our own procs and are there any requirements for them? How are the actual files uploaded and downloaded? |