<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Startup</title><link>https://sourceforge.net/p/openmining/wiki/Startup/</link><description>Recent changes to Startup</description><atom:link href="https://sourceforge.net/p/openmining/wiki/Startup/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 04 Aug 2024 15:43:23 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/openmining/wiki/Startup/feed" rel="self" type="application/rss+xml"/><item><title>Startup modified by Benedict Jäggi</title><link>https://sourceforge.net/p/openmining/wiki/Startup/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -39,7 +39,7 @@

 You can use the client without server but it won't save anything then.

-Maybe you need to adjust the `HOST_NAME` and `HOST_PORT` in `Apps/Games/APP_GAME_OpenMining.py` and in `SERVERMAIN.py`. It's set to accept all connections (server) and for connecting to localhost (client).
+Maybe you need to adjust the `HOST_NAME` and `HOST_PORT` in `Apps/Games/APP_GAME_OpenMining.py` and in `SERVERMAIN.py`. It's set to accept all connections (server) and for connecting to my local server(192.168.0.12) (client). I will add command line options later.

 So, first start the **server**:

@@ -58,3 +58,15 @@
 And have Fun!

 Server saves all x seconds. That can change with each commit, so look closely at `WORLDDATA_SAVE_INTERVAL` in `SERVERMAIN.py`
+Actually it's either 10 seconds or 300 seconds (5min), Idk.
+
+## Client usage
+Use **WASD** or the **Arrow keys** to move forward, backwards and sidewards.
+Use the **mouse** to look around.
+If you don't have a mouse, you can use **Q** and **E** to look sidewards and **R**, **F** to look up and down.
+Press the **SPACE BAR** to set a block or to unset an already set block. Blocks will be sent to the server and the answer from the server actually sets or unsets the block. If you are not connected to a server, it just sets or unsets the block locally.
+Use **L** to lock or unlock character movement in the Y direction (Up and Down).
+Press **ESC** to exit the client.
+
+## Server usage
+Right now you can do nothing but watch. You can exit the server with **Ctrl-X**.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benedict Jäggi</dc:creator><pubDate>Sun, 04 Aug 2024 15:43:23 -0000</pubDate><guid>https://sourceforge.net26247a146fe22667fa3603996f14281a1df6a184</guid></item><item><title>Startup modified by Benedict Jäggi</title><link>https://sourceforge.net/p/openmining/wiki/Startup/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -39,7 +39,7 @@

 You can use the client without server but it won't save anything then.

-Maybe you need to adjust the `HOST_NAME` and `HOST_PORT` in `Apps/APP_GAME_OpenMining/APP_GAME_OpenMining.py` and in `SERVERMAIN.py`. It's set to accept all connections (server) and for connecting to localhost (client).
+Maybe you need to adjust the `HOST_NAME` and `HOST_PORT` in `Apps/Games/APP_GAME_OpenMining.py` and in `SERVERMAIN.py`. It's set to accept all connections (server) and for connecting to localhost (client).

 So, first start the **server**:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benedict Jäggi</dc:creator><pubDate>Fri, 02 Aug 2024 20:10:50 -0000</pubDate><guid>https://sourceforge.net80103d28163bd10224b57cee3c8c3f5e0e878454</guid></item><item><title>Startup modified by Benedict Jäggi</title><link>https://sourceforge.net/p/openmining/wiki/Startup/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -30,7 +30,7 @@

 change the line with the `HOME_PATH` to the **same** path as above. (To the directory  with `MAIN.py` in it.)

-e.g. `HOME_PATH = "/home/pi/openmining/"`
+e.g. `HOME_PATH = "/home/beni/openmining/"`

 ## Dependencies
 You need to have **OpenGL** and **pygame** installed, and of course **python3**.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benedict Jäggi</dc:creator><pubDate>Fri, 02 Aug 2024 20:09:27 -0000</pubDate><guid>https://sourceforge.net924aa3d4024bb02832791298952928a34a8d64b7</guid></item><item><title>Startup modified by Benedict Jäggi</title><link>https://sourceforge.net/p/openmining/wiki/Startup/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -8,7 +8,7 @@
 git clone https://git.code.sf.net/p/openmining/code openmining
 ~~~

