Hi, I've done quite a few changes over the last days - sorry for the big email!
You can see the current result at http://hackit.cx . The main elements are: * Interface: Moved the elements from the hack bar to two dedicated windows: the tools window and the browser window, to get us closer to the "desktop" feeling we were discussing. I've moved the gauges to the tools window and skinned them using jquery-ui. And last, the browser now has an "instant google search", to save time during the missions. * Missions: Implemented new triggers such as CUSTOM_BUTTON or REPLY_YESNO, and started addressing the differences between the missions API documentation and the actual implementation (I'll probably finish that part after the Sprint). I've also made the custom tagging of sites work and debugged the core mecanisms of the Gaia clue mission, although there is still some work to make it really playable. * Backend: Added "callback handlers", which handle the logic specific to some of the missions triggers by centralizing them in a file (this avoids code bloat by adding lots of "if()" everywhere). Vlad, have a careful look at those ones and let me know if you have any questions. I've also done a lot of cleanup in the "make debug" log, to make it more readable. * Optimization: I've removed the code that retrieves page ranks, which was slowing down the game a lot as after a few requests from an IP it seems that Google blacklists- I've entered a bug and put a link to a possible solution that uses the Google bar API. <Code> This is now on the trunk - a "make upgrade" is required after you have merged it on your branch Btw Vlad I have found why your diff files were wrong - the generation of the db schema happened before the diff was made, so it was the wrong one which was used by mysqldiff. This should be fixed now. Changelog: * Renamed 'scanit' and 'hackit' actions to 'scan' and 'hack', to allow the mission engine to properly catch them. Renamed the remaining '[email protected]' in the copyright header while I was at it * Missions API: Renamed wait_for_action() to wait_for() to match updated documentation * Commented the code getting the PR from Google until we can fix the error (currently failing and creating delays when client is blacklisted) * Added logger() events to methods * Missions API: Added custom button event - wait_for(CUSTOM_BUTTON, "callback", "Click me!"); * Fixed missing table creations in release 7 sql diffs * Modified Finding clue gaia mission to allow it to start running (still some errors due to API differences) ; added Site_tag & Site_tag_review data objects * Fixed bug in gaia clue mission: mission is now detecting is there is no website to review * Moved all Actions classes to the classes/actions/ subdirectory * Added tmp/ directory in ignore list, to allow to store temporary ignored files while keeping a clean 'bzr status' * Added callback handlers: they handle specific code for the more complex wait_for() triggers - Split most of MissionAction into a new MissionEngine singleton class - Created the ReplyAction class to record replies from the player - Made the parameters to GameSession::getInstance() non-mandatory * Reverted test change on intro mission (CUSTOM_BUTTON trigger) * Fixed issues with callback handlers ; Cleaned up and completed make debug output ; Fixed bug with custom_button where the window didn't disappear * Added REPLY_YESNO trigger with specific callback handler ; Fixed more issues with callback handlers * Set of fixes for gaia clue mission * Fixed remaining structural bugs from gaia clue mission - now the mission works, but it still needs some polishing before being really playable * Moved the elements from the hackit bar to the tool window ; refactored the header to make it more readable * Moved the gauges to the tools window ; Dressed gauges with jquery-ui ; removed the chatbar * Dressed up the rest of the tool window * Moved the current website iframe to a dedicated window & put a logo as the desktop background * Added search bar with instant google search on the browser window * Fixed the behavior of the custom button * Release r8: Added site_tag & site_tag_review tables, added upgrade script to configure Google loader API key ; Fixed make release toonly generate the new DB schema once the diff files have been generated Xavier.
_______________________________________________ Farsides mailing list - [email protected] Wiki: http://farsides.com/ List: http://farsides.com/ml/ Forum: http://farsides.com/forum/ Ideas: http://farsides.com/ideas/ Chat: http://farsides.com/chat/

