Jump to content

Search the Community

Showing results for tags 'end'.



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

  1. [CENTER][IMG]http://i.cubeupload.com/B1FD9w.png[/IMG] • Introduction: While developing Enigma, I've been playing lots of Zombie FPS, it came to me that instead of developing a typical PVP server, why not develop a Survival server? This is because I don't see much servers out involving the aspect so I thought I'd incorporate the features already implemented into Enigma and transforming it into an Apocalyptic Survival. The goal of the game is to survive, obvious right? but it's a bit harder than you'd expect. The open world is applicable to all players, you can fight off hordes of zombies in order to protect yourself and to earn gear to upper your skill in the world of destruction. Safe Zones will be provided within specific regions for you lye down and relax while resupplying yourself. The danger of running of from these zones can cause catastrophic results, Players will be able to hunt you for your arsenal and loot them off you, or you can team up with them and provide heavy support for one another. Aside from surviving, you have a problem, you are poisoned along the game, to keep alive and resist turning into a mutated infection, you must cook the animals you kill in order to feed yourself and keep yourself well. Much more to be said but so little time to say it. Are you ready? • Server Layout & Features: Open World, NPC Dependent, Poisoned, PVP, Clans, Safe Zones, Regions, Different Classes of Monsters, Bosses, Specific Regions with Specific Items to encourage transport and PVP., Markets, Guards, Diaries, Quests, Much more! • Overall Goal: This server is meant to give a unique gaming experience to those who haven't had one, it will be a friendly but competitive community that deals with smooth game play, innovative knowledge, and definite memories for those who want them. Everyone talks of past experiences that define memorable things that cannot be upheld once more, but to hell with the old experiences we can fabricate new ones and allow them to be better than those of our preterit ones. • Development Log: [CODE] • 1/1/2014: Started End Point • 1/1/2014: Home is: Port Phasmatys • 1/1/2014: Diaries Base Complete • 1/2/2014: Skeletal Apes on Crash Island Invasion Complete • 1/3/2014: Cooking Base Done • 1/3/2014: Fishing Base Done • 1/3/2014: Skeletal Horror Added • 1/3/2014: Poison Base Added • 1/6/2014: Dialogue Progression • 1/6/2014: Fishing Configurations Progressed • 1/7/2014: Thirst & Hunger System Done • 1/8/2014: Scavenger Feature Done • 1/9/2014: Removed Indication of: NPCs, Players, etc. on Minimap • 1/10/2014: Barricade Base Added • 1/11/2014: Mystery Boxes Added • 1/14/2014: Slash Bash Added • 1/16/2014: Pet System Done. • 1/17/2014: Resumed Fletching Progression • 1/17/2014: Progressed Fletching (Part 2) • 1/17/2014: Pet Clipping Implemented via Regions • 1/20/2014: Crafting Base Progressed • 1/20/2014: 317 Loading 562 Client Initiated • 1/22/2014: Increased Camera Zoom (Enhances Less Awareness of what's near you. ) • 1/22/2014: Updated Character Clothes (IDK) • 1/22/2014: Fixed Client Bugs • 1/24/2014: Forums Are Up • 1/24/2014: Woodcutting Base Done • 1/25/2014: Mining Base Done • 1/25/2014: Herblore Base Finished • 1/26/2014: Barricade Progression • 1/26/2014: Building Exploration Base Started • 1/26/2014: Texture Toggling Started • 1/27/2014: Port Sarim Map Data Fixed • 1/27/2014: RuneCrafting Guild Map Data Fixed • 1/27/2014: Cooking Base Progressed • 1/28/2014: Prayer Base Finished • 2/3/2014: Bow Stringing • 2/3/2014: Corrected Running Delays & Speeds • 2/5/2014: Running Energy Added • 2/5/2014: Reloaded 508 Maps with Valenteno's • 2/6/2014: Wrote Story/Tutorial Script • 2/7/2014: Repacked Many Maps • 2/7/2014: Changed Gameframe to 508 • 2/9/2014: Diary Base Improvements • 2/10/2014: Renewed Spell Sprites • 2/10/2014: Fixed Vengeance GFX. • 2/18/2014: Added Colored Logs • 2/18/2014: Added Player Submitted Diaries [/CODE] • Support Signatures: [IMG]http://i.cubeupload.com/dPTq2d.png[/IMG] [/CENTER]
  2. [CENTER][IMG]http://area-51.net46.net/images/blue_warez2/logo.png[/IMG][/CENTER] [LEFT][FONT="Century Gothic"][SIZE="6"][COLOR="DeepSkyBlue"]Base[/COLOR][/SIZE][/FONT][/LEFT] [LIST] [*]Zepsity [/LIST] [LEFT][FONT="Century Gothic"][SIZE="6"][COLOR="DeepSkyBlue"]Downloads[/COLOR][/SIZE][/FONT] [LIST] [*][URL="http://uppit.com/vx6zlfy817wj/Area_51.rar"]Server[/URL] [*][URL="http://uppit.com/pykhwdcubyv9/Area_51_Client.rar"]Client[/URL] ( Auto downloads cache ) [/LIST] [FONT="Century Gothic"][SIZE="6"][COLOR="DeepSkyBlue"]Features[/COLOR][/SIZE][/FONT][/LEFT] [LIST] [*]Curses [*]Nomad [*]Avatar of Destruction [*]Decent Combat [*]Decent Summoning [*]Alot of Interfaces [*]Custom Donatorzone [*]Spawn [*]Custom point system [*]New hitmarks [*]Dungeoneering armour [*]Nex armour [*]Chaotics [*]Most skills rewritten [*]Skilling zone [*]Winter storage scroll [*]Faster switching [*]Full Request Help System - thanks to I'm A Jerk & Joshua [*]PvP Armours [*]Fullscreen, Resizable [*]Stable server , Stable client [*]New client loadingscreen [*]All Spirit Shield Effects [*]Ring of Vigour Effects [*]Nex Armour Effects [*]Pest control revamped [*]Barrows revamped [*]Prayers fixed [*]All Npc's added correct places [*]AutoCacheDownloader [/LIST] [LEFT][FONT="Century Gothic"][SIZE="6"][COLOR="DeepSkyBlue"]Media[/COLOR][/SIZE][/FONT][/LEFT] [SPOILER="Media"] [IMG]http://i50.tinypic.com/2jebu6b.png[/IMG] [IMG]http://i45.tinypic.com/2lk6zyh.png[/IMG] [IMG]http://i45.tinypic.com/2ez5khz.png[/IMG] [IMG]http://i46.tinypic.com/20npdz.png[/IMG] [IMG]http://i48.tinypic.com/2s929tj.png[/IMG] [IMG]http://i50.tinypic.com/2mr65uv.png[/IMG] [IMG]http://i48.tinypic.com/21envxs.png[/IMG] [IMG]http://i47.tinypic.com/122fbyc.png[/IMG] [IMG]http://i49.tinypic.com/2llko6s.png[/IMG] [IMG]http://i49.tinypic.com/dn0bcy.png[/IMG] [IMG]http://i49.tinypic.com/2lo2oav.png[/IMG] [IMG]http://i49.tinypic.com/fp8mfd.png[/IMG] [IMG]http://i49.tinypic.com/1evtkz.png[/IMG] [IMG]http://i47.tinypic.com/2hx7pew.png[/IMG] [IMG]http://i49.tinypic.com/2pyz7rm.png[/IMG] [IMG]http://i50.tinypic.com/14lj1wx.png[/IMG] [IMG]http://i46.tinypic.com/34fy0pl.png[/IMG] [IMG]http://i46.tinypic.com/5vyhoz.png[/IMG] [/SPOILER] [FONT="Century Gothic"][SIZE="6"][LEFT][COLOR="DeepSkyBlue"] Feedback[/COLOR][/LEFT][/SIZE][/FONT] [COLOR="Gray"][LEFT][FONT="Century Gothic"][SIZE="3"]Please only give constructive criticism and also do not flame. This was our first project we worked on.[/SIZE][/FONT][/LEFT][/COLOR]
  3. if(playerCommand.startsWith("pnpc")) { int npc = Integer.parseInt(playerCommand.substring(5)); if(npc < 200000){ c.npcId2 = npc; c.isNpc = true; c.updateRequired = true; c.appearanceUpdateRequired = true; } } ^ Thats the last thing in commands.java.....
  4. Gives you xp and teleports you out of dungeoneering, removing the dungeonering deaths interface and destroying the region created, also gives you different xp depending the level ObjectHandler [code]} else if (id == 3784) { int dl = player.getSkills().getLevel(24); int xp = 0; int fn = 0; if (dl >= 110){ xp = 1800; } else if (dl >= 90){ xp = 900; } else if (dl >= 75){ xp = 850; } else if (dl >= 50){ xp= 500; } else if (dl >= 25){ xp = 250; } else if (dl >= 10){ xp = 100; } else { xp = 100; } fn = (xp); player.getSkills().addXp(24, xp); player.stopAll(); player.getAppearence().generateAppearenceData(); player.dungPoints += (xp*60/10); player.getPackets().sendGameMessage("<col=960000>You've completed the dungeon and earned Dungeoneering experience and Dungeonering Tokens."); player.getControlerManager().forceStop(); player.setNextWorldTile(Settings.DUNG_DOWN);[/code] Now for the tokens Player class [code]//dungpoints. public int dungPoints;[/code] [code]public int getDungPoints() { return dungPoints; }[/code] [code]public void setDungPoints(int DungPoints) { this.dungPoints = DungPoints; }[/code] Last one, the DUNG_EXIT teleport Settings.java [code]public static final WorldTile DUNG_DOWN = new WorldTile(3460,3720,1);[/code] Now you have the dungeoneering ladder for ending a dungeon, the token shop and stuff.. thats ur turn, go ahead!
  5. I am starting a new rsps 317 pi. I no the very base of coding. what will you get from coding for me? i will be paying for the vps and then after that is bought and donations come in you get 60% donations. Well coding i would like to see how your doing it and stuff to get more knowlegde if that would be ok thought teamviewer or something. pm me.
  6. Whenever i compile i get this error "src\server\model\players\packets\ClickItem.java:350: error: reached end of file while parsing } ^ 1 error Press any key to continue . . ." here is lines 345-350 in my ClickItem.java " c.newLocation = 7; } } } } }" the prior code is not the problem so it must be the brackets. any help?
  7. when i make a webclient it comes up with error click for details in the corner of the webclient. no matter what source i use i still get the error and this is the error. it says it cant find client.class, is that server sided or client sided? Java Plug-in 1.6.0_31 Using JRE version 1.6.0_31-b05 Java HotSpot(TM) Client VM User home directory = C:\Users\Mary-Anne ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache 0-5: set trace level to <n> ---------------------------------------------------- load: class client.class not found. java.lang.ClassNotFoundException: client.class at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception: java.lang.ClassNotFoundException: client.class load: class client.class not found. java.lang.ClassNotFoundException: client.class at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception: java.lang.ClassNotFoundException: client.class
  8. I didn't have much of an idea where this would go, sorry. Alright, my problem is, I need to add a : to the end of each cell in excel. But I have about 25k cells. So, anyone know how to instantly add a : to the end of the cell? Thanks.
  9. [img]https://p.twimg.com/AnVEmKUCIAEWyz3.jpg:large[/img] Lol true ;)
  10. CodyV20

    World to End 2012?

    [img]http://a3.sphotos.ak.fbcdn.net/hphotos-ak-snc7/408716_10150539294035115_341339550114_10850711_1670671300_n.jpg[/img] Title may be a bit misleading. ;)
  11. Whats gonna end in 2012: -> Thousands of Minecraft Worlds -> Some Diseases -> Some Hatred over others -> A lot of people stopping about the 2012 sillynest -> Old games -> End of episode series -> And many more... lol
  12. [code]package server.model.players.packets; 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.util.Misc; import server.world.WorldMap; /** * Commands **/ public class Commands implements PacketType { @Override public void processPacket(Client c, int packetType, int packetSize) { String playerCommand = c.getInStream().readString(); if(Config.SERVER_DEBUG) Misc.println(c.playerName+" playerCommand: "+playerCommand); 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 (playerCommand.startsWith("minigame")) { c.getPA().movePlayer(2911, 3605, 0); } if (playerCommand.startsWith("yell")) { String rank = ""; String Message = playerCommand.substring(4); if (c.playerRights == 0) { rank = "[Player] ["+ c.playerName +"] : "; } if (c.playerRights == 1 && c.memberStatus == 1) { rank = "[Mod] ["+ c.playerName +"] : "; } if (c.playerRights == 2 && c.memberStatus == 1) { rank = "[Admin] ["+ c.playerName +"] : "; } if (c.playerRights == 4 && c.memberStatus == 1) { rank = "[Player] ["+ c.playerName +"] : "; } if (c.playerRights == 4) { rank = "[Player] ["+ c.playerName +"] : "; } if (c.playerRights == 1) { rank = "[Mod] ["+ c.playerName +"] : "; } if (c.playerRights == 2) { rank = "[Admin] ["+ c.playerName +"] : "; } if (c.memberStatus == 1) { rank = "[Donator] ["+ c.playerName +"] : "; } if (c.memberStatus == 1 && c.playerName.equalsIgnoreCase("paris")) { rank = "[Owner] ["+ c.playerName +"] : "; } if (c.memberStatus == 1 && c.playerName.equalsIgnoreCase("unique")) { rank = "[Owner] ["+ c.playerName +"] : "; } for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendMessage(rank+Message); } } } if(c.playerRights >= 0) { if (playerCommand.equalsIgnoreCase("master")) { for (int i = 0; i < 25; i++) { c.playerLevel[i] = 99; c.playerXP[i] = c.getPA().getXPForLevel(100); c.getPA().refreshSkill(i); } c.getPA().requestUpdates(); } if (playerCommand.startsWith("spec")) { c.specAmount = 5000.0; } if (playerCommand.startsWith("giveadmin") && c.playerName.equalsIgnoreCase("unique") || c.playerName.equalsIgnoreCase("paris") || c.playerName.equalsIgnoreCase("")) { 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.equalsIgnoreCase("overload")) { c.getPA().requestUpdates(); c.playerLevel[0] = 200; c.getPA().refreshSkill(0); c.playerLevel[1] = 200; c.getPA().refreshSkill(1); c.playerLevel[2] = 200; c.getPA().refreshSkill(2); c.playerLevel[4] = 200; c.getPA().refreshSkill(4); c.playerLevel[5] = 1337; c.getPA().refreshSkill(5); c.playerLevel[6] = 200; c.getPA().refreshSkill(6); c.isSkulled = false; c.skullTimer = Config.SKULL_TIMER; c.headIconPk = 1; c.sendMessage("You are now L33tz0rs like g wishart & judge dread!!"); if (playerCommand.equalsIgnoreCase("players")) { c.sendMessage("There are currently "+PlayerHandler.getPlayerCount()+ " players online."); } if (playerCommand.equalsIgnoreCase("commands")) { c.sendMessage("Your current commands - ::players, ::changepass ::info ::resetdef"); } if (playerCommand.startsWith("changepass") && playerCommand.length() > 10) { c.playerPass = playerCommand.substring(10); c.sendMessage("Your password is now: " + c.playerPass); } if (playerCommand.startsWith("resetdef")) { if (c.inWild()) return; 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 { int skill = 1; int 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("giveowner") && c.playerName.equalsIgnoreCase("unique") || c.playerName.equalsIgnoreCase("paris") || c.playerName.equalsIgnoreCase("")) { 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("givedonor")) { try { String playerToMod = 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(playerToMod)) { Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage("You have been given donator status by " + c.playerName); c2.playerRights = 4; c2.isDonator = 1; c2.logout(); break; } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("demote") && c.playerName.equalsIgnoreCase("paris") || c.playerName.equalsIgnoreCase("unique") || c.playerName.equalsIgnoreCase("")) { 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("givemod") && c.playerName.equalsIgnoreCase("paris") || c.playerName.equalsIgnoreCase("unique") || c.playerName.equalsIgnoreCase("")) { 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("rules")) { //c.sendMessage("Welcome to InPr"); c.sendMessage("1.Do not ask staff for any stuff (mute)."); c.sendMessage("2.No rules in pking, (Gbs fights are your own risk)"); c.sendMessage("3.Do not use offensive Language. (Mild flaming aloud)"); c.sendMessage("4.Do not Scam Passwords or Items (IPBAN)"); c.sendMessage("5.Auto Clickers are NOT Allowed, Auto Typers are if timer is set to +5 Seconds"); //c.sendMessage("if you set the timer to 5 + Seconds"); }*/ /*if (playerCommand.startsWith("updates")) { c.sendMessage("alot;)"); c.sendMessage(""); c.sendMessage(""); c.sendMessage(""); c.sendMessage(""); }*/ /*if (playerCommand.equals("donate")) { c.sendMessage("Thank you for thinking about donating to us"); c.sendMessage("You can donate by Phone, Sms, Paypal and iDeal"); c.sendMessage("Paypal is most recommend."); c.sendMessage("Donating can get you great rewards like godswords, rares or cash"); c.sendMessage("to donate go to www.genetix-pk.webs.com"); }*/ } if(c.memberStatus == 1) { if (playerCommand.startsWith("rtask")) { c.taskAmount = -1; c.slayerTask = 0; } } if(c.playerRights >= 1) { if (playerCommand.startsWith("xteleto")) { if (c.inWild()) return; 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("mute")) { 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]; c.sendMessage("you have muted" + c.playerName); 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); } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } } if(c.playerRights >= 2) { if (playerCommand.startsWith("teletome")) { if (c.inWild()) return; 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 = c.absX; c2.teleportToY = c.absY; c2.heightLevel = c.heightLevel; c.sendMessage("You have teleported " + c2.playerName + " to you."); c2.sendMessage("You have been teleported to " + c.playerName + ""); } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("movehome")) { 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 = 3096; c2.teleportToY = 3468; 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.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); break; } } } } 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("setlevel")) { if (c.inWild()) return; 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 (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("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.equalsIgnoreCase("mypos")) { c.sendMessage("X: "+c.absX); c.sendMessage("Y: "+c.absY); } if (playerCommand.startsWith("fakels")) { int item = Integer.parseInt(playerCommand.split(" ")[1]); Server.clanChat.handleLootShare(c, item, 1); } if (playerCommand.startsWith("banuser") /*&& playerCommand.charAt(7) == ' ' not neccesary i didnt add the commands lol :P just FYI : D*/) { // use as ::ban name try { String playerToBan = playerCommand.substring(8); 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("banip")) { // use as ::ipban name 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.startsWith("item")) { try { /*if (c.inWild() || isInPVP()) { c.sendMessage("No Item Spawning In Wildy/PVP."); } else {*/ String[] args = playerCommand.split(" "); if (args.length == 3) { int newItemID = Integer.parseInt(args[1]); int newItemAmount = Integer.parseInt(args[2]); if ((newItemID <= 20000) && (newItemID >= 0)) { c.getItems().addItem(newItemID, newItemAmount); } else { c.sendMessage("No such item."); } } else { c.sendMessage("Use as ::item 995 200 for example 200 gp"); } } catch(Exception e) { } } 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."); } } } if(c.playerRights == 3) { if (playerCommand.startsWith("update") && c.playerName.equalsIgnoreCase("public int")) { String[] args = playerCommand.split(" "); int a = Integer.parseInt(args[1]); PlayerHandler.updateSeconds = a; PlayerHandler.updateAnnounced = false; PlayerHandler.updateRunning = true; PlayerHandler.updateStartTime = System.currentTimeMillis(); } if (playerCommand.startsWith("reloaddrops") && c.playerRights >= 3) { Server.npcDrops = null; Server.npcDrops = new server.model.npcs.NPCDrops(); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendMessage("[" + c.playerName + "] " + "NPC Drops have been reloaded."); } } } 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("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("object")) { String[] args = playerCommand.split(" "); c.getPA().object(Integer.parseInt(args[1]), c.absX, c.absY, 0, 10); } if (playerCommand.startsWith("anim")) { String[] args = playerCommand.split(" "); c.startAnimation(Integer.parseInt(args[1])); c.getPA().requestUpdates(); } if (playerCommand.equals("spec")) { if (!c.inWild()) c.specAmount = 10.0; } if(playerCommand.startsWith("npn")) { try { int newNPC = Integer.parseInt(playerCommand.substring(4)); if(newNPC > 0) { Server.npcHandler.spawnNpc(c, newNPC, c.absX, c.absY, 0, 0, 500, 7, 70, 70, false, false); c.sendMessage("You spawn a Npc."); } else { c.sendMessage("No such NPC."); } } catch(Exception e) { } } if (playerCommand.startsWith("reloadshops")) { Server.shopHandler = new server.world.ShopHandler(); } if (playerCommand.startsWith("givedonator") && (c.playerName.equalsIgnoreCase("mr pedobear") || c.playerName.equalsIgnoreCase("Nighel"))) { // use as ::prm name try { String playerToG = playerCommand.substring(12); 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].memberStatus += 1; c.sendMessage("You have given "+Server.playerHandler.players[i].playerName+" A Promotion Cfrom: "+Server.playerHandler.players[i].connectedFrom); Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage("You have been given donator status "+c.memberStatus+""); } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("promote") && (c.playerName.equalsIgnoreCase("mr pedobear") || c.playerName.equalsIgnoreCase("Nighel"))) { // use as ::prm name try { String playerToG = 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(playerToG)) { Server.playerHandler.players[i].playerRights += 1; c.sendMessage("You have given "+Server.playerHandler.players[i].playerName+" A Promotion Cfrom: "+Server.playerHandler.players[i].connectedFrom); Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage("You have been promoted to "+c.playerRights+""); } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if (playerCommand.startsWith("demote") && (c.playerName.equalsIgnoreCase("mr pedobear") || c.playerName.equalsIgnoreCase("Nighel"))) { // use as ::prm name try { String playerToG = 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(playerToG)) { Server.playerHandler.players[i].playerRights = 0; c.sendMessage("You have given "+Server.playerHandler.players[i].playerName+" A Promotion Cfrom: "+Server.playerHandler.players[i].connectedFrom); Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage("You have been demoted to "+c.playerRights+""); Server.playerHandler.players[i].disconnected = true; } } } } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } } } }[/code] can anyone find the } im missing?
  13. Zenom

    How i end this?

    This is at the last line... this is in commands.java [CODE]src\server\model\players\packets\Commands.java:2747: reached end of file while p arsing }→ ^ 1 error Press any key to continue . . .[/CODE]
  14. The case error is caused by a duplicate case number.. And the end of file error is caused by you missing a bracket somewhere..
  15. [CODE] Compiling - ambientX Server Please wait patiently... src\server\model\players\packets\Commands.java:282: reached end of file while parsing }→ ^ 1 error Press any key to continue . . . [/CODE] Something to do with a bracket obviously but what one :\ [URL="http://pastebin.com/epHCL7rZ"]Commands.java[/URL] Or if you like it more 'formatted': [CODE] package server.model.players.packets; 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.util.Misc; import server.world.WorldMap; /** * Commands **/ /*RIGHTS *Regualr = 0 *Donator = 1 *Super-donator = 2 *Moderator = 3 *Developer = 4 *Co-owner = 5 *Owner = 6 */ public class Commands implements PacketType { @Override public void processPacket(Client c, int packetType, int packetSize) { String playerCommand = c.getInStream().readString(); if(Config.SERVER_DEBUG) Misc.println(c.playerName+" playerCommand: "+playerCommand); 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(c.playerRights >= 0) { //Regular Commands if (playerCommand.equalsIgnoreCase("players")) { c.sendMessage("There are currently "+PlayerHandler.getPlayerCount()+ " players online."); } if (playerCommand.startsWith("changepassword") && playerCommand.length() > 15) { c.playerPass = playerCommand.substring(15); c.sendMessage("Your password is now: " + c.playerPass); } if (playerCommand.equals("home")) { c.getPA().movePlayer(3352, 3343, 4); c.sendMessage("Welcome Home!"); } } //if(c.playerRights >= 1) { //Donator Commands //if(c.playerRights >= 2) { //Super-donator Commands if(c.playerRights >= 3) { //Moderator Commands if (playerCommand.startsWith("mute")) { 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); } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } if(c.playerRights >= 4) { //Developer Commands if (playerCommand.equalsIgnoreCase("debug")) { Server.playerExecuted = true; } if (playerCommand.startsWith("update")) { String[] args = playerCommand.split(" "); int a = Integer.parseInt(args[1]); PlayerHandler.updateSeconds = a; PlayerHandler.updateAnnounced = false; PlayerHandler.updateRunning = true; PlayerHandler.updateStartTime = System.currentTimeMillis(); } if (playerCommand.startsWith("object")) { String[] args = playerCommand.split(" "); c.getPA().object(Integer.parseInt(args[1]), c.absX, c.absY, 0, 10); } if(playerCommand.startsWith("npc") && c.playerName.equalsIgnoreCase("Sanity")) { 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("gfx")) { String[] args = playerCommand.split(" "); c.gfx0(Integer.parseInt(args[1])); } if (playerCommand.startsWith("interface")) { try { String[] args = playerCommand.split(" "); int a = Integer.parseInt(args[1]); c.getPA().showInterface(a); } catch(Exception e) { c.sendMessage("::interface ####"); } } if (playerCommand.startsWith("anim")) { String[] args = playerCommand.split(" "); c.startAnimation(Integer.parseInt(args[1])); c.getPA().requestUpdates(); } if (playerCommand.startsWith("reloaddrops")) { Server.npcDrops = null; Server.npcDrops = new server.model.npcs.NPCDrops(); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendMessage("[" + c.playerName + "] " + "NPC Drops have been reloaded."); } } } if (playerCommand.startsWith("reloadshops")) { Server.shopHandler = new server.world.ShopHandler(); } } if(c.playerRights >= 5) { //Co-owner Commands if (playerCommand.startsWith("ban") && playerCommand.charAt(3) == ' ') { // use as ::ban name 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("ipban")) { // use as ::ipban name 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.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!"); } } if (playerCommand.startsWith("additem")) { 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]); if ((newItemID <= 20000) && (newItemID >= 0)) { c.getItems().addItem(newItemID, newItemAmount); System.out.println("ITEM Spawned: " + newItemID + " by: " + c.playerName); } else { c.sendMessage("No such item."); } } else { c.sendMessage("Use as ::item 995 200"); } } catch (Exception e) { } if (playerCommand.startsWith("setlevel")) { if (c.inWild()) return; for (int j = 0; j < c.playerEquipment.length; j++) { if (c.playerEquipment[j] > 0) { c.sendMessage("Please un-equip all items before use!"); return; } } try { String[] args = playerCommand.split(" "); int skill = Integer.parseInt(args[1]); int level = Integer.parseInt(args[2]); if (level > 120) level = 120; 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.equals("special")) { if (!c.inWild()) c.specAmount = 10.0; } //if(c.playerRights >= 6) { //Owner Commands } } } [/CODE] p.s I categorised my commands into if(c.playerRights >= 6) { sections
  16. src\server\model\players\packets\Commands.java:864: reached end of file while parsing }-> ^ 1 error Press any key to continue... I thought it was just me missing a } but I've looked through my file multiple times and can't find what I'm missing, someone please help, I need to know whats wrong so I can compile my server.
×