How to run Splinterlands Bot V2 with Linux in Android Devices

Welcome friends I hope my next post helps you in some future so let's start!!

Perhaps for all bot users, the comfort of always being in the same place can be a variant, so with this method they could automate and mobilize their configurations without so much problem.

I personally found this solution to be able to play my accounts without the limitation of being in the same place all the time. And I hope it can help you the same way.

1) Go to App Store Download & Install app > (Andronix) V this is the icon

image.png

2) After installing go to settings 

image.png

3) All the way down in Termux Setup click > (Run Termux Setup)

image.png

4) Click on Download And Wait for it!

image.png

5) Once the download is complete, we proceed to click on Allow Installation

image.png

6) This will require permissions for the application, we proceed.

image.png

7) We already have Termux installed on our device, now we will proceed to download and install-in OS Linux, I personally have chosen Ubuntu 20.04 (the orange first one)

image.png

8) We will have some configuration questions, we proceed / Install 

image.png

    8.1) we choose Desktop environment
    8.2) we choose XFCE
    8.3) Open In Termux

Once we have clicked on Open in termux, an installation of approximately 15-20 minutes will begin depending on the device-Internet.

Also We will have multiple confirmations during this process, you just have to press (y) and enter every time.

Once the installation is completed successfully we can see
that that our terminal instead of being $... starts at @root/localhost or something similar

This means that so far everything has gone perfectly and possibly we already have all the necessary applications to be able to run the bot without a problem.

Part 2.0 (updating and installing bot + config)

    In case u shut down the Device and you are in the $ terminal again
    Input "ls"(to see what files are there) then "./start-ubuntu20.04.sh" to launch the Ubuntu os again
    (the file name may change or may be similar)

Ok now we need to update linux and install some extra things.

Update/upgrade:

 apt-get update && apt-get upgrade -y

Install Wget (to install or download things > bot)

apt-get install wget -y

Install Unzip

apt-get unzip -y

Once all this is done we are going to go to the Downloads folder inside our Ubuntu20

clean
cd Downloads

Here is where we going to download the bot (Splinterlands Bot V2 > from our boss "pcjones")
https://github.com/PCJones/Ultimate-Splinterlands-Bot-V2/releases
We will look for (Linux-arm64) file
We will check for the lastest Version copy the link and use the WGET to download it in Downloads folder.
Then it would look something like this:

wget https://github.com/PCJones/Ultimate-Splinterlands-Bot-V2/releases/download/v2.19-hotfix/linux-arm64.zip

We unzip the & delete zip file (remember we have to be in the folder that u donwload it)

unzip linux-arm64.zip
rm linux-arm64.zip

ok to be a bit located in what we do, the following commands can help you understand what to do:

cd > will take u to main folder
cd Downloads > to Downloads Folder
cd linux-arm64 >to folder (while in Downloads folder)
cd config >to folder (while in linux-arm64 folder)

chmod +x ./Ultimate\ Splinterlands\ Bot\ V2 (this will provide admin permissions)

ls > will show u all the files in the current folder 
    
mv file-example.txt file.txt  (this one is to rename a file)

echo "hello bot">file.txt (this will create a .txt named file with Hello Bot inside this command is required when creating the Login.txt file for the private api)

nano file.txt > will edit a notepad file or .txt

./file > this will make a program run if possible

2.1 Config & Running

Taking the above into account, we can now go to the config folder within the bot to configure all

ls              <(to see what folder u are)
cd              <(main folder)
cd Downloads
cd linux-arm64
cd config
(now we are in config file we will search for accounts-example.txt & config-example.txt)

ls           >( we check the files are there in linux-arm64/config )
mv accounts-example.txt accounts.txt    >(here we rename the file1)
mv config-example.txt config.txt        >(here we rename the file2)
nano accounts.txt                       >(here we edit the file and put our accounts)
(CTROL + X then enter) to save
nano config.txt                         >(here we edit config/api/time/etc) 
(CTROL + X then enter) to save
echo "apiusername:apipass">login.txt    >(here we create login for private api)

Up to this point, if everything has worked well, and there were no problems, the most likely thing is that you are totally ready to run now.

cd
ls
cd Downloads
cd linux-arm64
chmod +x ./Ultimate\ Splinterlands\ Bot\ V2
./Ultimate\ Splinterlands\ Bot\ V2

all set the bot should run without any problem from now on

PD: This is my First Post and I wanted to continue using photos but mainly I installed everything on another device which already had everything done in the same way if someone finds a problem in the process without hesitation you can PM me or comment here.
In the same way I hope I am not violating any author or Hive rules, I only do this for educational reasons (if so please let me know)

Much success and luck in your EOS Splinters!



0
0
0.000

5 comments

Congratulations @aroductory! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You received more than 10 upvotes.
Your next target is to reach 50 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out our last posts:

Our Hive Power Delegations to the December PUM Winners
Feedback from the January Hive Power Up Day
Hive Power Up Month Challenge 2022-12 - Winners List
The Hive Gamification Proposal Renewal
Support the HiveBuzz project. Vote for our proposal!
0
0
0.000