Thread: Dwarf Multicannon, logout on firing

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28
  1. #11  
    touched like seafood
    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    23
    Posts
    4,838
    Thanks given
    1,676
    Thanks received
    1,567
    Discord
    View profile
    Rep Power
    1388
    Quote Originally Posted by Armo View Post
    Post your Client.java
    Nah that'll be a lot harder to find the error prone lines.
    [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] (official dog of rune-server)
    Quote Originally Posted by blakeman8192 View Post
    Keep trying. Quitting is the only true failure.
    Reply With Quote  
     

  2. #12  
    Registered Member

    Join Date
    Oct 2012
    Posts
    136
    Thanks given
    29
    Thanks received
    54
    Discord
    View profile
    Rep Power
    83
    The rotating of the cannon is just animating the cannon for the current rotation direction, it looks like you're sending a new object every tick.

    Can you post the object method in player.getPA().object

    player.getPA().object(cannon.getPosition().getX(), cannon.getPosition().getY(), 516, 10, -1);

    The 516 is the animation but could potentially be out of bounds for whatever the correct parameter is supposed to be there.
    Reply With Quote  
     

  3. Thankful user:


  4. #13  
    RuneCasino


    Join Date
    Jul 2007
    Posts
    1,618
    Thanks given
    170
    Thanks received
    228
    Rep Power
    326
    Quote Originally Posted by Tyluur View Post
    Nah that'll be a lot harder to find the error prone lines.
    I was thinking of adding a try exception to where the error occurs, sometimes a cheap fix for client-disconnect issues.

    And if the try exception stops a feature from working, it narrows it down to what is actually causing the error.
    Reply With Quote  
     

  5. #14  
    touched like seafood
    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    23
    Posts
    4,838
    Thanks given
    1,676
    Thanks received
    1,567
    Discord
    View profile
    Rep Power
    1388
    Quote Originally Posted by Armo View Post
    I was thinking of adding a try exception to where the error occurs, sometimes a cheap fix for client-disconnect issues.

    And if the try exception stops a feature from working, it narrows it down to what is actually causing the error.
    In my experience it's better to get directly to the root cause of the issue. Sometimes you forget that you cheap-fixed something and it impacts another process later on.
    [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] (official dog of rune-server)
    Quote Originally Posted by blakeman8192 View Post
    Keep trying. Quitting is the only true failure.
    Reply With Quote  
     

  6. #15  
    RuneCasino


    Join Date
    Jul 2007
    Posts
    1,618
    Thanks given
    170
    Thanks received
    228
    Rep Power
    326
    Quote Originally Posted by Tyluur View Post
    In my experience it's better to get directly to the root cause of the issue. Sometimes you forget that you cheap-fixed something and it impacts another process later on.
    Well maybe he should at least try it and see if it stops a function of the cannon, that would narrow down exactly what is causing it and the line of code to look at then remove the try exception after
    Reply With Quote  
     

  7. #16  
    Registered Member

    Join Date
    Oct 2012
    Posts
    136
    Thanks given
    29
    Thanks received
    54
    Discord
    View profile
    Rep Power
    83
    Quote Originally Posted by Armo View Post
    Well maybe he should at least try it and see if it stops a function of the cannon, that would narrow down exactly what is causing it and the line of code to look at
    You guys aren't helping, this has nothing to do with the client at all.
    Reply With Quote  
     

  8. #17  
    RuneCasino


    Join Date
    Jul 2007
    Posts
    1,618
    Thanks given
    170
    Thanks received
    228
    Rep Power
    326
    Quote Originally Posted by soar View Post
    You guys aren't helping, this has nothing to do with the client at all.

    If the client is dropping that means you can look at the client and pinpoint what error the server is causing..
    Reply With Quote  
     

  9. #18  
    touched like seafood
    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    23
    Posts
    4,838
    Thanks given
    1,676
    Thanks received
    1,567
    Discord
    View profile
    Rep Power
    1388
    Quote Originally Posted by Armo View Post
    Well maybe he should at least try it and see if it stops a function of the cannon, that would narrow down exactly what is causing it and the line of code to look at then remove the try exception after
    That's one solution. Personally I would've gone through the stacktrace and figured out what packet I'm sending from the server to the client that causes the crash.
    [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] (official dog of rune-server)
    Quote Originally Posted by blakeman8192 View Post
    Keep trying. Quitting is the only true failure.
    Reply With Quote  
     

  10. #19  
    Registered Member

    Join Date
    Oct 2012
    Posts
    136
    Thanks given
    29
    Thanks received
    54
    Discord
    View profile
    Rep Power
    83
    Quote Originally Posted by Armo View Post
    If the client is dropping that means you can look at the client and pinpoint what error the server is causing..
    It's dropping because of an out of bounds exception, which means the server is incorrectly sending something to the client, so how does looking at the client code help fix the issue of the server shitty code?
    Reply With Quote  
     

  11. #20  
    touched like seafood
    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    23
    Posts
    4,838
    Thanks given
    1,676
    Thanks received
    1,567
    Discord
    View profile
    Rep Power
    1388
    Quote Originally Posted by soar View Post
    It's dropping because of an out of bounds exception, which means the server is incorrectly sending something to the client, so how does looking at the client code help fix the issue of the server shitty code?
    You can find what server code is being sent if you look at the client code.
    [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] (official dog of rune-server)
    Quote Originally Posted by blakeman8192 View Post
    Keep trying. Quitting is the only true failure.
    Reply With Quote  
     

Page 2 of 3 FirstFirst 123 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. Replies: 12
    Last Post: 02-12-2009, 04:04 PM
  2. Light the world on fire.
    By +eX.God in forum Showcase
    Replies: 2
    Last Post: 04-08-2008, 05:36 AM
  3. Chiefs on fire!
    By Fallen Azn SinZ in forum Showcase
    Replies: 17
    Last Post: 03-02-2008, 05:38 AM
  4. "On Fire" My second
    By Sarah in forum Showcase
    Replies: 5
    Last Post: 02-03-2008, 07:25 PM
  5. On fire
    By Jv in forum Showcase
    Replies: 30
    Last Post: 01-26-2008, 05:53 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
  •