RuneScape 2 Development > Downloads

[508] Jagex-Pk V1 [508] 29k views ~ 10k downloads!

Pages: <<< (4/49) >>>

Burnzcanzpwnz:

Ok when I run it I get this

The system cannot find the path specified.
Press any key to continue...

What does that mean?

Primadude:

I was actually the one to create full destroy item in a 508 ;).




BrandonScape:

haha funny because it dosent work :P

--- Quote ---/*
 * Class Server
 *
 * Version 1.0
 *
 * Thursday, August 14, 2008
 *
 * Created by Palidino76
 */

package net.com.espeon;

import java.io.*;
import net.com.espeon.model.games.ClanWars;
import net.com.espeon.net.SocketListener;
import net.com.espeon.model.PlayerSave;
import net.com.espeon.util.Misc;
import net.com.espeon.world.mapdata.MapData;

public class Server {
    /**
      * Clan wars class
      */
     public static ClanWars clanWars;
    /**
     * Clan wait delay
     */
    public static int clanWaitDelay, clanFightDelay;
    /**
     * The engine used to update almost everything, such as players, items, and NPCs.
     */
    public static Engine engine;
    /**
     * Listens for incoming connections and accepts them.
     */
    public static SocketListener socketListener;
    /**
     * Save character files.
     */
    private static PlayerSave playerSave;
    /**
     * Banned accounts list.
     */
    public static String[] bannedUsers = new String[1000];

    /**
     * Main method for running the server.
     * <p>While specifying port 0 will select a random open port, it is not suggested as
     * you will not be informed on what port was selected. If you pick a port already
     * in use, the server will shut down.
     * @param args The port to run the server on, or 0 for a random port.
     */

  public static MapData mapData = null;

    public static void main(String[] args) {
        try {
            socketListener = new SocketListener(Integer.parseInt(args[0]));
        } catch (Exception e) {
            /*
             * If this happens then the specified port is most likely already in use.
             */
            e.printStackTrace();
            return;
        }
        mapData = new MapData();
        mapData.loadRegions();
        loadBannedUsers();
        engine = new Engine();
        playerSave = new PlayerSave();
        socketListener.run();
    }

    /**
     * Loads all banned users at startup.
     */
    public static void loadBannedUsers() {
        int index = 0;
        try {
            BufferedReader in = new BufferedReader(new FileReader("./data/banned/bannedusers.dat"));
            String loggedUser = null;
            while ((loggedUser = in.readLine()) != null) {
                bannedUsers[index] = loggedUser;
                index++;
            }
        } catch (Exception e) {
            Misc.println("Error loading banned users list.");
        }
    }
}
--- End quote ---
Nice try but it fails.

Posted on: March 12, 2009, 02:58:55 pmSorry i ment this

Exception in thread "main" java.lang.NoClassDefFoundError: net/com/espeon/Server

Caused by: java.lang.ClassNotFoundException: net.com.espeon.Server
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: net/com/espeon/Server.  Program will exit.
Press any key to continue . . .

Your Master:

Dude, if you think I leeched, I can proof I didn't.

Gods army:





--- Quote from: Your Master on March 13, 2009, 02:26:50 AM ---Dude, if you think I leeched, I can proof I didn't.

--- End quote ---


yet again i say this then, read it.



--- Quote from: Your Master on March 12, 2009, 11:00:18 AM ---No, I used pur3zscape base.

--- End quote ---

o rly?


--- Quote from: Your Master on March 12, 2009, 08:31:40 AM ---Here is 8 months work

--- End quote ---


hmm.... pur3zscape out for out long?

Pages: <<< (4/49) >>>

Go to full version