Forum Index > All Realms > Auto Login Script for Linux

Realm discussion - minus limitations.

Moderator: Board Moderators

Auto Login Script for Linux

Postby Menion Leah on Sun Sep 29, 2013 8:05 am

Hello everyone. I'm hoping that you're enjoying the latest round of LORD.


I wrote an automatic login script to save me having to remember my auto-generated LORD password. It doesn't help you play the game, it just logs you in.

I recommend you do this on your own Linux box since your password will be in the piece of the code

Here is the code. I called the file ' lord ' and I created it in VI on an Ubuntu box
----------------------------------------

#!/usr/bin/expect -f
spawn telnet lord.nuklear.org
expect -re "user"
send "USERNAME\n"
expect -re "Password:"
send "PASSWORD\n"
expect -re "warrior?"
send "c"
interact


------------------------------------

Substitute USERNAME and PASSWORD with your own information remembering to include any UPPERCASE letters.

Once the file is saved, you need to change it to an executable by typing

chmod u+x lord

after that, to log in to LORD you just type

./lord



You are welcome. I am assuming that this is ok since it's just a login script and not a bot to play the game for you.

Thank you so much Mystical One for running this great game for us all of these many years later. :)!

- Menion Leah
Menion Leah
Small Bear
Small Bear
 
Posts: 2
Joined: Tue May 14, 2013 5:39 pm

Re: Auto Login Script for Linux

Postby Icey on Fri Jan 30, 2015 4:18 am

what version of ubuntu do you run mines not working i have the newest distro of lubuntu
Image
User avatar
Icey
Wild Stallion
Wild Stallion
 
Posts: 257
Joined: Mon Dec 15, 2008 7:50 pm
Location: myrtle beach SC


Return to All Realms

Who is online

Users browsing this forum: No registered users and 2 guests