Register for your free account! | Forgot your password?

You last visited: Today at 15:46

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

Advertisement



[C#] Vsro redirect

Discussion on [C#] Vsro redirect within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2007
Posts: 79
Received Thanks: 19
[C#] Vsro redirect

Hey,

Is there anyway to redirect vSRO client with C# i have seen pwerRsro loader more that one is for rSRO.

I don't understand how his redirect pattern works anyone got any tip how i can make it work for vSRO client ?
cyberninjah is offline  
Old 08/24/2012, 23:14   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 67
Received Thanks: 36
Code:
Address   Hex dump          Command                                  Comments
004B0870  /$  55            PUSH EBP                                 ; sro_client.004B0870(guessed void)
Here's the address of the function that calls ws2.connect
That should be a good point to start at.
theonly112 is offline  
Old 08/26/2012, 23:28   #3
 
elite*gold: 0
Join Date: Jun 2007
Posts: 79
Received Thanks: 19
Quote:
Originally Posted by theonly112 View Post
Code:
Address   Hex dump          Command                                  Comments
004B0870  /$  55            PUSH EBP                                 ; sro_client.004B0870(guessed void)
Here's the address of the function that calls ws2.connect
That should be a good point to start at.
Thanks i need find some tutorials how this stuff working beacuse i have no idea at the moment ^^
cyberninjah is offline  
Old 08/29/2012, 21:13   #4
 
elite*gold: 0
Join Date: Jun 2007
Posts: 79
Received Thanks: 19
hmm i still dont understand a **** about this xD got maybe any tutorial for it ?

or can explain me more about it ?
cyberninjah is offline  
Old 08/30/2012, 22:43   #5

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,654
Mate i found this ^^

I also try to do the same, will post if i can achieve

Edit:
There you go dude: (All credits to NoN_Stop)
sarkoplata is offline  
Old 09/02/2012, 14:49   #6
 
elite*gold: 0
Join Date: Jun 2007
Posts: 79
Received Thanks: 19
hmm with your code its not redirect my client o.O ?

Edit: Oops sorry my bad i forgot give visual studio admin rights ^^
cyberninjah is offline  
Old 09/12/2012, 06:57   #7
 
iNiperx's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 610
Received Thanks: 152
I'm using this from a class (not form), i call it from a form it loads etc, i put my ID/PW and then the captcha image appears, when i enter it the client wont go to the char list, instead it will give me C9 error, im using edx's simple proxy, when i use this for redirect loader its C9 when i use edx's loader i dont get the C9...
iNiperx is offline  
Old 09/12/2012, 08:34   #8
 
ZeraPain's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 360
Received Thanks: 249
this happens because the client is redirected to port 15778 and won't change it anymore (the proxy tries to redirect the client to an other port if it connects to the worldserver)
ZeraPain is offline  
Old 09/12/2012, 21:42   #9
 
iNiperx's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 610
Received Thanks: 152
So what could i do ?

The server has 4 gateways, and the IPs kind of change over time so i made it get the ip from the host name which is the same, it works..

When i'm going to use the loader the proxy starts to listen, and it gets connected to 127.0.0.1, and port 13000 (0x32, 0xC8) it gets connected to the login server, i can get wrong/pw, blocked/image captcha etc.. but when its going to connect to the world server it throws an error "An existing connection was forcibly closed by the remote host" and throws the C9...

If i just take off the part that calls the launcher function just leaving the proxy and i use edx same ip/port (127.0.0.1/13000) does work.. so idk.. Im playing with it to see if i get it to work.
iNiperx is offline  
Old 09/12/2012, 22:42   #10
 
ZeraPain's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 360
Received Thanks: 249
well you got 2 choices:
1 - you use edx loader which redirects only the ip of the loginserver
2 - you create your own proxy which listens only to one port
ZeraPain is offline  
Old 09/13/2012, 00:26   #11
 
iNiperx's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 610
Received Thanks: 152
2) im using edx's simple proxy (with the silkroadapi he made) i changed it etc and now im using it for WinForm, and the proxy in a different class which is kind of working... just trying to figure it out why its works with edxLoader and not like i do it.. My proxy starts listening, the client redirects to the proxy the proxy gets connected to the login server, but no success to world server
iNiperx is offline  
Old 09/13/2012, 18:21   #12
 
ZeraPain's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 360
Received Thanks: 249
like i said:

with your method you redirect the client permanently to the given port so it cannot be changed anymore by the response packet with the new ip / port.

if you create the proxy with using only 1 port it should work fine.
ZeraPain is offline  
Old 09/13/2012, 21:52   #13
 
iNiperx's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 610
Received Thanks: 152
edit: If i use same port for both gateway and agent i can access the world server but my question is.. having both with same port could be a problem in the future or anything with packets ?
iNiperx is offline  
Old 09/14/2012, 01:40   #14

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,654
@iNiper
The code I posted will simply redirect both gateway/agentserver. The solution for that is simple. Connect to agentserver on the same port you connect to gateway.

Done (Thats what I do on my autofuser)
sarkoplata is offline  
Old 09/14/2012, 02:29   #15
 
iNiperx's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 610
Received Thanks: 152
Quote:
Originally Posted by sarkoplata View Post
@iNiper
The code I posted will simply redirect both gateway/agentserver. The solution for that is simple. Connect to agentserver on the same port you connect to gateway.

Done (Thats what I do on my autofuser)
Actually im using your code, just changed it a lil (not much) and its in c# but the problem was that i didnt use gate/agent on same port, but now its working..

What im trying to do is change from thread or having both gate/agent in 1 thread without having an error like when changing from login to world server the login will say something like "an existing connection has closed" or w.e but its not an error it just means it changed from gate to agent.. so i want to try to remove (not just ignore it)

Edit: What i meant to say im using your code for the simple proxy but in C#, but in vb.net heres is where the message appears "An existing connection was forcibly closed by the remote host" when changing from login server to world server:

Quote:
While True

For Each context As Context In contexts
' Network input event processing
If context.Socket.Poll(0, SelectMode.SelectRead) Then
Dim count As Integer = context.Socket.Receive(context.Buffer.Buffer)
If count = 0 Then
Throw New Exception("The remote connection has been lost.")
End If
context.Security.Recv(context.Buffer.Buffer, 0, count)
End If
Next
iNiperx is offline  
Reply


Similar Threads Similar Threads
[Question] Autopot for vSro (without redirect)
10/08/2012 - SRO Private Server - 27 Replies
Hi guys, I'm playing on Perfection (pvp) server, and recently they have added protection, so we can't log in with mbot, etc. The thing is, the vsro autopot sucks like hell, using pots with about 3-5 secs delay (especially bad with eu characters), and I often have to use hp pot manually. In the old sjsro times, there was a keypresser autopot which you started after login, and worked like charm. Is there someone who knows an autopot similar to that? It would be hella great, then I...
Fr1 redirect to pb
04/04/2012 - DarkOrbit - 3 Replies
when i try to login to fr1 it redires me to bp site any 1 knows why ? i tried with 2 acc existing and botted with and a other acc no botted at all still cant login
Can't redirect ip o_0?
08/10/2011 - Silkroad Online - 1 Replies
Hey everybody! I'm having a problem installing my ibot. First of all it doesn't detect silkroad because i can't redirect using edxsilkroad launcher or PHmediapatcher. Let me explain more in detail. I have everything installed (i think o_0) Whenever i redirect the ip and launch to silkroad, nothing happens when i enter my info in the login screen. It just stay there for a while. If i try launching silkroad using edxsilkroadlauncher5 it give me some random error like %/"!%?/$". Is there...
[Guide] EDXLoader Multiclient/Redirect/Swear Filter TSRO/ISRO/VSRO/CSRO/KSRO
09/03/2009 - SRO Hacks, Bots, Cheats & Exploits - 1 Replies
Had alot of people asking how i was able to multi in game today so i thought i would share with others as this should help people in the future aswell. Please note i am only showing you how too, the program used was NOT made by me, all credts go too pushedx. How to multi client/Redirect/And most loader features in TSRO Tested Working] And Other Official Silrkoad Versions Untested But Confirmed by Pushedx to be working] even with updates: 1. Go here:...
Redirect Ip???
08/14/2009 - Silkroad Online - 20 Replies
Hi. Icannot find this. What i can use for Redirect Ip in Tsro??? I search something, what have Redirect Ip, because i need this for Bot.... Old Loader don't work and http://www.elitepvpers.com/forum/sro-exploits-hacks -bots-guides/301503-tsro-pserver-loader.html that too. Anyone have something for change redirect ip?



All times are GMT +2. The time now is 15:46.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.