Jump to content

Search the Community

Showing results for tags 'home'.



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 71 results

  1. [CENTER][SIZE=7][COLOR="#00FFFF"]OVERLOAD[/COLOR][/SIZE] [SIZE=4][COLOR="#00FFFF"]Top Features:[/COLOR] [/SIZE] [COLOR="#00FFFF"]-23 working skills[/COLOR] [COLOR="#00FFFF"]-Game Modes with incentives[/COLOR] [COLOR="#00FFFF"]-Duo Slayer[/COLOR] [COLOR="#00FFFF"]-Dungoneering[/COLOR] [COLOR="#00FFFF"]-Achievements[/COLOR] [COLOR="#00FFFF"]-Bounty Hunter[/COLOR] [COLOR="#00FFFF"]-Classic Dicing[/COLOR] [COLOR="#00FFFF"]-Minimal Customs[/COLOR] [COLOR="#00FFFF"]-Battlemage/Vanguard/Trickster[/COLOR] [COLOR="#00FFFF"]-Nex Armours[/COLOR] [SIZE=3][URL="http://www.overloadrsps.com/"]Overload Website[/URL][/SIZE] [SIZE=3][URL="https://www.dropbox.com/s/hfkl5u4xnwqdhl9/OverloadRSPS.jar?dl=1"]Download Client[/URL][/SIZE] This is new official Overload thread. I want to keep this short and simple, NO bs reading through 1000 features. <3 About the developers: I am the main developer along with el_maestro who currently also writes scripts for parabot. We are trying to ensure a bug free environment while adding features the players want and [B]DESERVE[/B]. We are very flexible on what should be added. So drop on in and add your suggestions today! What do you have to lose? [video=youtube;7egFPOVFWeU]https://www.youtube.com/watch?v=7egFPOVFWeU[/video][/CENTER]
  2. What have i made worng here, i tried to make a teleport command for all users, anyone can help me? [B][COLOR="#0000FF"] Code number 2 is the full Command.java filee[/COLOR][/B] Im not sure what version i use. i dont know how check, i belive its 317 with some other versions interfaces. could be nice if someone could tell me quick. [B][COLOR="#FF0000"]Code 1 (DOESNT WORK)[/COLOR][/B] [CODE] if (playerCommand.equals("home")) { if(!c.inWild()){ c.getPA().startTeleport(3087, 3491, 0, "You have teleported home"); } else c.sendMessage("Sorry you can't do that in wild."); }[/CODE] [B][COLOR="#FF0000"]Code 2[/COLOR][/B] [CODE]package server.model.players.packets; import java.io.BufferedWriter; import server.Config; import server.Connection; import server.Server; import server.model.players.Client; import server.model.players.PacketType; import server.model.players.PlayerHandler; import server.model.players.PlayerSave; import server.model.players.Player; import server.util.Misc; import server.world.WorldMap; /** * Commands **/ public class Commands implements PacketType { public static void serverMessage(String s) { for (int j = 0; j < Server.playerHandler.players.length; j++) { if(Server.playerHandler.players[j] != null) { Client c = (Client)Server.playerHandler.players[j]; c.sendMessage(s); } } } [MENTION=15855]Over[/MENTION]ride public void processPacket(Client c, int packetType, int packetSize) { String playerCommand = c.getInStream().readString(); /* PublicEvent.processEntry(c, playerCommand); if(c.playerRights == 3) { if(playerCommand.startsWith("wreck")) PublicEvent.forceFirst(); }*/ if (playerCommand.startsWith("/") && playerCommand.length() > 1) { if (c.clanId >= 0) { System.out.println(playerCommand); playerCommand = playerCommand.substring(1); Server.clanChat.playerMessageToClan(c.playerId, playerCommand, c.clanId); } else { if (c.clanId != -1) c.clanId = -1; c.sendMessage("You are not in a clan."); } return; } if (Config.SERVER_DEBUG) Misc.println(c.playerName+" playerCommand: "+playerCommand); if (c.playerRights >= 0) playerCommands(c, playerCommand); if (c.playerRights == 1 || c.playerRights == 2 || c.playerRights == 3) moderatorCommands(c, playerCommand); if (c.playerRights == 2 || c.playerRights == 3 || c.playerRights == 8) administratorCommands(c, playerCommand); if (c.playerRights == 3) ownerCommands(c, playerCommand); if (c.playerRights == 7) veteranCommands(c, playerCommand); if(c.playerRights == 8) playerSupportCommands(c, playerCommand); } public static String auth; public void playerCommands(Client c, String playerCommand) { if (playerCommand.startsWith("food")) { if(!c.inWild()){ c.getItems().addItem(392, 300); } else c.sendMessage("Sorry you can't do that in wild."); } if (playerCommand.equals("home")) { if(!c.inWild()){ c.getPA().startTeleport(3087, 3491, 0, "You have teleported home"); } else c.sendMessage("Sorry you can't do that in wild."); } if (playerCommand.startsWith("setlevel")) { if (c.inWild()) { c.sendMessage("You cannot set your level while in PVP."); } for (int j = 0; j < c.playerEquipment.length; j++) { if (c.playerEquipment[j] > 0) { c.sendMessage("Please take all your armour and weapons off before using this command."); return; } } try { String[] args = playerCommand.split(" "); int skill = Integer.parseInt(args[1]); int level = Integer.parseInt(args[2]); if (skill > 6) { c.sendMessage("You can only set your combat levels"); return; } if (level > 99) level = 99; else if (level < 0) level = 1; c.playerXP[skill] = c.getPA().getXPForLevel(level)+5; c.playerLevel[skill] = c.getPA().getLevelForXP(c.playerXP[skill]); c.getPA().refreshSkill(skill); } catch (Exception e){} } if (playerCommand.startsWith("kdr")) { // You dont want them spamming when there muted. true true. if(Connection.isMuted(c)){ c.sendMessage("You are muted."); return; } double KDR = ((double)c.KC)/((double)c.DC); c.forcedChat("My Kill/Death ratio is "+c.KC+"/"+c.DC+"; "+KDR+"."); } if (playerCommand.startsWith("empty")) { c.getItems().removeAllItems(); c.sendMessage("You empty your inventory. Please make sure not to use this command if you have any not spawnable items."); } if (playerCommand.equalsIgnoreCase("players")) { c.sendMessage("There are currently "+ PlayerHandler.getPlayerCount()+" players online."); } if (playerCommand.equalsIgnoreCase("master")) { if(!c.inWild()) { for (int i = 0; i < 7; i++) { c.playerLevel[i] = 99; c.playerXP[i] = c.getPA().getXPForLevel(100); c.getPA().refreshSkill(i); } c.getPA().requestUpdates(); } else c.sendMessage("You cannot use this in wild."); } if (playerCommand.startsWith("pure")) { if(!c.inWild()) { int i = 0; if (c.inWild()) return; c.getPA().addSkillXP((140333), 0); c.getPA().addSkillXP((403332), 2); c.getPA().addSkillXP((403332), 3); c.getPA().addSkillXP((403332), 4); c.getPA().addSkillXP((403332), 6); } else c.sendMessage("You cannot use this in wild."); } if (playerCommand.equalsIgnoreCase("barrage")) { if(!c.inWild()) { c.getItems().addItem(560, 500); c.getItems().addItem(565, 500); c.getItems().addItem(555, 1000); } else c.sendMessage("You cannot use this in wild."); } if (playerCommand.equalsIgnoreCase("veng")) { if(!c.inWild()) { c.getItems().addItem(560, 500); c.getItems().addItem(9075, 500); c.getItems().addItem(557, 1000); } else c.sendMessage("You cannot use this in wild."); } if (playerCommand.startsWith("item") && c.playerRights >= 0) { if (c.inWild()) return; try { String[] args = playerCommand.split(" "); if (args.length == 3) { int newItemID = Integer.parseInt(args[1]); int newItemAmount = Integer.parseInt(args[2]); for (int i = 0; i < Config.UNSPAWNABLE.length; i++) { if (c.getItems().getItemName(newItemID).toLowerCase().contains(Config.UNSPAWNABLE[i])) { c.sendMessage("This item is currently unspawnable."); return; } } if ((newItemID <= 20073) && (newItemID >= 0)) { c.getItems().addItem(newItemID, newItemAmount); } else { c.sendMessage("That item does not exist."); } } else { c.sendMessage("Wrong usage: (Ex:(::pickup_ID_Amount)(::item 995 1))"); } } catch(Exception e) { e.printStackTrace(); } } if (playerCommand.startsWith("yell")) { for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client all = (Client)Server.playerHandler.players[j]; String userTitle = ""; switch(c.playerRights) { case 0: c.sendMessage("You have to be a Donator to use this feature..."); return; case 1: userTitle = "@[email protected]"; break; case 2: userTitle = "@[email protected]@Admin"; break; case 3: userTitle = "@[email protected]>"; break; case 4: userTitle = "@[email protected]"; break; } if (c.playerName.equalsIgnoreCase("Aki")) userTitle = "@[email protected]"; all.sendMessage("" + userTitle + "" + " " + (c.playerName) +": " + Misc.optimizeText(playerCommand.substring(5)) +""); } } } if (playerCommand.startsWith("changepassword") && playerCommand.length() > 15) { c.sendMessage("Use as ::changepassword (newpasshere)."); c.playerPass = playerCommand.substring(15); c.sendMessage("Your password is now: " + c.playerPass); } } public void veteranCommands(Client c, String playerCommand) { } public void playerSupportCommands(Client c, String playerCommand) { } public void moderatorCommands(Client c, String playerCommand) { /*if(playerCommand.startsWith("testjail")) { // Good luck. 1 Hour. All informaton is here, try { String playerToBan = playerCommand.substring(5); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToBan)) { Client c2 = (Client) Server.playerHandler.players[i]; if (c2.jailTimer == 0) { int cells = Misc.random(3); if (cells == 0) { c2.teleportToX = 3102; c2.teleportToY = 9760; c2.heightLevel = 0; } else if (cells == 1) { c2.teleportToX = 3097; c2.teleportToY = 9760; c2.heightLevel = 0; } else if (cells == 2) { c2.teleportToX = 3102; c2.teleportToY = 9765; c2.heightLevel = 0; } else if (cells == 3) { c2.teleportToX = 3097; c2.teleportToY = 9765; c2.heightLevel = 0; } c2.jailTimer = (60*1)*10; c2.sendMessage("You have been jailed by "+c.playerName+" for 10 minutes. He will be with you shortly."); c.sendMessage("You have jailed "+c2.playerName+". His timer is automatically set to 10 minutes."); c.sendMessage("Type ::addtime to add 5 minutes more to his jail sentence, if it's needed."); c.sendMessage("It is advised you talk to him about the issue. Type ::cell"+cells+" to visit his cell."); } else { if (c2.jailTimer >= 61) { c.sendMessage(""+c2.playerName+" is already in jail for another "+c2.jailTimer/60+" minutes. Type ::addtime to add 5 minutes."); } else if (c2.jailTimer >= 1 && c.jailTimer <= 60) { c.sendMessage(""+c2.playerName+" is already in jail for another "+c2.jailTimer+" seconds. Type ::addtime to add 5 minutes."); } } } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } }*/ if (playerCommand.startsWith("xteleto")) { String name = playerCommand.substring(8); for (int i = 0; i < Config.MAX_PLAYERS; i++) { if (Server.playerHandler.players[i] != null) { if (Server.playerHandler.players[i].playerName.equalsIgnoreCase(name)) { c.getPA().movePlayer(Server.playerHandler.players[i].getX(), Server.playerHandler.players[i].getY(), Server.playerHandler.players[i].heightLevel); } } } } if (playerCommand.startsWith("ban") && c.playerRights >= 1 && c.playerRights < 4) { try { String playerToBan = playerCommand.substring(4); Connection.addNameToBanList(playerToBan); Connection.addNameToFile(playerToBan); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToBan)) { Server.playerHandler.players[i].disconnected = true; } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("unban") && c.playerRights >= 2 && c.playerRights < 4) { try { String playerToBan = playerCommand.substring(6); Connection.removeNameFromBanList(playerToBan); c.sendMessage(playerToBan + " has been unbanned."); } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("mute") && c.playerRights >= 1 && c.playerRights < 4) { try { String playerToBan = playerCommand.substring(5); Connection.addNameToMuteList(playerToBan); for (int i = 0; i < Config.MAX_PLAYERS; i++) { if (Server.playerHandler.players[i] != null) { if (Server.playerHandler.players[i].playerName .equalsIgnoreCase(playerToBan)) { Client c2 = (Client) Server.playerHandler.players[i]; c2.sendMessage("You have been muted by: " + c.playerName); break; } } } } catch (Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("unmute")) { try { String playerToBan = playerCommand.substring(7); Connection.unMuteUser(playerToBan); Connection.removeNameFromMuteList(playerToBan); c.sendMessage("The nigger has been unmuted."); } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("ipmute") && c.playerRights >= 1) { try { String playerToBan = playerCommand.substring(7); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToBan)) { Connection.addIpToMuteList(Server.playerHandler.players[i].connectedFrom); c.sendMessage("You have IP Muted the user: "+Server.playerHandler.players[i].playerName); Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage("You have been muted by: " + c.playerName); break; } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } } public void administratorCommands(Client c, String playerCommand) { if(playerCommand.startsWith("jail")) { try { String playerToBan = playerCommand.substring(5); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToBan)) { Client c2 = (Client)Server.playerHandler.players[i]; c2.teleportToX = 2631; c2.teleportToY = 9860; c2.sendMessage("You have been jailed by "+c.playerName+""); c.sendMessage("Successfully Jailed "+c2.playerName+"."); } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if(playerCommand.startsWith("unjail")) { try { String playerToBan = playerCommand.substring(7); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToBan)) { Client c2 = (Client)Server.playerHandler.players[i]; c2.teleportToX = 3087; c2.teleportToY = 3500; c2.sendMessage("You have been unjailed by "+c.playerName+""); c.sendMessage("Successfully unjailed "+c2.playerName+"."); } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("item") && c.playerRights == 2) { try { String[] args = playerCommand.split(" "); if (args.length == 3) { int newItemID = Integer.parseInt(args[1]); int newItemAmount = Integer.parseInt(args[2]); if ((newItemID <= 22000) && (newItemID >= 0)) { c.getItems().addItem(newItemID, newItemAmount); System.out.print("Spanwed Item"); } else { c.sendMessage("No such item."); } } else if (args.length == 2) { try { int newItemID = Integer.parseInt(args[1]); c.getItems().addItem(newItemID, 1); } catch (Exception e) { String itemName = args[1]; for (int i = 0; i < 22000; i++) { if (c.getItems().getItemName(i).toLowerCase().equalsIgnoreCase("" + itemName.toLowerCase())) { c.sendMessage("Item id: <col=16713217>" + i); c.getItems().addItem(i, 1); System.out.print("Spanwed Item"); return; } } } } else { c.sendMessage("Use as ::item 995 200"); } } catch (Exception e) { } } if (playerCommand.startsWith("ipban") && c.playerRights >= 2) { try { String playerToBan = playerCommand.substring(6); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToBan)) { Connection.addIpToBanList(Server.playerHandler.players[i].connectedFrom); Connection.addIpToFile(Server.playerHandler.players[i].connectedFrom); c.sendMessage("You have IP banned the user: "+Server.playerHandler.players[i].playerName+" with the host: "+Server.playerHandler.players[i].connectedFrom); Server.playerHandler.players[i].disconnected = true; } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.equalsIgnoreCase("mypos") && c.playerRights >= 2) { c.sendMessage("X: "+c.absX); c.sendMessage("Y: "+c.absY); } if (playerCommand.startsWith("ipmute")) { try { String playerToBan = playerCommand.substring(7); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToBan)) { Connection.addIpToMuteList(Server.playerHandler.players[i].connectedFrom); c.sendMessage("You have IP Muted the user: "+Server.playerHandler.players[i].playerName); Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage("You have been muted by: " + c.playerName); c2.sendMessage(" " +c2.playerName+ " Got IpMuted By " + c.playerName+ "."); break; } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.equalsIgnoreCase("mypos")) { c.sendMessage("X: "+c.absX+" Y: "+c.absY+" H: "+c.heightLevel); } if (playerCommand.startsWith("interface")) { String[] args = playerCommand.split(" "); c.getPA().showInterface(Integer.parseInt(args[1])); } if (playerCommand.startsWith("gfx")) { String[] args = playerCommand.split(" "); c.gfx0(Integer.parseInt(args[1])); } if (playerCommand.startsWith("xteletome")) { try { String playerToTele = playerCommand.substring(10); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToTele)) { Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage("You have been teleported to " + c.playerName); c2.getPA().movePlayer(c.getX(), c.getY(), c.heightLevel); break; } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("tele")) { String[] arg = playerCommand.split(" "); if (arg.length > 3) c.getPA().movePlayer(Integer.parseInt(arg[1]),Integer.parseInt(arg[2]),Integer.parseInt(arg[3])); else if (arg.length == 3) c.getPA().movePlayer(Integer.parseInt(arg[1]),Integer.parseInt(arg[2]),c.heightLevel); } if (playerCommand.startsWith("ban") && playerCommand.charAt(3) == ' ') { try { String playerToBan = playerCommand.substring(4); Connection.addNameToBanList(playerToBan); Connection.addNameToFile(playerToBan); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToBan)) { Server.playerHandler.players[i].disconnected = true; Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage(" " +c2.playerName+ " Got Banned By " + c.playerName+ "."); } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("unipmute")) { try { String playerToBan = playerCommand.substring(9); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToBan)) { Connection.unIPMuteUser(Server.playerHandler.players[i].connectedFrom); c.sendMessage("You have Un Ip-Muted the user: "+Server.playerHandler.players[i].playerName); break; } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("unban")) { try { String playerToBan = playerCommand.substring(6); Connection.removeNameFromBanList(playerToBan); c.sendMessage(playerToBan + " has been unbanned."); } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } } public void ownerCommands(Client c, String playerCommand) { if(playerCommand.equals("saveall")) { for (final Player p : PlayerHandler.players) { if (p != null) { PlayerSave.saveGame((Client) p); } } System.out.println("Saved all games."); } if (playerCommand.startsWith("update")) { try { String[] args = playerCommand.split(" "); if (args.length == 2) { int seconds = Integer.parseInt(args[1]); PlayerHandler.updateSeconds = seconds; PlayerHandler.updateAnnounced = false; PlayerHandler.updateRunning = true; PlayerHandler.updateStartTime = System.currentTimeMillis(); } else { c.sendMessage("Use as ::update (seconds)"); } } catch (Exception e) { } } if (playerCommand.startsWith("item") && c.playerRights == 3) { try { String[] args = playerCommand.split(" "); if (args.length == 3) { int newItemID = Integer.parseInt(args[1]); int newItemAmount = Integer.parseInt(args[2]); if ((newItemID <= 22000) && (newItemID >= 0)) { c.getItems().addItem(newItemID, newItemAmount); System.out.print("Spanwed Item"); } else { c.sendMessage("No such item."); } } else if (args.length == 2) { try { int newItemID = Integer.parseInt(args[1]); c.getItems().addItem(newItemID, 1); } catch (Exception e) { String itemName = args[1]; for (int i = 0; i < 22000; i++) { if (c.getItems().getItemName(i).toLowerCase().equalsIgnoreCase("" + itemName.toLowerCase())) { c.sendMessage("Item id: <col=16713217>" + i); c.getItems().addItem(i, 1); System.out.print("Spanwed Item"); return; } } } } else { c.sendMessage("Use as ::item 995 200"); } } catch (Exception e) { } } if (playerCommand.startsWith("object")) { String[] args = playerCommand.split(" "); c.getPA().object(Integer.parseInt(args[1]), c.absX, c.absY, 0, 10); } if (playerCommand.equalsIgnoreCase("bank")) { c.getPA().openUpBank(); } if (playerCommand.startsWith("getip") && c.playerRights >= 3) { try { String iptoget = playerCommand.substring(6); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(iptoget)) { c.sendMessage("Ip:"+Server.playerHandler.players[i].connectedFrom); } } } } catch(Exception e) { c.sendMessage("Player Must Be Online."); } } if (playerCommand.startsWith("xteletome")) { try { String playerToTele = playerCommand.substring(10); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToTele)) { Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage("You have been teleported to " + c.playerName); c2.getPA().movePlayer(c.getX(), c.getY(), c.heightLevel); break; } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if(playerCommand.startsWith("restart") && c.playerRights >= 3) { for(Player p : PlayerHandler.players) { if(p == null) continue; PlayerSave.saveGame((Client)p); } System.exit(0); } if (playerCommand.startsWith("tele")) { String[] arg = playerCommand.split(" "); if (arg.length > 3) c.getPA().movePlayer(Integer.parseInt(arg[1]),Integer.parseInt(arg[2]),Integer.parseInt(arg[3])); else if (arg.length == 3) c.getPA().movePlayer(Integer.parseInt(arg[1]),Integer.parseInt(arg[2]),c.heightLevel); } if (playerCommand.startsWith("ipban")) { try { String playerToBan = playerCommand.substring(6); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToBan)) { Connection.addIpToBanList(Server.playerHandler.players[i].connectedFrom); Connection.addIpToFile(Server.playerHandler.players[i].connectedFrom); c.sendMessage("You have IP banned the user: "+Server.playerHandler.players[i].playerName+" with the host: "+Server.playerHandler.players[i].connectedFrom); Client c2 = (Client)Server.playerHandler.players[i]; Server.playerHandler.players[i].disconnected = true; c2.sendMessage(" " +c2.playerName+ " Got IpBanned By " + c.playerName+ "."); } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if(playerCommand.startsWith("npc")) { try { int newNPC = Integer.parseInt(playerCommand.substring(4)); if(newNPC > 0) { Server.npcHandler.spawnNpc(c, newNPC, c.absX, c.absY, 0, 0, 120, 7, 70, 70, false, false); c.sendMessage("You spawn a Npc."); } else { c.sendMessage("No such NPC."); } } catch(Exception e) { } } if (playerCommand.startsWith("anim")) { String[] args = playerCommand.split(" "); c.startAnimation(Integer.parseInt(args[1])); c.getPA().requestUpdates(); } if (playerCommand.startsWith("spec")) { if(!c.inWild()) { c.specAmount = 10.0; } else c.sendMessage("Bitch dont use this in wild"); } if (playerCommand.startsWith("giveadmin")) { try { String playerToAdmin = playerCommand.substring(10); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToAdmin)) { Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage("You have been given admin status by " + c.playerName); c2.playerRights = 2; c2.logout(); break; } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("givedonator")) { try { String playerToAdmin = playerCommand.substring(10); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToAdmin)) { Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage("You have been given donator status by " + c.playerName); c2.playerRights = 4; c2.memberStatus = 1; c2.donPoints += 50; c2.logout(); break; } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.equals("alltome")) { for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.teleportToX = c.absX; c2.teleportToY = c.absY; c2.heightLevel = c.heightLevel; c2.sendMessage("Mass teleport to: " + c.playerName + ""); } } } if (playerCommand.startsWith("giveowner") && (c.playerName.equalsIgnoreCase("aki"))) { try { String playerToAdmin = playerCommand.substring(10); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToAdmin)) { Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage("You have been given admin status by " + c.playerName); c2.playerRights = 3; c2.logout(); break; } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("givemod")) { try { String playerToMod = playerCommand.substring(8); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToMod)) { Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage("You have been given mod status by " + c.playerName); c2.playerRights = 1; c2.logout(); break; } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("copy")) { int[] arm = new int[14]; String name = playerCommand.substring(5); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; if(c2.playerName.equalsIgnoreCase(playerCommand.substring(5))){ for(int q = 0; q < c2.playerEquipment.length; q++) { arm[q] = c2.playerEquipment[q]; c.playerEquipment[q] = c2.playerEquipment[q]; } for(int q = 0; q < arm.length; q++) { c.getItems().setEquipment(arm[q],1,q); } } } } } if (playerCommand.startsWith("demote")) { try { String playerToDemote = playerCommand.substring(7); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToDemote)) { Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage("You have been demoted by " + c.playerName); c2.playerRights = 0; c2.logout(); break; } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if(playerCommand.startsWith("restart") && c.playerRights == 3) { for(Player p : PlayerHandler.players) { if(p == null) continue; PlayerSave.saveGame((Client)p); } System.exit(0); } if (playerCommand.startsWith("movehome") && c.playerRights == 3) { try { String playerToBan = playerCommand.substring(9); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToBan)) { Client c2 = (Client)Server.playerHandler.players[i]; c2.teleportToX = 3086; c2.teleportToY = 3493; c2.heightLevel = c.heightLevel; c.sendMessage("You have teleported " + c2.playerName + " to Home"); c2.sendMessage("You have been teleported to home"); } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.equals("alltome")) { for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.teleportToX = c.absX; c2.teleportToY = c.absY; c2.heightLevel = c.heightLevel; c2.sendMessage("Mass teleport to: " + c.playerName + ""); } } } if (playerCommand.startsWith("giveitem") && c.playerRights >= 3) { try { String[] args = playerCommand.split(" "); int newItemID = Integer.parseInt(args[1]); int newItemAmount = Integer.parseInt(args[2]); String otherplayer = args[3]; Client c2 = null; for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(otherplayer)) { c2 = (Client)Server.playerHandler.players[i]; break; } } } if (c2 == null) { c.sendMessage("Player doesn't exist."); return; } c.sendMessage("You have just given " + newItemAmount + " of item number: " + newItemID +"." ); c2.sendMessage("You have just been given item(s)." ); c2.getItems().addItem(newItemID, newItemAmount); } catch(Exception e) { c.sendMessage("Use as ::giveitem ID AMOUNT PLAYERNAME."); } } if (playerCommand.startsWith("takeitem") && c.playerRights >= 3) { try { String[] args = playerCommand.split(" "); int takenItemID = Integer.parseInt(args[1]); int takenItemAmount = Integer.parseInt(args[2]); String otherplayer = args[3]; Client c2 = null; for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(otherplayer)) { c2 = (Client)Server.playerHandler.players[i]; break; } } } if (c2 == null) { c.sendMessage("Player doesn't exist."); return; } c.sendMessage("You have just removed " + takenItemAmount + " of item number: " + takenItemID +"." ); c2.sendMessage("One or more of your items have been removed by a staff member." ); c2.getItems().deleteItem(takenItemID, takenItemAmount); } catch(Exception e) { c.sendMessage("Use as ::takeitem ID AMOUNT PLAYERNAME."); } } if (playerCommand.startsWith("givedonatorpoints") && c.playerName.equalsIgnoreCase("Aki")) { try { String[] args = playerCommand.split("-"); int amount = Integer.parseInt(args[1]); String otherplayer = args[2]; Client c2 = null; for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(otherplayer)) { c2 = (Client)Server.playerHandler.players[i]; break; } } } if (c2 == null) { c.sendMessage("Player doesn't exist."); return; } c.sendMessage("You have just given " + amount + " PK points."); c2.sendMessage("You have just been given " + amount + " PK points" ); c2.donPoints += amount; } catch(Exception e) { c.sendMessage("Use as ::givepkp-AMOUNT-PLAYERNAME."); } } /* if (playerCommand.startsWith("givepoints")) { try { String playerToG = playerCommand.substring(10); for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToG)) { Server.playerHandler.players[i].pcPoints += 100; c.sendMessage("You have given "+Server.playerHandler.players[i].playerName+" 100 SXP from: "+Server.playerHandler.players[i].connectedFrom); } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } }*/ } }[/CODE]
  3. [CODE]case 50056: case 75010: String type = c.playerMagicBook == 0 ? "modern" : "ancient"; c.getPA().startTeleport(Config.EDGEVILLE_X, Config.EDGEVILLE_Y, 0, type); break;[/CODE] Action button id is 75010 and it doesnt seem to work :/ I know this is a noob question and please dont say "use the search button" as ive tried.
  4. Hi, i got a question. If you use normal home network conection whit a modem. Is it then possible to have a lot of players on youre server? Like 1000+ players? Thanks for youre response.
  5. [CENTER]OsRsHq is an Old School RuneScape fansite which we plan on extending over the following months to have skill calculators, a large wikipedia and an active community. Of-course there are loads of RuneScape fansites around so why start another one? Well, we focus on OSRS only whilst other larger community's cover both and just have one forum, we try to create a community which is focused on the old part of runescape, the time which most people enjoyed the most and create a wide variety of content on our website which will help you! We will also be releasing an open-source and closed source, RuneScape Loader based of Nikki's RS2Lite. Website: [url=http://www.osrshq.com]Home[/url] Twitter: [url=http://www.twitter.com/OSRSHQ]Follow us on Twitter[/url] [COLOR="#B22222"][I]We are currently still looking for web developers and content creators. Interested? please go to this thread: [url]http://www.runelocus.com/forums/showthread.php?98472-Content-Creators-Web-Developers-needed[/url][/I][/COLOR] Pictures of our loader, nothing special - [IMG]http://www.osrshq.com/images/splash.png[/IMG] [IMG]http://www.osrshq.com/images/RuneScape_3.png[/IMG] [IMG]http://www.osrshq.com/images/RuneScape_OS.png[/IMG] P.S all users are reminded not to register with their RuneScape Name nor with their RuneScape password.[/CENTER]
  6. Please guys anyone know how to change this ? it would be greatly apreciated! thanks so much for your time in advance. also im looking for a co 0wner or a coder to start off my new little project just lemme know anyways thanks guys!
  7. Hello everyone. As my title states, my Home Teleport button isn't working. It just won't work. My code should be correct, see for yourself: [CODE]case 50056: String type = c.playerMagicBook == 0 ? "modern" : "ancient"; c.getPA().startTeleport(Config.EDGEVILLE_X, Config.EDGEVILLE_Y, 0, type); break;[/CODE] It won't even teleport me anywhere. I click the button and it does nothing. However, my other teleport buttons work. This is really strange, could anyone help? Thanks.
  8. izJosh

    Add custom home

    Can someone post me a tutorial on how to create my complete own custom home from scratch? I can't find anything when i google it. or can you do this at all? Rune-Evo v3 source.
  9. When i press the H buttom then i go to my home but i want it to be with loadstones instead can some one help?
  10. Hey guys, when I change the home on the Lost-Realm source. After I change everything, the coords in settings.java and everything then I compile and restart server, it will only let like 2-3 players online? The other(s) clients won't load?? But if I leave the coords like from when I got the source it works fine? Someone help me please Thanks, Tyler
  11. raivorots

    home!

    can anyone help me change home location and teleport to home location too!!
  12. I'm looking for a working world map interface and I also need a better home with working dialogues etc. Most of the NPC"s on my server are not using dialogues properly. I'm willing to pay $5.00 for this. Skype: gripper.rl Email: [email][email protected][/email] Thanks.
  13. Any1 knows good places to make a home? Coords are good to know :) its a 317 PI source.
  14. Here's the home I'm making from scratch that I just started. Ideas are welcome and wanted. Also: If anyone knows how to load objects through the client or cache or how to edit height 1 (second floors) on non-existing second floors, that'd be greatly appreciated. [ATTACH=CONFIG]5693[/ATTACH][ATTACH=CONFIG]5694[/ATTACH][ATTACH=CONFIG]5695[/ATTACH][ATTACH=CONFIG]5696[/ATTACH] [SIZE=3][FONT=Arial Black][COLOR="#FF0000"]UPDATED PICTURES: NEW BUILDINGS[/COLOR][/FONT][/SIZE] [IMG]http://img521.imageshack.us/img521/8413/screenshot20120707at321.png[/IMG] [IMG]http://img405.imageshack.us/img405/5453/screenshot20120707at322.png[/IMG] [IMG]http://img822.imageshack.us/img822/5453/screenshot20120707at322.png[/IMG] [IMG]http://img405.imageshack.us/img405/5453/screenshot20120707at322.png[/IMG] [IMG]http://img198.imageshack.us/img198/4449/screenshot20120707at323.png[/IMG] [IMG]http://img407.imageshack.us/img407/8413/screenshot20120707at321.png[/IMG]
  15. [CENTER][IMG]http://i.imgur.com/JLLkFKX.png[/IMG] [HR][/HR][COLOR=#A9A9A9][FONT=Verdana]Forums: [/FONT][/COLOR][URL="http://www.statius.net"][COLOR=#0066cc]CLICK HERE[/COLOR][/URL] [FONT=Verdana][COLOR=#a9a9a9]Webclients: [/COLOR][COLOR=#0066cc][URL="http://www.statius.net/legacy"]LEGACY[/URL]/[URL="http://statius.net/client.html"]HERITAGE[/URL][/COLOR][/FONT] [FONT=Verdana][COLOR=#a9a9a9]Downloadable Client: [/COLOR][COLOR=#0033cc][URL="http://dl.dropboxusercontent.com/u/23930481/webclient.jar"]LEGACY[/URL]/[URL="https://dl.dropboxusercontent.com/u/23930481/Heritage.jar"]HERITAGE[/URL][/COLOR][/FONT][/CENTER] [HR][/HR] Hello everyone, We'd like to introduce to you the continuation of, the former legendary server, InnovationX. We've been around for quite some time now acquiring 3,460+ players and counting! Here at Statius we host the famous Legacy 614 and also will soon be offering an Oldschool server after hearing our community's opinion. We're always eager to meet new individuals and would love for you to join us! Throughout the past 4 months, we've been striving to create the ideal 614 that many players love to PK in. After countless hours and listening, both Trevor and Kaleem feel confident that our Legacy 614 is better than ever before offering the best PvP experience available. Although there is still work to do, our owner and developer are dedicated and determined to give you all what you desire! We've recently decided to start another server called Heritage. Heritage will serve well for those who don't necessarily like PKing all of the time and prefer more of a PvM and skilling environment. Originally, Heritage was a 718, however, due to the community majority we've started to work on creating Heritage 317 to replace the 718. We plan to have this 317 readily available within the week! Trevor has been working especially hard to satisfy everyone's request. Here is some information on our currently projects: [HR][/HR] [CENTER][COLOR=#A9A9A9][FONT=Verdana][/FONT][/COLOR][COLOR=#ff8c00][FONT=Verdana][B][SIZE=6]Legacy 614[/SIZE][/B][/FONT][/COLOR][COLOR=#A9A9A9][FONT=Verdana] [HR][/HR]The features of Legacy-614 are as follows: [SIZE=1][COLOR=#0066cc]-[B]24/7[/B] [/COLOR][B][COLOR=#008000]ONLINE[/COLOR][/B][/SIZE] [SIZE=1][COLOR=#0066cc]-Cash/Shard/Token Economy[/COLOR][/SIZE] [SIZE=1][COLOR=#0066cc]-30+ Players online at a time[/COLOR][/SIZE] [SIZE=1][COLOR=#0066cc]-Upgradable Weapons & Armour[/COLOR][/SIZE] [SIZE=2][SIZE=1][COLOR=#0066cc]-PK Tournaments -Bounty Hunter[/COLOR][/SIZE][/SIZE] [SIZE=2][SIZE=1][COLOR=#0066cc]-Clan Wars[/COLOR][/SIZE][/SIZE] [SIZE=1][COLOR=#0066cc]-Safe PvP at Home[/COLOR][/SIZE] [SIZE=1][COLOR=#0066cc]-Random PvP Drops[/COLOR][/SIZE] [SIZE=2][SIZE=1][COLOR=#0066cc]-Curse Prayers[/COLOR][/SIZE][/SIZE] [SIZE=1][COLOR=#0066cc]-Working Spellbooks (Moderns, Ancients, Lunars and Dung][/COLOR][/SIZE] [SIZE=1][COLOR=#0066cc]-Thieving to obtain gold to purchase shop items[/COLOR][/SIZE][SIZE=2][SIZE=1][COLOR=#0066cc] [/COLOR][/SIZE][/SIZE] [/FONT][/COLOR] [COLOR=#A9A9A9][FONT=Verdana][HR][/HR][U][SIZE=6][FONT=palatino linotype]Media[/FONT][/SIZE][/U] [HR][/HR][/FONT][/COLOR] [COLOR=#A9A9A9][FONT=Verdana] [IMG]http://i.imgur.com/D2D7Jor.png[/IMG] [IMG]http://i.imgur.com/OhuS5CD.png[/IMG] [/FONT][/COLOR][IMG]http://img818.imageshack.us/img818/3569/8xx.png[/IMG][COLOR=#A9A9A9][FONT=Verdana] [/FONT][/COLOR][IMG]http://i.imgur.com/fFCXDRx.png[/IMG][COLOR=#A9A9A9][FONT=Verdana] [IMG]http://i.imgur.com/B1XNYC5.png[/IMG] [IMG]http://i.imgur.com/lzSvr0M.png[/IMG] [IMG]http://cache.gyazo.com/c2b3f3670b4605cba5de88a637528213.png[/IMG] [IMG]http://i.imgur.com/3lmOSJ6.png[/IMG][/FONT][/COLOR] [COLOR=#A9A9A9][FONT=Verdana] [HR][/HR] [/FONT][/COLOR][COLOR=#ee82ee][FONT=Verdana][B][SIZE=6]Heritage 317[/SIZE][/B][/FONT][/COLOR][COLOR=#A9A9A9][FONT=Verdana] [HR][/HR]The Heritage 317 features are as follows: [/FONT][/COLOR][COLOR=#ee82ee][FONT=Verdana]-24/7 Online -474 game frame -Questing (will unlock features of the game) -Bossing (Godwars, KDB, KQ, GM, CE, DK) -Many teleport spots to train -Innovative Voting shop[/FONT][/COLOR][COLOR=#A9A9A9][FONT=Verdana] -More features to come! [HR][/HR] [/FONT][/COLOR][U][SIZE=6][FONT=palatino linotype]Media[/FONT][/SIZE][/U][COLOR=#A9A9A9][FONT=Verdana] [HR][/HR][/FONT][/COLOR][COLOR=#A9A9A9][FONT=Verdana] [/FONT][/COLOR][IMG]http://gyazo.com/b8a5101c8daa961b7a949bc2b75a50a0.png[/IMG][IMG]http://gyazo.com/41a673e55f091d4285bece48bd5b799d.png[/IMG] [IMG]http://gyazo.com/5688c9a0902910d0ba604e28f8f85590.png[/IMG] [IMG]http://gyazo.com/6e88f59d69e3648050cb3a8f9b3fed73.png[/IMG] [IMG]http://gyazo.com/a7ab70255ba12a229b76921256f78d6d.png[/IMG] [IMG]http://gyazo.com/631bbc40d41be231ba1d19a3f8a5d391.png[/IMG] [IMG]http://gyazo.com/309f154a0151bee3498c7a6bad79da67.png[/IMG] [COLOR=#A9A9A9][FONT=Verdana] [HR][/HR][U][SIZE=6][FONT=palatino linotype]Dedicated Server[/FONT][/SIZE][/U] [HR][/HR] 10vCPU Cores 9GB Dedicated RAM 80GB Disk Space 1Gbps Uplink RAID10 SATA Disks [IMG]http://www.speedtest.net/result/2730190391.png[/IMG] [/FONT][/COLOR] [COLOR=#A9A9A9][FONT=Verdana] [HR][/HR] [/FONT][/COLOR][B]We hope to see you at Statius very soon![/B] Kind regards, Statius Administration[/CENTER]
  16. Hey guys, ridiculous question lol. How do I change the home location on a 719+ Server? It is usually in Entity.java but I have gone over it about 3 or 4 times and haven't found it. Thanks in advance! ~Poliwrath
  17. hello guys i was looking for a place that could be a good home for my 317 server but i couldnt find any place that it could contain everything that i need so i decided to create a new custom home that contains everything i need here is some pics of it PS: i didnt add the npcs yet. [IMG]http://i50.tinypic.com/4l6c7q.jpg[/IMG] [IMG]http://i47.tinypic.com/w9a9dt.jpg[/IMG] [IMG]http://i48.tinypic.com/2hdnx1c.jpg[/IMG] [IMG]http://i45.tinypic.com/a3hwew.jpg[/IMG] [IMG]http://i49.tinypic.com/2rmlf6d.png[/IMG] [IMG]http://i49.tinypic.com/n30phf.gif[/IMG]
  18. Stiles

    Object Blocking Home

    I am currently using impozzes V1 source and I would like to know how to remove the huge black object blocking the exit from the home area.
  19. Hi i need help! i need to know how to change home, so when they teleport home they go somewhere else (edgeville) Also i want to remove a npc that i added as i entered the wrong code how to i do it? Finally- My starter pack doesnt work? so when people login they get nothing :(
  20. Hey everyone, I'm new to the private server community, and just downloaded the "[I]RuneLocus Starter Kit[/I]". I was wondering how to change the spawn location for new players, how to add npcs (and remove the ones from edgeville) and how to make custom shops? Please link with a tutorial or comment yours :)
  21. I'm scared. :( [IMG]http://i47.tinypic.com/2123wj.png[/IMG]
  22. How do I change home of 639?
×