Thread: Eclipse when running the server/client

Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1. #11  
    Registered Member
    Join Date
    Apr 2013
    Posts
    50
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Fire Cape View Post
    Editing the client run.bat will not change the server run.bat. The client classpath will be different though.
    can i add you on discord? I can show the issues i have there a lot easier.

    I appreciate all this help btw, absolute legend
    Reply With Quote  
     

  2. #12  
    Registered Member

    Join Date
    Feb 2010
    Posts
    3,187
    Thanks given
    1,124
    Thanks received
    834
    Discord
    View profile
    Rep Power
    1514
    Quote Originally Posted by gilbo184 View Post
    can i add you on discord? I can show the issues i have there a lot easier.

    I appreciate all this help btw, absolute legend
    I can't remember my details lmao, I'll see if I can get in later if I can't help here.

    I've downloaded the source 2006redone and it's a bit weird. You were right to change server.Server to redone.Server. I have no idea why your client isn't starting, it should work fine (does it work outside of eclipse). With this server you need to make sure you run the file server before anything else otherwise the game server and game client will timeout requesting data.

    Personally I'd remove all the old .classpath and .project files and import it into a new project from existing sources.
    Reply With Quote  
     

  3. #13  
    Registered Member
    Join Date
    Apr 2013
    Posts
    50
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Fire Cape View Post
    I can't remember my details lmao, I'll see if I can get in later if I can't help here.

    I've downloaded the source 2006redone and it's a bit weird. You were right to change server.Server to redone.Server. I have no idea why your client isn't starting, it should work fine (does it work outside of eclipse). With this server you need to make sure you run the file server before anything else otherwise the game server and game client will timeout requesting data.

    Personally I'd remove all the old .classpath and .project files and import it into a new project from existing sources.
    Yeah i thought something was odd.

    you mean import into eclipse after removing those files and upload as a new project?
    Reply With Quote  
     

  4. #14  
    Registered Member

    Join Date
    Feb 2010
    Posts
    3,187
    Thanks given
    1,124
    Thanks received
    834
    Discord
    View profile
    Rep Power
    1514
    Quote Originally Posted by gilbo184 View Post
    Yeah i thought something was odd.

    you mean import into eclipse after removing those files and upload as a new project?
    Yeah maybe the settings the guy is using are broken because the server .bat files definitely are. I don't know what your issue with build.bat is (apart from by the looks of it javac++. jar is some shoddy tool and not a substitute for a proper build tool). The client .bats look fine, I mean they're technically questionable but they should work.
    Reply With Quote  
     

  5. #15  
    Registered Member
    Join Date
    Apr 2013
    Posts
    50
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Fire Cape View Post
    Yeah maybe the settings the guy is using are broken because the server .bat files definitely are. I don't know what your issue with build.bat is (apart from by the looks of it javac++. jar is some shoddy tool and not a substitute for a proper build tool). The client .bats look fine, I mean they're technically questionable but they should work.
    when i removed those files then reuploaded, i get Could not find or load main class redone.Server now. this is frustrating

    Also under file server folder, when i do start.cmd i get "Error: Could not find or load main class org.apollo.jagcached.FileServer" but when i configure to the correct main class, the configure also configrues the server initiate.bat which i dont want it to do.
    Reply With Quote  
     

  6. #16  
    Registered Member

    Join Date
    Feb 2010
    Posts
    3,187
    Thanks given
    1,124
    Thanks received
    834
    Discord
    View profile
    Rep Power
    1514
    Quote Originally Posted by gilbo184 View Post
    when i removed those files then reuploaded, i get Could not find or load main class redone.Server now. this is frustrating
    Ahh noooo.

    Ok so you have three projects. File server. Server and Client.

    Using eclipse click on the file server folder, then go to Run -> Run configurations -> Select main class -> whichever is top can't remember name.

    Do the same for the Client and Server and that should fix the eclipse run path.

    Lol I need discord let me see if I can remember login and private message you
    Reply With Quote  
     

  7. #17  
    Registered Member
    Join Date
    Apr 2013
    Posts
    50
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Fire Cape View Post
    Ahh noooo.

    Ok so you have three projects. File server. Server and Client.

    Using eclipse click on the file server folder, then go to Run -> Run configurations -> Select main class -> whichever is top can't remember name.

    Do the same for the Client and Server and that should fix the eclipse run path.

    Lol I need discord let me see if I can remember login and private message you

    The top for me now when i click search for main class is "Sever - redone" but thats because thats the class name atm. The second is some random "DOM2XmlPullBuilder"
    Reply With Quote  
     

  8. #18  
    Registered Member

    Join Date
    Feb 2010
    Posts
    3,187
    Thanks given
    1,124
    Thanks received
    834
    Discord
    View profile
    Rep Power
    1514
    Solved issue was related to build path in eclipse.
    Reply With Quote  
     

  9. #19  
    Extreme Donator


    Rythe's Avatar
    Join Date
    Dec 2019
    Age
    28
    Posts
    345
    Thanks given
    278
    Thanks received
    158
    Discord
    View profile
    Rep Power
    530
    Sometimes if you do this, it will fix/recognize it. Idk, always worked for me. Give it a try. Sometimes it'll say "include/exclude" press that to if needed.



    Probably easier ways to do it but that's what I do and it works!

    Quote Originally Posted by Fire Cape View Post
    Solved issue was related to build path in eclipse.
    Figured so. I posted a fix above I use to make it work. Idk if this is what you had to do.
    Quote Originally Posted by Rythe View Post
    smoke cigarettes' even if u dont want 2
    Reply With Quote  
     

Page 2 of 2 FirstFirst 12

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. error when running the server
    By jcor9 in forum Help
    Replies: 3
    Last Post: 11-07-2015, 07:09 PM
  2. Replies: 3
    Last Post: 10-25-2015, 10:54 PM
  3. some error when I run the server [paying 3$]
    By Norcotic in forum Buying
    Replies: 1
    Last Post: 01-31-2012, 05:52 AM
  4. Wierd error:S When i run the server
    By Mergim in forum Help
    Replies: 4
    Last Post: 10-25-2009, 11:20 PM
  5. Replies: 2
    Last Post: 08-30-2009, 03:57 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •