PDA

View Full Version : Rare Hunting Script



Seraphim
04-15-2006, 01:26 AM
I'm in need of a script to run an experiment through KoL. I've been playing for awhile now and spend a lot of my time reading KoL forums. Some of you may remember that the ultra-rares Jick implemented have a few theories as to how to get them. One of the theories is time of day, which leads me here.

I use KoLMafia and need just a very simple script to adventure in a location of my choice (Spooky Forest, Friar's Gate, Sleezy Alley, Knob Treasury, Logging camp) by using one adventure every 60 seconds.

If anybody could whip something sexy up, I'd appreciate it ;)

Nightmist
04-15-2006, 01:59 AM
//ASH file save with an file extension .ash
while( my_adventures() > 0)
{
//Change the "*LocationHere* to either, "Spooky Forest", "Deep Fat Friar's Gate", "Sleazy Back Alley", "Knob Goblin Treasury", "Camp Logging Camp".
adventure( 1, $location[*LocationHere*]);
wait( 60);
}

Thats about it, although the accuracy wont be great since it will wait 60 sec AFTER it finishes the battle so wont be exactly 60 seconds since you have to factor in time for the adventure to start and finish. (About as accurate as I can think of though)

Presto Ragu
04-15-2006, 04:26 AM
An alternative could be:


//ASH file save with a file extension of .ash
while( my_adventures() > 4)
{
adventure( 1, $location[spooky forest]);
wait( 60);
adventure( 1, $location[deep fat friar's gate]);
wait( 60);
adventure( 1, $location[sleazy back alley]);
wait( 60);
adventure( 1, $location[knob goblin treasury]);
wait( 60);
adventure( 1, $location[camp logging camp]);
wait( 60);
}

This, of course, assumes that you want to visit each location with a 1 minute interval between each.

If you wanted to visit each, and then wait one minute before repeating, remove all but the last wait statement.

Seraphim
04-15-2006, 06:58 AM
Thanks guys. The scripts work perfectly. I'll let ya know if I find anything!

Sprinky
04-24-2006, 10:10 PM
What does the script do for the Choice Adventures in the ultra-rare locations?

macman104
04-25-2006, 12:56 AM
What does the script do for the Choice Adventures in the ultra-rare locations?
That would be set by your choice options settings. They are unaffected by this script.

Sprinky
04-25-2006, 03:08 AM
Glad you cleared that up =)

I will definately use this script.

EyeTalon
04-28-2006, 03:43 PM
When I try to run either of the scripts up above I get a script parsing error in line one. Is there something I need to do?

Nightmist
04-29-2006, 12:30 AM
When I try to run either of the scripts up above I get a script parsing error in line one. Is there something I need to do?


Are you sure you have the 2 "/" at the start of the first line? (Because it works fine on mine)

Sako
05-01-2006, 10:23 AM
Here's how I modified it, it's working, just save it as "whatever.ash".

void main()
{
while(my_adventures() >= 5)
{
//adventure(1, $location[spooky forest]);
adventure(1, $location[deep fat friar's gate]);
adventure(1, $location[sleazy back alley]);
adventure(1, $location[knob goblin treasury]);
//adventure( 1, $location[camp logging camp]);
wait(60);
}
}
I commented the camp because I'm not Myst sign, and the forest because KoLmafia has some unsupported choice adventures, and gives an error.

EyeTalon
05-01-2006, 06:55 PM
thanks guys, that helped, not sure what the problem was. anyway. Thanks

EyeTalon
05-01-2006, 07:13 PM
Have any of you had any luck with a script like this? I've never found any rare's before, but I've never tried something like this I would love anyone's input.

macman104
05-01-2006, 07:27 PM
Have any of you had any luck with a script like this? I've never found any rare's before, but I've never tried something like this I would love anyone's input.
I'll tell you right now, hunting for rares is a waste of time. Your free to use this script, but your better off investing in meat+ items and farming the peak or playing the market. The mechanics of Ultra-Rare drops are not know, and thusly its futile. You may get lucky, but they aren't called ultra-rares for no reason.

Bucket de Mowbray
05-01-2006, 07:45 PM
I'll tell you right now, hunting for rares is a waste of time.
I'll second that opinion. There was one little flaw in the ultra-rare dropping code a long time ago that allowed someone to get three ultra-rares on three consecutive days before they noticed and changed the drop algorithm. Since then, nobody has been able to find any kind of system or pattern, and all ideas about how it works are pure speculation.

To the best of my knowledge, people who are actively hunting for ultra-rares (using a script or doing it manually) are pretty much exactly as likely to find one as people who are not hunting for ultra-rares and stumble upon them by accident.

Sako
05-01-2006, 08:14 PM
To the best of my knowledge, people who are actively hunting for ultra-rares (using a script or doing it manually) are pretty much exactly as likely to find one as people who are not hunting for ultra-rares and stumble upon them by accident.

Still, a person who adventures ONLY in those locations might have a slightly better chance to get them. It can be a decent babysitting script for mid-level characters who still can't farm the peak...

yigh
05-01-2006, 11:40 PM
Cool ;D
Is there a way to make it just sleazy back alley, and how do you run .ash files?

Presto Ragu
05-02-2006, 01:44 AM
.ash files are run through the Script menu in mafia.

As for just adventuring in the sleazy back alley:


//This is an ASH file, make sure it ends with .ash
while( my_adventures() > 0)
{
adventure( 1, $location[sleazy back alley]);
wait( 60);
}


That is all you need to do.

tedrock
05-13-2006, 09:06 PM
i don't understand the 60 second wait? is that so you don't flood the server or get detected?
why not just make it keep adventuring over and over with no pause...

Veracity
05-13-2006, 09:17 PM
It's because it's generally believed that time of day is a factor in when you can find a "rare." Nobody outside of the dev team knows the granularity, but the idea is that the first person to adventure in the Sleazy Back Alley between 3:00 AM and 3:09 AM (for example; the time window changes each day, supposedly) with (unknown other factors) will get the Ultra-Rare encounter that is available in that location.

If you run all of your turns as fast as possible, you'll complete them all within a couple of minutes, and will have spent however many hundreds of adventures trying to get the item in just a few minutes.

Now, there are the unknown "other factors", and perhaps running multiple adventures quickly will help you vary those just as effectively as spacing out your adventures will help you vary the "window of opportunity" to get the Ultra-rare adventure.

Nobody knows.

Of course, Bashy's opinion on "Rare Hunting" is that you are more likely to obtain one by farming the Icy Peak, playing the Mall, and saving up to BUY one that somebody else found through dumb luck.

But, go right ahead and "farm", if you wish. Preferably in an area which yields other easily sellable items. :)

Schaafbros
03-17-2007, 03:49 AM
I heard (on the chat) that you have better chances when you have had been on pvp for over a month and have not attacked anyone since you have broke it. Also you must never use any adventures and log in everyday. After the one month you must adventure and one of the areas and if it's the right one you fight an ultra-rare. If that is the case the it might run like the stange leafet. ???

efilnikufecin
03-17-2007, 05:07 AM
I heard (on the chat) that you have better chances when you have had been on pvp for over a month and have not attacked anyone since you have broke it. Also you must never use any adventures and log in everyday. After the one month you must adventure and one of the areas and if it's the right one you fight an ultra-rare. If that is the case the it might run like the stange leafet. ???


Uhh if you know how to play the mall, then your profits can easily be 1mil+ a day on weekdays, and 2-5mil per day on weekends (as your meat level goes up the profit potential goes up). If you make use of what is given you, you could have an ultra rare in less than a month. If I hadn't spent all that meat on my sewer items collection, I could have bought 2-3 of them.

Wait! I did buy 3 of them during Crimbo! My Bad, maybe you can make enough to buy 3 in 1 month instead of just 1. :P It really depends on what is going on in the land of KOL as to what can be achieved in a given period of time.

Anyway, in simple terms: the method you described sounds like an attempt to get you to waste all that time for nothing.