-2. Maybe adjust the HOME_PATH
+2. Maybe adjust the `HOME_PATH`:

 ~~~
 cd openmining
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benedict Jäggi</dc:creator><pubDate>Fri, 02 Aug 2024 20:07:37 -0000</pubDate><guid>https://sourceforge.net026539c798808475a60ef167fe86dd202b8260fc</guid></item><item><title>Startup modified by Benedict Jäggi</title><link>https://sourceforge.net/p/openmining/wiki/Startup/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -3,8 +3,10 @@
 ## Installation
 1. Download the repository into your destined folder. Here it's `/home/beni`

+~~~
 cd /home/beni
 git clone https://git.code.sf.net/p/openmining/code openmining
+~~~

 2. Maybe adjust the HOME_PATH

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benedict Jäggi</dc:creator><pubDate>Fri, 02 Aug 2024 20:07:14 -0000</pubDate><guid>https://sourceforge.neteaeae5eda0e4cfa0de578a03673020f6c06b04be</guid></item><item><title>Startup modified by Benedict Jäggi</title><link>https://sourceforge.net/p/openmining/wiki/Startup/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="installation-and-run-how-to"&gt;Installation and Run : How To&lt;/h1&gt;
&lt;h2 id="installation"&gt;Installation&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Download the repository into your destined folder. Here it's &lt;code&gt;/home/beni&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;cd /home/beni&lt;br/&gt;
git clone &lt;a href="https://git.code.sf.net/p/openmining/code" rel="nofollow"&gt;https://git.code.sf.net/p/openmining/code&lt;/a&gt; openmining&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Maybe adjust the HOME_PATH&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;cd openmining
nano MAIN.py
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;change the line with the &lt;code&gt;HOME_PATH&lt;/code&gt; to the folder of this repository.&lt;br/&gt;
(&lt;code&gt;BASE.HOME_PATH&lt;/code&gt; or &lt;code&gt;APP_BASE.HOME_PATH&lt;/code&gt;)&lt;/p&gt;
&lt;p&gt;(Ctrl-S, Ctrl-X)&lt;/p&gt;
&lt;p&gt;If you want to use the server,  you need to do the same in &lt;code&gt;SERVERMAIN.py&lt;/code&gt;&lt;br/&gt;
It's located in &lt;code&gt;openmining/SERVER/SERVER_OpenMining&lt;/code&gt;.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;cd openmining/SERVER/SERVER_OpenMining
nano SERVERMAIN.py
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;change the line with the &lt;code&gt;HOME_PATH&lt;/code&gt; to the &lt;strong&gt;same&lt;/strong&gt; path as above. (To the directory  with &lt;code&gt;MAIN.py&lt;/code&gt; in it.)&lt;/p&gt;
&lt;p&gt;e.g. &lt;code&gt;HOME_PATH = "/home/pi/openmining/"&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="dependencies"&gt;Dependencies&lt;/h2&gt;
&lt;p&gt;You need to have &lt;strong&gt;OpenGL&lt;/strong&gt; and &lt;strong&gt;pygame&lt;/strong&gt; installed, and of course &lt;strong&gt;python3&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id="running"&gt;Running&lt;/h2&gt;
&lt;p&gt;You can use the client without server but it won't save anything then.&lt;/p&gt;
&lt;p&gt;Maybe you need to adjust the &lt;code&gt;HOST_NAME&lt;/code&gt; and &lt;code&gt;HOST_PORT&lt;/code&gt; in &lt;code&gt;Apps/APP_GAME_OpenMining/APP_GAME_OpenMining.py&lt;/code&gt; and in &lt;code&gt;SERVERMAIN.py&lt;/code&gt;. It's set to accept all connections (server) and for connecting to localhost (client).&lt;/p&gt;
&lt;p&gt;So, first start the &lt;strong&gt;server&lt;/strong&gt;:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;cd openmining/SERVER/SERVER_OpenMining
python3 SERVERMAIN.py
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Now, in another Terminal or on another computer:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;cd openmining
python3 MAIN.py
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;And have Fun!&lt;/p&gt;
&lt;p&gt;Server saves all x seconds. That can change with each commit, so look closely at &lt;code&gt;WORLDDATA_SAVE_INTERVAL&lt;/code&gt; in &lt;code&gt;SERVERMAIN.py&lt;/code&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benedict Jäggi</dc:creator><pubDate>Fri, 02 Aug 2024 20:06:45 -0000</pubDate><guid>https://sourceforge.net193d0b6a08ace6b58d4fa2c5219877dacdefb17c</guid></item></channel></rss>