Guest User

Untitled

a guest
Mar 17th, 2012
1,400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 9.28 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>Babysitting Cream - Total Control</title>
  5.     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
  6. </head>
  7. <body>
  8.     <style type="text/css">
  9.         body{
  10.             background-color:black;
  11.             color:white;
  12.             font-family:sans-serif;
  13.             font-size:12px;
  14.         }
  15.         .box{
  16.             padding:6px;
  17.             margin-right:6px;
  18.             border:6px solid white;
  19.             border-radius:12px;
  20.             display:inline-block;
  21.             vertical-align:top
  22.         }
  23.     </style>
  24.     <div class="box" style="width:250px">
  25.         <button id="refesh" style="float:right">Refresh</button><br />
  26.         Game States:<br />
  27.         <table>
  28.             <tr>
  29.                 <td>
  30.                     <input type="checkbox" id="remDress" /> Can Remove Dress?
  31.                 </td>
  32.             </tr>
  33.             <tr>
  34.                 <td>
  35.                     <input type="checkbox" id="remPanties" /> Can Remove Panties?
  36.                 </td>
  37.             </tr>
  38.             <tr>
  39.                 <td>
  40.                     <input type="checkbox" id="isNotVirgin" /> Has Had Sex?
  41.                 </td>
  42.             </tr>
  43.         </table>
  44.         Resources:<br />
  45.         <table>
  46.             <tr>
  47.                 <td>
  48.                     Day:
  49.                 </td>
  50.                 <td>
  51.                     <input id="day" />
  52.                 </td>
  53.                 <td>
  54.                     <button id="doDay">Go</button>
  55.                 </td>
  56.             </tr>
  57.             <tr>
  58.                 <td>
  59.                     Energy:
  60.                 </td>
  61.                 <td>
  62.                     <input id="energy" />
  63.                 </td>
  64.                 <td>
  65.                     <button id="doEnergy">Go</button>
  66.                 </td>
  67.             </tr>
  68.             <tr>
  69.                 <td>
  70.                     RWC:
  71.                 </td>
  72.                 <td>
  73.                     <input id="rwc" />
  74.                 </td>
  75.                 <td>
  76.                     <button id="doRWC">Go</button>
  77.                 </td>
  78.             </tr>
  79.             <tr>
  80.                 <td>
  81.                     Rings:
  82.                 </td>
  83.                 <td>
  84.                     <input id="rings" />
  85.                 </td>
  86.                 <td>
  87.                     <button id="doRings">Go</button>
  88.                 </td>
  89.             </tr>
  90.             <tr>
  91.                 <td>
  92.                     Time of Day:
  93.                 </td>
  94.                 <td>
  95.                     <input id="time" />
  96.                 </td>
  97.                 <td>
  98.                     <button id="doTime">Go</button>
  99.                 </td>
  100.             </tr>
  101.             <tr>
  102.                 <td>
  103.                     Phone Battery:
  104.                 </td>
  105.                 <td>
  106.                     <input id="phone" />
  107.                 </td>
  108.                 <td>
  109.                     <button id="doPhone">Go</button>
  110.                 </td>
  111.             </tr>
  112.         </table>
  113.         Custom Command:<br />
  114.         <table>
  115.             <tr>
  116.                 <td>
  117.                     <input id="customCommand" />
  118.                 </td>
  119.                 <td>
  120.                     <button id="doCustomCommand">Go</button>
  121.                 </td>
  122.                 <td>
  123.                     <button id="listCustomCommands">List...</button>
  124.                 </td>
  125.             </tr>
  126.         </table>
  127.     </div>
  128.     <div class="box">
  129.         <object id="cream" width='800' height='600'>
  130.             <param name='movie' value='bsc.swf'>
  131.             <embed name="cream" swliveconnect="true" type='application/x-shockwave-flash' src='bsc.swf' width='800' height='600'></embed>
  132.         </object>
  133.     </div>
  134.     <div class="box" id="commands">
  135. <pre>
  136. Booleans:
  137.  
  138. $(cream)[0].SetVariable("Cellphone.0", 1);
  139. $(cream)[0].SetVariable("Cellphone.1", 1);
  140. $(cream)[0].SetVariable("Cellphone.2", 1);
  141. $(cream)[0].SetVariable("Cellphone.3", 1);
  142. $(cream)[0].SetVariable("Cellphone.4", 1);
  143. $(cream)[0].SetVariable("Cellphone.5", 1);
  144. $(cream)[0].SetVariable("Cellphone.6", 1);
  145.  
  146. $(cream)[0].SetVariable("DayVent.0", 1);
  147. $(cream)[0].SetVariable("DayVent.1", 1);
  148. $(cream)[0].SetVariable("DayVent.2", 1);
  149. $(cream)[0].SetVariable("DayVent.3", 1);
  150. $(cream)[0].SetVariable("DayVent.5", 1);
  151. $(cream)[0].SetVariable("DayVent.6", 1);
  152. $(cream)[0].SetVariable("DayVent.7", 1);
  153. $(cream)[0].SetVariable("DayVent.8", 1);
  154. $(cream)[0].SetVariable("DayVent.9", 1);
  155. $(cream)[0].SetVariable("DayVent.10", 1);
  156. $(cream)[0].SetVariable("DayVent.11", 1);
  157. $(cream)[0].SetVariable("DayVent.12", 1);
  158.  
  159. $(cream)[0].SetVariable("ItemStats.0", 1);
  160. $(cream)[0].SetVariable("ItemStats.1", 1);
  161. $(cream)[0].SetVariable("ItemStats.2", 1);
  162. $(cream)[0].SetVariable("ItemStats.3", 1);
  163. $(cream)[0].SetVariable("ItemStats.4", 1);
  164. $(cream)[0].SetVariable("ItemStats.5", 1);
  165. $(cream)[0].SetVariable("ItemStats.6", 1);
  166. $(cream)[0].SetVariable("ItemStats.7", 1);
  167. $(cream)[0].SetVariable("ItemStats.8", 1);
  168. $(cream)[0].SetVariable("ItemStats.9", 1);
  169. $(cream)[0].SetVariable("ItemStats.10", 1);
  170. $(cream)[0].SetVariable("ItemStats.11", 1);
  171. $(cream)[0].SetVariable("ItemStats.12", 1);
  172. $(cream)[0].SetVariable("ItemStats.13", 1);
  173. $(cream)[0].SetVariable("ItemStats.14", 1);
  174.  
  175. $(cream)[0].SetVariable("SexVent.0", 1);
  176. $(cream)[0].SetVariable("SexVent.1", 1);
  177. $(cream)[0].SetVariable("SexVent.2", 1);
  178. $(cream)[0].SetVariable("SexVent.3", 1);
  179. $(cream)[0].SetVariable("SexVent.4", 1);
  180. $(cream)[0].SetVariable("SexVent.5", 1);
  181. $(cream)[0].SetVariable("SexVent.6", 1);
  182. $(cream)[0].SetVariable("SexVent.7", 1);
  183. $(cream)[0].SetVariable("SexVent.8", 1);
  184. $(cream)[0].SetVariable("SexVent.9", 1);
  185. $(cream)[0].SetVariable("SexVent.10", 1);
  186.  
  187. Remove Dress: $(cream)[0].SetVariable("SMain.4", 1);
  188. Remove Panties: $(cream)[0].SetVariable("SMain.5", 1);
  189. $(cream)[0].SetVariable("SMain.8", 1);
  190. Is Virgin: $(cream)[0].SetVariable("SMain.9", 1);
  191.  
  192. $(cream)[0].SetVariable("SStats.8", 1);
  193. $(cream)[0].SetVariable("SStats.9", 1);
  194.  
  195. Integers:
  196.  
  197. Board Games: $(cream)[0].SetVariable("DayVent.4", 900);
  198.  
  199. $(cream)[0].SetVariable("IDA", 900);
  200. $(cream)[0].SetVariable("IDB", 900);
  201. $(cream)[0].SetVariable("IDC", 900);
  202.  
  203. Location? $(cream)[0].SetVariable("LocalPlace", 900);
  204.  
  205. Showered: $(cream)[0].SetVariable("SexScore.0", 900);
  206. Slept with: $(cream)[0].SetVariable("SexScore.1", 900);
  207. Groped: $(cream)[0].SetVariable("SexScore.2", 900);
  208. Blow Job: $(cream)[0].SetVariable("SexScore.3", 900);
  209. Jerked Off: $(cream)[0].SetVariable("SexScore.4", 900);
  210. Had Sex: $(cream)[0].SetVariable("SexScore.5", 900);
  211. Used Carrot Toy: $(cream)[0].SetVariable("SexScore.6", 900);
  212. Made Cream Cum: $(cream)[0].SetVariable("SexScore.7", 900);
  213. Shared Cream: $(cream)[0].SetVariable("SexScore.8", 900);
  214. Scored with others: $(cream)[0].SetVariable("SexScore.9", 900);
  215. $(cream)[0].SetVariable("SexScore.10", 900);
  216.  
  217. Energy: $(cream)[0].SetVariable("SMain.0", 900);
  218. Day: $(cream)[0].SetVariable("SMain.1", 900);
  219. RWC: $(cream)[0].SetVariable("SMain.2", 900);
  220. Rings: $(cream)[0].SetVariable("SMain.3", 900);
  221. Time of Day: $(cream)[0].SetVariable("SMain.6", 900);
  222. Phone Battery: $(cream)[0].SetVariable("SMain.7", 900);
  223.  
  224. Happiness: $(cream)[0].SetVariable("SStats.0", 900);
  225. Peeping: $(cream)[0].SetVariable("SStats.1", 900);
  226. Lust: $(cream)[0].SetVariable("SStats.2", 900);
  227. Jerk Off: $(cream)[0].SetVariable("SStats.3", 900);
  228. Exposure: $(cream)[0].SetVariable("SStats.4", 900);
  229. Touch: $(cream)[0].SetVariable("SStats.5", 900);
  230. Moral Alignment: $(cream)[0].SetVariable("SStats.6", 900);
  231. Hunger: $(cream)[0].SetVariable("SStats.7", 900);
  232.  
  233. Strings:
  234.  
  235. $(cream)[0].SetVariable("ItemList.0", "none");
  236. </pre>
  237.     </div>
  238.     <script type="text/javascript">
  239.         function reloadVars(){
  240.             var cream = getFlashMovieObject("cream");
  241.             var input = $(cream)[0].GetVariable("SMain");
  242.             var data = input.split(',');
  243.             console.log(data);
  244.             var dress = data[4];
  245.             var panties = data[5];
  246.             var notvirgin = data[9];
  247.             var day = data[1];
  248.             var energy = data[0];
  249.             var rwc = data[2];
  250.             var rings = data[3];
  251.             var time = data[6];
  252.             var phone = data[7];
  253.             $("#energy").val(energy);
  254.             $("#day").val(day);
  255.             $("#rwc").val(rwc);
  256.             $("#rings").val(rings);
  257.             $("#time").val(time);
  258.             $("#phone").val(phone);
  259.             if(dress == true){
  260.                 $("#remDress").prop("checked", true);
  261.             } else {
  262.                 $("#remDress").prop("checked", false);
  263.             }
  264.             if(panties == true){
  265.                 $("#remPanties").prop("checked", true);
  266.             } else {
  267.                 $("#remPanties").prop("checked", false);
  268.             }
  269.             if(notvirgin == true){
  270.                 $("#isNotVirgin").prop("checked", true);
  271.             } else {
  272.                 $("#isNotVirgin").prop("checked", false);
  273.             }
  274.         }
  275.         function getFlashMovieObject(movieName){
  276.             if (window.document[movieName]) {
  277.                 return window.document[movieName];
  278.             }
  279.             if (navigator.appName.indexOf("Microsoft Internet")==-1){
  280.                 if (document.embeds && document.embeds[movieName]){
  281.                     return document.embeds[movieName];
  282.                 }
  283.             } else {// if (navigator.appName.indexOf("Microsoft Internet")!=-1)
  284.                 return document.getElementById(movieName);
  285.             }
  286.         }
  287.         $(document).ready(function(){
  288.             $("#commands").hide();
  289.             $("#listCustomCommands").click(function(){
  290.                 $("#commands").slideToggle("slow");
  291.             });
  292.             $("#refesh").click(function(){
  293.                 reloadVars();
  294.             });
  295.             var cream = getFlashMovieObject("cream");
  296.             $("#doEnergy").click(function(){
  297.                 $(cream)[0].SetVariable("SMain.0", $("#energy").val());
  298.             });
  299.             $("#doDay").click(function(){
  300.                 $(cream)[0].SetVariable("SMain.1", $("#day").val());
  301.             });
  302.             $("#doRWC").click(function(){
  303.                 $(cream)[0].SetVariable("SMain.2", $("#rwc").val());
  304.             });
  305.             $("#doRings").click(function(){
  306.                 $(cream)[0].SetVariable("SMain.3", $("#rings").val());
  307.             });
  308.             $("#doTime").click(function(){
  309.                 $(cream)[0].SetVariable("SMain.6", $("#time").val());
  310.             });
  311.             $("#doPhone").click(function(){
  312.                 $(cream)[0].SetVariable("SMain.7", $("#phone").val());
  313.             });
  314.             $("#remDress").change(function(){
  315.                 if($(this).is(':checked')){
  316.                     $(cream)[0].SetVariable("SMain.4", 1);
  317.                 } else {
  318.                     $(cream)[0].SetVariable("SMain.4", 0);
  319.                 }
  320.             });
  321.             $("#remPanties").change(function(){
  322.                 if($(this).is(':checked')){
  323.                     $(cream)[0].SetVariable("SMain.5", 1);
  324.                 } else {
  325.                     $(cream)[0].SetVariable("SMain.5", 0);
  326.                 }
  327.             });
  328.             $("#hasHadSex").change(function(){
  329.                 if($(this).is(':checked')){
  330.                     $(cream)[0].SetVariable("SMain.9", 1);
  331.                 } else {
  332.                     $(cream)[0].SetVariable("SMain.9", 0);
  333.                 }
  334.             });
  335.             $("#customCommand").click(function(){
  336.                 eval($("#doCustomCommand").val());
  337.             });
  338.         });
  339.         </script>
  340. </body>
Advertisement
Add Comment
Please, Sign In to add comment