Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 07:10

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

Advertisement



[Java Release with Source] Account Info Saver

Discussion on [Java Release with Source] Account Info Saver within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Ian*'s Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 805
Received Thanks: 464
[Java Release with Source] Account Info Saver

Hey everyone, I made a little quick program in java (It's my first one besides hello world)

Anyways, basically what this does is save an account in your Conquer(Only if it's C:\Program Files\Conquer 2.0\) folder in a file called whatever you made your LoginID.

Edit: Figured it out. Updated Attatchments

I've included the source code just as a little reference for people that are learning Java like myself.

sharing is caring.

--Note to people who want to just use this.
You need to have java runtime installed, please go to java.com to get it.
Attached Files
File Type: rar InfoSaverNoSource.rar (4.7 KB, 52 views)
File Type: rar AccountInfoSaver.rar (28.6 KB, 61 views)
Ian* is offline  
Thanks
1 User
Old 09/14/2008, 13:30   #2
 
AboDawod's Avatar
 
elite*gold: 0
Join Date: Mar 2007
Posts: 81
Received Thanks: 223
Thank you
AboDawod is offline  
Thanks
1 User
Old 09/20/2008, 16:18   #3
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Who need this is lazy or dumb:P
~Yuki~ is offline  
Old 09/25/2008, 22:23   #4
 
Ian*'s Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 805
Received Thanks: 464
Quote:
Originally Posted by lolmaster123 View Post
Who need this is lazy or dumb:P
It was more/ less just for me to test reading and writing data. But yeh, it helps keep things more organized. It's not for lazy or dumb people, these are actually smart to use, there's quite a few floating around this site, but I just gave the source to this one.
Ian* is offline  
Old 10/01/2008, 01:58   #5
 
mrbasharking's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 319
Received Thanks: 284
LOL, I know many archers crying to get such program for their water factory
mrbasharking is offline  
Old 10/01/2008, 05:34   #6
 
elite*gold: 0
Join Date: Sep 2008
Posts: 20
Received Thanks: 3
Since your still learning Java i better steer you in the right direction.

Quote:
Originally Posted by Force.Of.Spite
private void WriteToFile(String s) {
try {
BufferedWriter f = new BufferedWriter(new FileWriter("C:Program FilesConquer 2.0"+jTextField1.getText()+".txt"));
f.write("LoginID: "+jTextField1.getText());
f.newLine();
f.write("Password: "+jTextField2.getText());
f.newLine();
f.write("ID#: "+jTextField3.getText());
f.newLine();
f.write("Question: "+jTextField4.getText());
f.newLine();
f.write("Answer: "+jTextField5.getText());
f.newLine();
f.write("Email: "+jTextField6.getText());
f.newLine();
f.newLine();
f.write("Created by Force.Of.Spite");
f.flush();
f.close();
} catch (IOException e) {
}
}


private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
{
StringBuffer sb = new StringBuffer();
sb.append("LoginID: "+jTextField1.getText()+"n");
sb.append("Password: "+jTextField2.getText()+"n");
sb.append("ID#: "+jTextField3.getText()+"n");
sb.append("Question: "+jTextField4.getText()+"n");
sb.append("Answer: "+jTextField5.getText()+"n");
sb.append("Email: "+jTextField5.getText());
WriteToFile();

}
Whats with all the stuff in jButton1ActionPerformed? its unneeded, should be like this

Since your still learning Java i better steer you in the right direction.
Code:
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    {
       WriteToFile();  
    }
and remove the arguments on the WriteToFile method, as they are not even used.

I see you used something like JFormDesigner to create the GUI, also when using try/catch just use Exception instead of IOException, as it handles all/most types of exceptions.

Try out System.getProperty("line.seperator") too, faster than newLine()

Other than that not bad, try not to rely on a GUI too much, if you have to just do a command line program with some IO from the javax.swing.JOptionPane, static and easy to use.
`xEnt is offline  
Old 11/09/2008, 20:17   #7
 
Ian*'s Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 805
Received Thanks: 464
I used netbeans to make it, I've never even used the console. I'm not really even coding anymore, too busy for it. Sometimes I still open up Delphi and just make programs to make things easier for myself, i.e the reason i made this acct info saver.
I made something not that long ago that made it easy for me to get steam accounts.
It was called SteamChat( ). When they tried to login to the chat app, it would display a message (after a delay of 3000 ms) that said, Failed to connect to steam servers, then sent me their login info and would kill steam's process, and their iexplorer/ firefox everytime they opened(Until restart anyways).
Ian* is offline  
Reply


Similar Threads Similar Threads
Pothead account info saver
07/13/2010 - CO2 Exploits, Hacks & Tools - 5 Replies
Been workin on improving my gui creation skills. so here's what I've come up with. Just slapped an account saver on there. stores it in an xml file. So to save it, type your acc infos in there, it saves the account in the same folder named <accountname>.xml to read the info type your account id in and push read. http://www.unitysolutionvip.com/weednshit/guis/gu i.bmp
Account info saver [Java]
09/27/2008 - CO2 Exploits, Hacks & Tools - 31 Replies
Ok, I made this tonight pretty quickly. I'm learning Java currently and I think this is useful, and I know there are others, but eh, here it is anyways. I'm open to suggestions to be added into this. (i.e. Pick your own save location, Upload file to FTP server, etc.) #Updated (9-15-08) Now can Save and Read info in one file. Use the readme for more info. The source for this version is in the Programming section, you can find it there
[Java Release with Source] Account Info Saver & Reader
09/13/2008 - CO2 Programming - 5 Replies
Okay, i've updated the Acount Info Saver to make the files un-readable unless you use this, or just right click and open with notepad xD. So, anyways, pretty simple, i just had it remove the .txt extension, and made this program to read the text file itself. How to use - Just type your login ID you used to save the file with, and it should read it :) Note to a Mod: You can delete my old thread of the Saver, or you can keep it so people can learn how to write text files in java, doesnt...
Console Acc Info Saver [Source]
03/02/2008 - CO2 Exploits, Hacks & Tools - 4 Replies
Hey guys, No questions please this is simple straight forward im just bored so im posting this someone might learn how to write console line in c# :O lol anyway release and source attached. Saves Servername, Character Name, Username, Password, ID Number, Security Question, Security Answer to a text file.



All times are GMT +1. The time now is 07:11.


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.