Page 11 of 153 FirstFirst ... 9101112132161111 ... LastLast
Results 151 to 165 of 2282

Thread: Improvements for the dedicated server

  1. #151
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,126
    Rep Power
    1
    Quote Originally Posted by Lordicon View Post
    From 20 minutes ago i'm now at.
    Code:
    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


    Quote Originally Posted by Xyloscent View Post
    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?

  2. #152
    Colony Founder Lordicon's Avatar
    Join Date
    Aug 2014
    Location
    Green Spring, WV
    Posts
    1,436
    Rep Power
    1
    Quote Originally Posted by Xyloscent View Post
    ok deleted everything and started fresh from frustration thinking i might of made a stupid mistake and giving a fresh take on it would help, ive done it so much lately that its getting pretty easy to do lately...
    any way im still having the same problem, plus my fixed prefab not being fixed anymore lol, but im getting this

    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

    does this mean i dont have the file structure right because ive went over it several times and its just like you have it on your site, folders and files.... lol should have a zip file on there so people can just unzip a webserver folder right into their base dedicated directory. Anyway not sure if thats where i went wrong or not but i still have the red page with the coords box when i open it up
    Why is your folder named /static/??
    I named mine /webserver based on what alloc said in his post.. Maybe that's your problem? Try renaming the folder /static to /webserver

  3. #153
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,126
    Rep Power
    1
    @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.

  4. #154
    Survivor Xyloscent's Avatar
    Join Date
    Mar 2014
    Posts
    76
    Rep Power
    0
    @Lordicon: lol i originally thought it was trying to call the files from a static folder so i created one and tried different structures trying to get that to work... it obviously didnt...

    @Alloc: thanks, Im downloading and trying that now.

  5. #155
    Colony Founder Lordicon's Avatar
    Join Date
    Aug 2014
    Location
    Green Spring, WV
    Posts
    1,436
    Rep Power
    1
    Quote Originally Posted by Alloc View Post
    If you want to enable it make sure ControlPanelEnabled is set to true and put the folder webserver/ in the root of your 7dtd server installation.
    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.

  6. #156
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,126
    Rep Power
    1
    Quote Originally Posted by Lordicon View Post
    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.

  7. #157
    Colony Founder Lordicon's Avatar
    Join Date
    Aug 2014
    Location
    Green Spring, WV
    Posts
    1,436
    Rep Power
    1
    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?

  8. #158
    Survivor Xyloscent's Avatar
    Join Date
    Mar 2014
    Posts
    76
    Rep Power
    0
    ok new patch new error format... here we go

    Code:
    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"

  9. #159
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,126
    Rep Power
    1
    Quote Originally Posted by Lordicon View Post
    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.

    Quote Originally Posted by Xyloscent View Post
    Code:
    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.

  10. #160
    Colony Founder Lordicon's Avatar
    Join Date
    Aug 2014
    Location
    Green Spring, WV
    Posts
    1,436
    Rep Power
    1
    Quote Originally Posted by Alloc View Post
    Nope, don't copy anything. The webserver will access the map files from the save folder and the static files from the "webserver" folder.
    When are the static files created? I just ran all around my server trying to get them to generate but nothing happen in the files after saving or restarting server. I don't even have a static folder in /webserver

    Here is my map I changed the color of the background.
    http://thedecoy.net/index.php?page=map
    Last edited by Lordicon; 08-27-2014 at 05:40 PM.

  11. #161
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,126
    Rep Power
    1
    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

  12. #162
    Colony Founder Lordicon's Avatar
    Join Date
    Aug 2014
    Location
    Green Spring, WV
    Posts
    1,436
    Rep Power
    1
    Quote Originally Posted by Alloc View Post
    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
    I added the folder /webserver and all the file contents from the SVN, Then I have my webpage point to the webserver/index.html folder directly and still nothing is showing up.

  13. #163
    Survivor Xyloscent's Avatar
    Join Date
    Mar 2014
    Posts
    76
    Rep Power
    0
    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.

  14. #164
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,126
    Rep Power
    1
    If you want to point your (extenral) webpage to this point it to http://<yourIpOrDomain>:<controlpanelport+2>/. If you point it to any file that won't do you any good.

  15. #165
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,126
    Rep Power
    1
    Quote Originally Posted by Xyloscent View Post
    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 )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •