This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
making_archetypes [2014/08/31 09:55] 127.0.0.1 external edit |
making_archetypes [2018/03/25 08:58] karl moved to :arch: namespace |
||
---|---|---|---|
Line 138: | Line 138: | ||
====== Testing Archetypes ====== | ====== Testing Archetypes ====== | ||
+ | If you have compiled before go into the crossfire/lib directory (if not go here: [[server:server_compiling]]): | ||
- | - If you have compiled before, | + | $ cd /home/<username>/server.svn/lib |
- | - go into the crossfire/lib directory | + | |
- | - type, "rm archetypes" | + | delete the old archetypes file: |
- | - and then "make archetypes" | + | |
- | - If you have not compiled before | + | $ rm archetypes |
- | - just compile like you normally would. :) | + | |
- | - install the server | + | and then build the new archetypes file: |
+ | |||
+ | $ make archetypes | ||
+ | |||
+ | navigate back to the server server directory: | ||
+ | |||
+ | $ cd .. | ||
+ | |||
+ | Double check that you are in the correct directory which is the server directory: | ||
+ | |||
+ | $ pwd | ||
+ | /home/<username>/server.svn | ||
+ | |||
+ | compile the server: | ||
+ | |||
+ | $ sh autogen.sh && make && sudo make install | ||
FIXME describe more in detail, explain about the manual ''perl collect.pl'' method then make install, stuff like that :) | FIXME describe more in detail, explain about the manual ''perl collect.pl'' method then make install, stuff like that :) | ||
To see what you have made, either put it in a map, or create it using a Dungeon Master command. | To see what you have made, either put it in a map, or create it using a Dungeon Master command. | ||
+ | |||
+ | A handy all in one command from your server.svn directory is: | ||
+ | |||
+ | $ cd lib && rm archetypes && make archetypes && cd .. && sh autogen.sh && make && sudo make install | ||