[Teaching Units] ProxyParadise! A step by step proxy tutorial!

06/28/2011 23:12 pro4never#46
Quote:
Originally Posted by denominator View Post
Code:
[Loader]
IPAddress=192.168.0.192
LoginPort=9959
GamePort=5816
Website=http://www.whocares.com
Code:
public partial class GUI : Form
    {
       public static Dictionary<string, GameUser> Clients = new Dictionary<string, GameUser>();
        //So, we now have our LISTENERS. We need to know what happens when something connects though!
        public static string GameIP = "";//we're actually going to be reading this from the auth response packet so leave it blank for now.
        public static ushort GamePort = 5816;
        public static string AuthIP = "208.96.34.46";
        public static string ProxyIP = "192.168.0.192";
        public static string EncryptionKey = "DR654dt34trg4UI6";
        public GameUser selectedChar = null;
        public GUI()
        {
This is how I used it for alchemy, and I can get a login success BUT I also get an error when it tries to login to the game server with a 10 error? I tried using my external IP also and yes ports are open lol.
Check that you're using the correct login port. That will cause the error 10.

Server groups use different login ports which means you must edit in the loadersettings depending on what server you want to log into.
06/29/2011 07:15 luizinhoxD#47
thats hard to understand when we dont talk english,so the the translation dont get sense on my own language LOL
06/29/2011 10:40 pro4never#48
Quote:
Originally Posted by luizinhoxD View Post
thats hard to understand when we dont talk english,so the the translation dont get sense on my own language LOL
He just needs to change the login port 9959 to 9960 or 9958 and try again.

New server groups (such as Classic, Celebrations, Celebrities, etc) use port 9959

Old server groups (such as Wild Kingdom or Gem world) use port 9958 or 9960 I think.
06/30/2011 05:50 tommylee19#49
you must have a lot of time on your hands..
06/30/2011 05:52 tommylee19#50
appreciated tho. i don't think anyone else has ever did this in the past.
07/01/2011 01:02 skiz22285#51
Cant wait to do all this I have 2IDLE idle VP's 1 windows and 1 linux just siting I can use to host this when Im done :) Pro4never is one of the greatest teachers in this community for sure
07/01/2011 08:25 amed#52
Quote:
Originally Posted by pro4never View Post
Ok so I keep getting random pm's in relation to my poll I posted about this idea... I've decided to start with the absolute basic first step guide and see what interest sparks from there.

What is this project
We will be using text documents, video tutorials and code examples to work on a BASE proxy (login only) and continue working on it in a well documented fashion until we can handle ALL main botting needs (miners, hunters, possibly aimbot, etc)


What is this project NOT
A click and play working bot that you can download and use. There will be files and source codes posted but unless you follow the entire guide (consisting of a NUMBER of sections each including quite a few pages of text documents, videos and code snippets, you will get NOTHING from this project.


What do YOU need
-Time
-Patience
-Willingness to learn
-Visual studio 2010 (I use ultimate + a googled key... but express should work just fine)
-The proxy framework [Only registered and activated users can see links. Click Here To Register...]


I do NOT expect any programming knowledge. If I skip over some basic knowledge (I'll provide some intro coding links at the start to help you out), please let me know and I'll try to slow things down or go back and write a quick explanation.



<<NOTE TO READERS>>

It will take me a while to get around to writing most of the units. PLEASE post suggestions of what you would like to see included and I may have time to go back and add new stuff to the section before I post it. This will allow me to help people better by answering questions THE FIRST TIME, rather than in some obscure reply later on in the thread that no one will find.


PROXY FRAMEWORK FILES

Please leave questions and comments so I can improve the guide I write tomorrow.

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]


Planned Units

-Unit 1: Introduction

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

-Unit 2: Networking and Packets
We will take our framework and go over a basic explanation of what the proxy is doing and work our way up to some packet structuring. This will take us from our initial explanation up to our first few packet structures. We will go over a few possible ways to structure packets, keep in mind these are NOT the only ways to go about this nor are they even the best/most efficient...

-Unit 3: Designing game logic!
We have our packets so now we need to start using them! What we will be doing is taking the packets we've structured and go from start to finish in the process of writing our first basic bot codes. Most likely this will simply cover MINE BOTS but I'm open to suggestions for other simple guides. I'll most likely save hunt/loot type code till later as it's a tad more... complex

-Unit 4: Advanced features
So we've familiarized ourselves with all the main things we want to do... now lets take it up a notch and integrate some more advanced functionality into our gui for easy controls.

This could include anything from... displaying a minimap, writing an aimbot, writing a hunt/loot bot or whatever else you guys suggest.


You can expect the first unit within a day or two (going out drinking tonight so won't be today)


all is good but need fetih online Co Genuis conquer Tr .. TY Vm
07/01/2011 14:37 OELABOELA#53
Quote:
Originally Posted by amed View Post
all is good but need fetih online Co Genuis conquer Tr .. TY Vm
No problem, we are already taking over your server.
07/01/2011 18:48 IAmHawtness#54
I love your sexy voice.
07/01/2011 22:39 Santa#55
Future suggestion: Implementation of A* :D
07/02/2011 02:38 Real~Death#56
Quote:
Originally Posted by StarBucks View Post
Future suggestion: Implementation of A* :D
I wish..
that and loading dmaps with player/monster data would be the best
07/02/2011 13:05 IAmHawtness#57
Quote:
Originally Posted by StarBucks View Post
Future suggestion: Implementation of A* :D
That doesn't really have anything to do with a proxy. You can easily find plenty of tutorials on the internet on how to implement different path finding algorithms into your program. As for loading the dmaps, there's plenty of guides/sources here on epvp for that.
07/02/2011 16:06 skiz22285#58
Got the Source on my VPS and awaiting further lessons sir :)
I tried all those guides how to program in C# there great if you want to make calculators and things like that but I just dont see how they fit into CO programing.
Its like giving someone a book to fix a car and telling them to go fix a plane. Yea the engines are close but its still not the same :)
07/03/2011 03:41 Real~Death#59
Quote:
Originally Posted by IAmHawtness View Post
That doesn't really have anything to do with a proxy. You can easily find plenty of tutorials on the internet on how to implement different path finding algorithms into your program. As for loading the dmaps, there's plenty of guides/sources here on epvp for that.
I seen the A* tutorials all over the net ,never cared too much to fully give it my all,But where are the tutorials here on getting the maps to load up in an application with spawns/players?I come and go here at Epvp and I guess I missed that,I remember looking before,Was sent A few projects but all were out dated and need some major overhauling to get in any workable condition,and at the time busy with RL time waster's.
07/03/2011 10:41 pro4never#60
Quote:
Originally Posted by Real~Death View Post
I seen the A* tutorials all over the net ,never cared too much to fully give it my all,But where are the tutorials here on getting the maps to load up in an application with spawns/players?I come and go here at Epvp and I guess I missed that,I remember looking before,Was sent A few projects but all were out dated and need some major overhauling to get in any workable condition,and at the time busy with RL time waster's.
I will obviously be covering object tracking but I don't know if I'll go into displaying maps as graphics. It's quite simple to do but it's not related to proxies as much as it is to graphic manipulation and drawing (something somewhat easier to do using xna framework... which I kinda wanna test out to make a custom standalone client at some pt ahaha) but I'll probably include the basics in a 'end' unit.

It would be a theoretical unit 5.


Unit 2 part 1 has been worked on but i ran into a snag when I was writing up the source to use for the tutorial video and haven't bothered go back and re-write it (Not used to sync sockets anymore and it was causing an issue. Never bothered to track it down)