
Originally Posted by
Oliboli8769
Thanks for contacting me. I don't focus on C# but maybe I can point you in the right direction

From memory, I don't think there's ever been a C# AQWorlds bot, there's been plenty of Python bots (most of them made by an ex-user called MINAD).
The only other coder around here who I know uses C# is @
ToxLP who may have attempted something like this in the past. Maybe he can help you.

Originally Posted by
Biney
Nice tutorial, worked great. However, I'd like to write a trainer in another programming language, namely C#.
Do you have any experience with it? I can load the game, login and so on, but loading quests and manipulating variables is where I'm stuck at. Nothing happens when I attempt to do those things.
Let me know if you could be of any assistance and I'll elaborate on these issues.
Thanks.
Ty for the mention Oli
Now to make a bot what you need to use is Sockets or WebBrowser
Web browser there is a way to do it but got no idea unfortunately.
But Sockets is what i always use and best to make a BOT that connects 100+ bots on a game
If you know C# you should know what am talking about here.
So lets start:
First what ya wanna do is get the login token using a HTTPClient or WebClient post request
So tutorial on how to get the form to post and shizzle:
How i opened that?
Right click > Inspect > Network tab > Login where the server list shows you will get it.
You post that form data to that url then you check the result if (resul*****ntains("strEmail")) {Console.WriteLine("Valid login");} else {Console.WriteLine("Invalid login");}
Result is in XML so you can use XMLDocument with xpath to get the data we mainly need the token,id,username if i remember
Then comes the Socket Connection you can do this with Socket or TCPClient
First you wanna log them server packets when logging in
Use wireshark i suggest it log port 5588 to get there login packets
Connect to there server use port 5588
Basically you wanna act as a client so you send: <policy-file-request/>
Then server should send <cross-domain etc.
Then you send what you logged from aqworld using wireshark as a client.
Thats how it works.
Pm if you need help am thinking about making a video on how to make a bot maybe some time soon
