1. When making a thread, please tag your thread accordingly using the menu to the left of the textfield where you name your thread where applicable. Server Advertisements and Mod Releases should be contained to their respective subforums.

Server Discussion StarryPy - A plugin driven server wrapper written in Python.

Discussion in 'Multiplayer' started by Carrots Are Mediocre, Jan 29, 2014.

  1. Brockway

    Brockway Pangalactic Porcupine

    Did the devs plan to upgrade the wrapper to the new update ?

    Cheers.
     
  2. Captain Fabulous

    Captain Fabulous Scruffy Nerf-Herder

    Just started a server and installed StarryPy today. I got it all running, but whenever I connect to the server, this happens:
    Code:
    2015-05-02 18:43:51,336 - ERROR - starrypy.plugins.player_manager # Exception in on_connect_response, player info may not have been logged.
    Traceback (most recent call last):
      File "/home/memer69/StarryPy/plugins/core/player_manager/plugin.py", line 114, in on_connect_response
      connection_parameters = connect_response().parse(data.data)
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 187, in parse
      return self.parse_stream(BytesIO(data))
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 197, in parse_stream
      return self._parse(stream, Container())
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 661, in _parse
      subobj = sc._parse(stream, context)
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 287, in _parse
      return self._decode(self.subcon._parse(stream, context), context)
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 661, in _parse
      subobj = sc._parse(stream, context)
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 287, in _parse
      return self._decode(self.subcon._parse(stream, context), context)
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 397, in _parse
      return _read_stream(stream, self.lengthfunc(context))
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 304, in _read_stream
      raise FieldError("expected %d, found %d" % (length, len(data)))
    FieldError: expected 88, found 40
    2015-05-02 18:43:51,349 - ERROR - starrypy.plugins.announcer_plugin # Unknown error in after_connect_response.
    Traceback (most recent call last):
      File "/home/memer69/StarryPy/plugins/announcer_plugin/announcer_plugin.py", line 17, in after_connect_response
      c = connect_response().parse(data.data)
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 187, in parse
      return self.parse_stream(BytesIO(data))
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 197, in parse_stream
      return self._parse(stream, Container())
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 661, in _parse
      subobj = sc._parse(stream, context)
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 287, in _parse
      return self._decode(self.subcon._parse(stream, context), context)
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 661, in _parse
      subobj = sc._parse(stream, context)
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 287, in _parse
      return self._decode(self.subcon._parse(stream, context), context)
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 397, in _parse
      return _read_stream(stream, self.lengthfunc(context))
      File "/usr/lib/python2.7/dist-packages/construct/core.py", line 304, in _read_stream
      raise FieldError("expected %d, found %d" % (length, len(data)))
    FieldError: expected 88, found 40
    2015-05-02 18:43:51,356 - ERROR - starrypy.plugin_manager.PluginManager # Error in plugin <Plugin instance: loginwho_plugin (version .1)> with function after_connect_response.
    Traceback (most recent call last):
      File "/home/memer69/StarryPy/plugin_manager.py", line 166, in do
      res = getattr(plugin, command, lambda _: True)(data)
      File "/home/memer69/StarryPy/plugins/loginwho_plugin/loginwho_plugin.py", line 18, in after_connect_response
      self.user_commands.who(data)
      File "/home/memer69/StarryPy/plugins/core/player_manager/manager.py", line 444, in wrapped_function
      if self.protocol.player.access_level >= level:
    AttributeError: 'NoneType' object has no attribute 'access_level'
    2015-05-02 18:43:52,587 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-05-02 18:43:52,588 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-05-02 18:43:52,591 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-05-02 18:43:52,594 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-05-02 18:43:53,098 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-05-02 18:43:53,100 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-05-02 18:43:53,101 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-05-02 18:43:53,103 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-05-02 18:43:53,145 - ERROR - starrypy.plugin_manager.PluginManager # Error in plugin <Plugin instance: planet_protect (version 0.1)> with function on_connect_wire.
    Traceback (most recent call last):
      File "/home/memer69/StarryPy/plugin_manager.py", line 166, in do
      res = getattr(plugin, command, lambda _: True)(data)
      File "/home/memer69/StarryPy/plugins/planet_protect/planet_protect_plugin.py", line 21, in <lambda>
      setattr(self, n, (lambda x: self.planet_check()))
      File "/home/memer69/StarryPy/plugins/planet_protect/planet_protect_plugin.py", line 30, in planet_check
      if self.protocol.player.on_ship:
    AttributeError: 'NoneType' object has no attribute 'on_ship'
    
    The ship just starts to load before the connection is lost. The shipworld of the character I logged in as shows up in Starbound's universe folder, but StarryPy doesn't log any player information. I'm at a total loss as to what the problem is. Any help would be greatly appreciated, and if there's any more information needed just let me know.
     
    Snowpup likes this.
  3. Brockway

    Brockway Pangalactic Porcupine

    Obviously the wrapper have not been updating since a long time and several updates now, so dont hope for any compatibility.

    Cheers.
     
  4. Tsunder

    Tsunder Phantasmal Quasar

    wrapper's been updated recently, most plugins work w/ SG
     
  5. lordglythglyth

    lordglythglyth Pangalactic Porcupine

    is this easy to install on creaperhost or servercraft?
     
    Last edited: May 6, 2015
  6. Brockway

    Brockway Pangalactic Porcupine

    you maybe have to tell me where, because i check both repo recently and nothing...
     
  7. Brockway

    Brockway Pangalactic Porcupine

  8. Tsunder

    Tsunder Phantasmal Quasar

  9. Brockway

    Brockway Pangalactic Porcupine

  10. iZed

    iZed Orbital Explorer

  11. iZed

    iZed Orbital Explorer

    Bump. Anyone can says me this work on last version of Starbound or no?
     
  12. Tsunder

    Tsunder Phantasmal Quasar

    I don't think it's working for Spirited Giraffe, but it is for Upbeat Giraffe, the stable version :D
     
    iZed likes this.
  13. iZed

    iZed Orbital Explorer

    Im trying to start it on Spirited Giraffe - Update 5 version.
    StarryPy and Server starts fine.
    Im trying to connect and have error in game: Client-server connection no longer valid.
    Starbound Server console says:
    Code:
    Info: UniverseServer: Connection received from: 127.0.0.1:60714
    Info: UniverseServer: Logged in account '<anonymous>' as player 'Zed' from address 127.0.0.1
    Info: UniverseServer: Reviving player at ClientShipWorld:8e84ed405d525c9315b689389df085a0
    Info: UniverseServer: Client 'Zed' <1> (127.0.0.1) connected
    Info: UniverseServer: Loading client ship world ClientShipWorld:8e84ed405d525c9315b689389df085a0
    Info: UniverseServer: Loading celestial world 817679392:33226925:-104037870:2:5
    Info: UniverseServer: Client 'Zed' <1> (127.0.0.1) connection lost
    Info: UniverseServer: Client 'Zed' <1> (127.0.0.1) disconnected
    
    And i have alot errors in StarryPy console.

    Code:
    zet@z-server:~/server/StarryPy$ python server.py
    Attempting initialization of configuration manager singleton.
    Setup console logging...
    Setup file-based logging...
    2015-06-11 05:34:15,434 - DEBUG - starrypy # Port check enabled. Performing port check to localhost:21024
    2015-06-11 05:34:15,438 - DEBUG - starrypy # Port check succeeded. Continuing.
    2015-06-11 05:34:15,438 - INFO - starrypy # Started StarryPy server version 1.5.1
    2015-06-11 05:34:15,620 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'chat_logger'
    2015-06-11 05:34:15,621 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'announcer_plugin'
    2015-06-11 05:34:15,622 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'irc'
    2015-06-11 05:34:15,622 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'command_dispatcher'
    2015-06-11 05:34:15,623 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'mute_manager'
    2015-06-11 05:34:15,624 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'new_player_greeter_plugin'
    2015-06-11 05:34:15,624 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'planet_visitor_announcer_plugin'
    2015-06-11 05:34:15,625 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'motd_plugin'
    2015-06-11 05:34:15,626 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'player_manager'
    2015-06-11 05:34:15,626 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'plugin_manager'
    2015-06-11 05:34:15,627 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'starbound_config_manager'
    2015-06-11 05:34:15,628 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'afk_plugin'
    2015-06-11 05:34:15,628 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'user_management_commands'
    2015-06-11 05:34:15,629 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'uptime_plugin'
    2015-06-11 05:34:15,629 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'emotes_plugin'
    2015-06-11 05:34:15,630 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'bookmarks_plugin'
    2015-06-11 05:34:15,630 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'colored_names_plugin'
    2015-06-11 05:34:15,631 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'poi_plugin'
    2015-06-11 05:34:15,631 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'fuelgiver_plugin'
    2015-06-11 05:34:15,632 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'starteritems_plugin'
    2015-06-11 05:34:15,633 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'warpy_plugin'
    2015-06-11 05:34:15,635 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'partychat_plugin'
    2015-06-11 05:34:15,635 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'mod_chatter'
    2015-06-11 05:34:15,637 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'web_gui'
    2015-06-11 05:34:15,638 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'brutus_whisper'
    2015-06-11 05:34:15,639 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'planet_protect'
    2015-06-11 05:34:15,639 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'admin_messenger'
    2015-06-11 05:34:15,640 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'loginwho_plugin'
    2015-06-11 05:34:15,640 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'players_plugin'
    2015-06-11 05:34:15,641 - DEBUG - starrypy.plugin_manager.PluginManager # Instantiated plugin 'claims'
    2015-06-11 05:34:15,641 - DEBUG - starrypy.plugins.chat_logger # chat_logger plugin object activated.
    2015-06-11 05:34:15,641 - DEBUG - starrypy.plugins.announcer_plugin # announcer_plugin plugin object activated.
    2015-06-11 05:34:15,641 - DEBUG - starrypy.plugins.command_dispatcher # command_dispatcher plugin object activated.
    2015-06-11 05:34:15,642 - DEBUG - starrypy.plugins.mute_manager # mute_manager plugin object activated.
    2015-06-11 05:34:15,642 - DEBUG - starrypy.plugins.planet_visitor_announcer_plugin # planet_visitor_announcer_plugin plugin object activated.
    2015-06-11 05:34:15,642 - DEBUG - starrypy.plugins.motd_plugin # motd_plugin plugin object activated.
    2015-06-11 05:34:15,642 - DEBUG - starrypy.plugins.player_manager # player_manager plugin object activated.
    2015-06-11 05:34:15,643 - INFO - starrypy.player_manager.manager # Loading player database.
    2015-06-11 05:34:15,666 - DEBUG - starrypy.plugins.plugin_manager # plugin_manager plugin object activated.
    2015-06-11 05:34:15,666 - DEBUG - starrypy.plugins.starbound_config_manager # starbound_config_manager plugin object activated.
    2015-06-11 05:34:15,667 - DEBUG - starrypy.plugins.afk_plugin # afk_plugin plugin object activated.
    2015-06-11 05:34:15,668 - DEBUG - starrypy.plugins.user_management_commands # user_management_commands plugin object activated.
    2015-06-11 05:34:15,668 - DEBUG - starrypy.plugins.uptime_plugin # uptime_plugin plugin object activated.
    2015-06-11 05:34:15,668 - DEBUG - starrypy.plugins.emotes_plugin # emotes_plugin plugin object activated.
    2015-06-11 05:34:15,668 - DEBUG - starrypy.plugins.bookmarks_plugin # bookmarks_plugin plugin object activated.
    2015-06-11 05:34:15,668 - DEBUG - starrypy.plugins.colored_names_plugin # colored_names_plugin plugin object activated.
    2015-06-11 05:34:15,668 - DEBUG - starrypy.plugins.poi_plugin # poi_plugin plugin object activated.
    2015-06-11 05:34:15,668 - DEBUG - starrypy.plugins.warpy_plugin # warpy_plugin plugin object activated.
    2015-06-11 05:34:15,669 - DEBUG - starrypy.plugins.partychat_plugin # partychat_plugin plugin object activated.
    2015-06-11 05:34:15,669 - DEBUG - starrypy.plugins.mod_chatter # mod_chatter plugin object activated.
    2015-06-11 05:34:15,669 - DEBUG - starrypy.plugins.web_gui # web_gui plugin object activated.
    2015-06-11 05:34:15,676 - INFO - starrypy.plugins.web_gui # WebGUI listening on port 8083
    2015-06-11 05:34:15,676 - DEBUG - starrypy.plugins.brutus_whisper # brutus_whisper plugin object activated.
    2015-06-11 05:34:15,676 - DEBUG - starrypy.plugins.planet_protect # planet_protect plugin object activated.
    2015-06-11 05:34:15,678 - DEBUG - starrypy.plugins.admin_messenger # admin_messenger plugin object activated.
    2015-06-11 05:34:15,678 - DEBUG - starrypy.plugins.loginwho_plugin # loginwho_plugin plugin object activated.
    2015-06-11 05:34:15,678 - DEBUG - starrypy.plugins.players_plugin # players_plugin plugin object activated.
    2015-06-11 05:34:15,679 - DEBUG - starrypy.plugins.claims # claims plugin object activated.
    2015-06-11 05:34:15,679 - INFO - starrypy.plugin_manager.PluginManager # Loaded plugins:
    afk_plugin, Active: True
    user_management_commands, Active: True
    uptime_plugin, Active: True
    emotes_plugin, Active: True
    bookmarks_plugin, Active: True
    chat_logger, Active: True
    colored_names_plugin, Active: True
    announcer_plugin, Active: True
    loginwho_plugin, Active: True
    poi_plugin, Active: True
    fuelgiver_plugin, Active: False
    starteritems_plugin, Active: False
    players_plugin, Active: True
    irc, Active: False
    warpy_plugin, Active: True
    partychat_plugin, Active: True
    starbound_config_manager, Active: True
    command_dispatcher, Active: True
    web_gui, Active: True
    mute_manager, Active: True
    new_player_greeter_plugin, Active: False
    brutus_whisper, Active: True
    motd_plugin, Active: True
    player_manager, Active: True
    plugin_manager, Active: True
    claims, Active: True
    planet_visitor_announcer_plugin, Active: True
    planet_protect, Active: True
    admin_messenger, Active: True
    mod_chatter, Active: True
    2015-06-11 05:34:15,680 - DEBUG - starrypy # Factory created, endpoint of port 21025
    2015-06-11 05:34:15,680 - DEBUG - starrypy # Attempting to listen on TCP port 21025
    2015-06-11 05:34:15,680 - INFO - starrypy # Listening on port 21025
    2015-06-11 05:34:25,903 - DEBUG - starrypy # Trying to initialize configuration manager.
    2015-06-11 05:34:25,904 - INFO - starrypy # Connection established from IP: 192.168.1.225
    2015-06-11 05:34:25,905 - DEBUG - starrypy # Client protocol instantiated.
    2015-06-11 05:34:25,930 - ERROR - starrypy.plugins.player_manager # Exception in on_connect_response, player info may not have been logged.
    Traceback (most recent call last):
      File "/home/zet/server/StarryPy/plugins/core/player_manager/plugin.py", line 114, in on_connect_response
        connection_parameters = connect_response().parse(data.data)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 188, in parse
        return self.parse_stream(BytesIO(data))
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 198, in parse_stream
        return self._parse(stream, Container())
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 670, in _parse
        subobj = sc._parse(stream, context)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 288, in _parse
        return self._decode(self.subcon._parse(stream, context), context)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 670, in _parse
        subobj = sc._parse(stream, context)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 288, in _parse
        return self._decode(self.subcon._parse(stream, context), context)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 398, in _parse
        return _read_stream(stream, self.lengthfunc(context))
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 305, in _read_stream
        raise FieldError("expected %d, found %d" % (length, len(data)))
    FieldError: expected 1011642, found 40
    2015-06-11 05:34:25,941 - ERROR - starrypy.plugins.announcer_plugin # Unknown error in after_connect_response.
    Traceback (most recent call last):
      File "/home/zet/server/StarryPy/plugins/announcer_plugin/announcer_plugin.py", line 17, in after_connect_response
        c = connect_response().parse(data.data)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 188, in parse
        return self.parse_stream(BytesIO(data))
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 198, in parse_stream
        return self._parse(stream, Container())
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 670, in _parse
        subobj = sc._parse(stream, context)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 288, in _parse
        return self._decode(self.subcon._parse(stream, context), context)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 670, in _parse
        subobj = sc._parse(stream, context)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 288, in _parse
        return self._decode(self.subcon._parse(stream, context), context)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 398, in _parse
        return _read_stream(stream, self.lengthfunc(context))
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 305, in _read_stream
        raise FieldError("expected %d, found %d" % (length, len(data)))
    FieldError: expected 1011642, found 40
    2015-06-11 05:34:25,941 - ERROR - starrypy.plugin_manager.PluginManager # Error in plugin <Plugin instance: loginwho_plugin (version .1)> with function after_connect_response.
    Traceback (most recent call last):
      File "/home/zet/server/StarryPy/plugin_manager.py", line 166, in do
        res = getattr(plugin, command, lambda _: True)(data)
      File "/home/zet/server/StarryPy/plugins/loginwho_plugin/loginwho_plugin.py", line 18, in after_connect_response
        self.user_commands.who(data)
      File "/home/zet/server/StarryPy/plugins/core/player_manager/manager.py", line 444, in wrapped_function
        if self.protocol.player.access_level >= level:
    AttributeError: 'NoneType' object has no attribute 'access_level'
    2015-06-11 05:34:27,219 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-06-11 05:34:27,227 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-06-11 05:34:27,230 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-06-11 05:34:27,234 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-06-11 05:34:27,308 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-06-11 05:34:27,311 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-06-11 05:34:27,314 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-06-11 05:34:27,317 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-06-11 05:34:27,493 - INFO - starrypy # Lost connection from IP: 192.168.1.225
    

    [​IMG]


    If i off all plugins i have only this error after connect:
    Code:
    2015-06-11 07:57:11,277 - INFO - starrypy # Connection established from IP: 192.168.1.225
    2015-06-11 07:57:11,279 - DEBUG - starrypy # Client protocol instantiated.
    2015-06-11 07:57:11,305 - ERROR - starrypy.plugins.player_manager # Exception in on_connect_response, player info may not have been logged.
    Traceback (most recent call last):
      File "/home/zet/server/StarryPy/plugins/core/player_manager/plugin.py", line 114, in on_connect_response
        connection_parameters = connect_response().parse(data.data)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 188, in parse
        return self.parse_stream(BytesIO(data))
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 198, in parse_stream
        return self._parse(stream, Container())
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 670, in _parse
        subobj = sc._parse(stream, context)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 288, in _parse
        return self._decode(self.subcon._parse(stream, context), context)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 670, in _parse
        subobj = sc._parse(stream, context)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 288, in _parse
        return self._decode(self.subcon._parse(stream, context), context)
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 398, in _parse
        return _read_stream(stream, self.lengthfunc(context))
      File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 305, in _read_stream
        raise FieldError("expected %d, found %d" % (length, len(data)))
    FieldError: expected 1011642, found 40
    2015-06-11 07:57:12,600 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-06-11 07:57:12,608 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-06-11 07:57:12,609 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-06-11 07:57:12,611 - WARNING - starrypy # Received unknown message ID (55) from client.
    2015-06-11 07:57:12,685 - INFO - starrypy # Lost connection from IP: 192.168.1.225
    In plugins/core/player_manager/manager.py this code:
    Code:
    def on_connect_response(self, data):
            try:
                connection_parameters = connect_response().parse(data.data)
                if not connection_parameters.success:
                    self.protocol.transport.loseConnection()
                else:
                    self.protocol.player.client_id = connection_parameters.client_id
                    self.protocol.player.logged_in = True
                    self.protocol.player.party_id = ""
                    self.logger.info("Player %s (UUID: %s, IP: %s) logged in" % (
                        self.protocol.player.name, self.protocol.player.uuid,
                        self.protocol.transport.getPeer().host))
            except:
                self.logger.exception("Exception in on_connect_response, player info may not have been logged.")
            finally:
                return True
    I dont know how to fix it, my pyton are very badly :(
     
    Last edited: Jun 11, 2015
  14. ModdedTibby

    ModdedTibby Void-Bound Voyager

    reading the github for this plguin where its updated.

    im throwing an error when im setting this up

    its showing an error in these lines and i look nothing looks off.

    http://prntscr.com/7z5kqs
    Any clues let me know![DOUBLEPOST=1438333135][/DOUBLEPOST]Ive also entere in C:\\GameServers\\Starbound Nothing same errors
     
  15. dangermind

    dangermind Subatomic Cosmonaut

    Si i guess this doesnt work with the newest version of starbound?
     
  16. Tsunder

    Tsunder Phantasmal Quasar

  17. kharidiron

    kharidiron Void-Bound Voyager

    What Tsunder said: it is still actively in development. The only difference from before, is the guy who started the project (CarrotAreMeh) has left, and I'm not a programmer, so improvements are slow in coming.

    But I at least know enough to keep it up to speed with the new protocols. :D
     
  18. dangermind

    dangermind Subatomic Cosmonaut

    Its working yay, but i cant get admin privvileges, i made a password in admin_ss, and the website said i had to enter that into the account tab, but it says the account/password is incorrect when i do that. :(

    i am playing on the same pc as the server is on and i tried connecting to localhost instead of my ip, localhost doesnt work so i entered my local IP which should be the same right?
     
    Last edited: Aug 28, 2015
  19. Tsunder

    Tsunder Phantasmal Quasar

    connect to the loopback address (127.0.0.1)? if you're running starrypy, starrypy's port shoul be the default game port (21025) and the server itself should be something else
     
  20. kharidiron

    kharidiron Void-Bound Voyager

Share This Page