Clan x86

Technical (Development, Security, etc.) => General Programming => New Project Announcements => Topic started by: Joe on February 25, 2005, 06:21:10 PM

Title: Yet Another JoeBot
Post by: Joe on February 25, 2005, 06:21:10 PM
This time, its in Java. Seeing as how all the source is going to get out in asking for help anyway, this is going to be open source from the start.


Main.java
// Created on Feb 25, 2005
// @author JoeTheOdd

package Bot;
import util.Constants;

public class Main {
public static void main(String[] args)
{
// Display "loaded" message
System.out.println("JoeBot " + version + " loaded.");;
}
}


Constants.java
// Created on Feb 25, 2005
// @author JoeTheOdd

package util;

public class Constants
{
// Version Number
public static String version = "0.1";

// VB Declarations. :(
public static String vbNullString = "";

// Packet ID's
public static int SID_NULL = 0x00;
public static int SID_AUTH_INFO = 0x50;
public static int SID_AUTH_CHECK = 0x51;
}
Title: Re: Yet Another JoeBot
Post by: Newby on February 25, 2005, 06:24:31 PM
Good luck! :)
Title: Re: Yet Another JoeBot
Post by: Joe on February 25, 2005, 06:45:35 PM
Thanks.
Title: Re: Yet Another JoeBot
Post by: Joe on February 25, 2005, 06:58:24 PM
Omg help! String version cannot be resolved! (The loaded message in Class Main.java)