Menu

Player disconnection problem

Help
yun hu lee
2008-03-08
2012-10-16
  • yun hu lee

    yun hu lee - 2008-03-08

    First I executed 'rcsoccersim' and then ./start.sh command to put a team in field.
    but on rcsoccersim side terminal said that the player has disconnected (see copy below).
    I already reinstall many times and I had installed older version but on older version other problems has happen.
    I dont know what to do.
    please help me!!

    yeonhoo@mairoet:~$ rcsoccersim
    rcssserver-12.0.0

    Copyright (C) 1995, 1996, 1997, 1998, 1999 Electrotechnical Laboratory.
    2000 - 2008 RoboCup Soccer Simulator Maintenance Group.

    Using rcssbase-12.0.0

    STDOutSaver: Ready
    Hetero Player Seed: 366377
    wind factor: rand: 0.000000, vector: (0.000000, 0.000000)

    Hit CTRL-C to exit
    Copyright (c) 1999 - 2001, Artur Merke <amerke@ira.uka.de>
    Copyright (c) 2001 - 2008, The RoboCup Soccer Server Maintainance Group.
    <sserver-admin@lists.sourceforge.net>
    reading options from file: /home/yeonhoo/.rcssmonitor.confEnd process_options
    a new (v3) monitor connected

    A player disconnected : (UvA_Base_2003 2)
    A player disconnected : (UvA_Base_2003 3)
    A player disconnected : (UvA_Base_2003 4)
    A player disconnected : (UvA_Base_2003 5)
    A player disconnected : (UvA_Base_2003 6)
    A player disconnected : (UvA_Base_2003 7)
    A player disconnected : (UvA_Base_2003 8)
    A player disconnected : (UvA_Base_2003 9)
    A player disconnected : (UvA_Base_2003 10)
    A player disconnected : (UvA_Base_2003 11)


    yeonhoo@mairoet:~/Desktop/trilearn_base_sources-3.3$ ./start.sh


    • UvA_Trilearn 2003 - University of Amsterdam, The Netherlands *
    • Base code version *
    • Created by: Jelle Kok *
    • Research Coordinator: Nikos Vlassis *
    • Team Coordinator: Frans Groen *
    • Copyright 2000-2001. Jelle Kok and Remco de Boer *
    • Copyright 2001-2002. Jelle Kok *
    • Copyright 2002-2003. Jelle Kok *
    • All rights reserved. *

    [1] 6843
    [2] 6845
    [3] 6847
    [4] 6849
    [5] 6851
    [6] 6853
    [7] 6855
    [8] 6857
    [9] 6859
    [10] 6861
    [11] 6863
    [4] Segmentation fault src/trilearn_player -number 4 -host localho
    st -team UvA_Base_2003 -f ... (core dumped)
    [3] Segmentation fault src/trilearn_player -number 3 -host localho
    st -team UvA_Base_2003 -f ... (core dumped)
    [2] Segmentation fault src/trilearn_player -number 2 -host localho
    st -team UvA_Base_2003 -f ... (core dumped)
    [1] Segmentation fault src/trilearn_player -number 1 -host localho
    st -team UvA_Base_2003 -f ... (core dumped)
    [1] 6878
    yeonhoo@mairoet:~/Desktop/trilearn_base_sources-3.3$


     
    • yun hu lee

      yun hu lee - 2008-04-03

      thank you for precise answer
      I hope it can be fixed soon

       
    • Hidehisa Akiyama

      If you use the UvA base code, you need to change the following value in SoccerTypes.h and compile the code again.

      old: #define MAX_HETERO_PLAYERS 7 /!< Maximum number of hetero players/

      new: #define MAX_HETERO_PLAYERS 18 /!< Maximum number of hetero players/

       
      • Amir Homayoun Javadi

        Hello,

        i also have problem with UVATrilearn base team. when i run the command ./start.sh i receive the following messages,


        • UvA_Trilearn 2003 - University of Amsterdam, The Netherlands *
        • Base code version *
        • Created by: Jelle Kok *
        • Research Coordinator: Nikos Vlassis *
        • Team Coordinator: Frans Groen *
        • Copyright 2000-2001. Jelle Kok and Remco de Boer *
        • Copyright 2001-2002. Jelle Kok *
        • Copyright 2002-2003. Jelle Kok *
        • All rights reserved. *

        [1] 12606
        [2] 12608
        [3] 12610
        [4] 12612
        [5] 12614
        [6] 12616
        [7] 12618
        [8] 12620
        [9] 12623
        [10] 12625
        [11] 12627
        [12] 12633

        and after about 2 seconds i receive the following messages,

        [root@localhost trilearn_base_sources-3.3]# Shutting down player 0
        Number of holes: 0 (-0.000000)
        Teammates seen: 0 (-0.000000)
        Opponents seen: 0 (-0.000000)
        Shutting down player 0
        Number of holes: 0 (-0.000000)
        Teammates seen: 0 (-0.000000)
        Opponents seen: 0 (-0.000000)
        Shutting down player 0
        Number of holes: 0 (-0.000000)
        Teammates seen: 0 (-0.000000)
        Opponents seen: 0 (-0.000000)
        Shutting down player 0
        Number of holes: 0 (-0.000000)
        Teammates seen: 0 (-0.000000)
        Opponents seen: 0 (-0.000000)
        Shutting down player 0
        Number of holes: 0 (-0.000000)
        Teammates seen: 0 (-0.000000)
        Opponents seen: 0 (-0.000000)
        Shutting down player 0
        Number of holes: 0 (-0.000000)
        Teammates seen: 0 (-0.000000)
        Opponents seen: 0 (-0.000000)
        Shutting down player 0
        Number of holes: 0 (-0.000000)
        Teammates seen: 0 (-0.000000)
        Opponents seen: 0 (-0.000000)
        Shutting down player 0
        Number of holes: 0 (-0.000000)
        Teammates seen: 0 (-0.000000)
        Opponents seen: 0 (-0.000000)
        Shutting down player 0
        Number of holes: 0 (-0.000000)
        Teammates seen: 0 (-0.000000)
        Opponents seen: 0 (-0.000000)
        Shutting down player 0
        Number of holes: 0 (-0.000000)
        Teammates seen: 0 (-0.000000)
        Opponents seen: 0 (-0.000000)
        Shutting down player 0
        Number of holes: 0 (-0.000000)
        Teammates seen: 0 (-0.000000)
        Opponents seen: 0 (-0.000000)
        Shutting down coach

        What is the problem? i also changed the SoccerTypes.h file as mentioned in the previous post. my rcsserver is the version 12.0.0. My OS is Fedora Core 9 under VMWare 6

        thanks,
        Amir

         
    • Hidehisa Akiyama

      It seems that rcssserver is not running. The old rcssserver process might have not been killed.
      Does rcssmonitor display the game status? And, can you start the game without teams? Can other teams connect to rcssserver?
      Please check them at first.

       
    • Amir Homayoun Javadi

      Hello,

      it begins counting when i click on "kick-off" button on soccer monitor. further, i checked some other teams, United2002, ERA-Polytech-RC02, Cyberoos2002, FCPortugal2002 but none of them could run.

      what may cause the problem?

       
      • Hidehisa Akiyama

        Please use the recent binaries. But, please note that almost all of old binaries cannot run on rcssserver-12.0.0 if you use the default settings.

         
        • Amir Homayoun Javadi

          Dear Dr. Akiyama

          Thanks for your follow and attention. i know that these binaries are old and probably can't work with recent versions of Soccer Server due to some radical changes in server. i almost never work with other teams' binaries so i've not looked for binaries recently. my own issue is with UVATrilear base team. what should i do with it? it would be so great if you help me on this special team.

          and to check the configuration, i took your recommendation and i've just checked the two teams Brasil2D_rc2007 and Brainstormers07_rc2007. i downloaded them from http://sserver.sakura.ne.jp/RoboCup/binaries/RoboCup07/2D/ but nothing happen again. It is what Brainstormers team shows

          [CommandLineOptions|WMoptions|ClientOptions] ok!

          agent_conf = ./conf/agent.conf
          formations_conf = ./conf/formations.conf
          log_dir = .

          [CommandLineOptions|WMoptions|ClientOptions] ok!

          agent_conf = ./conf/agent.conf
          formations_conf = ./conf/formations.conf
          log_dir = .


          Reading configuration data...
          Starting Logger...
          Initialising message parser...
          Connecting to server on localhost:6002...

          just it. and it is what Brasil team responses

          [root@localhost Brasil2D_rc2007_bin]# ./start.sh
          [1] 7464
          [2] 7465
          [3] 7466
          [4] 7467
          [5] 7468
          [6] 7469
          [7] 7470
          [8] 7471
          [9] 7473
          [10] 7474
          [11] 7475
          [12] 7476
          [root@localhost Brasil2D_rc2007_bin]# Jogador Finalizado 0 < after ctrl-c >
          Jogador Finalizado 0
          Jogador Finalizado 0
          Jogador Finalizado 0
          Jogador Finalizado 0
          Jogador Finalizado 0
          Jogador Finalizado 0
          Jogador Finalizado 0
          Jogador Finalizado 0
          Jogador Finalizado 0
          Jogador Finalizado 0
          Shutting down coach

          thanks,
          Amir

           
          • Hidehisa Akiyama

            If FireWall is running on your system, please turn off it completely.

            And, please check the following command,

            $ ping localhost

            If you receive "ping: unknown host localhost", you need to add the following line in /etc/hosts,

            127.0.0.1 localhost localhost.localdomain

             
            • Amir Homayoun Javadi

              oh, very many thanks. i've got the point. my firewall is disabled already. but about the localhost. i ran the command "ping localhost" and it resolved the address to my gateway ip address. i understood that i have to explicitly define the machine ip address, so i wrote the command "./start.sh 192.168.0.24 Team1" and it is working fine now.

              so thanks. your replies were so helpful.
              Amir

               
    • yun hu lee

      yun hu lee - 2008-04-02

      After some modification of OS configuration I could run version 11.
      But the problem persists on version 12.

      As some said, I did compile source-code and then tried to run. never took directly binary.

      There is no library dependency given that "ldd" command shows.

      Since it pinging localhost i think there is no problem with firewall

      actually im using ubuntu hardy and i was using gutsy until past week

      an interesting thing is when i executed rcssserver in /usr/local/bin it gave me core dump (see copy below)

      yeonhoo@marioet:/usr/local/bin$ rcssserver
      rcssserver-12.0.1

      Copyright (C) 1995, 1996, 1997, 1998, 1999 Electrotechnical Laboratory.
      2000 - 2008 RoboCup Soccer Simulator Maintenance Group.

      Using rcssbase-12.0.0

      STDOutSaver: Ready
      Hetero Player Seed: 298749
      wind factor: rand: 0.000000, vector: (0.000000, 0.000000)
      logger.cpp: 259: can't open record_file ./incomplete.rcg
      Segmentation fault (core dumped)


      but when I execute it on other directory it runs without errors.

      I already tried root mode to execute but I had no success.

      please give me more ideia :) !!

       
      • Hidehisa Akiyama

        Thank you for the reporting problem.
        The segmentation fault is caused by module loading library. This problem will be fixed from next minor update version.

        > an interesting thing is when i executed rcssserver in
        > /usr/local/bin it gave me core dump (see copy below)
        > -------------------------------------------------------------
        > yeonhoo@marioet:/usr/local/bin$ rcssserver
        > rcssserver-12.0.1
        >
        > Copyright (C) 1995, 1996, 1997, 1998, 1999 Electrotechnical Laboratory.
        > 2000 - 2008 RoboCup Soccer Simulator Maintenance Group.
        >
        > Using rcssbase-12.0.0
        >
        > STDOutSaver: Ready
        > Hetero Player Seed: 298749
        > wind factor: rand: 0.000000, vector: (0.000000, 0.000000)
        > logger.cpp: 259: can't open record_file ./incomplete.rcg
        > Segmentation fault (core dumped)
        > -------------------------------------------------------------

         

Log in to post a comment.

MongoDB Logo MongoDB