Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online
You last visited: Today at 15:57

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

Advertisement



How to get the captcha

Discussion on How to get the captcha within the Silkroad Online forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2008
Posts: 5
Received Thanks: 0
How to get the captcha

How i can do to take the captcha ?

i tried to take a screen shot but if u change resolutions this way dont work more ...

Silkroad make a temp file for captcha or store it for a time ?

were i can found it ?
fabrimp is offline  
Old 02/04/2009, 12:57   #2
 
InvincibleNoOB's Avatar
 
elite*gold: 20
Join Date: Mar 2007
Posts: 4,277
Received Thanks: 2,990
It's stored in memory.The packet length is 641 bytes.The Image size is 200x64pxl.The image itself is monochrome.
InvincibleNoOB is offline  
Old 02/05/2009, 20:33   #3
 
elite*gold: 0
Join Date: Dec 2008
Posts: 5
Received Thanks: 0
Ok thanks man ... but its dificult to read packets in memory from a java program .... i will find a solution ... i only can program in java ....
fabrimp is offline  
Old 02/05/2009, 21:44   #4
 
ShyroN1337's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 812
Received Thanks: 105
Quote:
Originally Posted by fabrimp View Post
Ok thanks man ... but its dificult to read packets in memory from a java program .... i will find a solution ... i only can program in java ....
yup, java is really weak in such things
ShyroN1337 is offline  
Old 02/07/2009, 05:59   #5
 
elite*gold: 0
Join Date: Dec 2008
Posts: 5
Received Thanks: 0
Ok !! i found an easy way to get the captcha using java
i wrote a metod to read clipboard and determine resolution to get only the captcha

but i need to do javadoc for it

Code:
import java.awt.Toolkit;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.Transferable;
import java.awt.datatransfer.UnsupportedFlavorException;
import java.awt.image.BufferedImage;
import java.io.IOException;
//import java.nio.Buffer;


public class CutCaptcha {
	
	BufferedImage screen = getImageFromClipboard();
    private int comprimento = screen.getWidth();
	private int altura = screen.getHeight();
	
	
//Metodo para pegar imagem do Clipboard
	 public static BufferedImage getImageFromClipboard() {  
		     Clipboard systemClipboard = Toolkit.getDefaultToolkit().getSystemClipboard();  
		     Transferable clipboardContents = systemClipboard.getContents(null);  
		     if (clipboardContents == null)  
		         return null;  
		    else  
		        try {  
		             if (clipboardContents.isDataFlavorSupported(DataFlavor.imageFlavor)) {  
		            	 BufferedImage image = (BufferedImage) clipboardContents.getTransferData(DataFlavor.imageFlavor);  
		                 return image;  
		             }  
		        } catch (UnsupportedFlavorException ufe) {  
		             ufe.printStackTrace();  
		         } catch (IOException ioe) {  
		             ioe.printStackTrace();  
		         }  
		     return null;  
		 }
	 
//Obter Comprimento

	public int getComprimento() {
		return comprimento;
	}

//Obter Altura

	public int getAltura() {
		return altura;
	}
//Cortar imagem
	public BufferedImage getCaptcha(){
		if(getComprimento() == 1024 && getAltura() == 768){
			return screen.getSubimage(345, 455, 200, 64);
			}else {
				return null;
			}
	}
	 

}
now i will add more resolutions and i doing the filter for clean image
but i need a litle help to derotate text ...
please helpme with this ....

I followng this steps:

1-getCaptcha - get only the captcha -ready!
2-filterCaptcha - Clean captcha noise - working in process 68%
3-derotateCaptcha - Find bether angle to improve accuracy - NEED HELP HERE PLEASE !
4-Ocr -ready !
5-Robot + gui class - next step !
fabrimp is offline  
Reply


Similar Threads Similar Threads
[Captcha]Warrock Korea Captcha
12/21/2009 - WarRock - 15 Replies
Hallo liebe e*pvp.. Ich mache für euch eure Warrock Korea Captchas einfach Bild einfügen und ich erstelle es für euch... Wie spielt man Warrock Korea? Korean Warrock !! Beispiel:
Captcha
08/19/2009 - Metin2 Private Server - 1 Replies
kann jmd von euch mir diesen captcha lösen vielen danke bekommt ein dickes thx
[Look Captcha]Captcha Code Programme
04/03/2009 - Metin2 Private Server - 4 Replies
Hallo bins mal wieder^^ Naja ich benutze diese Seite um den Captcha heraus zubekommen Link:nciku - Online English Chinese Dictionary, Learn Chinese Mandarin Online Suche aber ein einfacheres Programm um die Suche der anderen Foren mitglieder zu erleichtern das Programm und der Download Link Posten=) Thx sind bst garantiert ein Link zur Erklärung wäre auch hilfreich^^ Ps:bin der König der Rechtschreib fehler^^ also nicht meckern:D



All times are GMT +1. The time now is 16:00.


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.