User talk:Navarr/WiiBrew Internet API
Would some other format that are simpler to parse work just as well? --Felix123 05:20, 4 June 2008 (PDT)
- XML is a common format, infact its the one that was used in the HBC, It would be possible to use other formats.. or even let the user choose the format.. what do you suggest? --Navarr 06:54, 4 June 2008 (PDT)
- I don't see any point in allowing other options -- if you need to use something like, for example, plain text, you can always just use a simple wrapper function. As for other formats being 'simpler' to parse, I think XML is one of the simplest! Once the parser is implemented it is very simple to use, and the parser behavior is very well-defined. And of course, there are several free/open-source XML parsers out there that could just be dropped into the application. Personally, I think it should be XML all the way. -- karaken12 10:53, 7 June 2008 (CEST)
- I think XML should definitely be at least one of the available options. There could be an option to present the data in a simpler way, as a text/plain, like the "last played tracks" on last.fm. Newlines for separate leaderboard entries, and data in the same line ordered in a specific way, separated by a rarely-occurring character. --Electron 23:19, 4 June 2008 (CET)
When requesting connection, you send back what you want the program to do with the secret, why not send back a random code to that you want the program to combine with the hash? aka:
- + Request connection
- - Responce with type for encryption and session key AND random_code
- + The program then returns something like md5(random_code + md5(secret))
- - The server then calculates the same value (as it has the secret and has just made the code)
- + Then the connection is authorized...
--GW_Shadow 10:00, 7 June 2008 (CEST)
- That's a normal challenge responce system, they work great. But I doubt the need of more than one hash function.--henke37 10:55, 7 June 2008 (CEST)
What do you think we should call this? WiiBrew Internet API doesn't sound like a reasonable name... What about something like WiiWFS, or...? What do you guys think? --Navarr 12:41, 28 June 2008 (CEST)
Fine just fine Jops 18:34, 6 July 2008 (CEST)
New Challenge System
Jesus Christ, I'm not dead! Its a Christmas Miracle!
Thinking about getting back into C++ development for the DS/Wii. Will be picking up C++ first semester in college, so I should probably reopen this as it was a decent idea.
Challenge System was stupid though.
First Implementation with this API will be server-side and will be leader boards. Maybe a chat system after that.
New challenge system will be appending a random string to your secret and then sending back the md5 hash of that concatenated string. This is definitely a much better system, that and I don't want to code OAuth from scratch. I don't know *THAT* much.