Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 06:47

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



HackShield + MyBot + edxLoader

Discussion on HackShield + MyBot + edxLoader within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
DeXeee's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 218
Received Thanks: 171
HackShield + MyBot + edxLoader (Help)

Hello guys ..I didn't bored you long time

I am trying to connect my bot to hackshield that iBot and agBot are using ..

I managed to connect my bot to hackshield :


Code:
Public Client As Socket = New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)

Client.Connect("127.0.0.1", 15777)
But now, idk how to connect new Sro Client with my bot ..

I think i have to make something like proxy in my bot but i rly don't know how :S

Thank you all in advance

Edit 1 :

I try this now but i got DC when Client is starting :

Code:
Dim serverSocket As New TcpListener(16000)
        serverSocket.Start()

        serverSocket.AcceptTcpClient()
Edit 2 :

I try now this , but still isn't working :

Code:
Public Client As Socket = New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)

    Private Sub SRO_Proj_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        ' Connect to HS Server.
        Client.Connect("127.0.0.1", 15777)


        Dim serverSocket As New TcpListener(16000)
        serverSocket.Start()

        DoBeginAcceptTcpClient(serverSocket)

    End Sub


    ' Thread signal.
    Public Shared tcpClientConnected As New ManualResetEvent(False)


    ' Accept one client connection asynchronously.
    Public Shared Sub DoBeginAcceptTcpClient(ByVal listener As TcpListener)
        ' Set the event to nonsignaled state.
        tcpClientConnected.Reset()

        ' Start to listen for connections from a client.
        Console.WriteLine("Waiting for a connection...")

        ' Accept the connection. 
        ' BeginAcceptSocket() creates the accepted socket.
        listener.BeginAcceptTcpClient(New AsyncCallback(AddressOf DoAcceptTcpClientCallback), listener)

        ' Wait until a connection is made and processed before 
        ' continuing.
        tcpClientConnected.WaitOne()
    End Sub 'DoBeginAcceptTcpClient


    ' Process the client connection.
    Public Shared Sub DoAcceptTcpClientCallback(ByVal ar As IAsyncResult)
        ' Get the listener that handles the client request.
        Dim listener As TcpListener = CType(ar.AsyncState, TcpListener)

        ' End the operation and display the received data on 
        ' the console.
        Dim client As TcpClient = listener.EndAcceptTcpClient(ar)

        ' Process the connection here. (Add the client to a
        ' server table, read data, etc.)
        Console.WriteLine("Client connected completed")

        ' Signal the calling thread to continue.
        tcpClientConnected.Set()
    End Sub 'DoAcceptTcpClientCallback
DeXeee is offline  
Old 10/05/2011, 16:21   #2
 
DeXeee's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 218
Received Thanks: 171
Hmmm, can some1 help me ?
DeXeee is offline  
Old 10/06/2011, 01:29   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,693
Received Thanks: 3,160
What's your problem actually ?
LastThief is offline  
Old 10/06/2011, 15:57   #4
 
DeXeee's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 218
Received Thanks: 171
Quote:
Originally Posted by LastThief View Post
What's your problem actually ?
I start HackShield Server, then i start my bot that's connecting on HackShield Server , and that easy, i make it

Now, i need to start Client from edxLoader ...

So, i need to open TCP connection on some port like "16000"

In VB that will be like this :

Code:
Public serverSocket As New TcpListener(16000)

serverSocket.Start()
Ok, i do that, and then i start Sro with edx Loader, but when the small picture appears i got Disconnect ..

So, what i need to do to fix that ?

Thanks in advance !!!
DeXeee is offline  
Old 10/06/2011, 16:02   #5
 
elite*gold: 0
Join Date: Sep 2010
Posts: 783
Received Thanks: 921
Quote:
Originally Posted by DeXeee View Post
I start HackShield Server, then i start my bot that's connecting on HackShield Server , and that easy, i make it

Now, i need to start Client from edxLoader ...

So, i need to open TCP connection on some port like "16000"

In VB that will be like this :

Code:
Public serverSocket As New TcpListener(16000)

serverSocket.Start()
Ok, i do that, and then i start Sro with edx Loader, but when the small picture appears i got Disconnect ..

So, what i need to do to fix that ?

Thanks in advance !!!
You need to write a proxy, you can use SilkroadSecurityApi by pushedx, it has a proxy example in c#.
ÑõÑ_Ŝŧóp is offline  
Reply


Similar Threads Similar Threads
MyBot 0.2.1 Sicher??
02/26/2012 - DarkOrbit - 11 Replies
WOLLTE FRAGEN WENN DER MYBOT SICHER IST? Und Zwar ich habe langsam angst wenn ich Gebannt werde weil ich den acc schon lange habe und vollelite ist^^ und kb habe den selber zu spielen hat 1kkx2 750kx3 500kx4 900kx5 weis nicht wenn die an des merken aba habe angst wie kann ich mir da sichersein das der ned gebannt wird??
[BOT]MyBot Selber bot´s Schreiben
01/06/2011 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 94 Replies
Hallo Leute Wenn ich Langeweile habe Programier ich bot´s und jetzt ist einer davon fertig geworden Mit Dem bot könnt ihr ganz einfach und schnell Bot´s Erstellen Also Ich erlichgesagt Finde es selbs sehr nützlich weil wenn man mal kurz afk muss kann man ebend mal was schreiben und dann macht der bot weiter, es Gibt Einige möglichkeiten was man mt dem bot alles machen kann Hier mal ein Screen: http://666kb.com/i/bnf7qx5r9rwbjgqtu.gif
MyBot [Modded from Decode]
12/26/2010 - Battle of the Immortals - 47 Replies
Battle of Immortals Bot. This bot is a change of decodes version 2 bot, its built specifically for me but I will share since I've done some extensive changes. My version includes some changes: (BTW I've edited version 2 not version 3) - My wonderful EXP Counter from Aion has been added to the statistics. It only works per 1 char though so still needs tweaking. - Smaller UI with extra features (Opacity, Minimize, Always on top, Start here and Stop After Kill) - Dragon and Enemy lists so...
[RELEASE] zx MyBot V1.0 (MACBOT)
12/14/2009 - Foreign Games - 12 Replies
THIS IS A VB6 VERSION. Whats new with this MyBOT v1.0? Well like everyone requested, bot can now heal your main bot, WTF! LOL. How about attack? yes yes, it can. Assist bot can now help main bot attacking monster.



All times are GMT +1. The time now is 06:48.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.