Citron User application stealer

Discussion in 'Archives' started by Kori, Apr 10, 2007.

Thread Status:
Not open for further replies.
Citron User application stealer
  1. Unread #1 - Apr 10, 2007 at 5:55 PM
  2. Kori
    Joined:
    Jan 26, 2007
    Posts:
    69
    Referrals:
    0
    Sythe Gold:
    0

    Kori Member
    Banned

    Citron User application stealer

    Tut 2: leeched from mr brightside From rune-server.org

    Code:
    Make a new file named "WeaponHandler.java" and put this in there:
    *
     *	Manage your weapon style and anything else related to them through here
     *	© Citrons
     */
     import java.io.*;
     import java.util.StringTokenizer;
     
    	public class WeaponHandler
    	{
    	
       	/*
       	 *	Set the default animations here [Edit them if you wish]
       	 */
       	public static int SA = 0x328; 	//Standing animation
       	public static int WA = 0x333;	//Walking animation
       	public static int RA = 0x338;	//Running animation
       	public static int AA = 422;		//Attack animation
       	public static int BA = 1834;	//Blocking animation
       	
       	/*
       	 *	Leave these blank because we use these for emotions that are called
       	 *	seperate from the others
       	 */   	
    	public static int StandAn;
    	public static int WalkAn;
    	public static int RunAn;
    	public static int AttackAn;
    	public static int BlockAn;
    	
    	public static int AttackOption; //Differnt FightTypes
    	
    	public WeaponHandler() 
    	{
    		System.out.println("WeaponHandler [SIZE="4"]©Mr. Brightsite")[/SIZE];
    	}
    	
    	/*
    	 *	Retreiving weapon animations
    	 *	[SIZE="4"][COLOR="LemonChiffon"]© Mr. Brightsite[/COLOR]
    [/SIZE]	 */
    	public static void WeaponAnim(int Weapon)
    	{
    		String line = "";
    		String token = "";
    		String token2 = "";
    		String token2_2 = "";
    		String[] token3 = new String[12];
    		boolean EndOfFile = false;
    		int ReadMode = 0;
    		BufferedReader characterfile = null;
    		try 
    		{
    			characterfile = new BufferedReader(new FileReader("config\\weaponHandler.cfg"));
    		} catch(FileNotFoundException fileex) 
    		{
    			misc.println("weaponHandler.cfg: file not found.");
    		}
    		try 
    		{
    			line = characterfile.readLine();
    		} catch(IOException ioexception) 
    		{
    			misc.println("weaponHandler.cfg: error loading file.");
    		}
    		while(EndOfFile == false && line != null) 
    		{
    			line = line.trim();
    			int spot = line.indexOf("=");
    			if (spot > -1) 
    			{
    				token = line.substring(0, spot);
    				token = token.trim();
    				token2 = line.substring(spot + 1);
    				token2 = token2.trim();
    				token2_2 = token2.replaceAll("\t\t", "\t");
    				token2_2 = token2_2.replaceAll("\t\t", "\t");
    				token2_2 = token2_2.replaceAll("\t\t", "\t");
    				token2_2 = token2_2.replaceAll("\t\t", "\t");
    				token2_2 = token2_2.replaceAll("\t\t", "\t");
    				token3 = token2_2.split("\t");
    				if (token.equals("id")) 
    				{
    					if (Weapon == Integer.parseInt(token3[0]))
    					{
    						int FightType = Integer.parseInt(token3[4]);
    						/*
    						 *	If anything contains a -1, it resets the emotes to default ones
    						 */
    						if (Integer.parseInt(token3[1]) != -1)
    						{
    							StandAn = Integer.parseInt(token3[1]);
    						}
    						else
    						{
    							StandAn = SA;
    						}
    						if (Integer.parseInt(token3[2]) != -1)
    						{
    							WalkAn = Integer.parseInt(token3[2]);
    						}
    						else
    						{
    							WalkAn = WA;
    						}
    						if (Integer.parseInt(token3[3]) != -1)
    						{
    							RunAn = Integer.parseInt(token3[3]);
    						}
    						else
    						{
    							RunAn = RA;
    						}
    						if (Integer.parseInt(token3[5]) != -1)
    						{
    							AttackAn = Integer.parseInt(token3[5]);
    						}
    						else
    						{
    							AttackAn = AA;
    						}
    						if (Integer.parseInt(token3[9]) != -1)
    						{
    							BlockAn = Integer.parseInt(token3[9]);
    						}
    						else
    						{
    							BlockAn = BA;
    						}
    						if (FightType >= 0)
    						{
    							if (AttackOption == 1)
    							{
    								//Accurate attack
    								AttackAn = Integer.parseInt(token3[5]);
    							}
    							if (AttackOption == 2)
    							{
    								//Aggressive attack
    								AttackAn = Integer.parseInt(token3[6]);
    							}
    							if (AttackOption == 3)
    							{
    								//Controlled attack
    								AttackAn = Integer.parseInt(token3[7]);
    							}
    							if (AttackOption == 4)
    							{
    								//Defensive attack
    								AttackAn = Integer.parseInt(token3[8]);
    							}							
    						}
    					}
    				}
    			} 
    			else 
    			{
    				if (line.equals("[ENDOFWEAPONS]")) 
    				{
    					try 
    					{ 
    						characterfile.close(); 
    					} 
    					catch(IOException ioexception) 
    					{ 
    					
    					}
    				}
    			}
    			try 
    			{
    				line = characterfile.readLine();
    			} 
    			catch(IOException ioexception1) 
    			{ 
    				EndOfFile = true; 
    			}
    		}
    		try 
    		{ 
    			characterfile.close(); 
    		} 
    		catch(IOException ioexception) 
    		{ 
    		
    		}
    	}	
    }
    In the rest of that tut you will find lots of things that say - Mr Brightside

    Tut 3: Leeched from http://www.rune-server.org/showthread.php?t=15739

    Tut 5: leeched from http://www.moparscape.org/smf/index.php/topic,56739.0.html

    Ty
    Kori
     
  3. Unread #2 - Apr 11, 2007 at 6:08 AM
  4. WoW Sucks
    Joined:
    Jan 21, 2007
    Posts:
    3,708
    Referrals:
    3
    Sythe Gold:
    0

    WoW Sucks Global Moderator
    Banned

    Citron User application stealer

    Thanks, i wonder why i can post in here now :S

    I asked SMI to ban him...and he just didn't :(

    Next time, in the spammer forum please :)
     
  5. Unread #3 - Apr 11, 2007 at 6:19 AM
  6. Kori
    Joined:
    Jan 26, 2007
    Posts:
    69
    Referrals:
    0
    Sythe Gold:
    0

    Kori Member
    Banned

    Citron User application stealer

    Shall post There next time i catch someone, You couldn't Post here?
     
< Something Brewing? | New Way to scam or to report people >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site