<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Teeworlds Forum — [Tutorial] How to set up a Lua-Server]]></title>
		<link>https://www.teeworlds.com/forum/viewtopic.php?id=9523</link>
		<atom:link href="https://www.teeworlds.com/forum/extern.php?action=feed&amp;tid=9523&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [Tutorial] How to set up a Lua-Server.]]></description>
		<lastBuildDate>Sat, 15 Sep 2012 14:51:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [Tutorial] How to set up a Lua-Server]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=101201#p101201</link>
			<description><![CDATA[<p>Hey, this looks like really good work, congratulations !</p><p>I have a few questions :<br /> - Does this run under linux ?<br /> - Is there an event for when the game ends ?<br /> - Can the modded server be played using the official teeworlds client ?</p><p>Also, are there other mods besides Zomb using your lua support ?<br />I see how it makes modding a lot easier <img src="https://www.teeworlds.com/forum/img/smilies/smile.png" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (TeecTac)]]></author>
			<pubDate>Sat, 15 Sep 2012 14:51:42 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=101201#p101201</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Tutorial] How to set up a Lua-Server]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=98052#p98052</link>
			<description><![CDATA[<p>Here is a documentation for lua-functions and events:<br /><a href="https://github.com/MAP94/teeworlds/blob/master/lua-documentation.lua">https://github.com/MAP94/teeworlds/blob … tation.lua</a></p>]]></description>
			<author><![CDATA[null@example.com (Pata)]]></author>
			<pubDate>Thu, 31 May 2012 07:10:27 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=98052#p98052</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Tutorial] How to set up a Lua-Server]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=98010#p98010</link>
			<description><![CDATA[<p>:*</p>]]></description>
			<author><![CDATA[null@example.com (Ich)]]></author>
			<pubDate>Mon, 28 May 2012 23:44:03 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=98010#p98010</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Tutorial] How to set up a Lua-Server]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=98008#p98008</link>
			<description><![CDATA[<p>Thank you Patafix <img src="https://www.teeworlds.com/forum/img/smilies/smile.png" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (DerHase)]]></author>
			<pubDate>Mon, 28 May 2012 21:41:20 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=98008#p98008</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Tutorial] How to set up a Lua-Server]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=98000#p98000</link>
			<description><![CDATA[<p>Let&#039;s say modding without recompiling, not while it&#039;s running?</p>]]></description>
			<author><![CDATA[null@example.com (heinrich5991)]]></author>
			<pubDate>Sun, 27 May 2012 20:37:18 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=98000#p98000</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Tutorial] How to set up a Lua-Server]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=97999#p97999</link>
			<description><![CDATA[<p>Lua itself is a programming language. In combination with teeworlds you are allowed to bind lua files to your running client/server which is like modding your client while its running <img src="https://www.teeworlds.com/forum/img/smilies/smile.png" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Pata)]]></author>
			<pubDate>Sun, 27 May 2012 20:12:17 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=97999#p97999</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Tutorial] How to set up a Lua-Server]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=97998#p97998</link>
			<description><![CDATA[<p>I&#039;m sorry but what is Lua / what does it stand for? is it the Zombie mod?</p>]]></description>
			<author><![CDATA[null@example.com (Volibar)]]></author>
			<pubDate>Sun, 27 May 2012 19:52:01 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=97998#p97998</guid>
		</item>
		<item>
			<title><![CDATA[[Tutorial] How to set up a Lua-Server]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=97994#p97994</link>
			<description><![CDATA[<p><span class="bbu">How to set up a Lua-Server?</span></p><p>Requirements: ability to set up a normal server, the newest n-Server (<a href="http://patabanana.de/downloads/N-Server%2027.5.12.zip">Download</a>) or use the one which comes with the Zomb-Mod ), the n-client in order to play on the server (<a href="http://patabanana.de/downloads/N-Client%2027.5.12.zip">Download</a> ), and a Lua Mod (we will use the Zomb-Mod by Map94 in this tutorial (<a href="https://github.com/MAP94/ZOMB/zipball/master">Download</a> ) )</p><br /><p>Step 1: Extract all the files<br />Step 2: Now make a new directory (call it &quot;Lua-Teeworlds&quot; or whatever u want)<br />Step 3: Put all the files from the server and the client into your new directory<br />It should look like this: <span class="postimg"><img src="http://patabanana.de/images/own/Luateeworls.png" alt="http://patabanana.de/images/own/Luateeworls.png" /></span> </p><p>Step 4: add the mod by copying the files of the mod into your Lua-Teeworlds directory.<br />(Note: If the mod is not splitted in folders and there are no further instructions, just copy all mod-files into the lua folder)</p><p>Step 5: Open the autoexec.cfg in your application data folder for teeworlds</p><p>Step 6: Add the command &quot;add_lua_file NameOfFile.lua&quot; to bind a lua script to your server,<br />in this example write &quot;add_lua_file server.lua&quot; (which is the main lua script of the Zomb-Mod)<br />You can split your mod in subdirectories such as /lua/Zomb/, in order to add the file now just write the relative path from your lua folder. You can rename the .lua file in most cases too. (e.g.: &quot;add_lua_file Zomb/main.lua&quot;).<br />You can add a lua file while the server is running via the rcon too.</p><p>(In order too play Zomb you have to deactivate teambalancing, and the command &quot;add_vote &quot;Start&quot; lua StartRound&quot; in your autoexec.cfg is recommened, but you can also start a round with the rcon command &quot;lua StartRound&quot;)</p><p>Step 7: Start the Serverand be happy <img src="https://www.teeworlds.com/forum/img/smilies/big_smile.png" alt="big_smile" /></p><br /><br /><p>Lua-documentation for server functions and events:<br /><a href="https://github.com/MAP94/teeworlds/blob/master/lua-documentation.lua">https://github.com/MAP94/teeworlds/blob … tation.lua</a></p>]]></description>
			<author><![CDATA[null@example.com (Pata)]]></author>
			<pubDate>Sun, 27 May 2012 15:13:11 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=97994#p97994</guid>
		</item>
	</channel>
</rss>
