Jump to content

Search the Community

Showing results for tags 'kit'.



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

  1. My suggestion for your starter kit is that you upload a complete file. I downloaded it twice and tried to unzip it, and both times winRar told me that it was incomplete/corrupt. I'm sure I can find an appropriate alternative on this forum but it's a bit annoying to waste my time downloading something that I cannot open. This isn't a complaint, just a suggestion that will make you guys look more professional.
  2. I really need the runelocus starter kit cache, since the page for it has 404'd. Please help!!!
  3. Hey runelocus, first thing to do is go to source folder and go to src\com\rs\game\player\starter andclick on Starter and it should show [CODE] if (starter == 0) { player.getInventory().addItem(1856, 1); player.getInventory().addItem(995, 10000000); player.getInventory().addItem(3105, 1); player.getInventory().addItem(3842, 1); player.getInventory().addItem(1725, 1); player.getInventory().addItem(2414, 1); player.getInventory().addItem(1323, 1); player.getInventory().addItem(542, 1); player.getInventory().addItem(544, 1); player.getInventory().addItem(656, 1); player.getInventory().addItem(863, 1000); player.getInventory().addItem(10499, 1); player.getInventory().addItem(1381, 1); player.getInventory().addItem(558, 1000); player.getInventory().addItem(4587, 1); player.getInventory().addItem(12852, 1); } [/CODE] thats where you will change the starter so for example player.getInventory().addItem(4587, 1); 4587 will be replaced with your item code and the 1 is for how many of that item they will revieve. once your done save compile and there you go! merry christmas! :D
  4. I am creating a small 317 [PI] Starting Kit for all the noobs to RSPSs. I was wondering what all the coding noobs wanted to start with in the community. So I'd like some feedback! Here's what the server has so far. [LIST=1] [*]I've made the compiler + run files work flawlessly. No updating from the user needed at all. Only requirement is that they download JDK before use. [*]I've tweaked crafting (To make it a little more like real rs) [*]I've completely added Herblore. It's at 100% (If you don't count potion drinking. Which some potions work ((kinda)) but most don't when the drink option is used) [*]I've completely added Woodcutting. It is slightly buggy but hey, it's an amazing base. [*]I've added 95%+ of the NPCs from real RS into the game with their correct spawn points and walking patterns. [*]I've added multiple, original shops. [*]I've completely revamped Lumbridge. There still lacks dialogues, a couple doors and world item spawns (Like the bronze picaxe found atop of the castle archway). But it does have Bob's axe shop and the General store 100% replicated form origional RS. [*]I've added a crappy Firemaking base. But hey... it's a start for people. [*]I've tweaked some of the spellbook custom teles from the original release of RL Starterpack [*]I've made the newcomer's map work. [*]I've made experience lamps work as well. The item "lamp" gives the player's level * 10 xp in the chosen skill. The item "antique lamp" gives the player's level * 50 in the chosen skill. The item "gamer book" gives the player's level * 500 in the chosen skill. [*]I've made perfectly working random gifts (Gifts >1% rare items <2% and >30% experience giving rewards and < 30% >=100% 1 gold) [*]I've started tutorial island (It's just the very start of it. Like maybe 5% of it I've done.) [*]I've also made the Report Abuse button nearly work. It just doesn't recognize the person who was reported last 60 seconds of chat. [*]I've added a few skill guide menus. But haven't worked much on those. Just the first five skills of the first column have been worked on. [*]I've added an ability that if the player's Herblore skill is equal to or higher than level 20, you can use a Pestle and Mortar on a gold bar to crush it into 1000 gold pieces. [*]I've added a new client that is one .jar file and direct connects to the server (as far as I know, it has no bugs but could wield some if someone who is experienced in RSPS coding goes snooping through it.). So this new client is just one file and can be sent out to friends to direct connect to the server. I didn't make it my friend did. Credits go to him. His name is Canain. [*]I've also added a few very helpful commands "::help", "::help2" and "::help3" which display all the commands within the server. They are seperated from Administrator, Developer and Other commands. I've also added a few other commands such as ::char and ::bank. [/LIST] Here are some things I plan on adding before the release. [LIST=1] [*]Working clue scrolls [*]Staff Zone (I don't like the idea but I'm sure everyone else does) [/LIST] Things suggested that I plan on adding before the release. Things suggested that I do not plan on adding before the release.
  5. [IMG]http://gyazo.com/40955becabf7ae45d963590e5de12b99[/IMG] I opened the client folder and clicked on the run.bat because that's what I thought I was supposed to do according to [IMG]http://gyazo.com/b1211c995f365cc5115db11e7ae604ec[/IMG] I followed steps 1 and 2 correctly and downloaded jdk and jre7. Could someone please help me? P.S. thanks Emily for redirecting me here.
  6. So I need some help with what to do about this problem. [ATTACH=CONFIG]6957[/ATTACH] I have checked the internet and found any answers.
  7. Hey guys, im new to all this rsps making stuff. Kind of. I had one server up and running at one point but it was too laggy. Its been a while since i have done anything else. I downloaded the starter kit. Got the JDK 7u45 or something like that. But when i go to compile and save after i put in my servers name host name and port number. At first it said something like "java: no source" and a few other things. But now it dosent say anything. It just gives me the location of where the thing is.. Can anyone help me please?
  8. this is the second time I have tried to start a server but I can never get it to run or compile it would be most appreciated if someone could help me with the codes for the compilers PLZZZZZ!!! I have jdk1.7.0_45, i have tried playing with it but im new to this whole thing. Well hopefully someone can help me:)
  9. My Error: [code] java.lang.ArrayIndexOutOfBoundsException: 1 at Class36.methodCustomAnimations(Class36.java:65) at Animation.unpackConfig(Animation.java:1710) at client.startUp(client.java:7318) at RSApplet.run(RSApplet.java:33) at client.run(client.java:4517) at java.lang.Thread.run(Thread.java:722) NPC.DAT : 1489108188 Called method225 NPC.IDX : 1489126980 Called method225 [/code] My class36.java line 65 code: [code] if(class18.anIntArray342[i3] != 0) { for(int l3 = i3 - 1; l3 > k2; l3--) { if(class18.anIntArray342[l3] != 0) continue; ai[l2] = l3; ai1[l2] = 0; ai2[l2] = 0; ai3[l2] = 0; l2++; break; } }[/code] Will somebody please tell me what is wrong here...? :\
  10. I've gotten the entire skill menu concept down on the Starter Kit I got from Rune Locus. I've edited it some but want to complex it somewhat. The buttons on the side aren't showing text and I don't know how to add text to them... Here is a picture of what I want. [IMG]http://i782.photobucket.com/albums/yy104/countryboyaj/Untitled-1_zps61e6048f.png[/IMG] Here is my skill guide code: [code] package server.model.players; /** * * @author Sanity * */ public class SkillMenu { private static final int INTERFACE_ID = 8714; private static final int LEVEL_LINE = 8720; private static final int TEXT_LINE = 8760; private static final int TITLE_LINE = 8716; private static final int[][] items = {{1321,1323,1325,1327,1329,1331,1333,4153,4587,4151,4718,11694,9747}, {1117,1115,1119,1125,1121,6916,1123,1127,3751,2513,10348,11724,11720,4720,11283,9753}, {4153,6528,9750}, {9768}, {841,843,849,853,857,1135,861,2499,11235,6522,2501,9185,10330,4214,2503,4734,9756}, {9759}, {4099,6916,6889,7401,3387,4675,10338,4712}}; private static final String[][] LEVELS = {{"1","1","5","10","20","30","40","50","60","70","70","75","99"}, {"1","1","5","10","20","25","30","40","45","60","65","65","70","70","75","99"}, {"50","60","99"}, {"99"}, {"1","5","20","30","30","40","50","50","60","60","60","61","65","70","70","70","99"}, {"99"}, {"20","25","25","40","40","50","65","70"}}; private static final String[][] DESCRIPTION = {{"Bronze Weapons", "Iron Weapons", "Steel Weapons", "Black Weapons", "Mithril Weapons", "Adamant Weapons", "Rune Weapons", "Granite Maul", "Dragon Weapons", "Abyssal Whip", "Barrows Weapons", "Godswords", "Cape of Achievement"}, {"Bronze Armour", "Iron Armour", "Steel Armour", "Black Armour", "Mithril Armour", "Infinity", "Adamant Armour", "Rune Armour", "Fremennik Helmets", "Dragon Armour", "3rd Age Armour", "Bandos", "Armadyl", "Barrows Armour","Dragonfire Shield", "Cape of Achievement"}, {"Granite Items", "Obby Maul", "Cape of Achievement"}, {"Cape of Achievement"}, {"Normal Bows","Oak Bows", "Willow Bows", "Maple Bows","Yew Bows", "Green D'hide", "Magic Bows", "Blue D'hide","Dark Bow","Obby Ring", "Red D'hide","Rune C'bow","3rd age Range","Crystal Bow","Black D'hide","Karil's","Cape of Achievement"}, {"Cape of Achievement"}, {"Mystic ","Infinity ","Mage's book","Enchanted ","Splitbark ","Ancient staff","3rd age mage","Ahrims"}}; /** cooking * * 317,335,331,359,377,371,383,389,395,9801 * 1,15,25,30,40,45,80,91 * "Shrimp", "Trout", "Salmon", "Tuna", "Lobster", "Swordfish", "Shark", "Manta Ray","Cape of Achievement" */ /** fishing * * 317,335,331,359,377,371,383,389,395,9801 * 1,20,30,35,40,50,76,81 * "Shrimp", "Trout", "Salmon", "Tuna", "Lobster", "Swordfish", "Shark", "Manta Ray","Cape of Achievement" */ /** woodcutting * * 1351,1349,1511,1353,1521,1355,1519,1357,1517,1515,1359,1513,7797 * "1","1","1","6","15","21","30","31","41","45","60","61","75","99" * "Bronze Axe","Iron Axe","Logs","Steel Axe","Oak Logs","Mithril Axe","Willow Logs","Adamant Axe","Rune Axe","Maple Logs","Yew Logs","Dragon Axe","Magic Logs","Cape of Achievement" */ /** mining * * 1265,1267,1436,434,436,1269,440,442,1273,453,1271,444,1275,447,449,451,9792 * "1","1","1","1","1","1","6","15","20","21","30","31","40","41","65","70","85","99" * "Bronze pickaxe","Iron pickaxe","Rune essence","Clay","Copper","Tin","steel pickaxe","Iron ore","Silver ore","Mithril pickaxe","Coal ore","Adamant pickaxe","Gold ore","Rune pickaxe","Mithril ore","Adamanetite ore","Runite ore" */ /** * * 556,558,555,557,554,559,564,562,9075,561,563,560,565 * "1","2","5","9","14","20","27","35","40","44","54","65","77" * "Air rune","Mind rune","Water rune","Earth rune","Fire rune","Body rune","Cosmic rune","Chaos rune","Astral rune","Nature rune","Law rune","Death rune","Blood rune" */ private static final String[] SKILLS = {"Attack","Defence","Strength","Hitpoints","Ranged","Prayer","Magic"}; public static void openInterface(Client c, int skillType) { removeSidebars(c); writeItems(c,skillType); writeText(c,skillType); c.getPA().showInterface(INTERFACE_ID); } private static void removeSidebars(Client c) { int[] temp = {8849,8846,8823,8824,8827,8837,8840,8843,8859,8862,8865,15303,15306,15309}; for (int j = 0; j < temp.length; j++) { c.getPA().sendFrame126("",temp[j]); } } private static void writeItems(Client c, int skillType) { synchronized (c) { c.outStream.createFrameVarSizeWord(53); c.outStream.writeWord(8847); c.outStream.writeWord(items[skillType].length); for (int j = 0; j < items[skillType].length; j++) { c.outStream.writeByte(1); if (items[skillType][j] > 0) { c.outStream.writeWordBigEndianA(items[skillType][j] + 1); } else { c.outStream.writeWordBigEndianA(0); } } c.outStream.endFrameVarSizeWord(); c.flushOutStream(); } } private static void writeText(Client c, int skillType) { c.getPA().sendFrame126(SKILLS[skillType], TITLE_LINE); for (int j = 0; j < LEVELS[skillType].length; j++) { c.getPA().sendFrame126(LEVELS[skillType][j], LEVEL_LINE + j); } for (int j = 0; j < DESCRIPTION[skillType].length; j++) { c.getPA().sendFrame126(DESCRIPTION[skillType][j], TEXT_LINE + j); } for (int j = DESCRIPTION[skillType].length; j < 30; j++) { c.getPA().sendFrame126("", LEVEL_LINE + j); } for (int j = LEVELS[skillType].length; j < 30; j++) { c.getPA().sendFrame126("", TEXT_LINE + j); } } } [/code] If you require any further information or codes to see relating to this issue please repost and let me know and I'll have them online as soon as possible. Thanks in advance! -Country
  11. Countryboyaj

    Starter Kit

    Here is a list of issues I cannot figure out on my own... If anyone can just hint to me a place to start looking or a way to fix it'll be much appreciated! :) Issues listed in priority order. My highest priorities will be first. [list=1] [*]Animations [*]Sounds [*]NPC Clipping Through Walls (I want this to stop >.<) [/list] I'd love to have [u]any[/u] help provided! Thank you very much in advance! -Country
  12. I try to add the southmost door to the lumbridge castle by adding: [code]door = 3217 3218 0 0 0 //Lumby Castle Door door = 3217 3217 0 0 1[/code] to door.cfg here: [spoiler][code]//the door starts as closed // South 0 face = doorX -1 face = -3 // East -1 face = doorY -1 face = 0 // North -2 face = doorX +1 face = -1 // West -3 face = doorY +1 face = -2 // doorX doorY Height Face State //0 closed, 1 open door = 3312 3235 0 0 0 //duel arena gate door = 3312 3234 0 0 0 //duel arena gate door = 3253 3266 0 0 0 //cow gate door = 3268 3227 0 0 0 //al kharid gates door = 3268 3228 0 0 0 door = 3562 9694 0 -2 0 //barrows door door = 3563 9694 0 -1 1 //door = 2949 3379 0 0 0 //fally hair shop //door = 2948 3379 0 -3 1 door = 3234 3426 0 -2 0 door = 3235 3426 0 -1 1 door = 3238 3210 0 0 0 door = 3237 3210 0 -3 1 door = 3234 3207 0 0 0 door = 3233 3207 0 -3 1 door = 3079 3497 0 -2 0 door = 3079 3497 0 -1 1 //the door starts as opened // South 0 face = doorY +1 face = -1 // East -1 face = doorX -1 face = -2 // North -2 face = doorY -1 face = -3 // West -3 face = doorX +1 face = 0 // doorX doorY Height Face State //0 closed, 1 open door = 3231 3433 0 -2 1 door = 3231 3432 0 -3 0 door = 2950 3385 0 -2 1 door = 2950 3384 0 -3 0 door = 3249 3435 0 -1 1 door = 3248 3435 0 -2 0 door = 3253 3431 0 -2 1 door = 3253 3430 0 -3 0 door = 3233 3427 0 0 1 door = 3233 3428 0 -1 0 door = 3217 3219 0 0 0 //Lumby Castle Door door = 3217 3218 0 -3 1 [COLOR="#40E0D0"]door = 3217 3218 0 0 0 //Lumby Castle Door door = 3217 3217 0 0 1[/COLOR] door = 3101 3510 0 0 0 door = 3101 3509 0 0 0 door = 2816 3438 0 -3 0 //door = 3101 3509 0 1 0 //door = 3101 3510 0 -1 0 [ENDOFDOORLIST] [/code][/spoiler] Compiling is fine, but when I try to run the server I get this error: [code]Exception in thread "main" java.lang.ExceptionInInitializerError at server.GUI.<init>(GUI.java:92) at server.GUI.main(GUI.java:39) Caused by: java.lang.ArrayIndexOutOfBoundsException: 30 at server.world.ObjectHandler.loadDoorConfig(ObjectHandler.java:284) at server.world.ObjectHandler.<init>(ObjectHandler.java:26) at server.Server.<clinit>(server.java:64) ... 2 more Press any key to continue . . .[/code] What am I missing here :\ I've checked ObjectHandler, GUI [u]and[/u] server.java and still cannot see what I'm doing wrong... help is much appreciated! :)
  13. I have just finished using the starter kit and I am looking for a server for the next one up (dont know what number that is) so I can continue to learn. I would like one that has most skills working and GE but just a request. Any one point me in the right direction? PLZ REMOVE THIS POST IT IS JUNK .
  14. Alright I got 2 issues with my compiler. I'll be very direct and to the point :3 How it comes and what error I get: [code]--------------------------------- Currently Compiling... --------------------------------- error: Class names, 'server.GUI', are only accepted if annotation processing is explicitly requested 1 error --------------------------------- Compiling Complete --------------------------------- Press any key to continue . . .[/code] When I fix the class name and what I get: [code] Currently Compiling... --------------------------------- src\server\server.java:11: error: package server.event does not exist import server.event.EventManager; ^ src\server\server.java:12: error: package server.model.minigames does not exist import server.model.minigames.CastleWars; ^ src\server\server.java:13: error: package server.model.minigames does not exist import server.model.minigames.FightCaves; ^ src\server\server.java:14: error: package server.model.minigames does not exist import server.model.minigames.FightPits; ^ src\server\server.java:15: error: package server.model.minigames does not exist import server.model.minigames.PestControl; ^ src\server\server.java:16: error: package server.model.npcs does not exist import server.model.npcs.NPCDrops; ^ src\server\server.java:17: error: package server.model.npcs does not exist import server.model.npcs.NPCHandler; ^ src\server\server.java:18: error: package server.model.players does not exist import server.model.players.Client; ^ src\server\server.java:19: error: package server.model.players does not exist import server.model.players.Player; ^ src\server\server.java:20: error: package server.model.players does not exist import server.model.players.PlayerHandler; ^ src\server\server.java:21: error: package server.model.players does not exist import server.model.players.PlayerSave; ^ src\server\server.java:22: error: package server.net does not exist import server.net.ConnectionHandler; ^ src\server\server.java:23: error: package server.net does not exist import server.net.ConnectionThrottleFilter; ^ src\server\server.java:24: error: package server.util does not exist import server.util.SimpleTimer; ^ src\server\server.java:25: error: package server.util.log does not exist import server.util.log.Logger; ^ src\server\server.java:26: error: package server.world does not exist import server.world.ClanChatHandler; ^ src\server\server.java:27: error: package server.world does not exist import server.world.ItemHandler; ^ src\server\server.java:28: error: package server.world does not exist import server.world.ObjectHandler; ^ src\server\server.java:29: error: package server.world does not exist import server.world.ObjectManager; ^ src\server\server.java:30: error: package server.world does not exist import server.world.ShopHandler; ^ src\server\server.java:51: error: cannot find symbol private static ConnectionHandler connectionHandler; ^ symbol: class ConnectionHandler location: class Server src\server\server.java:52: error: cannot find symbol private static ConnectionThrottleFilter throttleFilter; ^ symbol: class ConnectionThrottleFilter location: class Server src\server\server.java:53: error: cannot find symbol private static SimpleTimer engineTimer, debugTimer; ^ symbol: class SimpleTimer location: class Server src\server\server.java:60: error: cannot find symbol public static ItemHandler itemHandler = new ItemHandler(); ^ symbol: class ItemHandler location: class Server src\server\server.java:61: error: cannot find symbol public static PlayerHandler playerHandler = new PlayerHandler(); ^ symbol: class PlayerHandler location: class Server src\server\server.java:62: error: cannot find symbol public static NPCHandler npcHandler = new NPCHandler(); ^ symbol: class NPCHandler location: class Server src\server\server.java:63: error: cannot find symbol public static ShopHandler shopHandler = new ShopHandler(); ^ symbol: class ShopHandler location: class Server src\server\server.java:64: error: cannot find symbol public static ObjectHandler objectHandler = new ObjectHandler(); ^ symbol: class ObjectHandler location: class Server src\server\server.java:65: error: cannot find symbol public static ObjectManager objectManager = new ObjectManager(); ^ symbol: class ObjectManager location: class Server src\server\server.java:66: error: cannot find symbol public static CastleWars castleWars = new CastleWars(); ^ symbol: class CastleWars location: class Server src\server\server.java:67: error: cannot find symbol public static FightPits fightPits = new FightPits(); ^ symbol: class FightPits location: class Server src\server\server.java:68: error: cannot find symbol public static PestControl pestControl = new PestControl(); ^ symbol: class PestControl location: class Server src\server\server.java:69: error: cannot find symbol public static NPCDrops npcDrops = new NPCDrops(); ^ symbol: class NPCDrops location: class Server src\server\server.java:70: error: cannot find symbol public static ClanChatHandler clanChat = new ClanChatHandler(); ^ symbol: class ClanChatHandler location: class Server src\server\server.java:71: error: cannot find symbol public static FightCaves fightCaves = new FightCaves(); ^ symbol: class FightCaves location: class Server src\server\server.java:60: error: cannot find symbol public static ItemHandler itemHandler = new ItemHandler(); ^ symbol: class ItemHandler location: class Server src\server\server.java:61: error: cannot find symbol public static PlayerHandler playerHandler = new PlayerHandler(); ^ symbol: class PlayerHandler location: class Server src\server\server.java:62: error: cannot find symbol public static NPCHandler npcHandler = new NPCHandler(); ^ symbol: class NPCHandler location: class Server src\server\server.java:63: error: cannot find symbol public static ShopHandler shopHandler = new ShopHandler(); ^ symbol: class ShopHandler location: class Server src\server\server.java:64: error: cannot find symbol public static ObjectHandler objectHandler = new ObjectHandler(); ^ symbol: class ObjectHandler location: class Server src\server\server.java:65: error: cannot find symbol public static ObjectManager objectManager = new ObjectManager(); ^ symbol: class ObjectManager location: class Server src\server\server.java:66: error: cannot find symbol public static CastleWars castleWars = new CastleWars(); ^ symbol: class CastleWars location: class Server src\server\server.java:67: error: cannot find symbol public static FightPits fightPits = new FightPits(); ^ symbol: class FightPits location: class Server src\server\server.java:68: error: cannot find symbol public static PestControl pestControl = new PestControl(); ^ symbol: class PestControl location: class Server src\server\server.java:69: error: cannot find symbol public static NPCDrops npcDrops = new NPCDrops(); ^ symbol: class NPCDrops location: class Server src\server\server.java:70: error: cannot find symbol public static ClanChatHandler clanChat = new ClanChatHandler(); ^ symbol: class ClanChatHandler location: class Server src\server\server.java:71: error: cannot find symbol public static FightCaves fightCaves = new FightCaves(); ^ symbol: class FightCaves location: class Server src\server\server.java:78: error: cannot find symbol engineTimer = new SimpleTimer(); ^ symbol: class SimpleTimer location: class Server src\server\server.java:79: error: cannot find symbol debugTimer = new SimpleTimer(); ^ symbol: class SimpleTimer location: class Server src\server\server.java:93: error: cannot find symbol System.setOut(new Logger(System.out)); ^ symbol: class Logger location: class Server src\server\server.java:94: error: cannot find symbol System.setErr(new Logger(System.err)); ^ symbol: class Logger location: class Server src\server\server.java:113: error: cannot find symbol connectionHandler = new ConnectionHandler(); ^ symbol: class ConnectionHandler location: class Server src\server\server.java:120: error: cannot find symbol throttleFilter = new ConnectionThrottleFilter(Config.CONNECTION_ DELAY); ^ symbol: class ConnectionThrottleFilter location: class Server src\server\server.java:120: error: cannot find symbol throttleFilter = new ConnectionThrottleFilter(Config.CONNECTION_ DELAY); ^ symbol: variable Config location: class Server src\server\server.java:131: error: cannot find symbol EventManager.initialize(); ^ symbol: variable EventManager location: class Server src\server\server.java:132: error: cannot find symbol Connection.initialize(); ^ symbol: variable Connection location: class Server src\server\server.java:141: error: cannot find symbol GUI.updatePane(); ^ symbol: variable GUI location: class Server src\server\server.java:171: error: cannot find symbol for(Player p : PlayerHandler.players) { ^ symbol: class Player location: class Server src\server\server.java:171: error: cannot find symbol for(Player p : PlayerHandler.players) { ^ symbol: variable PlayerHandler location: class Server src\server\server.java:174: error: cannot find symbol PlayerSave.saveGame((Client)p); ^ symbol: class Client location: class Server src\server\server.java:174: error: cannot find symbol PlayerSave.saveGame((Client)p); ^ symbol: variable PlayerSave location: class Server src\server\server.java:184: error: cannot find symbol for(Player p : PlayerHandler.players) { ^ symbol: class Player location: class Server src\server\server.java:184: error: cannot find symbol for(Player p : PlayerHandler.players) { ^ symbol: variable PlayerHandler location: class Server src\server\server.java:187: error: cannot find symbol PlayerSave.saveGame((Client)p); ^ symbol: class Client location: class Server src\server\server.java:187: error: cannot find symbol PlayerSave.saveGame((Client)p); ^ symbol: variable PlayerSave location: class Server src\server\server.java:212: error: cannot find symbol System.out.println("Players online: " + PlayerHandler.pl ayerCount+ ", engine load: "+ debugPercentFormat.format(engineLoad)); ^ symbol: variable PlayerHandler location: class Server 66 errors --------------------------------- Compiling Complete --------------------------------- Press any key to continue . . .[/code] Now I know all the symbols, packages and classes [u]do[/u] exist. I just don't understand why the compiler says they don't... I've got the sourcepath right. Here is my compiler code: [code]@echo off title 06 Veterans - Compiler echo --------------------------------- echo Currently Compiling... echo --------------------------------- "C:\Program Files\Java\jdk1.7.0_13\bin\javac.exe" -d bin -cp ./deps/*; -sourcepath src/server/GUI.java src/server/server.java echo --------------------------------- echo Compiling Complete echo --------------------------------- pause [/code] Any help is much much appreciated and if a fix I'll rep (If we can do that on RL).
  15. I logged onto my server to start adding some doors (Trying to add all doors in the major areas of the game). I had logged off the server for a short moment to do a server restart, but when I had tried to re-log, I couldn't rejoin the server... :( It just keeps telling me that I cannot connect to server... This is my error I'm getting in the client CMD window: [code]RS2 user client - release #317 java.lang.ArrayIndexOutOfBoundsException: 1 at Class36.methodCustomAnimations(Class36.java:65) at Animation.unpackConfig(Animation.java:1710) at client.startUp(client.java:7318) at RSApplet.run(RSApplet.java:33) at client.run(client.java:4517) at java.lang.Thread.run(Thread.java:722) NPC.DAT : 1489108188 Called method225 NPC.IDX : 1489126980 Called method225 [/code] I've followed all the above but don't see anything that I've edited. Shortly before this happened I tried adding a model for magic logs but only added the model.dat, and added the info in ItemDef.java. But I removed this to see if it was the issue and it still comes up with this... Can somebody help me please? Thanks in advance!
  16. [CENTER][B][U]Difficulty[/U][/B]: 0.5 [B][U]Required Knowledge:[/U][/B] Copy/paste + Ability to read file paths [B][U]Time to complete:[/U][/B] With copy/paste under one minute[/CENTER] [B][U]Description: [/U][/B] This Firemaking base uses absolutely no animations or sounds. It really is for noobies to get a "start" on Firemaking (Like me ;)) But anyhow... I was fooling around with Firemaking.. looking up tutorials and such and everyone has "90-95% completed Firemaking!" guides. Problem is they can't get the user to walk backwards and stop at objects not meant to be walked through :P SOOOO I came up with this very... [b]VERY[/b] simple Firemaking base that is nearly like Fletching, or crafting. This is my first tutorial and I don't mind feedback, just don't be a d**k head please as I'm only a beginner at Java. [B][U]Step 1:[/U][/B] Goto "server\src\server\model\items\UseItem.java" [COLOR="#DAA520"]then right click[/COLOR] UseItem.java [COLOR="#DAA520"]and click "edit"[/COLOR]. [B][U]Step 2:[/U][/B] Press the keys "CTRL" (Control key) and "F" key simultaneously to bring up the search mini-window. [B][U]Step 3:[/U][/B] Search for: [code]590[/code] [B][U]Step 4:[/U][/B] You should see something like: [code]case 590:[/code] [COLOR="#DAA520"]If you do not see case 590:[/COLOR] in your search, it's okay, [COLOR="#DAA520"]continue on to step 5.[/COLOR] [B][U]Step 5:[/U][/B] Now,[COLOR="#DAA520"] copy/paste this code[/COLOR] below the case 590: For those who found "case 590:" [spoiler][code] if (itemUsed == 590 && useWith == 1511 || itemUsed == 1511 && useWith == 590) {//regular logs if (c.playerLevel[c.playerFiremaking] >= 1) { c.getItems().deleteItem(1511, c.getItems().getItemSlot(1511), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(40 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 1 to burn this log."); } } if (itemUsed == 590 && useWith == 1521 || itemUsed == 1521 && useWith == 590) {//oak logs if (c.playerLevel[c.playerFiremaking] >= 15) { c.getItems().deleteItem(1521, c.getItems().getItemSlot(1521), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(60 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 15 to burn this log."); } } if (itemUsed == 590 && useWith == 1519 || itemUsed == 1519 && useWith == 590) {//willow logs if (c.playerLevel[c.playerFiremaking] >= 30) { c.getItems().deleteItem(1519, c.getItems().getItemSlot(1519), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(105 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 30 to burn this log."); } } if (itemUsed == 590 && useWith == 1517 || itemUsed == 1517 && useWith == 590) {//maple logs if (c.playerLevel[c.playerFiremaking] >= 45) { c.getItems().deleteItem(1517, c.getItems().getItemSlot(1517), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(135 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 45 to burn this log."); } } if (itemUsed == 590 && useWith == 1515 || itemUsed == 1515 && useWith == 590) {//yew logs if (c.playerLevel[c.playerFiremaking] >= 60) { c.getItems().deleteItem(1515, c.getItems().getItemSlot(1515), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(202 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 60 to burn this log."); } } if (itemUsed == 590 && useWith == 1513 || itemUsed == 1513 && useWith == 590) {//magic logs if (c.playerLevel[c.playerFiremaking] >= 75) { c.getItems().deleteItem(1513, c.getItems().getItemSlot(1513), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(308 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 75 to burn this log."); } } break;[/code][/spoiler] For those who didn't find "case 590:" [spoiler][code] case 590: if (itemUsed == 590 && useWith == 1511 || itemUsed == 1511 && useWith == 590) {//regular logs if (c.playerLevel[c.playerFiremaking] >= 1) { c.getItems().deleteItem(1511, c.getItems().getItemSlot(1511), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(40 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 1 to burn this log."); } } if (itemUsed == 590 && useWith == 1521 || itemUsed == 1521 && useWith == 590) {//oak logs if (c.playerLevel[c.playerFiremaking] >= 15) { c.getItems().deleteItem(1521, c.getItems().getItemSlot(1521), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(60 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 15 to burn this log."); } } if (itemUsed == 590 && useWith == 1519 || itemUsed == 1519 && useWith == 590) {//willow logs if (c.playerLevel[c.playerFiremaking] >= 30) { c.getItems().deleteItem(1519, c.getItems().getItemSlot(1519), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(105 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 30 to burn this log."); } } if (itemUsed == 590 && useWith == 1517 || itemUsed == 1517 && useWith == 590) {//maple logs if (c.playerLevel[c.playerFiremaking] >= 45) { c.getItems().deleteItem(1517, c.getItems().getItemSlot(1517), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(135 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 45 to burn this log."); } } if (itemUsed == 590 && useWith == 1515 || itemUsed == 1515 && useWith == 590) {//yew logs if (c.playerLevel[c.playerFiremaking] >= 60) { c.getItems().deleteItem(1515, c.getItems().getItemSlot(1515), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(202 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 60 to burn this log."); } } if (itemUsed == 590 && useWith == 1513 || itemUsed == 1513 && useWith == 590) {//magic logs if (c.playerLevel[c.playerFiremaking] >= 75) { c.getItems().deleteItem(1513, c.getItems().getItemSlot(1513), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(308 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 75 to burn this log."); } } break; [/code][/spoiler] [B][U]Step 6: [/U][/B] [COLOR="#DAA520"]Save[/COLOR] the file [COLOR="#DAA520"]and close[/COLOR] out of it. [B][U]Step 7:[/U][/B] [COLOR="#DAA520"]Save/compile your server then run[/COLOR], wala! Your simple Firemaking base is now implemented :) [SIZE=4][B]Credits:[/B][/SIZE] 90% me 10% RL's Starter Pack Developers for having provided the base I've been using for my rsps
  17. wazzokki

    Starter Kit Help

    Ok so ive downloaded the server and ive ran the client a few times to see if it works but i really dont like how you start off with all the items you do. so i was curious if there was a way you can change that? Please help! Oh and im not sure what a prefix is so im doing a random one..
  18. Okay so I think I know how to edit xp rates... but even after I compile my starter kit with the fixed xp rates it still comes out with rediculous xp rates, constantly jumping players' levels by the dozens... Here's what I edited: in player.java [code]public int getLevelForXP(int exp) { int points = 0; int output = 0; for (int lvl = 1; lvl <= 99; lvl++) { points += Math.floor((double)lvl + 1.0 * Math.pow(2.0, (double)lvl / 7.0)); output = (int)Math.floor(points / 4); if (output >= exp) return lvl; } return 99; }[/code] I changed [code]Math.floor((double)lvl + 360.0 * math.pow(2.0, (double)lvl / 7.0));[/code] to [code]Math.floor((double)lvl + 1.0 * math.pow(2.0, (double)lvl / 7.0));[/code] as you can see. I also did the above with playerassistant.java I changed this in the src/server/config.java: [code] /** * Skill Experience Multipliers */ public static final int WOODCUTTING_EXPERIENCE = 1; public static final int MINING_EXPERIENCE = 1; public static final int SMITHING_EXPERIENCE = 1; public static final int FARMING_EXPERIENCE = 1; public static final int FIREMAKING_EXPERIENCE = 1; public static final int HERBLORE_EXPERIENCE = 1; public static final int FISHING_EXPERIENCE = 1; public static final int AGILITY_EXPERIENCE = 1; public static final int PRAYER_EXPERIENCE = 1; public static final int RUNECRAFTING_EXPERIENCE = 1; public static final int CRAFTING_EXPERIENCE = 1; public static final int THIEVING_EXPERIENCE = 1; public static final int SLAYER_EXPERIENCE = 1; public static final int COOKING_EXPERIENCE = 1; public static final int FLETCHING_EXPERIENCE = 1; } [/code] All the experience was set to = 10; (I also did this for the combat xps as well) Idk what else to do... I hope it's a facepalm :3 Help please..? :)
  19. When I have an amulet of fury in my inventory, the client crashes in a matter of seconds (Locks up in terms of crashes) with this error: [code]RS2 user client - release #317 java.lang.ArrayIndexOutOfBoundsException: 1 at Class36.methodCustomAnimations(Class36.java:65) at Animation.unpackConfig(Animation.java:1710) at client.startUp(client.java:7318) at RSApplet.run(RSApplet.java:33) at client.run(client.java:4517) at java.lang.Thread.run(Unknown Source) NPC.DAT : 1489108188 Called method225 NPC.IDX : 1489126980 Called method225 Error: T1 - 123,0 - 36,36 Exception in thread "Thread-7" java.lang.NullPointerException [/code] Can anyone point me in the right direction to fix it? Thank you! :)
  20. i have updated my java and now when i click run.bat it says "Error: could not find or load main class GUI" [ATTACH=CONFIG]6964[/ATTACH] kinda new to this, don't really know what this is supposed to mean
  21. So... here's what I get when I compile my server... [code]error: Class names, 'server.GUI', are only accepted if annotation processing is explicitly requested Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error Press any key to continue . . .[/code] Is this what is preventing any updates I make to my server from being applied when I reload my server? If so please tell me how to fix this. Probably a facepalm but hey, I'm sorta new to javascript... I'd gladly credit you :)
  22. [I][CENTER]EpicKit 0.1[/CENTER][/I] [B]Some features you can expect[/B] [LIST][*]Runescape calculators[*]Treasure trail maps[*]Fairy ring map[*]Multi log support[*]Music player[*]Latest runescape and rsps news[*]IRC chat[*]& much more.[/LIST] [B]Pictures[/B] News page [IMG]http://i44.tinypic.com/15oclsh.png[/IMG] Download to 0.1 (Beta) & more pictures is coming in the next 5 hours.
  23. What is a Good Starter Kit for a Runescape Private Server
  24. Well I have just started coding rsps like 2 days ago and i'm trying to fix the starter pack the code looks right but it just doesn't work I don't get any errors on compile just don't get starter kit., I have already deleted the old ip's still doesn't work, if anyone can help I would really appreciate it. [CODE]public void addStarter() { if (!Connection.hasRecieved1stStarter(Server.playerHandler.players[c.playerId].connectedFrom)) { c.getItems().addItem(995,5000000);//coins c.getItems().addItem(1042,1);// c.getItems().addItem(1725,1);//str ammy c.getItems().addItem(8845,1);//iron defender c.getItems().addItem(544,1);//monk top c.getItems().addItem(542,1);//monk bottom c.getItems().addItem(4413,1);//team cape 50 c.getItems().addItem(3105,1);//climbing boots c.getItems().addItem(7458,1);//mith gloves c.getItems().addItem(863,2500);//iron knifes c.getItems().addItem(558,1000);//mind runes c.getItems().addItem(562,1000);//chaos c.getItems().addItem(560,500);//deaths c.getItems().addItem(555,2000);//water c.getItems().addItem(556,2000);//air c.getItems().addItem(557,2000);//earth c.getItems().addItem(554,2000);//fire Connection.addIpToStarterList1(Server.playerHandler.players[c.playerId].connectedFrom); Connection.addIpToStarter1(Server.playerHandler.players[c.playerId].connectedFrom); c.sendMessage("You have recieved 1 out of 2 starter packages on this IP address."); } else if (Connection.hasRecieved1stStarter(Server.playerHandler.players[c.playerId].connectedFrom) && !Connection.hasRecieved2ndStarter(Server.playerHandler.players[c.playerId].connectedFrom)) { c.getItems().addItem(995,5000000);//coins c.getItems().addItem(1323,1);//iron scimmy c.getItems().addItem(1725,1);//str ammy c.getItems().addItem(8845,1);//iron defender c.getItems().addItem(544,1);//monk top c.getItems().addItem(542,1);//monk bottom c.getItems().addItem(4413,1);//team cape 50 c.getItems().addItem(3105,1);//climbing boots c.getItems().addItem(7458,1);//mith gloves c.getItems().addItem(863,2500);//iron knifes c.getItems().addItem(558,1000);//mind runes c.getItems().addItem(562,1000);//chaos c.getItems().addItem(560,500);//deaths c.getItems().addItem(555,2000);//water c.getItems().addItem(556,2000);//air c.getItems().addItem(557,2000);//earth c.getItems().addItem(554,2000);//fire c.sendMessage("You have recieved 2 out of 2 starter packages on this IP address."); Connection.addIpToStarterList2(Server.playerHandler.players[c.playerId].connectedFrom); Connection.addIpToStarter2(Server.playerHandler.players[c.playerId].connectedFrom); } else if (Connection.hasRecieved1stStarter(Server.playerHandler.players[c.playerId].connectedFrom) && Connection.hasRecieved2ndStarter(Server.playerHandler.players[c.playerId].connectedFrom)) { c.sendMessage("You have already recieved 2 starters!"); } }[/CODE]
×