black pawkeet or bruce b slot auto player
#1
Posted 16 August 2007 - 09:26 PM
#2
Posted 16 August 2007 - 10:15 PM
#3
Posted 17 August 2007 - 06:32 AM
He's not exactly a new member, hes been here about 2 months, He's just been lurking/leeching
#4
Posted 17 August 2007 - 08:28 AM
#5
Posted 17 August 2007 - 09:11 AM
The below is a javascript url (or inline javascript if you rather) that I made to autoplay scorchyslots. I don't know if it still works with the new layout, but if it doesn't it doesn't matter because a new version with some artificial intelligence will be released in my upcoming Firefox extension. Just enter it into your address bar on the scorchy slots page and press go, it should automatically start playing. I'm starting on a Firefox extension for macroing different kinds of games (and it will be updated) so stay tuned. The space in "java script" should be removed, this forum automatically inserts it as an XSS prevention measure.
java script: var ni = document.getElementById('ban'); var newdiv = document.createElement('div'); var divIdName = 'neoResponse'; newdiv.setAttribute('id',divIdName); ni.appendChild(newdiv); var XMLHttpRequestObject = false; try { XMLHttpRequest } catch (e) { alert("Could not create XMLHttpRequestObject. Please Make sure you are using Mozilla Firefox."); } XMLHttpRequestObject = new XMLHttpRequest(); function socket() { var neoCollect; var container; container = window.document.getElementById("neoResponse"); try { neoCollect = window.document.forms[0].collect.value; } catch (e) { neoCollect = false; } if (neoCollect == false) { if (XMLHttpRequestObject) { XMLHttpRequestObject.open("GET", "http://neopets.com/games/slots.phtml?hold1=&hold2=&hold3=&hold4=&play=yes", true); XMLHttpRequestObject.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); XMLHttpRequestObject.onreadystatechange = function() { if(XMLHttpRequestObject.readyState == 4 && XMLHttpRequestObject.status == 200) { container.innerHTML = XMLHttpRequestObject.responseText; }}; XMLHttpRequestObject.send(null); delete XMLHttpRequestObject; }} if(neoCollect) { if(XMLHttpRequestObject) { XMLHttpRequestObject.open("POST", "http://neopets.com/games/process_slots2.phtml", true); XMLHttpRequestObject.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); XMLHttpRequestObject.onreadystatechange = function() { if(XMLHttpRequestObject.readyState == 4 && XMLHttpRequestObject.status == 200) { container.innerHTML = XMLHttpRequestObject.responseText; }}; XMLHttpRequestObject.send("collect=true"); delete XMLHttpRequestObject; }}} function socketLoop() { setInterval("socket()", 1000); } socketLoop(); alert("AJP's Dead Player V1.02a in Progress...");
Edited by unlimitedorb, 17 August 2007 - 09:14 AM.
#6
Posted 17 August 2007 - 09:21 AM
#8
Posted 17 August 2007 - 11:19 AM
#9
Posted 17 August 2007 - 01:01 PM
#11
Posted 17 August 2007 - 03:35 PM
Edited by masterkruse, 17 August 2007 - 03:37 PM.
#13
Posted 17 August 2007 - 09:00 PM
I was referring to the script itself as in it's not doing anything malicious like sending cookies. It will definitely show valid referers since there is only one referer that you need, inline javascript inherits whatever page you are on as a referer when sending XMLHTTP requests, but...a broken clock is correct twice a day, in this case you were correct that it isn't safe but not for the right reason.
#14
Posted 18 August 2007 - 01:55 AM
lol
Raui is correct even when he's wrong.
Especially about pogramming.
#15
Posted 18 August 2007 - 03:05 AM
#16
Posted 18 August 2007 - 06:58 AM
There are no invalid referers if you start on the scorchy slots game page directly. You can't just go to any old page and hit go with it. It has to be on the correct page in order to work properly, once it's on the correct page, it will automatically inherit that page as a referer. It just so happens that there is only one page that you need as a referer throughout the entire game process and since you start on that page, the referer is correct. It's almost the equivalent of refreshing the page, but can press "collect" for you as well if you win anything.
For alot of situations you have to explicitly set the referers because of the nature of the program. But using AJAX for this, you don't have to. In fact, even if you wanted to change the referer, browser security will not allow you to do so with AJAX.
Edited by unlimitedorb, 18 August 2007 - 07:04 AM.
#17
Posted 18 August 2007 - 04:31 PM
#19
Posted 19 August 2007 - 04:41 AM
Oooh, that sounds intriguing.
I've been using iOpus iMacros for simple stuff but it would be great to see something Neopets specific.
#20
Posted 20 August 2007 - 04:17 AM
#21
Posted 21 October 2007 - 03:02 PM
its on:http://userscripts.org/scripts/show/2445
#22
Posted 14 October 2015 - 02:43 AM
Hi please help where should i place all these htm in include or exclude. Please guide me thanks
#23
Posted 14 October 2015 - 03:46 AM
#24
Posted 14 October 2015 - 10:53 AM
Hi please help where should i place all these htm in include or exclude. Please guide me thanks
You need to stop gravedigging please.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users