This shows you the differences between two versions of the page.
gameplay:dm:dm [2018/04/13 08:05] karl created |
gameplay:dm:dm [2018/04/13 09:28] (current) karl [Goto Player's Unique Maps] Bugfix , simple link does not work correctly to swap unique files. needs to emulate the path |
||
---|---|---|---|
Line 19: | Line 19: | ||
**But:** How to [[:dm_commands#goto]] to a player's unique map ? | **But:** How to [[:dm_commands#goto]] to a player's unique map ? | ||
- | Simply link {prefix}/maps/players to point to the {prefix}/var/players directory. | + | <del>Simply link {prefix}/maps/players to point to the {prefix}/var/players directory.</del> |
- | On Linux in a terminal: | + | It needs to emulate the path as the server knows it, which is an absolute path {prefix}/var/crossfire/players. |
+ | |||
+ | |||
+ | On Linux in a terminal with server configured with --prefix=/usr/games: | ||
<code bash> | <code bash> | ||
- | cd /PREFIX/maps | + | cd /usr/games/share/crossfire/maps |
- | ln -s ../../../var/crossfire/players . | + | mkdir -p usr/games/var/crossfire |
+ | cd usr/games/var/crossfire | ||
+ | ln -s ../../../../../../../var/crossfire/players . | ||
</code> | </code> | ||
Then in the client issue the command \\ | Then in the client issue the command \\ | ||
- | ''goto /players/wiki/_scorn_apartment_apartments'' \\ | + | ''goto /usr/games/var/crossfire/wiki/_scorn_apartment_apartments'' \\ |
if that player name and _apartment is already created. | if that player name and _apartment is already created. | ||