Changes between Version 28 and Version 29 of Server fixes


Ignore:
Timestamp:
26.08.2014 19:47:06 (10 years ago)
Author:
Alloc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Server fixes

    v28 v29  
    3636Executed command "lp" from player "Alloc"
    3737}}}
     38
     39=== Map rendering ===
     40The map is rendered to image files as people visit the different places. Those images are stored within the save game folder in a folder named ''map''. This folder contains one subfolder per zoom level, 0 being the most zoomed out whereas currently 4 is the normal size. In each of them are folders for the X coordinates of the blocks which contain individual images for the Y coordinates:
     41{{{
     42 SaveGame/
     43     map/
     44         0/             # 0 being the zoom level
     45             -3/        # -3 is the block number in x-direction (west to east)
     46                 5.png  # 5 is the block number in y-direction (south to north)
     47}}}
     48The map will be rendered while people wander around but if you want to initially get everything mapped that has been visited prior to adding this mod (or prior to rev.131 which introduced this feature) you might want to run the command "rendermap". '''NOTE''' that this will take a long time to execute (in the minutes) depending on how big the visited map is so far. During this time the server can not be used for playing or any commands.
     49
     50The generated map file structure can be used to show the map with tools like [http://leafletjs.com/ Leaflet]. An example can be found [http://codepen.io/Alloc/pen/BACzq here].
    3851
    3952=== New commands (for in-game console, control panel and Telnet) ===
     
    7386}}}
    7487* ''removelandprotection'' / ''rlp'': Removes the given land protection block or all blocks of a given player.
     88* ''rendermap'' / ''rm'': Render the map as far as it was ever visited by any player to both a big file and many small tiles that can be used for a map viewer like Leaflet. '''WARNING:''' This command can take a long time to execute (like 5 to 30 minutes) and the server won't be usable at that time for anything else!
    7589* ''reply'' / ''re'': Send a message to the player who last sent you a private message (see ''sayplayer'' / ''pm'').
    7690* ''sayplayer'' / ''pm'': Send a message to a single player denoted by his name or entity id. Will be shown on receiver side as "<sender> (PM)" where <sender> is either "Server" if sent through the control panel or Telnet interface or the name of the sending player if used by the in game console.
     
    115129
    116130
     131=== [https://7dtd.illy.bz/browser/binary-improvements?rev=131 rev. 131] (and 130/129) ===
     132
     133* Added console command ''rendermap'' / ''rm''
     134
    117135=== [https://7dtd.illy.bz/browser/binary-improvements?rev=128 rev. 128] ===
    118136