Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2
You last visited: Today at 19:16

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

Advertisement



Need help with Visual Basic

Discussion on Need help with Visual Basic within the Conquer Online 2 forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2008
Posts: 6
Received Thanks: 0
Need help with Visual Basic

Hello dear ePvP members.
I am a beginner in Visual Basic programming, but I am trying to code my own proxy and I need some help.
The problem is that I don't know how to skip/block INCOMING packets from interfering with the client.

Please, if anyone has any knowledge, please post here or PM. Thx
RandomOne is offline  
Old 02/21/2008, 11:58   #2
 
elite*gold: 0
Join Date: Sep 2006
Posts: 774
Received Thanks: 8,580
If you are a beginner maybe you should start by some easier tasks.
Anyway when you receive the packets just dont forward them (eg client.send)
phize is offline  
Thanks
1 User
Old 02/21/2008, 12:09   #3
 
elite*gold: 0
Join Date: Feb 2008
Posts: 6
Received Thanks: 0
Quote:
Originally Posted by RootCore View Post
If you are a beginner maybe you should start by some easier tasks.
Anyway when you receive the packets just dont forward them (eg client.send)
Thank you for your fast response. I was wondering, could you give an example, or do you know anyone who can, of blocking player packets? Or something simpler, just need an example to work with
RandomOne is offline  
Old 02/21/2008, 12:57   #4
 
elite*gold: 0
Join Date: Sep 2006
Posts: 774
Received Thanks: 8,580
Its the same concept, you check for the packet id then decide whether to forward it or not. Did you make the proxy from scratch?
phize is offline  
Old 02/21/2008, 13:26   #5
 
elite*gold: 0
Join Date: Feb 2008
Posts: 6
Received Thanks: 0
Quote:
Originally Posted by RootCore View Post
Its the same concept, you check for the packet id then decide whether to forward it or not. Did you make the proxy from scratch?
Nope, I made it based mostly on behelit's crack source code
RandomOne is offline  
Old 02/23/2008, 03:44   #6
 
elite*gold: 0
Join Date: Feb 2008
Posts: 6
Received Thanks: 0
bump'd for the lulz
RandomOne is offline  
Old 02/23/2008, 04:14   #7
 
elite*gold: 0
Join Date: Feb 2008
Posts: 6
Received Thanks: 0
This is what I am using for blocking OUTGOING packets (Client to Server)
Quote:
Select Case Mid(npacket, xx, xx)

Case MakeHex2("XX XX XX XX XX XX XX")
Skip = 1
End Select

If Skip = 1 Then
stat "skipped:" & asc2hex(npacket)
Why wont this work with INCOMING packets!? (Server to Client)
RandomOne is offline  
Old 02/23/2008, 04:32   #8
 
elite*gold: 0
Join Date: Aug 2007
Posts: 295
Received Thanks: 89
Quote:
Originally Posted by RandomOne View Post
This is what I am using for blocking OUTGOING packets (Client to Server)


Why wont this work with INCOMING packets!? (Server to Client)
It does work with incoming packets, as such (using behilits proxy as an example for you):

Under the 'analyze_recv2' function after all the other code there
Code:
If Skip = 0 Then cl_recv2 (tpr)
in other words, if skip not true then receive the packet, otherwise do nothing.

Of course make sure the function understands what Skip is, either by making it local to each function it's needed in, or making it a global variable and changing my example slightly to this:

Code:
If Skip = 0 then
  cl_recv2
Else
   Skip = 0 'Resets the variable for next time.
End If
Some-Guy is offline  
Thanks
1 User
Old 02/23/2008, 14:09   #9
 
elite*gold: 0
Join Date: Feb 2008
Posts: 6
Received Thanks: 0
Quote:
Originally Posted by Some-Guy View Post
It does work with incoming packets, as such (using behilits proxy as an example for you):

Under the 'analyze_recv2' function after all the other code there
Code:
If Skip = 0 Then cl_recv2 (tpr)
in other words, if skip not true then receive the packet, otherwise do nothing.

Of course make sure the function understands what Skip is, either by making it local to each function it's needed in, or making it a global variable and changing my example slightly to this:

Code:
If Skip = 0 then
  cl_recv2
Else
   Skip = 0 'Resets the variable for next time.
End If
You are my hero
RandomOne is offline  
Reply


Similar Threads Similar Threads
Visual Basic 6
07/26/2012 - Conquer Online 2 - 3 Replies
Where can i get this program from for free? A trail? I tried getting it from isohunt, but everytime i install it. It says need more memory. I have a shitload of memory, its something wrong with that verison i got, but is there somewhere i can download a trail?
Visual C++ (C++), Visual Basic, oder AutoIT?
06/24/2010 - .NET Languages - 11 Replies
Hallo Zusammen Ich würde gerne mit dem Programmieren anfangen. Meine Vorstellungen: Es müsste möglich sein, eigene Programme zu schreiben wie z. B. MSN, Emule oder ähnliches. Natürlich nie in dieser Grösse nur als Beispiel. Als weiteres sollte mit der gleichen Programmiersprache auch die Möglichkeit bestehen einen WoW Bot zu schreiben. Habe gehört die meisten Bots sind in Auto IT geschrieben. Gibt es unterschiede wegen des Warden schutzes oder kommt es nicht darauf an?
Visual Basic
05/02/2010 - .NET Languages - 0 Replies
Now Nexxoz Productions has stated whit forum and wants to share all about visual basic 6 and later so jump over to use and see but remember to have fun at ELITEPVPERS :mofo::mofo: Take me to Nexxoz Productions



All times are GMT +1. The time now is 19:17.


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