X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=doc%2FARCHITECTURE.txt;h=f8ce26cbb5a8204132264eea2792ba01e9c9590c;hb=c35dd062490b68aa01f887afa3ddf705b3e32372;hp=b3501511cfae67410df480759e9079ef8a985886;hpb=45d9a6a4a7547e431c1dbe8064b110c54186260d;p=brisk.git diff --git a/doc/ARCHITECTURE.txt b/doc/ARCHITECTURE.txt index b350151..f8ce26c 100644 --- a/doc/ARCHITECTURE.txt +++ b/doc/ARCHITECTURE.txt @@ -17,3 +17,21 @@ index.php: --- CLI ------------ POST index.php with passid_private field equal to calcMD5(tokens[1]+calcMD5(form.elements['passid'].value)) + + +===== Game Lifecycle ===== + +-> bin5/index_wr.php + argz[0] == 'logout' + - bri->table_wakeup($user) + - set users subst to "shutdowner" and "shutdowned" + - save this: "gst.st_loc++; the_end=true; window.onbeforeunload = null; \ + window.onunload = null; document.location.assign("../index.php");" + in user->comm var for client xhr + - set $bri->the_end = TRUE + + +-> index.php (after verify session value: ~L250) + - garbage_manager(TRUE) + - align many status var with briskin5 user values + - room_join_wakeup() +