

SDGDIRKSDG
Member-
Content count
9 -
Joined
-
Last visited
About SDGDIRKSDG
-
Rank
Bronze Member
-
npc drop not showing up correct on the ground
SDGDIRKSDG replied to SDGDIRKSDG's question in RSPS Help
Thanks for your reply, I will check that right now :) Edit: No errors at all, currently trying other 718 servers to see if any of them have it fixed to compare with my own.. Edit2: All the servers I tried seem to have the same problem :( Edit3: Just found out that if I kill someone in wildy, it actualy does drop the items/sharks like they suppose to. -
718/742 source Hey there I got the following proplem and cant seem to figure out how to fix it. For example sergeant steelwill has a chance to drop 3 sharks when killed. If I get that drop the drop pile only shows 1 shark in the pile, but when I pick it up, it picks up 3 like it should. Now I want to fix it so it shows up 3 sharks in the drop pile. I've been looking through: NPC.java (sendDrop method), Drop.java, and every .java that has the word: groundItem in it... If anyone could point me in the right direction I would greatly appreciate it.
-
Nvm guys. Thx anyways for the help!! :)
-
Did that, and got this error: [img]http://img580.imageshack.us/img580/5455/newerrorp.png[/img] This is what my run.bat looks like: [CODE]@echo off COLOR C ECHO Running - Project Insanity ECHO Please wait patiently... TITLE Run - Client java -Xmx300m Jframe 10 0 highmem members 32 pause[/CODE] I have java jdk1.7.0_13
-
[img]http://i50.tinypic.com/2s60uud.png[/img] This is the kind of error I received in the beginning.. when I tried to run the client. Then after looking on another forum some guy posted a way to fix that by doing this: [QUOTE][CODE]Code: public Jframe(String args[]) { super(); try { sign.signlink.startpriv(InetAddress.getByName(server)); initUI(); } catch (Exception ex) { ex.printStackTrace(); } }[/CODE] that is a contructor it needs to look like this [CODE]Code: public Jframe() { try { sign.signlink.startpriv(InetAddress.getByName(server)); initUI(); } catch (Exception ex) { ex.printStackTrace(); } }[/CODE] also you need your main method that looks like this [CODE]Code: public static void main(String args[]) { new Jframe(); }[/CODE] you create a new Jframe object in your main method[/QUOTE] So after doing that, I still couldn't run the client, and the compiler gave the 2 errors, wich I wanted to fix... [B]So when I compiled it like this, I got 2 errors:[/B] [img]http://img820.imageshack.us/img820/93/2errors.png[/img] Now I fixed the second error by deleting the "}" it was pointing to. But got that one error left wich I cant figure out :( Hope you guys understand it a bit :P sorry if its a mess.. This is what the Jframe.java looked like before I started: [B]Ok this is what it Jframe.java looked like when I started: [/B] [CODE]import sign.signlink; import java.net.*; import java.awt.*; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import javax.swing.*; import javax.swing.plaf.metal.MetalLookAndFeel; public class Jframe extends client implements ActionListener { private static JMenuItem menuItem; private JFrame frame; public Jframe(String args[]) { super(); try { sign.signlink.startpriv(InetAddress.getByName(server)); initUI(); } catch (Exception ex) { ex.printStackTrace(); } } public void initUI() { try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); JPopupMenu.setDefaultLightWeightPopupEnabled(false); frame = new JFrame("Project Insanity"); frame.setLayout(new BorderLayout()); frame.setResizable(false); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel gamePanel = new JPanel(); gamePanel.setLayout(new BorderLayout()); gamePanel.add(this); gamePanel.setPreferredSize(new Dimension(765, 503)); JMenu fileMenu = new JMenu("File"); String[] mainButtons = new String[] { "Project-Insanity.net", "-", "Exit" }; for (String name : mainButtons) { JMenuItem menuItem = new JMenuItem(name); if (name.equalsIgnoreCase("-")) { fileMenu.addSeparator(); } else { menuItem.addActionListener(this); fileMenu.add(menuItem); } } JMenuBar menuBar = new JMenuBar(); JMenuBar jmenubar = new JMenuBar(); frame.add(jmenubar); menuBar.add(fileMenu); frame.getContentPane().add(menuBar, BorderLayout.NORTH); frame.getContentPane().add(gamePanel, BorderLayout.CENTER); frame.pack(); frame.setVisible(true); // can see the client frame.setResizable(false); // resizeable frame init(); } catch (Exception e) { e.printStackTrace(); } } public URL getCodeBase() { try { return new URL("http://" + server + "/cache"); } catch (Exception e) { return super.getCodeBase(); } } public URL getDocumentBase() { return getCodeBase(); } public void loadError(String s) { System.out.println("loadError: " + s); } public String getParameter(String key) { return ""; } private static void openUpWebSite(String url) { Desktop d = Desktop.getDesktop(); try { d.browse(new URI(url)); } catch (Exception e) { } } public void actionPerformed(ActionEvent evt) { String cmd = evt.getActionCommand(); try { if (cmd != null) { if (cmd.equalsIgnoreCase("exit")) { System.exit(0); } if (cmd.equalsIgnoreCase("Project-Insanity.net")) { openUpWebSite("http://www.project-insanity.net/"); } } } catch (Exception e) { } } }[/CODE] And this is what it looks like now: [CODE]import sign.signlink; import java.net.*; import java.awt.*; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import javax.swing.*; import javax.swing.plaf.metal.MetalLookAndFeel; public static void main(String args[]) new Jframe(); public class Jframe extends client implements ActionListener { private static JMenuItem menuItem; private JFrame frame; public Jframe() { try { sign.signlink.startpriv(InetAddress.getByName(server)); initUI(); } catch (Exception ex) { ex.printStackTrace(); } } public void initUI() { try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); JPopupMenu.setDefaultLightWeightPopupEnabled(false); frame = new JFrame("Project Insanity"); frame.setLayout(new BorderLayout()); frame.setResizable(false); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel gamePanel = new JPanel(); gamePanel.setLayout(new BorderLayout()); gamePanel.add(this); gamePanel.setPreferredSize(new Dimension(765, 503)); JMenu fileMenu = new JMenu("File"); String[] mainButtons = new String[] { "Project-Insanity.net", "-", "Exit" }; for (String name : mainButtons) { JMenuItem menuItem = new JMenuItem(name); if (name.equalsIgnoreCase("-")) { fileMenu.addSeparator(); } else { menuItem.addActionListener(this); fileMenu.add(menuItem); } } JMenuBar menuBar = new JMenuBar(); JMenuBar jmenubar = new JMenuBar(); frame.add(jmenubar); menuBar.add(fileMenu); frame.getContentPane().add(menuBar, BorderLayout.NORTH); frame.getContentPane().add(gamePanel, BorderLayout.CENTER); frame.pack(); frame.setVisible(true); // can see the client frame.setResizable(false); // resizeable frame init(); } catch (Exception e) { e.printStackTrace(); } } public URL getCodeBase() { try { return new URL("http://" + server + "/cache"); } catch (Exception e) { return super.getCodeBase(); } } public URL getDocumentBase() { return getCodeBase(); } public void loadError(String s) { System.out.println("loadError: " + s); } public String getParameter(String key) { return ""; } private static void openUpWebSite(String url) { Desktop d = Desktop.getDesktop(); try { d.browse(new URI(url)); } catch (Exception e) { } } public void actionPerformed(ActionEvent evt) { String cmd = evt.getActionCommand(); try { if (cmd != null) { if (cmd.equalsIgnoreCase("exit")) { System.exit(0); } if (cmd.equalsIgnoreCase("Project-Insanity.net")) { openUpWebSite("http://www.project-insanity.net/"); } } } catch (Exception e) { } } }[/CODE] Ignore the attachment lol, its wrong pic
-
Hi, Im having trouble with the following when compiling my client. [IMG]http://img339.imageshack.us/img339/5634/compileerrorclient.png[/IMG] Here is my code: (Most likely its very easy to fix but I cant figure it out, looked on google, rsps sites no answer) [CODE]import sign.signlink; import java.net.*; import java.awt.*; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import javax.swing.*; import javax.swing.plaf.metal.MetalLookAndFeel; public static void main(String args[]) new Jframe(); public class Jframe extends client implements ActionListener { private static JMenuItem menuItem; private JFrame frame; public Jframe() { try { sign.signlink.startpriv(InetAddress.getByName(server)); initUI(); } catch (Exception ex) { ex.printStackTrace(); } } public void initUI() { try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); JPopupMenu.setDefaultLightWeightPopupEnabled(false); frame = new JFrame("Project Insanity"); frame.setLayout(new BorderLayout()); frame.setResizable(false); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel gamePanel = new JPanel(); gamePanel.setLayout(new BorderLayout()); gamePanel.add(this); gamePanel.setPreferredSize(new Dimension(765, 503)); JMenu fileMenu = new JMenu("File"); String[] mainButtons = new String[] { "Project-Insanity.net", "-", "Exit" }; for (String name : mainButtons) { JMenuItem menuItem = new JMenuItem(name); if (name.equalsIgnoreCase("-")) { fileMenu.addSeparator(); } else { menuItem.addActionListener(this); fileMenu.add(menuItem); } } JMenuBar menuBar = new JMenuBar(); JMenuBar jmenubar = new JMenuBar(); frame.add(jmenubar); menuBar.add(fileMenu); frame.getContentPane().add(menuBar, BorderLayout.NORTH); frame.getContentPane().add(gamePanel, BorderLayout.CENTER); frame.pack(); frame.setVisible(true); // can see the client frame.setResizable(false); // resizeable frame init(); } catch (Exception e) { e.printStackTrace(); } } public URL getCodeBase() { try { return new URL("http://" + server + "/cache"); } catch (Exception e) { return super.getCodeBase(); } } public URL getDocumentBase() { return getCodeBase(); } public void loadError(String s) { System.out.println("loadError: " + s); } public String getParameter(String key) { return ""; } private static void openUpWebSite(String url) { Desktop d = Desktop.getDesktop(); try { d.browse(new URI(url)); } catch (Exception e) { } } public void actionPerformed(ActionEvent evt) { String cmd = evt.getActionCommand(); try { if (cmd != null) { if (cmd.equalsIgnoreCase("exit")) { System.exit(0); } if (cmd.equalsIgnoreCase("Project-Insanity.net")) { openUpWebSite("http://www.project-insanity.net/"); } } } catch (Exception e) { } } }[/CODE] I would realy appriciate if someone could tell me whats wrong :) Its the only error left atm. So thanks in advance!!! <3
-
Hi there, Unleashing my guide to get unlimited Soul Split Voting Auths here today, tested it 2 days ago and still worked. * Simple survey for an amazing guide! Didnt know where to exacly post this so please feel free to move it. Thanks
-
614 Client - Client Updater - CacheDownloader - Password Saving
SDGDIRKSDG replied to Super god's topic in RSPS Downloads
Thanks for sharing will download now.- 37 replies
-
- 614
- cachedownloader
-
(and 3 more)
Tagged with: