<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>budabot | Matt Crawford</title>
	<atom:link href="https://mattcrawford.me/tag/budabot/feed/" rel="self" type="application/rss+xml" />
	<link>https://mattcrawford.me</link>
	<description>Handyman &#124; Geek &#124; YouTuber</description>
	<lastBuildDate>Wed, 15 Jun 2022 00:12:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
<site xmlns="com-wordpress:feed-additions:1">176948450</site>	<item>
		<title>Setup Budabot in Linux</title>
		<link>https://mattcrawford.me/setup-budabot-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=setup-budabot-linux</link>
					<comments>https://mattcrawford.me/setup-budabot-linux/#respond</comments>
		
		<dc:creator><![CDATA[Matt Crawford]]></dc:creator>
		<pubDate>Tue, 02 Jan 2018 23:34:50 +0000</pubDate>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[anarchy online]]></category>
		<category><![CDATA[bot]]></category>
		<category><![CDATA[budabot]]></category>
		<category><![CDATA[linux]]></category>
		<guid isPermaLink="false">http://g3k.xyz/?p=2922</guid>

					<description><![CDATA[<p>How to setup Budabot in Linux This guide talks about how to setup Budabot in linux. Budabot is a organization bot for the game Anarchy Online. If you don&#8217;t play that game then you don&#8217;t need to setup a bot. If u prefer windows follow this guide. This guide assumes you have a working version [&#8230;]</p>
The post <a href="https://mattcrawford.me/setup-budabot-linux/">Setup Budabot in Linux</a> first appeared on <a href="https://mattcrawford.me">Matt Crawford</a>.]]></description>
										<content:encoded><![CDATA[<h2>How to setup Budabot in Linux</h2>
<p>This guide talks about how to setup Budabot in linux. Budabot is a organization bot for the game <a href="https://www.anarchy-online.com/">Anarchy Online</a>. If you don&#8217;t play that game then you don&#8217;t need to setup a bot. If u prefer windows <a href="http://g3k.xyz/setup-budabot-windows">follow this guide</a>.</p>
<p>This guide assumes you have a working version of Ubuntu or Debian setup on a server or VPS server. If you don&#8217;t then get that setup first before you try to follow my guide.</p>
<p>These steps also assume you have already created a new character and joined it to your org (if it&#8217;s an org bot)</p>
<p>Now that the requirements are out of the way, lets start.</p>
<h4>Install packages required to make it run</h4>
<p>It will ask u to set a password for mysql so make sure u do that.</p>
<pre>apt-get -y install php php-mbstring php-curl php-xml php-mysql php-sqlite3 php-bcmath unzip mysql-server</pre>
<p>Optional.. Install phpmyadmin by following <a href="https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04" target="_blank" rel="noopener noreferrer">Digital oceans guide</a></p>
<h4>Download Budabot</h4>
<p>You can find the downloads <a href="https://github.com/Budabot/Budabot/releases" target="_blank" rel="noopener noreferrer">here.</a> You may have to update the link I show below with the latest version.</p>
<pre>cd /home/matt
mkdir budabot
cd budabot
wget https://github.com/Budabot/Budabot/releases/download/3.5_GA/Budabot3.5_GA.zip
unzip Budabot3.0_GA_build1303251942_linux.zip
cd Budabot3.0_GA_build1303251942_linux/</pre>
<h4>Setup Database</h4>
<p>Now its time to login to mysql and setup the database. U can do that using the following commands.</p>
<pre>Mysql -u root -p
CREATE DATABASE IF NOT EXISTS `myBudabot` ;
CREATE USER 'myBudabot'@'localhost' IDENTIFIED BY 'myBudabotpass1';
GRANT ALL PRIVILEGES ON `myBudabot`.* TO 'myBudabot'@'localhost' IDENTIFIED BY 'myBudabotpass1';</pre>
<h4>make chatbot executable</h4>
<pre>chmod +x ./chatbot.sh</pre>
<h4>Start the bot &amp; setup database</h4>
<p>Type in the command below &amp; follow the prompts to setup the bot.</p>
<pre>./chatbot.sh</pre>
<p>Make sure you use mysql database and that you set it up manually, give it the information u used above when u created it.</p>
<p>You will also need an Anarchy Online account and character to run as the bot. I used a froob account that was a Squad Commander in a guild.</p>
<p>Once u are done setting it up you can &#8220;ctrl + C&#8221; to kill the bot so we can set it up to boot at startup.</p>
<h4>Start bot at boot up</h4>
<pre>sudo nano /etc/systemd/system/Budabot.service</pre>
<p>and enter something like this</p>
<pre>[Unit]
Description=Budabot
After=network.target

[Service]
User=myname
Group=myname
WorkingDirectory=/home/myname/Budabot
ExecStart=/home/myname/Budabot/chatbot.sh

[Install]
WantedBy=multi-user.target</pre>
<p>replace &#8220;myname&#8221; with whatever user/group you want running it. I kept it simple and ran it as my user account and from my home directory.</p>
<h4>Test your new service</h4>
<pre>sudo service Budabot start</pre>
<h4>And you can set it to run at start with:</h4>
<pre>sudo systemctl enable Budabot</pre>
<p>Systemd logs all output, so while you can&#8217;t actually see the terminal you can access that services current log to see what would of been in the terminal up to that point, which is pretty cool. The command for that is:</p>
<pre>sudo journalctl -u Budabot.service</pre>The post <a href="https://mattcrawford.me/setup-budabot-linux/">Setup Budabot in Linux</a> first appeared on <a href="https://mattcrawford.me">Matt Crawford</a>.]]></content:encoded>
					
					<wfw:commentRss>https://mattcrawford.me/setup-budabot-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2922</post-id>	</item>
		<item>
		<title>Setup Budabot in Windows</title>
		<link>https://mattcrawford.me/setup-budabot-windows/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=setup-budabot-windows</link>
					<comments>https://mattcrawford.me/setup-budabot-windows/#respond</comments>
		
		<dc:creator><![CDATA[Matt Crawford]]></dc:creator>
		<pubDate>Wed, 13 Jan 2016 18:51:05 +0000</pubDate>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[anarchy online]]></category>
		<category><![CDATA[bothosting]]></category>
		<category><![CDATA[budabot]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">http://g3k.xyz/?p=2919</guid>

					<description><![CDATA[<p>How to setup Budabot in Windows This guide talks about how to setup Budabot in linux. Budabot is a organization bot for the game Anarchy Online. If you don&#8217;t play that game then you don&#8217;t need to setup a bot. This can be setup in windows too but I prefer linux. The steps below are [&#8230;]</p>
The post <a href="https://mattcrawford.me/setup-budabot-windows/">Setup Budabot in Windows</a> first appeared on <a href="https://mattcrawford.me">Matt Crawford</a>.]]></description>
										<content:encoded><![CDATA[<h2>How to setup Budabot in Windows</h2>
<p>This guide talks about how to setup Budabot in linux. Budabot is a organization bot for the game <a href="https://www.anarchy-online.com/">Anarchy Online</a>. If you don&#8217;t play that game then you don&#8217;t need to setup a bot. This can be setup in windows too but I <a href="http://g3k.xyz/setup-budabot-linux/">prefer linux.</a></p>
<p>The steps below are assuming you have already created a new character and joined it to your org if you decided to do so.</p>
<ul>
<li>Download Budabot from<a href="https://github.com/Budabot/Budabot/releases"> here</a></li>
<li>Unzip the files.</li>
<li>Find chatbot.bat and double click it.</li>
<li>It will ask you a series of questions. Just follow the prompts</li>
<li>Once you are finished it will automatically start up.</li>
</ul>
<h4>Configure the bot after it&#8217;s been created</h4>
<ul>
<li>Open the location where you saved your bot files.</li>
<li>Open the conf folder</li>
<li>right click the config.php file and click open with and choose notepad</li>
<li>This is where you can edit all the bot configurations.</li>
</ul>
<h4>Start the Bot</h4>
<ul>
<li>Open the location where you saved your bot</li>
<li>Double click on chatbot.bat file</li>
<li>It will open a CMD window where the bot will run from. Do not close the box otherwise the bot will stop working.</li>
</ul>The post <a href="https://mattcrawford.me/setup-budabot-windows/">Setup Budabot in Windows</a> first appeared on <a href="https://mattcrawford.me">Matt Crawford</a>.]]></content:encoded>
					
					<wfw:commentRss>https://mattcrawford.me/setup-budabot-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2919</post-id>	</item>
	</channel>
</rss>
