QuestionAuto login

Posts 1–4 of 4 · Page 1 of 1
Auto login
This is more of a question about botting than about hacking...

I'd like to automate the login as well as performing scriped actions afterwords. Could anyone give me some clues at where to begin?

I have basic knowlage about java, just finished codeing an application but used liberarys from the web (doc link to a liberary alone would help if there is something i should take a look on), played a little with the pixel search of AutoIT and i know a little about cheat engine with searching for offsets etc.
I might need a little more help after all

/arkav/open-oryx (java)

the updater.bat didn't work at all in the beginning for me.. so i added "--create-dirs" to make sure that something happens... the files all contain
Code:
{"timestamp":"2019-10-25T14:48:44.605+0000","status":404,"error":"Not Found","message":"No message available","path":"/packets.xml"}
well if i can't auto update it.. used a XMLgrapper and replaced the files myself.. apart from the version.txt idk that was suppose to stand in there...

if i try to use
Code:
PacketMapper.mapIds();
it gives me
Code:
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:542)
	at java.lang.Byte.parseByte(Byte.java:149)
	at java.lang.Byte.parseByte(Byte.java:175)
	at dev.arkav.openoryx.net.PacketMapper.mapIds(PacketMapper.java:37)
	at dev.arkav.openoryx.net.PacketMapper.mapIds(PacketMapper.java:19)
	at main.main(main.java:12)
[PacketMapper]: Successfully mapped 0 packet ids!
[ServerMapper]: Mapped 32 servers!
[GameInfoMapper]: Loaded 0 game entities! Errored: 13043
[GameInfoMapper]: Loaded 1620 tiles!
he found the tiles pretty sure the "/packets.xml" is also correctly placed so i am stuck here

the logging in attemt afterwards fails ofc.
Code:
[my-email@mail.mail]: Connecting to: AsiaSouthEast
java.lang.NullPointerException
	at dev.arkav.openoryx.net.PacketMapper.get(PacketMapper.java:49)
	at dev.arkav.openoryx.net.PacketIO.send(PacketIO.java:134)
	at dev.arkav.openoryx.net.PacketIO.connect(PacketIO.java:75)
	at dev.arkav.openoryx.net.PacketIO.<init>(PacketIO.java:41)
	at dev.arkav.openoryx.impl.Client.connect(Client.java:187)
	at main.main(main.java:21)

also looked at /thomas-crane/nrelay (typescript/nodejs)
there was a problem with the updater as well.. but didn't have that much time to try out to much... I'll check it again after a little break
EDIT: I fixed the issue, pull from master and make sure to use the map function that takes a file path and point it to the file your mapping ex
Code:
PacketMapper.mapPackets(Paths.get("packets.xml"));
the updater is meant to be used in your project that implements the library, check out the sail repo, it loads its assets how I intended.
EDIT2: Also make sure the run directory is set to where your outputing your files or you update the path that your are mapping them from https://imgur.com/a/hCwiNsW
managed to get online with the bot https://imgur.com/a/4DxTUl7
are there any docs or examples on how to make the bot do stuff? like how to make a chat listener to make it possible to control it ingame and/or how to make him write something into chat.
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?