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 CommandStar: Real-Time Chat, Online Players, and Server Status

Discussion in 'Multiplayer' started by Seriallos, Dec 15, 2013.

  1. Mortalsinn

    Mortalsinn Zero Gravity Genie

    Any idea why I'm getting this path error? My config looks good as far as I can tell!


    http://i604.photobucket.com/albums/tt126/mortalsinn/Untitled-15.jpg

    Yikes...that's a bit hard to read - Let me know if you need a larger version


    Edit: in that picture I removed the .config and .log extensions as a test but I get the same error with or with out the extensions
     
  2. Seriallos

    Seriallos Space Penguin Leader

    Think the configFile needs to end with 'starbound.config', not just 'starbound'.
     
  3. Mortalsinn

    Mortalsinn Zero Gravity Genie

    I did that the first time, got the same error. Notice in the error message in your command star console the path it shows...its adding double \\ when in the config I have single \

    any ideas?
     
  4. Seriallos

    Seriallos Space Penguin Leader

    I think I see it now - try wrapping your paths in double quotes and make sure configFile is using starbound.config. The double slashes are expected in those error messages.

    I believe that should work. If it does, I'll update the default config to have the double quotes as well.
     
  5. Mortalsinn

    Mortalsinn Zero Gravity Genie

    I tried single quotes, double quotes etc.. nothing worked. Also, I can't name my config file "starbound.config" because I'm using Starrybound and if I do that, Starrybound creates a new config file "starbound" with out the .config

    could that be the issue?
     
  6. Seriallos

    Seriallos Space Penguin Leader

    Hmm, I thought Starrybound just rewrites the starbound.config with its own values and it kept the .config as part of the filename. I've only played around with it on Linux and a slightly older version, though.

    Is the starbound config file that it makes still just plain JSON?

    Is Steam in 'Program Files', not 'Program Files (x86)'?

    The code that's throwing the error is pretty straightforward - it's unable to find a file at the location provided. The two ways this could happen is if the config file is being parsed incorrectly or there's no file actually there :)

    I'll see if I can test this out on my own PC to see what's going on.
     
  7. Seriallos

    Seriallos Space Penguin Leader

    I just did a quick test on my own PC and everything seemed to be working. starbound.config was still in the main starbound directory after starrybound was running. So it seems there's no inherent conflict between CommandStar and Starrybound at first glance on my system.

    Double check your paths and make sure they are wrapped in double quotes. If that still doesn't work, I might request a bit more detail in a PM to see if we can get to the bottom of the issue.
     
  8. Mortalsinn

    Mortalsinn Zero Gravity Genie

    I installed Visual studio express, it changed the config to XML configuration and when I edit it with Notepad ++ all the variables are listed in one continuous long line now, not vertically like it used to be. Would that have anything to do with it?
     
  9. Seriallos

    Seriallos Space Penguin Leader

    That shouldn't have an effect. CommandStar should be able to parse the JSON whether it's pretty printed or not.
     
  10. StilleVande

    StilleVande Big Damn Hero

    You use Starrybound?
     
  11. Seriallos

    Seriallos Space Penguin Leader

    Master branch has been updated to support new log lines for Furious Koala.

    Will make a real release once I'm certain everything is stable with the new release.
     
  12. NakashimaKun

    NakashimaKun Pangalactic Porcupine

    Hello,

    To get this viewable to an outsider you can port forward the IP and it'll be public view (Example IP) http://85.2.514.21:8080 <-- This isn't an actual IP don't try it.

    Most routers support this and if your stuck on how to port forward there is a ton of guide on the forum already to get the starbound server itself working ;)

    Hope this helps.
     
  13. FuzzyThor

    FuzzyThor Existential Complex

    This mod was working fine until the update now it wont work. What changes should be made in order for this to be able to use this with the new patch.

    I got another copy of the repository with your updates today and started from scratch but for some reason I keep geeting an error.

    This is the error i am getting.
    Code:
    TypeError: Cannot read property 'binPath' of undefined
      at Object.<anonymous> (C:\Program Files (x86)\Steam\SteamApps\common\Addons\co
    mmandstar-0.1.6\lib\commandstar.coffee:64:28, <js>:85:30)
      at Object.<anonymous> (C:\Program Files (x86)\Steam\SteamApps\common\Addons\co
    mmandstar-0.1.6\lib\commandstar.coffee:1:1, <js>:311:4)
      at Module._compile (module.js:456:26)
    
     
    Last edited: Jan 28, 2014
  14. Ulliam

    Ulliam Big Damn Hero

    Set this up but the only things that seem to work are the game chat and access. It will not update version, players, active systems or worlds explored. Don't really get any error messages. Running on Win7 X64.

    This is what is displayed after running:

    Code:
    C:\Games\commandstar-0.1.6>cd C:\Games\commandstar-0.1.6\
    npm WARN package.json commandstar@0.1.6 No repository field.
    npm WARN package.json node-hipchat@0.2.0 'repositories' (plural) Not supported.
    npm WARN package.json Please pick one as the 'repository' field
    CommandStar listening on port http://0.0.0.0:8080
    
     
  15. FuzzyThor

    FuzzyThor Existential Complex

    What did you do to get it to work at all?

    edit- I got it to work now. The issues was the Starbound: directory line still had a #
     
    Last edited: Jan 29, 2014
  16. DarkOS

    DarkOS Big Damn Hero

    mine is running but only updates chat (using 1.6) - is this a known issue?
     
  17. djh816

    djh816 Void-Bound Voyager

    Same thing here. Was working before the final wipe. I noticed they changed the names of some of the binaries or launch scripts this time around. Probably a quick fix when OP has some time. But yeah on mine, I just see chat and server status. No version or player list.
     
  18. FartJokes

    FartJokes Tentacle Wrangler

    I've never used coffeescript but I'll take a look and see if I can fix the bugs and send in a pull request.
     
  19. palasx

    palasx Void-Bound Voyager

    What are the chances of getting this all ported into, say, PHP that will spit out all this as JSON data that we cna format ourselves?
     
  20. FuzzyThor

    FuzzyThor Existential Complex

    Is anyone able to relay chat from hipchat to starbound
     

Share This Page