login command on script

brethart

New member
After not playing KoL for long time, yesterday I deleted my old version of KoLmafia, downloaded the recent one, log in then run my script. I found my script is no longer working because the "login [account name]" command can't get executed. I have several accounts, I used to open the kolmafia, run script then leave the computer and browse somewhere else or continue my job. If anybody can help me modify so the login command back in action I'll reward you hefty amount of meats.
Reply here or PM or email me a133179@yahoo.com

Thanks
 

hippymon

Member
The "login" function has been removed from KoLmafia, I was unable to locate the original post, but I do remember something about the login command being removed due to the amount of people using a script to auto-adventure while on vacation or away... For example:
login hippymon;
wait 60;
call script.ash;
logout;
wait 24hrs...
repeat....
Which I have no doubt caused much strain on the servers... Other info here:

http://kolmafia.us/index.php/topic,1115.0.html
http://kolmafia.us/index.php/topic,910.0.html
http://kolmafia.us/index.php/topic,903.0.html
 

holatuwol

Developer
I gave up on the "no login through exit" scripts. It was causing other strange problems, and it wasn't worth maintaining. That said, you need to have logged in once with the account and have your password saved before KoLmafia will login.

If that's not your problem, remove the [] around the account name.  The [] is to let you know that the parameter is optional (parameters in <> are not optional) -- in this case if you're running in true CLI mode (like, an actual terminal and not the gCLI), KoLmafia will pause and ask for a username and password if you don't add in an account name.
 

brethart

New member
[quote author=holatuwol link=topic=1397.msg6424#msg6424 date=1198487748]
I gave up on the "no login through exit" scripts. It was causing other strange problems, and it wasn't worth maintaining. That said, you need to have logged in once with the account and have your password saved before KoLmafia will login.

If that's not your problem, remove the [] around the account name. The [] is to let you know that the parameter is optional (parameters in <> are not optional) -- in this case if you're running in true CLI mode (like, an actual terminal and not the gCLI), KoLmafia will pause and ask for a username and password if you don't add in an account name.
[/quote]

I really don't understand at all what you're pointing Hola, I don't use .ash but the simple scripting .txt file. But I understand about the feature removal in sake of server friendliness.
 
Top