Jump to content

Alloc

Fun Pimps Staff
  • Posts

    1,538
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by Alloc

  1. As the Telnet interface is part of the engine you can't "keep it open" during a restart. So for now it really resolves to using a login on the machine and issue the command to (stop & ) start the server. If you want to allow that for non-root you might consider going with a sudoers entry that only allows running "7dtd.sh start" (and optionally "7dtd.sh stop" if you want to shutdown from within the console).

  2. Kind of sucks about the CM command but that's o.k.

    Yeah, when I started on that one I thought it would be possible to trigger for one client only ... Didn't turn out to work :(

    But at least that way one can only enable it for a short time when it's needed so most people won't even notice it ;)

     

    640.515 RenderMap: 6944/111600 (6%)
    642.443 RenderMap: 6960/111600 (6%)

     

    ^Started this right before my last post only at 6% yea will take hours lol 6960/111600 ROFL

    Kinda hoping it don't take hours for the web page to load showing the map.

    Won't take that long for most of it ... I would assume that at least the last 90k will be done within seconds so it would be at ~7/20 =~ 35% ;)

  3. Seems to be working now but will take hours, Is there a way I could get rid of the rendered map in my save files where I teleported too without killing the save files? maybe just make my own render blank again?

    You would have to delete the proper region files. It shouldn't help much though as you probably only viewed little parts of the map. It won't take longer just for having a wide map, it only takes time for the chunks that were actually visited. So the real question is how much was visited at all ;)

    The status indication won't give you any time estimation as it can have some x-coords done rather quickly while for others it may take a while, depending on how many chunks in Z direction were visited for the current X coord.

     

    Also the CM command if enabled with cm 1 will players have access or only Admin?

    Everyone, can't be changed atm ... tried to get it to work but that would require bigger rewrites of some stuff :(

  4. Hey Alloc, new patch wants me to login to the webserver page...

    Uh, yeah .. forgot to mention that :D

    Implementing a basic authorization right now. Username is "admin", password is the same as for control panel.

     

    mmm I think I see whats up.

    You have it set as RenderMap: min: -717, -647, max: 6257, 6260 to generate, and while testing how far the map went in dev mode I telported so far to see if the map would go and it generated a new map from a distance really far away.

    Ooookay, was just going to ask how the heck you got a map that big ;)

    Actually the coordinates in in game dimensions are minPos and maxPos, so it's -11472/-10352 to 100112/100160 ^^

     

    Hadn't thought about that possibility. Just uploaded a new version that disables rendering of an overview image file if the map is larger than 10k*10k. That should allow you to use "rendermap".

  5. @Lordicon: Different partitions for engine vs save folder work fine for me. Think the error must be deeper inside ;)

    Could you get the newly uploaded DLL and try running RM again? It will print a line in the log starting with "RenderMap: " and a lot of numbers after that. Please paste that line here.

  6. I cant get it to work. The render from the world works fine. But i cant open the map on ip:cp-port +2. this also wont work on my root with localhost. the cp works fine and i can open it on server and on my pc. i dont use the standard-ports from the game.

    Did you check if the port is listening? Did you check the output_log.txt if it says "Started Webserver on XXXX"?

    Also, as a first guess, did you add the webserver-folder from SVN to your engine folder?

     

     

    I am thinking my issue is do to my game folder being in my SSD D:/ and my saved games are in the C:/??????

    Not 100% on this but could it be the issue? and if so how to I moved current saved games to the D:/ and still get it too connect correctly? Already tried using the config file and changing the save file path but that will not allow the server to load.

    Hm, never thought about this ... will check if that's the problem :)

  7. very interesting feature. Can I disable this integrated web server? OR change server port? IT is no safe to open a 80 port on public server.

    Disable: Just do not put the "webserver" folder in your 7dtd folder and it won't be started at all.

    Port: It's always ControlPanelPort+2 so if you do not set ControlPanelPort to 78 it won't be 80 ;) (by default it would be 8082 as ControlPanelPort's default value is 8080)

     

    After reading everything and then following all the directions and copying your files and file structure i still cant get the webserver map to load.

    when i go to my controlpanelport+2 i get a deep red page with nothing on it but the words coords: on the bottom in a small gray box, no map loads though i have rendered it with the new command and the image is in the file folder in my game save folder.

    Hm, that's weird ... looks like everything is working but the actual delivery of the map tiles. Anything in the log when you try to load the page? Do you have the webserver port public so that I might look at (if so send me the data in a PM)?

  8. Heh, thanks for the detailed report (and even a fix to it :) ).

     

    7dtd is doing some bad stuff, especially at startup when it opens lots of files. And in one of the server fixes releases I even increased that problem (I think that's the one still shipped with the scripts) ;)

    I will release a new package in the next hours which hopefully also eliminates the problem for now.

  9. Hi guys,

     

    just wanted to keep you up to date on the latest bigger additions:

    The mod now renders the map to tiles as players visit places (live). This allows to view a full map of everything that any player has ever seen by using e.g. Leaflet. I also added a command "rendermap" which does initial rendering if you don't want to start a new map ;)

    PLEASE READ THE INFORMATION ON THE WIKI BEFORE USING THIS COMMAND!!!

     

    I also added a first version of the web administration interface. For now it merely shows the map but it's also setting the foundation for adding further capabilities. 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. The new web interface will listen on controlpanelport+2.

    Note that for now there's no authorization (but you also can't do any harm other than viewing the server's map ;) ).

     

    Example page

     

    Regards,

    Chris

  10. Don't get what you want to tell me with that (fake) quote.

     

    Regarding FRTs manager not detecting the mod you will have to ask him, I don't know how he's detecting the mod.

    But you can make sure it's not your server causing the problem by running one of the added commands (e.g. "version") by a manual Telnet or Control panel connection.

  11. wat about add some support to add\remove\list\save ban-list and white-list online?

    Could you describe in a bit more detail what you mean?

     

    The game already supports add/remove for the banlist so I'm not quite sure what you want ;)

    (Listing seems reasonable though, have been annoyed by not being able to look at the current list of admins during my tests ...)

  12. Thanks for the kind words =)

     

    1. need more list land protection option, like llp [steam id/entity id/name] and llp summary(just list how much ks player had used )

    2. can "si: to be more powerful? we need to list offine player's stuff

    1. Yeah, that should be possible.

    2. I will add a way to access those that have been saved, i.e. those players that were online during the current runtime of the server. That won't allow you to access inventories of players that were only online before the server was last restarted though.

×
×
  • Create New...