Thread: Brand new to RSPS, not to being Confused AF

Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1 Brand new to RSPS, not to being Confused AF 
    Registered Member
    Join Date
    Feb 2017
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    So I've been playing RSPS for quite a while and in that time I've learned (From all threads on rune-server) how to do minor things such as edit NPCs, Drops, Shops, Etc. Basically the easy stuff is what I can do easily, but Like most people I want to learn more.

    So here's what I did.....
    1) Downloaded everything I needed including JDK, WinZip, Notepad++, etc (Everything I read that was needed, I downloaded)
    2) I downloaded "OasisRSPS" from the downloads section so everything I have is directly from what I downloaded.
    3) I Port Forwarded my IP so I can test what I've done and make sure I didn't mess anything up - however this is where my problem is....
    |
    4) I have "Server=" in both "Client.java" AND "ClientConstants.java", and changed both to the IP address I'm using.
    5) In "ClientConstants.java" AND another file called "Client.java", I changed the ports to what I set it to when I Port Forwarded.
    |
    6) I've tried every possible combination using the 3 different folders I have when I downloaded the files.

    Now here's my problem.....
    When I try to open my client to see what I'm doing, i get this error : https://gyazo.com/b4e1005ca65ea70eeb0986245423e175

    Here's what my Compliler looks like : https://gyazo.com/abcbe6769562e74e9fd34d689125ecf5

    And with compiler, I get the error saying : "Can't find path, specified...."




    I've looked on google, I've searched this forums and even other forums for the answer or for the help. I give up looking and decided just to ask for help.

    I don't know what I'm doing wrong or what I'm missing but would appreciate any help.

    And yes, I'm fully aware how newbie this post is, but once I solve this problem, I'll be ready to roll and to learn more. This problem seems simple to everyone else but me for some reason, does anyone know what to do from here?

    P.S -> If I have to remove all folders and start from complete scratch again to make it easier, I'll do that. Just need some assistance if anyone has the answer.

    Thanks for reading my lost post.
    Reply With Quote  
     

  2. #2  
    ¦¦¦ RuneTimes ¦¦¦

    RainDropzZ's Avatar
    Join Date
    Oct 2010
    Posts
    389
    Thanks given
    31
    Thanks received
    108
    Rep Power
    556
    Hello Stitch, first of all you should move on from Notepad++ and use and acutal IDE to programm. For example "Eclipse IDE" is used in this community mostly. Do you have the cache uploaded somewhere or extracted it to the right spot? Did you check your windows firewall?
    Reply With Quote  
     

  3. #3  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    You need to locate to your jdk and not your jre in the compiler.
    I do suggest you use a ide like eclipse to help you out and there is a few guides about it.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Feb 2017
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Okay, so I'll switch my notepad++ to eclipse IDE and look up some guides on that as a start

    And I unzipped all the files I downloaded into a computer file so I can view and edit them, is there a specific spot I should of put them?

    And with the firewall, I followed the guide posted by "Blessthefall" so whatever that guide said to do is exactly what I did.

    And lastly, I know where my JDK, and I remember seeing a guide on it, So I followed that one exactly as well.


    EDIT - This is what I get after starting completely from scratch with the "Blessthefall" Guide: https://gyazo.com/a1fd3bdf9c9f4667dca6e5b01c0a9430

    and still getting the errors when I run the client after downloading everything that was recommended.

    I know I'm probably missing something so simple or so stupid, I can feel it lol

    But I can take gyazo's of anything you want to see, like client.java, or the ClientConstants.java or whatever if that'll help anyone. I know I'm close, I just cant figure out what's missing now.
    Reply With Quote  
     

  5. #5  
    Registered Member Vito the Don's Avatar
    Join Date
    Feb 2019
    Age
    26
    Posts
    74
    Thanks given
    6
    Thanks received
    16
    Rep Power
    66
    So the point of an IDE is to have your project loaded onto the IDE, then you can run the project off of the IDE. So put your files in a folder whereever you want on your desktop or whatever. Then in eclipse do File -> New -> Java project. Do this for the client and the server, then edit the class files through there and run the program through the IDE. Also you don't need to port forward or anything in order to run on your localhost, it was probably already set to localhost "127.0.0.1" in the settings so just use that for now.

    In addition you'll need to get used to reading error messages, the screenshot you put shows there is a missing ';' char within the code which is why it cannot compile. An IDE makes this a lot easier for you by highlighting small errors like that.
    The Dons
    Reply With Quote  
     

  6. #6  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by Stitch R6 View Post
    Okay, so I'll switch my notepad++ to eclipse IDE and look up some guides on that as a start

    And I unzipped all the files I downloaded into a computer file so I can view and edit them, is there a specific spot I should of put them?

    And with the firewall, I followed the guide posted by "Blessthefall" so whatever that guide said to do is exactly what I did.

    And lastly, I know where my JDK, and I remember seeing a guide on it, So I followed that one exactly as well.


    EDIT - This is what I get after starting completely from scratch with the "Blessthefall" Guide: https://gyazo.com/a1fd3bdf9c9f4667dca6e5b01c0a9430

    and still getting the errors when I run the client after downloading everything that was recommended.

    I know I'm probably missing something so simple or so stupid, I can feel it lol

    But I can take gyazo's of anything you want to see, like client.java, or the ClientConstants.java or whatever if that'll help anyone. I know I'm close, I just cant figure out what's missing now.
    Since it is your ip make sure if it is a string it is server = "youriphere";


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Feb 2017
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    To "Vito the Don" -> So what you're saying is all I have to do is find where the ";" is missing and that's it? IF that's the case, I knew it was something I was being stupid about.
    https://gyazo.com/1f535cf410ea845aa3be4e2c8a55011e


    To "Arch337" -> My server="youriphere" is the exact same IP address in the error code, as well as in "ClientConstants.java" since it says the exact same thing there as in "Client.java" (Hope that makes sense)
    Reply With Quote  
     

  8. #8  
    Registered Member Vito the Don's Avatar
    Join Date
    Feb 2019
    Age
    26
    Posts
    74
    Thanks given
    6
    Thanks received
    16
    Rep Power
    66
    Quote Originally Posted by Stitch R6 View Post
    To "Vito the Don" -> So what you're saying is all I have to do is find where the ";" is missing and that's it? IF that's the case, I knew it was something I was being stupid about.
    https://gyazo.com/1f535cf410ea845aa3be4e2c8a55011e

    Yeah and an IDE will highlight that for you, for example:
    https://i.imgur.com/PpcZlRj.png
    It highlights not only where the character is missing but also puts the X at the line of code.
    Also while using an IDE you don't need the .bat files. You just run the project through the IDE
    The Dons
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Feb 2017
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Okay, I figured everything out. The error code tells me where the ";" is supposed to go - however, Eclipse isn't telling me that there is an error on that line.

    It's saying my error code is dealing with "server= myipaddress"

    I've put the damn ; character everywhere and it's still giving me the error code lol

    I understand everything except where to put the ; because I've put it everywhere it could go and still same error.

    https://gyazo.com/45444d817a0a64cac0955e929cdab2c7

    ^ - no X on the line of code but still tells me that there is an error so Im not sure the problem
    Reply With Quote  
     

  10. #10  
    Registered Member Vito the Don's Avatar
    Join Date
    Feb 2019
    Age
    26
    Posts
    74
    Thanks given
    6
    Thanks received
    16
    Rep Power
    66
    Try running the client using eclipse not the .bat file and then send the show the error message it gives
    The Dons
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. New 317 Rsps similar to Ss
    By SoMafia in forum Requests
    Replies: 2
    Last Post: 11-20-2015, 12:59 PM
  2. Replies: 5
    Last Post: 11-28-2014, 06:29 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •