v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing Utility:Dfterm2

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Quality|Fine|14:11, 13 June 2014 (UTC)}}
 
{{uv|DF2012}}
 
[http://www.bay12forums.com/smf/index.php?topic=50643.0 '''Dfterm2'''] is a remote Dwarf Fortress playing software for multiple users through telnet. It has been replaced by [[Utility:Dfterm3|Dfterm3]], which has similar functions through an easier-to-use web interface. 
 
 
 
===On linux===
 
===On linux===
 
You need to compile the program directly from source. To do so you need to install the following packages:
 
You need to compile the program directly from source. To do so you need to install the following packages:
Line 11: Line 7:
 
* PCRE development libraries
 
* PCRE development libraries
 
* g++ and usual development tools
 
* g++ and usual development tools
* lua ( > 5.1 Doesn't work) (use 5.0)
+
* lua (5.1; 5.2 Doesn't work)
 
* git
 
* git
 
+
<br><br>
 
First, you need to obtain the source code, using the following commands in git:
 
First, you need to obtain the source code, using the following commands in git:
<pre>
+
{| cellspacing="0" cellpadding="0" border="0" align="left" style="background-color:#E0E0E0"
$ git clone git://genodeen.net/dfterm2
+
|$ git clone git://genodeen.net/dfterm2
$ cd dfterm2
+
|-
$ git submodule init
+
|$ cd dfterm2
$ git submodule update
+
|-
</pre>
+
|$ git submodule init
 
+
|-
 +
|$ git submodule update
 +
|-
 +
|}
 +
<br><br><br><br><br>
 
Next, you have to use CMake to configure the building system:
 
Next, you have to use CMake to configure the building system:
<pre>$ cmake .</pre>
+
{| cellspacing="0" cellpadding="3" border="0" align="left" style="background-color:#E0E0E0"
 
+
|$ cmake .
 +
|}
 +
<br><br>
 
Thirdly, use this command to start the compiling:
 
Thirdly, use this command to start the compiling:
<pre>$ make</pre>
+
{| cellspacing="0" cellpadding="3" border="0" align="left" style="background-color:#E0E0E0"
 
+
|$ make  
''If compilation failed, [http://www.bay12forums.com/smf/index.php?topic=50643.0 visit the DFterm2 page on the Bay12 forums] for support.''
+
|}
 +
<div style="text-align: right">''If compilation failed, [http://www.bay12forums.com/smf/index.php?topic=50643.0 visit the DFterm2 page on the Bay12 forums] for support.''</div>
 +
<br>
 +
The final step is to add an administrator account using
 +
{| cellspacing="0" cellpadding="3" border="0" align="left" style="background-color:#E0E0E0"
 +
|$ ./dfterm2_configure --adduser (username) (password) admin
 +
|-
 +
|$ ./dfterm2
 +
|}
 +
<br><br>
  
The final step is to add an administrator account using
 
<pre>
 
$ ./dfterm2_configure --adduser (username) (password) admin
 
$ ./dfterm2
 
</pre>
 
  
 
To connect to the server from a linux machine, you need to use the following command:
 
To connect to the server from a linux machine, you need to use the following command:
<pre>$ telnet 127.0.0.1 8000</pre>
+
{| cellspacing="0" cellpadding="3" border="0" align="left" style="background-color:#E0E0E0"
 
+
|$ telnet 127.0.0.1 8000
[[Category:Utilities]]
+
|}
[[ru:Utility:Dfterm2]]
+
<br><br>

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)