Thread: [PI] EMERGENCY: Server disconnects when players attack each other

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 [PI] EMERGENCY: Server disconnects when players attack each other 
    Registered Member
    Join Date
    Feb 2011
    Posts
    30
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    What do you think the cause could be?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Chiief's Avatar
    Join Date
    Jun 2010
    Posts
    1,546
    Thanks given
    69
    Thanks received
    238
    Rep Power
    611
    Any error in the cmd prompt?

    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Feb 2011
    Posts
    30
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by Chiief View Post
    Any error in the cmd prompt?
    Code:
    SEVERE: An error occurred in an executor service! The server will be halted imme
    diately.
    [4/15/11 9:51 PM]: java.lang.NoClassDefFoundError: server/model/minigames/Castle
    Wars
    [4/15/11 9:51 PM]:      at server.model.players.CombatAssistant.checkReqs(Combat
    Assistant.java:2843)
    [4/15/11 9:51 PM]:      at server.model.players.CombatAssistant.attackPlayer(Com
    batAssistant.java:691)
    [4/15/11 9:51 PM]:      at server.model.players.Client.process(Client.java:904)
    [4/15/11 9:51 PM]:      at server.model.players.PlayerHandler.process(PlayerHand
    ler.java:167)
    [4/15/11 9:51 PM]:      at server.task.impl.ProcessPlayerHandler$1.run(ProcessPl
    ayerHandler.java:15)
    [4/15/11 9:51 PM]:      at server.GameEngine$4.run(GameEngine.java:161)
    [4/15/11 9:51 PM]:      at java.util.concurrent.Executors$RunnableAdapter.call(U
    nknown Source)
    [4/15/11 9:51 PM]:      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
     Source)
    [4/15/11 9:51 PM]:      at java.util.concurrent.FutureTask.run(Unknown Source)
    [4/15/11 9:51 PM]:      at java.util.concurrent.ThreadPoolExecutor$Worker.runTas
    k(Unknown Source)
    [4/15/11 9:51 PM]:      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Un
    known Source)
    [4/15/11 9:51 PM]:      at java.lang.Thread.run(Unknown Source)
    Apr 15, 2011 9:51:13 PM server.World handleError
    SEVERE: An error occurred in an executor service! The server will be halted imme
    diately.
    [4/15/11 9:51 PM]: java.lang.NoClassDefFoundError: server/model/minigames/Castle
    Wars
    [4/15/11 9:51 PM]:      at server.model.players.CombatAssistant.checkReqs(Combat
    Assistant.java:2843)
    [4/15/11 9:51 PM]:      at server.model.players.CombatAssistant.attackPlayer(Com
    batAssistant.java:691)
    [4/15/11 9:51 PM]:      at server.model.players.Client.process(Client.java:904)
    [4/15/11 9:51 PM]:      at server.model.players.PlayerHandler.process(PlayerHand
    ler.java:167)
    [4/15/11 9:51 PM]:      at server.task.impl.ProcessPlayerHandler$1.run(ProcessPl
    ayerHandler.java:15)
    [4/15/11 9:51 PM]:      at server.GameEngine$4.run(GameEngine.java:161)
    [4/15/11 9:51 PM]:      at java.util.concurrent.Executors$RunnableAdapter.call(U
    nknown Source)
    [4/15/11 9:51 PM]:      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
     Source)
    [4/15/11 9:51 PM]:      at java.util.concurrent.FutureTask.run(Unknown Source)
    [4/15/11 9:51 PM]:      at java.util.concurrent.ThreadPoolExecutor$Worker.runTas
    k(Unknown Source)
    [4/15/11 9:51 PM]:      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Un
    known Source)
    [4/15/11 9:51 PM]:      at java.lang.Thread.run(Unknown Source)
    Apr 15, 2011 9:51:14 PM server.World handleError
    SEVERE: An error occurred in an executor service! The server will be halted imme
    diately.
    [4/15/11 9:51 PM]: java.lang.NoClassDefFoundError: server/model/minigames/Castle
    Wars
    [4/15/11 9:51 PM]:      at server.model.players.CombatAssistant.checkReqs(Combat
    Assistant.java:2843)
    [4/15/11 9:51 PM]:      at server.model.players.CombatAssistant.attackPlayer(Com
    batAssistant.java:691)
    [4/15/11 9:51 PM]:      at server.model.players.Client.process(Client.java:904)
    [4/15/11 9:51 PM]:      at server.model.players.PlayerHandler.process(PlayerHand
    ler.java:167)
    [4/15/11 9:51 PM]:      at server.task.impl.ProcessPlayerHandler$1.run(ProcessPl
    ayerHandler.java:15)
    [4/15/11 9:51 PM]:      at server.GameEngine$4.run(GameEngine.java:161)
    [4/15/11 9:51 PM]:      at java.util.concurrent.Executors$RunnableAdapter.call(U
    nknown Source)
    [4/15/11 9:51 PM]:      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
     Source)
    [4/15/11 9:51 PM]:      at java.util.concurrent.FutureTask.run(Unknown Source)
    [4/15/11 9:51 PM]:      at java.util.concurrent.ThreadPoolExecutor$Worker.runTas
    k(Unknown Source)
    [4/15/11 9:51 PM]:      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Un
    known Source)
    [4/15/11 9:51 PM]:      at java.lang.Thread.run(Unknown Source)
    Please help server has 60 players online
    Reply With Quote  
     

  4. #4  
    Donator


    Join Date
    Feb 2009
    Age
    28
    Posts
    2,128
    Thanks given
    261
    Thanks received
    280
    Rep Power
    563
    post line 2843 in combatassitant prob something you added to check castlewars
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Nov 2006
    Posts
    98
    Thanks given
    11
    Thanks received
    0
    Rep Power
    18
    You seem to be missing the CastleWars java file
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Feb 2011
    Posts
    30
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by I Justin I View Post
    You seem to be missing the CastleWars java file
    I have a castlewars.java file
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Feb 2011
    Posts
    30
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by Balla_ View Post
    post line 2843 in combatassitant prob something you added to check castlewars
    Code:
     public boolean checkReqs () {
                     if(Server.playerHandlerPlayers[c.Playerindex]] ==null {
                          return false }
                     if (CastleWars.isInCw(c){
                        return true;
                    }
    ^ That's lines 2840-2846

    But the server dcs when a player is attacked, so wouldn't have to do with this?

    [4/15/11 9:51 PM]: at server.model.players.CombatAssistant.attackPlayer( Com
    batAssistant.java:691)

    I looked at line 691, nothing is there.

    And why does rune-server keep going offline? its frustrating me... :\


    Edit: code may not be exact because I could not copy it directly out of my dedi
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Feb 2011
    Posts
    30
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    updated PLEASE someone help
    Reply With Quote  
     

  9. #9  
    Banned

    Join Date
    Jun 2009
    Posts
    2,917
    Thanks given
    169
    Thanks received
    806
    Rep Power
    0
    Did u add bounty hunter?
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Feb 2011
    Posts
    30
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by theowner123 View Post
    Did u add bounty hunter?
    castle wars
    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. [PI]Server randomly disconnects
    By Arithium in forum Help
    Replies: 13
    Last Post: 02-09-2011, 03:09 AM
  2. Replies: 9
    Last Post: 01-06-2011, 12:57 AM
  3. Replies: 2
    Last Post: 07-07-2010, 10:52 PM
  4. Multi icon disconnects players
    By philby93 in forum Help
    Replies: 5
    Last Post: 02-18-2010, 11:08 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
  •