Jump to content

xxhybridxx

Member
  • Content count

    8
  • Joined

  • Last visited

  1. to bad theres ton of kinks/bugs to work out. :(
  2. I was wondering on some rsps servers I when i download their client and it says "Downloading cache" what program do you guys use for that I need one of thoeses.
  3. Let just say when ever i kill Kree'arra I got nothing as a drop I think I know how the drops work but.. some reason its not doing it for me if some 1 could re arrange it for me that would be great. DROPS.TSM [PHP]#kree'arra 6222:95 11718:1 11720:1 11722:1 11702:1 11690:1 19413:1 19415:1 19417:1 19419:1 19421:1 19423:1 19425:1[/PHP] NPCDROPS.TSM [PHP]package server.model.npcs; import java.io.File; import java.util.HashMap; import java.util.StringTokenizer; import java.util.Scanner; /** * @author Sanity */ public class NPCDrops { public NPCDrops() { loadDrops(); } public static HashMap<Integer, int[][]> normalDrops = new HashMap<Integer, int[][]>(); public static HashMap<Integer, int[][]> rareDrops = new HashMap<Integer, int[][]>(); public static HashMap<Integer, int[]> constantDrops = new HashMap<Integer, int[]>(); public static HashMap<Integer, Integer> dropRarity = new HashMap<Integer,Integer>(); public void loadDrops() { try { int[][][] npcDrops = new int [10000][][]; int[][][] rareDrops2 = new int [10000][][]; int[] itemRarity = new int [10000]; File f = new File("./Data/cfg/NPCDrops.TSM"); Scanner s = new Scanner(f); while (s.hasNextLine()) { String line = s.nextLine(); if (line.startsWith("#")) continue; StringTokenizer normalTok = new StringTokenizer(line, "\t"); line = s.nextLine(); if (line.startsWith("#")) continue; StringTokenizer rareTok = new StringTokenizer(line, "\t"); String[] information = normalTok.nextToken().split(":"); int npcId = Integer.parseInt(information[0]); itemRarity[npcId] = Integer.parseInt(information[1])-1; npcDrops[npcId] = new int[normalTok.countTokens()][2]; rareDrops2[npcId] = new int[rareTok.countTokens()][2]; int count = 0; while (normalTok.hasMoreTokens()) { String[] temp = normalTok.nextToken().split(":"); npcDrops[npcId][count][0] = Integer.parseInt(temp[0]); npcDrops[npcId][count][1] = Integer.parseInt(temp[1]); count++; } count = 0; while (rareTok.hasMoreTokens()) { String[] temp = rareTok.nextToken().split(":"); rareDrops2[npcId][count][0] = Integer.parseInt(temp[0]); //System.out.println("Raredrop: " + count + " " + rareDrops2[npcId][count][0]); rareDrops2[npcId][count][1] = Integer.parseInt(temp[1]); //System.out.println("Raredrop: " + count + " " + rareDrops2[npcId][count][1]); count++; } normalDrops.put(npcId, npcDrops[npcId]); rareDrops.put(npcId, rareDrops2[npcId]); dropRarity.put(npcId, itemRarity[npcId]); } loadConstants(); } catch (Exception e) { e.printStackTrace(); } } public void loadConstants() { try { File f = new File("./Data/cfg/NpcConstants.TSM"); Scanner s = new Scanner(f); while (s.hasNextLine()) { String line = s.nextLine(); if (line.startsWith("#")) continue; StringTokenizer constantTok = new StringTokenizer(line, "\t"); int npcId = Integer.parseInt(constantTok.nextToken()); int count = 0; int[] temp = new int[constantTok.countTokens()]; while (constantTok.hasMoreTokens()) { temp[count] = Integer.parseInt(constantTok.nextToken()); count++; } constantDrops.put(npcId,temp); } } catch (Exception e) { e.printStackTrace(); } } } [/PHP]
  4. thank you, i'm trying pretty hard to make this work if it and if it does not work out, then oh well.
  5. I am thinking of a new system of creating a server were the coders, website designers, hoster and enforcement crew is paid. this is a opportunity to make some cash and do what you love most creating a server that people will play on. I will not be picking out the source, we as a team will be picking it out each member picks a source they find over the web or have personally and see which source is the best, then we will start coding that. I am also not making up the name we as a team will make it up. I am setting this up because I figure it is to hard for one to three people to host a server so I am recruiting workers to help me on this. This is what you will be paid I am going to go by percent, this means how popular the server gets means how much we will as a team get paid. --Lets say we make 100$ a month so just divide 100 by the job's percent your would like, (ex. economy expert makes 5$ a month easy.)-- -----(i'm sure we will make a lot more than 100 a month because we have so many people working on this server/website)----- -----JOBS TAKEN (UPDATED DAILY)----- Founder - 5% = One Person--------------------------------- 1/1 Hoster - 15% = One Person---------------------------------- 1/1 Head Developer - 10% = One Person------------------------ 0/1 Website Manager - 10% = One Person------------------------ 0/1 Advertisement Specialist - 6% = One Person------------------ 1/1 Developers - 5.5% = Three People--------------------------- 0/3 Website Designers - 5.5% = Three People-------------------- 0/3 Economy Expert - 5% = Two People-------------------------- 1/2 Enforcer/Server Moderator - 5% = Two People---------------- 2/2 =========== 6/15 =========== ---------- What the jobs do Founder is the person in charge of the whole operation. Hoster is the person who is either hosting the source from their computer or a vps 24/7. Head Developer is the person who codes/keeps the developers in track. Website Manager is the person who creates/keeps the website in order. Advertisement Specialist is the person who is superior in recruiting players and can also be a expert in making banners. Developer is the person who codes for the source/client Website Designers are the people who help design the website/forums. Economy Expert is the person who keep the Donation items prices & prices of items in-game. Enforcer/Moderator is the person who promotes moderators and keeps the server in order. --- Will be adding more to this topic. (IF YOU EMAIL ME PLEASE PUT THE SUBJECT TO "OPPORTUNITY" THANK YOU.) If you are interested please "email" (please do not add to msn) [EMAIL="[email protected]"][email protected][/EMAIL] But I do have a skype add "blake.wolters" and i also have a period between blake and wolters. -------------------FEEDBACK PLEASE TELL ME IF YOU HATE THIS, LIKE IT OR UNDECIDED.------------------- Thank you.
  6. wow very nice lol... if my server had this good i the players would cry :P
×