Jump to content

Alloc

Fun Pimps Staff
  • Posts

    1,538
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by Alloc

  1. well after i changed the telnet port and password I was able to connect to the server.. so its good now, i'll just iptable the ports so its only my ip and localhost

    Do you have a static IP that you connect from? If you only wanted connections to Telnet to be allowed from the server itself (i.e. scripts or when you want to access remote through e.g. SSH tunnel or VPN) you could just remove the password. That way the server will only listen on the loopback device.

     

    for future which log file do you need?

    current_output.log

     

     

     

    Oh, and the "fallback handler" lines don't matter. And I think the other errors were because the player was disconnected right after connecting.

  2. Could you send me the full log?

     

    GamePrefs/GameStats in log: At least the latter seem not to represent the correct values from the config when they are written to the log. Just ignore them ;)

    If you want to check if your values are loaded correctly you might run "gg", it will show you the current values for each setting.

  3. Re:Ping: You can just use "listplayersextended" (lpe) to get the ping. I think that's better than passing more and more stuff in hooks.

     

    There also seems to be a charset mismatch between the internal server chat messages (Jan†sûû joined the game) supporting unicode and telnet/hooks not supporting them (Jan+s joined the game).

    Yeah, Telnet does use a different encoding ... But the hooks should receive the correct name as it's read from the log and that should be fine.

  4. But you read the stackoverflow answer? ;)

    You can do stuff like 5-59/20 which would be 5, 25, 45. If you use different starting values for each instance you'll get different times within the hour :D

    (That way you can even be sure that at no time they overlap whereas with some weird intervals like 43 over the whole day two events could occur at the same time if they reach a common multiple ;) )

     

    btw. Any possibility of getting "cm" per user only? (haven't tested yet, sorry) why is it session bound?

    Nope, not for the short term. It's the way the engine tells the clients about the server settings.

  5. So I've been succesfully running PHP scripts in your evented .sh scripts with the #!/usr/bin/php shebang with the assistance of https://github.com/ngharo/Random-PHP-Classes/blob/master/Telnet.class.php .

    That's nice =) Thanks for posting this so others can use it too =)

    But could it be you're missing a "say " in your telnet->exec line?

     

    (remember cron doesn't unfortunately support incrementals so running something every 43 minutes actually only runs once an hour at 43 minutes past the hour, instead of 0:43, 1:26, 2:09, 2:52, etc... I'm not quite sure why but it sounds so retarded that there has to be a really, really, really absolute reason for it. Marvels of *nix I guess.)

    No way for such value, but you can do things like "every 20 minutes":

    */20 * * * * ...

    See here for more details (first answer is a really good one :) ): Run Cron job every N minutes plus offset

  6. when i try to render the map we already have .. its quite big it gets stuck at about 3 % with this error

     

    ...

     

    I've deleted the folder incase it was trying to overwrite a file but the same issue everytime

    But the rest works have a map running on the web and it accesses what little it already rendered just that getting stuck there bit

     

    Any insights?

    Hum ... that. is. weird. ...

    Which version are you running? I.e. revision you downloaded or just run "version" in the console.

     

    Anyway, has nothing to do with the generated files, that's either a problem with how I access chunks or with the chunks themselves ... Probably the former one :(

    That chunk management business is really annoying ;)

    Also could you send me your save folder so I can try to reproduce that problem locally? You could leave out the player files of course ;)

  7. when i try to render the map we already have .. its quite big it gets stuck at about 3 % with this error

     

    ...

     

    I've deleted the folder incase it was trying to overwrite a file but the same issue everytime

    But the rest works have a map running on the web and it accesses what little it already rendered just that getting stuck there bit

     

    Hum ... that. is. weird. ...

    Which version are you running? I.e. revision you downloaded or just run "version" in the console.

     

    Anyway, has nothing to do with the generated files, that's either a problem with how I access chunks or with the chunks themselves ... Probably the former one :(

    That chunk management business is really annoying ;)

  8. I'm having issues installing this. Server starts but won't accept any connections...

    Log contents?

     

    Are you going to take the simple authorization off? Right now every time someone tries to view it the thing pops up asking for username and password.

    Nope, as that will be extended to be an admin interface you wouldn't want it to be publicly accessible ;)

  9. With the new build it works for me. But i have one question: have run the render command every day or will the map render automaticly if i run around on the map ?

     

    It will be rendered as people walk around. So on a new savegame you won't have to run rendermap at all ;)

  10. hell ya i got it....

    Heh, ok, glad it works (and wasn't my fault ;D ).

     

    as a side note since its not important what is the deal with the favicon.ico?

    It's just because there is none. For further information on what a favicon is at all: http://en.wikipedia.org/wiki/Favicon ;)

     

    <controlpanelport+2> I dont get what you mean by +2. so would be http://127.0.0.1:80+2/ <-- example???

    If you set ControlPanelPort to 80 then it would be:

    http://127.0.0.1:82/

  11. Ok back. sorry wife distracted me for a second talking about lunch lol.

    I tried to run it using win+r and it didn't work, but the file is definitely in that folder.

    Heh, no prob ^^

    Really weird that is ... I do not see any reason atm why that should fail, especially as the other files are served correctly.

     

    (Also the forum is giving me a really hard time right now :( )

  12. Nothing is generated there. The webserver-folder has to be created manually with the contents of the folder in SVN ( http://svn.illy.bz/7dtd/binary-improvements/webserver/ , you can also use a SVN client to get that folder checked out). That folder will then be accessed through HTTP with the "/static/" prefix, i.e. "/static/index.html" will be mapped to your local file "<game>/webserver/index.html".

     

    So only tasks for installing: Add the mod, create the "webserver" folder in the game folder with the contents from SVN and you are done ;)

  13. So I just copy the map files from the save to the webserver dir so it displays current map and then any new cords will be added as they pop up?

    Nope, don't copy anything. The webserver will access the map files from the save folder and the static files from the "webserver" folder.

     

    22.595 Web:Static:FileNotFound: "/static/leaflet/leaflet.js" @ "C:/Program Files (x86)/Steam/steamapps/common/7 Days to Die Dedicated Server/7DaysToDie_Data/../webserver/leaflet/leaflet.js"
    22.597 Web:Static:FileNotFound: "/static/js/index.js" @ "C:/Program Files (x86)/Steam/steamapps/common/7 Days to Die Dedicated Server/7DaysToDie_Data/../webserver/js/index.js"
    22.738 Web:Static:FileNotFound: "/static/js/index.js" @ "C:/Program Files (x86)/Steam/steamapps/common/7 Days to Die Dedicated Server/7DaysToDie_Data/../webserver/js/index.js"
    22.787 Error in Web.HandleRequest(): No handler found for path "/favicon.ico"
    22.848 Error in Web.HandleRequest(): No handler found for path "/favicon.ico"

    The favicons are still ok and the others look ok too ... Did you check that the files are really in the place given in the error? You could try to use the "run" dialog from windows (Win+R) and paste the complete path of one of the files there and it should load it in an editor.

  14. Unless I did something wrong it saved the map dir and files in my saved game folder located at "\Saves\Random Gen\SERVER NAME" and not in the root at all.

     

    Yeah, the map files are different for each save so they are saved within the save. But the common static webserver-files don't have to be in each save so they go to the games folder.

  15. @Lordicon: That error shows the URL relative to the host, it's not about the file path on the filesystem ;)

    As the index.html etc are found the "webserver" folder itself is in the right place.

     

    @Xyloscent: Just uploaded a new rev which also shows from where it tried to load the files on your disk so that could give a hint.

  16. From 20 minutes ago i'm now at.

    1939.686 RenderMap: 10464/111600 (9%)
    1947.282 RenderMap: 10480/111600 (9%)

    Well, if I'm right that's already about 50% of your "real" map :D

     

     

    43.802 Web:Static:FileNotFound: /static/js/index.js

    43.803 Web:Static:FileNotFound: /static/leaflet/leaflet.js

    43.872 Web:Static:FileNotFound: /static/js/index.js

    This indeed looks like it just can't find the required files. Windows or Linux?

×
×
  • Create New...