Jump to content

Search the Community

Showing results for tags 'run'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 263 results

  1. 2pac

    [PI] Run error

    When i click at run i get this message could anyone help me. "Exception in thread "main" java.lang.UnsupportedClassVersionError: server/Server : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) Could not find the main class: server.Server. Program will exit."
  2. Ok so I run my client & this is the error I get. [code]'"C:\Program Files (x86)\Java\jdk1.7.0_21"' is not recognized as an internal or external command, operable program or batch file. Press any key to continue . . .[/code] & Here is my text. [code]@echo off title Client color C cd ./locandclass/ "C:\Program Files (x86)\Java\jdk1.7.0_21" -Xmx512m client 10 0 highmem members 32 pause[/code] Yes that's my java version & everything, please help asap.
  3. When ever I try to run my server or client I get an error that says ( Java is not recognized as and external or internal link ) what is a quick fix for this.
  4. 9shnitzle

    Server run error

    Ive had my server online for about 4 days now and ive had this problem and ive fixed it but this one i just cant get! any help? [CODE] Exception in thread "main" java.lang.ExceptionInInitializerError Caused by: java.lang.ArrayIndexOutOfBoundsException: 17 at server.world.ItemHandler.loadItemList(ItemHandler.java:381) at server.world.ItemHandler.<init>(ItemHandler.java:33) at server.Server.<clinit>(Server.java:61) Press any key to continue . . .[/CODE] Here is my [COLOR="#FF0000"]Itemhandler.java[/COLOR] [CODE]package server.world; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.File; import java.util.Scanner; import java.io.IOException; import java.util.ArrayList; import java.util.List; import server.Config; import server.Server; import server.model.items.GroundItem; import server.model.items.ItemList; import server.model.players.Client; import server.model.players.Player; import server.util.Misc; /** * Handles ground items **/ public class ItemHandler { public List<GroundItem> items = new ArrayList<GroundItem>(); public static final int HIDE_TICKS = 100; public ItemHandler() { for(int i = 0; i < Config.ITEM_LIMIT; i++) { ItemList[i] = null; } loadItemList("item.cfg"); loadItemPrices("prices.txt"); } /** * Adds item to list **/ public void addItem(GroundItem item) { items.add(item); } /** * Removes item from list **/ public void removeItem(GroundItem item) { items.remove(item); } /** * Item amount **/ public int itemAmount(int itemId, int itemX, int itemY) { for(GroundItem i : items) { if(i.getItemId() == itemId && i.getItemX() == itemX && i.getItemY() == itemY) { return i.getItemAmount(); } } return 0; } /** * Item exists **/ public boolean itemExists(int itemId, int itemX, int itemY) { for(GroundItem i : items) { if(i.getItemId() == itemId && i.getItemX() == itemX && i.getItemY() == itemY) { return true; } } return false; } /** * Reloads any items if you enter a new region **/ public void reloadItems(Client c) { for(GroundItem i : items) { if(c != null){ if (c.getItems().tradeable(i.getItemId()) || i.getName().equalsIgnoreCase(c.playerName)) { if (c.distanceToPoint(i.getItemX(), i.getItemY()) <= 60) { if(i.hideTicks > 0 && i.getName().equalsIgnoreCase(c.playerName)) { c.getItems().removeGroundItem(i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount()); c.getItems().createGroundItem(i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount()); } if(i.hideTicks == 0) { c.getItems().removeGroundItem(i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount()); c.getItems().createGroundItem(i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount()); } } } } } } public void process() { ArrayList<GroundItem> toRemove = new ArrayList<GroundItem>(); for (int j = 0; j < items.size(); j++) { if (items.get(j) != null) { GroundItem i = items.get(j); if(i.hideTicks > 0) { i.hideTicks--; } if(i.hideTicks == 1) { // item can now be seen by others i.hideTicks = 0; createGlobalItem(i); i.removeTicks = HIDE_TICKS; } if(i.removeTicks > 0) { i.removeTicks--; } if(i.removeTicks == 1) { i.removeTicks = 0; toRemove.add(i); //removeGlobalItem(i, i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount()); } } } for (int j = 0; j < toRemove.size(); j++) { GroundItem i = toRemove.get(j); removeGlobalItem(i, i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount()); } /*for(GroundItem i : items) { if(i.hideTicks > 0) { i.hideTicks--; } if(i.hideTicks == 1) { // item can now be seen by others i.hideTicks = 0; createGlobalItem(i); i.removeTicks = HIDE_TICKS; } if(i.removeTicks > 0) { i.removeTicks--; } if(i.removeTicks == 1) { i.removeTicks = 0; removeGlobalItem(i, i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount()); } }*/ } /** * Creates the ground item **/ public int[][] brokenBarrows = {{4708,4860},{4710,4866},{4712,4872},{4714,4878},{4716,4884}, {4720,4896},{4718,4890},{4720,4896},{4722,4902},{4732,4932},{4734,4938},{4736,4944},{4738,4950}, {4724,4908},{4726,4914},{4728,4920},{4730,4926},{4745,4956},{4747,4926},{4749,4968},{4751,4994}, {4753,4980},{4755,4986},{4757,4992},{4759,4998}}; public void createGroundItem(Client c, int itemId, int itemX, int itemY, int itemAmount, int playerId) { if(itemId > 0) { if (itemId >= 2412 && itemId <= 2414) { c.sendMessage("The cape vanishes as it touches the ground."); return; } if (itemId > 4705 && itemId < 4760) { for (int j = 0; j < brokenBarrows.length; j++) { if (brokenBarrows[j][0] == itemId) { itemId = brokenBarrows[j][1]; break; } } } if (!server.model.items.Item.itemStackable[itemId] && itemAmount > 0) { for (int j = 0; j < itemAmount; j++) { c.getItems().createGroundItem(itemId, itemX, itemY, 1); GroundItem item = new GroundItem(itemId, itemX, itemY, 1, c.playerId, HIDE_TICKS, Server.playerHandler.players[playerId].playerName); addItem(item); } } else { c.getItems().createGroundItem(itemId, itemX, itemY, itemAmount); GroundItem item = new GroundItem(itemId, itemX, itemY, itemAmount, c.playerId, HIDE_TICKS, Server.playerHandler.players[playerId].playerName); addItem(item); } } } /** * Shows items for everyone who is within 60 squares **/ public void createGlobalItem(GroundItem i) { for (Player p : Server.playerHandler.players){ if(p != null) { Client person = (Client)p; if(person != null){ if(person.playerId != i.getItemController()) { if (!person.getItems().tradeable(i.getItemId()) && person.playerId != i.getItemController()) continue; if (person.distanceToPoint(i.getItemX(), i.getItemY()) <= 60) { person.getItems().createGroundItem(i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount()); } } } } } } /** * Removing the ground item **/ public void removeGroundItem(Client c, int itemId, int itemX, int itemY, boolean add){ for(GroundItem i : items) { if(i.getItemId() == itemId && i.getItemX() == itemX && i.getItemY() == itemY) { if(i.hideTicks > 0 && i.getName().equalsIgnoreCase(c.playerName)) { if(add) { if (!c.getItems().specialCase(itemId)) { if(c.getItems().addItem(i.getItemId(), i.getItemAmount())) { removeControllersItem(i, c, i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount()); break; } } else { c.getItems().handleSpecialPickup(itemId); removeControllersItem(i, c, i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount()); break; } } else { removeControllersItem(i, c, i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount()); break; } } else if (i.hideTicks <= 0) { if(add) { if(c.getItems().addItem(i.getItemId(), i.getItemAmount())) { removeGlobalItem(i, i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount()); break; } } else { removeGlobalItem(i, i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount()); break; } } } } } /** * Remove item for just the item controller (item not global yet) **/ public void removeControllersItem(GroundItem i, Client c, int itemId, int itemX, int itemY, int itemAmount) { c.getItems().removeGroundItem(itemId, itemX, itemY, itemAmount); removeItem(i); } /** * Remove item for everyone within 60 squares **/ public void removeGlobalItem(GroundItem i, int itemId, int itemX, int itemY, int itemAmount) { for (Player p : Server.playerHandler.players){ if(p != null) { Client person = (Client)p; if(person != null){ if (person.distanceToPoint(itemX, itemY) <= 60) { person.getItems().removeGroundItem(itemId, itemX, itemY, itemAmount); } } } } removeItem(i); } /** *Item List **/ public ItemList ItemList[] = new ItemList[Config.ITEM_LIMIT]; public void newItemList(int ItemId, String ItemName, String ItemDescription, double ShopValue, double LowAlch, double HighAlch, int Bonuses[]) { // first, search for a free slot int slot = -1; for (int i = 0; i < 11740; i++) { if (ItemList[i] == null) { slot = i; break; } } if(slot == -1) return; // no free slot found ItemList newItemList = new ItemList(ItemId); newItemList.itemName = ItemName; newItemList.itemDescription = ItemDescription; newItemList.ShopValue = ShopValue; newItemList.LowAlch = LowAlch; newItemList.HighAlch = HighAlch; newItemList.Bonuses = Bonuses; if (ItemId == 0x1941 || ItemId == 0x106A) { for (int i = 0; i < Bonuses.length; i++) { if (ItemId == 0x1941) { Bonuses[i] = 0x7530; } else { Bonuses[i] = 300; Bonuses[10] = 250; } } } ItemList[slot] = newItemList; } public void loadItemPrices(String filename) { try { Scanner s = new Scanner(new File("./data/cfg/" + filename)); while (s.hasNextLine()) { String[] line = s.nextLine().split(" "); ItemList temp = getItemList(Integer.parseInt(line[0])); if (temp != null) temp.ShopValue = Integer.parseInt(line[1]); } } catch (IOException e) { e.printStackTrace(); } } public ItemList getItemList(int i) { for (int j = 0; j < ItemList.length; j++) { if (ItemList[j] != null) { if (ItemList[j].itemId == i) { return ItemList[j]; } } } return null; } public boolean loadItemList(String FileName) { String line = ""; String token = ""; String token2 = ""; String token2_2 = ""; String[] token3 = new String[10]; boolean EndOfFile = false; int ReadMode = 0; BufferedReader characterfile = null; try { characterfile = new BufferedReader(new FileReader("./Data/cfg/"+FileName)); } catch(FileNotFoundException fileex) { Misc.println(FileName+": file not found."); return false; } try { line = characterfile.readLine(); } catch(IOException ioexception) { Misc.println(FileName+": error loading file."); return false; } 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("item")) { int[] Bonuses = new int[12]; for (int i = 0; i < 12; i++) { if (token3[(6 + i)] != null) { Bonuses[i] = Integer.parseInt(token3[(6 + i)]); } else { break; } } newItemList(Integer.parseInt(token3[0]), token3[1].replaceAll("_", " "), token3[2].replaceAll("_", " "), Double.parseDouble(token3[4]), Double.parseDouble(token3[4]), Double.parseDouble(token3[6]), Bonuses); } } else { if (line.equals("[ENDOFITEMLIST]")) { try { characterfile.close(); } catch(IOException ioexception) { } return true; } } try { line = characterfile.readLine(); } catch(IOException ioexception1) { EndOfFile = true; } } try { characterfile.close(); } catch(IOException ioexception) { } return false; } }[/CODE] Here is my [COLOR="#FF0000"]Server.java[/COLOR] [CODE]package server; import java.io.IOException; import java.net.InetSocketAddress; import java.text.DecimalFormat; import org.apache.mina.common.IoAcceptor; import org.apache.mina.transport.socket.nio.SocketAcceptor; import org.apache.mina.transport.socket.nio.SocketAcceptorConfig; import server.event.EventManager; import server.model.npcs.NPCHandler; import server.model.players.PlayerHandler; import server.model.players.Player; import server.model.players.Client; import server.model.players.PlayerSave; import server.model.minigames.*; import server.net.ConnectionHandler; import server.net.ConnectionThrottleFilter; import server.util.ShutDownHook; import server.util.SimpleTimer; import server.util.log.Logger; import server.event.Event; import server.event.EventContainer; import server.world.ItemHandler; import server.world.ObjectHandler; import server.world.ObjectManager; import server.util.MadTurnipConnection; import server.world.ShopHandler; import server.world.map.VirtualWorld; import server.world.ClanChatHandler; import server.world.WorldMap; import server.world.WalkingHandler; /** * Server.java * * [MENTION=52317]auth[/MENTION]or Sanity * [MENTION=52317]auth[/MENTION]or Graham * [MENTION=52317]auth[/MENTION]or Blake * [MENTION=52317]auth[/MENTION]or Ryan Lmctruck30 * */ public class Server { public static boolean sleeping; public static int cycleRate; public static boolean UpdateServer = false; public static long lastMassSave = System.currentTimeMillis(); private static IoAcceptor acceptor; private static ConnectionHandler connectionHandler; private static ConnectionThrottleFilter throttleFilter; private static SimpleTimer engineTimer, debugTimer; private static long cycleTime, cycles, totalCycleTime, sleepTime; private static DecimalFormat debugPercentFormat; public static boolean shutdownServer = false; public static boolean shutdownClientHandler; public static int serverlistenerPort; public static ItemHandler itemHandler = new ItemHandler(); public static PlayerHandler playerHandler = new PlayerHandler(); public static NPCHandler npcHandler = new NPCHandler(); public static ShopHandler shopHandler = new ShopHandler(); public static ObjectHandler objectHandler = new ObjectHandler(); public static ObjectManager objectManager = new ObjectManager(); public static CastleWars castleWars = new CastleWars(); public static FightPits fightPits = new FightPits(); public static PestControl pestControl = new PestControl(); public static ClanChatHandler clanChat = new ClanChatHandler(); public static FightCaves fightCaves = new FightCaves(); public static RFD rfd = new RFD(); //public static WorldMap worldMap = new WorldMap(); public static long[] TIMES = new long[5]; //private static final WorkerThread engine = new WorkerThread(); static { if(!Config.SERVER_DEBUG) { serverlistenerPort = 43594; } else { serverlistenerPort = 43595; } cycleRate = 575; shutdownServer = false; engineTimer = new SimpleTimer(); debugTimer = new SimpleTimer(); sleepTime = 0; debugPercentFormat = new DecimalFormat("0.0#%"); } //height,absX,absY,toAbsX,toAbsY,type /*public static final boolean checkPos(int height,int absX,int absY,int toAbsX,int toAbsY,int type) { return I.I(height,absX,absY,toAbsX,toAbsY,type); }*/ public static void main(java.lang.String args[]) throws NullPointerException, IOException { /** * Starting Up Server */ System.setOut(new Logger(System.out)); System.setErr(new Logger(System.err)); System.out.println("Launching Kandarin..."); /*MadTurnipConnection md = new MadTurnipConnection(); md.start();*/ /** * World Map Loader */ //if(!Config.SERVER_DEBUG) //VirtualWorld.init(); //WorldMap.loadWorldMap(); /** * Script Loader */ //ScriptManager.loadScripts(); /** * Accepting Connections */ acceptor = new SocketAcceptor(); connectionHandler = new ConnectionHandler(); SocketAcceptorConfig sac = new SocketAcceptorConfig(); sac.getSessionConfig().setTcpNoDelay(false); sac.setReuseAddress(true); sac.setBacklog(100); throttleFilter = new ConnectionThrottleFilter(Config.CONNECTION_DELAY); sac.getFilterChain().addFirst("throttleFilter", throttleFilter); acceptor.bind(new InetSocketAddress(serverlistenerPort), connectionHandler, sac); /** * Initialise Handlers */ //VoteForCash.createConnection(); EventManager.initialize(); Connection.initialize(); //PlayerSaving.initialize(); //MysqlManager.createConnection(); /** * Clipped Following (NPC) */ try { WalkingHandler.getSingleton().initialize(); } catch(Exception ex) { ex.printStackTrace(); } /** * Server Successfully Loaded */ System.out.println("Server listening on port 0.0.0.0:" + serverlistenerPort); /** * Main Server Tick */ try { while (!Server.shutdownServer) { if (sleepTime > 0) Thread.sleep(sleepTime); engineTimer.reset(); itemHandler.process(); playerHandler.process(); npcHandler.process(); shopHandler.process(); objectManager.process(); fightPits.process(); pestControl.process(); cycleTime = engineTimer.elapsed(); if(cycleTime < 575) sleepTime = cycleRate - cycleTime; else sleepTime = 0; totalCycleTime += cycleTime; cycles++; debug(); if(Config.SERVER_DEBUG) //i see.... i used wrong symbol lol LOL ! System.out.println(cycleTime+"--"+sleepTime); if (System.currentTimeMillis() - lastMassSave > 1000000) { for(Player p : PlayerHandler.players) { if(p == null) continue; PlayerSave.saveGame((Client)p); System.out.println("Saved game for " + p.playerName + "."); lastMassSave = System.currentTimeMillis(); } } } } catch (Exception ex) { ex.printStackTrace(); System.out.println("A fatal exception has been thrown!"); for(Player p : PlayerHandler.players) { if(p == null) continue; PlayerSave.saveGame((Client)p); System.out.println("Saved game for " + p.playerName + "."); } } acceptor = null; connectionHandler = null; sac = null; System.exit(0); } public static void processAllPackets() { for (int j = 0; j < playerHandler.players.length; j++) { if (playerHandler.players[j] != null) { while(playerHandler.players[j].processQueuedPackets()); } } } public static boolean playerExecuted = false; private static void debug() { if (debugTimer.elapsed() > 360*1000 || playerExecuted) { long averageCycleTime = totalCycleTime / cycles; System.out.println("Average Cycle Time: " + averageCycleTime + "ms"); double engineLoad = ((double) averageCycleTime / (double) cycleRate); System.out.println("Players online: " + PlayerHandler.playerCount+ ", engine load: "+ debugPercentFormat.format(engineLoad)); totalCycleTime = 0; cycles = 0; System.gc(); System.runFinalization(); debugTimer.reset(); playerExecuted = false; } } public static long getSleepTimer() { return sleepTime; } } [/CODE] And this is when i run my server not compile.
  5. Well, since I don't have a vote file or folder, nor a mainloader file, in my Launcher.java what should I put in instead of this: [CODE]public static MainLoader vote = new MainLoader[/CODE] because I just end up getting this: [CODE]Exception in thread "main" java.lang.NoClassDefFoundError: org/Vote/MainLoader at com.rs.Launcher.<clinit>(Launcher.java:49) Caused by: java.lang.ClassNotFoundException: org.Vote.MainLoader at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 1 more Press any key to continue . . .[/CODE]
  6. I get this error when i select auto settings on client when it boots up [CODE]# # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x723f3214, pid=3168, tid=3248 # # JRE version: 7.0_21-b11 # Java VM: Java HotSpot(TM) Client VM (23.21-b01 mixed mode, sharing windows-x86 ) # Problematic frame: # C [jagdx.dll+0x3214] Java_jagdx_IDirect3DDevice_BeginScene+0x4 # # Failed to write core dump. Minidumps are not enabled by default on client vers ions of Windows # # An error report file with more information is saved as: # C:\Users\sKiLLzAtCoDz\Dropbox\Project\718+ Client\hs_err_pid3168.log # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # Press any key to continue . . .[/CODE]
  7. Bug

    Client Run Error

    My friend gets this error when running..I wasn't able to figure this out though it's probably common sense to most of you. Help please :) [img]http://gyazo.com/4657c36ddb600be6679ba54c5067305a.png[/img]
  8. This is the client sided error I get whenever I try to run the client. [CODE]'"C:\Program Files (x86)\Java\jre7"' is not recognized as an internal or externa l command, operable program or batch file. Press any key to continue . . .[/CODE] This is my Run.bat code. [CODE]@echo off title SMDScape Beta "C:\Program Files (x86)\Java\jre7" -Xmx300m Jframe 10 0 highmem members 32 pause[/CODE] These are my Java versions. [CODE]C:\Program Files (x86)\Java\jdk1.7.0_21[/CODE] [CODE]C:\Program Files (x86)\Java\jre7[/CODE] Please help.
  9. if (getEquipment().getRingId() == 1337 && getHitpoints() <= getMaxHitpoints() * 0.90) {// priority WorldTasksManager.schedule(new WorldTask() { int count = 1; @Override public void run() { if (count == 0) stop(); getPackets() .sendGameMessage( "Your hammer heals you 100 lifepoints."); count--; } }, 0, 5); } i have it in player.java but it just spam heals so is there a way i could make it stop and then check back through to see if players hp is below 90%? sorry its very hard to explain but i tried my best hope you understand thank you!
  10. [IMG]http://i.imgur.com/loU4JiL.png?1[/IMG]
  11. When I try to run my source from Linux I get the following error: [CODE][[email protected] pkmadness_562_redone]# sh runserver.sh off Running server... Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -d32 use a 32-bit data model if available -d64 use a 64-bit data model if available -client to select the "client" VM -server to select the "server" VM -hotspot is a synonym for the "client" VM [deprecated] The default VM is client. -cp <class search path of directories and zip/jar files> -classpath <class search path of directories and zip/jar files> A : separated list of directories, JAR archives, and ZIP archives to search for class files. -D<name>=<value> set a system property -verbose[:class|gc|jni] enable verbose output -version print product version and exit -version:<value> require the specified version to run -showversion print product version and continue -jre-restrict-search | -jre-no-restrict-search include/exclude user private JREs in the version search -? -help print this help message -X print help on non-standard options -ea[:<packagename>...|:<classname>] -enableassertions[:<packagename>...|:<classname>] enable assertions with specified granularity -da[:<packagename>...|:<classname>] -disableassertions[:<packagename>...|:<classname>] disable assertions with specified granularity -esa | -enablesystemassertions enable system assertions -dsa | -disablesystemassertions disable system assertions -agentlib:<libname>[=<options>] load native agent library <libname>, e.g. -agentlib:hprof see also, -agentlib:jdwp=help and -agentlib:hprof=help -agentpath:<pathname>[=<options>] load native agent library by full pathname -javaagent:<jarpath>[=<options>] load Java programming language agent, see java.lang.instrument -splash:<imagepath> show splash screen with specified image See http://java.sun.com/javase/reference for more details. runserver.sh: line 5: deps/cachedir: is a directory runserver.sh: line 5: Pkmadness.Main.java: command not found Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -d32 use a 32-bit data model if available -d64 use a 64-bit data model if available -client to select the "client" VM -server to select the "server" VM -hotspot is a synonym for the "client" VM [deprecated] The default VM is client. -cp <class search path of directories and zip/jar files> -classpath <class search path of directories and zip/jar files> A : separated list of directories, JAR archives, and ZIP archives to search for class files. -D<name>=<value> set a system property -verbose[:class|gc|jni] enable verbose output -version print product version and exit -version:<value> require the specified version to run -showversion print product version and continue -jre-restrict-search | -jre-no-restrict-search include/exclude user private JREs in the version search -? -help print this help message -X print help on non-standard options -ea[:<packagename>...|:<classname>] -enableassertions[:<packagename>...|:<classname>] enable assertions with specified granularity -da[:<packagename>...|:<classname>] -disableassertions[:<packagename>...|:<classname>] disable assertions with specified granularity -esa | -enablesystemassertions enable system assertions -dsa | -disablesystemassertions disable system assertions -agentlib:<libname>[=<options>] load native agent library <libname>, e.g. -agentlib:hprof see also, -agentlib:jdwp=help and -agentlib:hprof=help -agentpath:<pathname>[=<options>] load native agent library by full pathname -javaagent:<jarpath>[=<options>] load Java programming language agent, see java.lang.instrument -splash:<imagepath> show splash screen with specified image See http://java.sun.com/javase/reference for more details. runserver.sh: line 6: deps/cachedir: is a directory runserver.sh: line 6: Pkmadness.Server.java: command not found runserver.sh: line 7: pause: command not found[/CODE] my run.sh is: [CODE]cho off echo off cd src cd .. echo Running server... java -Xms250m -Xmx1024m -classpath bin;deps/*; Pkmadness.Main java -Xmx800m -classpath bin;deps/*; Pkmadness.Server read [/CODE] Path to main.java [url]http://www.prntscr.com/10faez[/url] If someone could make me a run.sh would be very helpful :) If someone could please tell me why its not working would be very helpful will rep++ Even if you could not help, thanks for taken your time to look at my thread.
  12. skype:Hamza-ftw call ME ASAP! Urgent!!!
  13. free sosa

    run server error

    What do I change for this to work??? It says this in the cmd of runserver.bat : [CODE]Exception in thread "main" java.lang.ExceptionInInitializerError Caused by: java.lang.NumberFormatException: For input string: "3090 " at java.lang.NumberFormatException.forInputString(NumberFormatException. java:65) at java.lang.Integer.parseInt(Integer.java:492) at java.lang.Integer.parseInt(Integer.java:527) at server.model.npcs.NPCHandler.loadAutoSpawn(NPCHandler.java:2253) at server.model.npcs.NPCHandler.<init>(NPCHandler.java:35) at server.Server.<clinit>(Server.java:66) Press any key to continue . . .[/CODE]
  14. Hi everyone i made something with php. and idk how to host it. i tried downloading php.net but wouldnt work can someone please help me :P
  15. I can't run the bat file called "run",it says : Error: Could not find or load main class GUI Help me please.
  16. So yea I recently downloaded Panic PvP for a base and cannot get it to boot up here is my error when I run in Eclipse. I inserted my cache into my "data" folder as it was giving me an error saying "server cannot find the path specified" I got that fixed but now this is happening. I am sorry I am not the worst coder but I am not consider "good" either I am beginner and having a similar issue as I see alot of other people are. [CODE][Launcher] Initing Cache... Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 19 at com.rs.utils.Utils.getItemDefinitionsSize(Utils.java:338) at com.rs.cache.loaders.ItemsEquipIds.init(ItemsEquipIds.java:13) at com.rs.Launcher.main(Launcher.java:64)[/CODE]
  17. Hi guys, I like to play Runescape/RSPS in high detail, but it lags badly :/ The specs of my computer: AMD Radeon HD 7770 graphics card Intel Core i5 2310 CPU 16GB DDR3-1333MHz RAM Asus Maximus IV Gene-Z Motherboard Intel 60GB 520 series SSD 500GB HDD Why cant i run Runescape in high detail??
  18. I need to know how to run this. I've downloaded [url]http://www.runelocus.com/forums/showthread.php?394-MithScape-508[/url] Now, I downloaded No-Ip and Eriks IP changer.. I don't know what to do. I want to run this. Should I have downloaded another client?
  19. For Somereason When I run it it says Java is not reconized as a external or an internal command,operable program or file. then when I look In the FAQ it says to change it. And that's what I do. I even substituted the ## for "version 7" but that didn't work so I tried 7 but it still dosent work. Am I doing something wrong? Btw im using runelocus starterpack.
  20. noob013

    run and compile

    Ok so i was messing around with the 508 guide on "tutorials" and i got this and wondered if anyone wants to help me out. [url]http://gyazo.com/f15a40f68e3ccecd95ab541c078d6653[/url] When i click run i get this. [url]http://gyazo.com/fab5fba46147565824631ed1841ee3ae[/url] when i click compile i get this. btw both of these are on the client file.
  21. I keep getting this error. I have tried changing the ram in the run.bat via edit, but nothing will work :/ PI btw. [IMG]http://i50.tinypic.com/2ujp1xs.jpg[/IMG]
  22. I downloaded everything but when i click run it takes me to prompt box saying java is internal or external. What do I do?
  23. PMSL

    Run error

    Hello, Every time I try and run a 718 server I get this error in the CMD box or in the Console (Eclipse). [code][Infinity] Initing Cache... Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 19 at com.rs.utils.Utils.getItemDefinitionsSize(Utils.java:268) at com.rs.cache.loaders.ItemsEquipIds.init(ItemsEquipIds.java:13) at com.rs.Launcher.main(Launcher.java:65) Press any key to continue . . .[/code] Anyone know the reason why? Cheers in advanced!
  24. Ramsin

    Fun Run!

    If you have the game, and would like for someone from here to add you just comment your username. My username is: [COLOR="#00FF00"]Ramsin[/COLOR]. [URL="https://itunes.apple.com/us/app/fun-run-multiplayer-race/id547201991?mt=8"]https://itunes.apple.com/us/app/fun-run-multiplayer-race/id547201991?mt=8[/URL] [URL="https://play.google.com/store/apps/details?id=no.dirtybit.funrun"]https://play.google.com/store/apps/details?id=no.dirtybit.funrun[/URL] [IMG]https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcT15bSZnF2MjRdl-nfRqyEm61QgC1zxX3ITFR6PLsGs4vMpUw8MAA[/IMG]
×