ingress-bot's People
Forkers
theadminblagger xs3bt chorex tc3driver s38008 celtir spacyng maertuerer dasauthor kzard hero78119 isnuryusuf pcoughlin digitalwarrior userkey kreigne siebs mishasamin leetcodes szliyang 0x00err0r zimler jeremiahmarks idem2lyon copy0401 boehla cjvandyk manikantamr mijkelingress-bot's Issues
getObjectsInCells API do not work as origin
Hi,
From my test, it seems that the cellId in array "cellsAsHex" should be put in a specific unknown order in current API version. I have no idea what's going on and can not justify what's the rule to put the cellid.
Any idea?
How to get the nemesis ID?
Would be great to know how to get the current nemesis ID! =)
Hope you can help,
Dustin
is it still working ?
i got
Handshaking...
html>
Exception in thread "main" Unexpected character (h) at position 1.
.......
path
Dont use this bot, because if, coordinate list are: 1;2;3;4;5;6;7;8.... then it movs from 1 to 2 , from 1 to 3, from 1 to 4, from 1 to 5 ..., bet not 1 to 2 to 3 to 4 .... and then back to 1 .. ;)
XSRF Change
Hey I have a question do you have to change anything for the xsrftoken? I'm starting to get one with a (:) and what seems like a timestamp.
Example:
"xsrfToken":"RbPFyO2my19BDQio8w6XXQWDj-U:1389203153862"
And recently I am getting 403 for server calls.
This is the code I'm getting a 403 for
public String getInventory() throws Exception
{
JSONObject main = new JSONObject();
JSONObject params = new JSONObject();
Date d = new Date();
params.put("lastQueryTimestamp", d.getTime()-6000);
main.put("params",params);
//Setup the json connection
URL getObjectsURL = new URL(baseURL + "/rpc/playerUndecorated/getInventory");
URLConnection getObjectsCon = getObjectsURL.openConnection();
getObjectsCon.setRequestProperty("Cookie", this.authCookie);
getObjectsCon.setRequestProperty("X-XsrfToken", this.xsrfToken);
getObjectsCon.setRequestProperty("User-Agent", "Nemesis (gzip)");
getObjectsCon.setDoOutput(true);
//Setup and use the writer
OutputStreamWriter out = new OutputStreamWriter(getObjectsCon.getOutputStream());
out.write(main.toString()); //Write our json object to the connection
out.close();
//Setup and use the reader
BufferedReader br = new BufferedReader(new InputStreamReader(getObjectsCon.getInputStream()));
String line = br.readLine();
br.close();
return line;
}
Any help would be appreciated
Error
Have an error after starting the bot:
Exception in thread "main" java.lang.NullPointerException
at ClientWrapper.getObjectsInCells(ClientWrapper.java:151)
at ClientWrapper.newLocation(ClientWrapper.java:323)
at LocationRunner.run(LocationRunner.java:20)
at Pygress.main(Pygress.java:30)
make: *** [run] Error 1
New nemesisID
Hi, this is the new nemesisID I got for scanner v1.35.1
ClientWrapper.java:35
public final String nemesisDeviceID = "json=%7B%22nemesisSoftwareVersion%22%3A%222013-09-10T22%3A08%3A32Z+904499d6f84a+opt%22%2C%22deviceSoftwareVersion%22%3A%22v1.35.1%22%7D";
I have already tested it and it works. Thanks for sharing the code!!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.