PDA

View Full Version : Yay scripting.



Drunken Durfin
10-06-2010, 08:46 PM
>play skill
You are an Adept player of woodwind instruments.
You are an Adept player of necked stringed instruments.
You are an Adept player of stringed instruments.
You are an Adept player of percussion instruments.
You are an Adept player of horn-type instruments.
You are an Adept player of pipe instruments.

Sam
10-06-2010, 08:54 PM
wtg

doughal
10-06-2010, 09:11 PM
What script did you use for that?

Drunken Durfin
10-06-2010, 09:23 PM
What script did you use for that?

IforResting.lic

waywardgs
10-06-2010, 09:36 PM
Tell me, cause even though I have a bard, i've never understood- what's the benefit of this?

Drunken Durfin
10-06-2010, 09:40 PM
Tell me, cause even though I have a bard, i've never understood- what's the benefit of this?

Krakipedia...
http://www.krakiipedia.org/wiki/Instrument_learning


Non-bards can learn thirteen steps of the twenty--more than half the steps--and they can learn seven of the ten messages (Every odd rank is a new message) for any given instrument. They can gain the rank of a bardic apprentice on their instruments--the in-game equivalent of being a gifted amateur.

A bard with 4 Ranks in an instrument class can TUNE instruments of that class.

Being Adept and a rank 19 Journeyman is indiscernible except when an Adept plays a Master quality instrument. They are able to evoke the Adept tune out of it. Other less tangible differences are the bonuses to 1001, 1020, and 1030.

The bonus to 1030 is the real reason to do it for at least one instrument. The rest is just bragging rights.

Cephalopod
10-06-2010, 09:42 PM
Plus it looks pretty cool walking through OTF playing a pair of finger cymbals.

waywardgs
10-06-2010, 10:12 PM
Plus it looks pretty cool walking through OTF playing a pair of finger cymbals.

Belly dancing through the rift?

doughal
10-06-2010, 11:21 PM
I don't suppose you'd care to share or upload your iforresting script would you?

I've been having trouble getting instrument to play nice with my hunting scripts.

DaCapn
10-07-2010, 12:52 PM
I threw together a crude one a while ago. It just waits until you're at one of the pre-determined resting spots for 5 minutes then plays the instrument, checking in every couple seconds to make sure you haven't moved. I just like that it does its own thing and interacts with everything I do reasonably.



# Present help string if 'help' is found in arguments
if script.vars.find { |val| val =~ /\bhelp\b/i }
respond("Plays instrument while resting. Has hard-coded variables.")
respond("Syntax: ;instrumentrest")
exit
end

instrument="cymbals"
container="pouch"

nodelist=[]
# Icemule
# TC, well, thirsty penguin, abandoned farm
nodelist.push(2300,2400,3428,3091)
# Tart tables
nodelist.push(3408,3611,3829,3851,3626,3610,17083, 17084,17085,17086,17087)

loop {

# Make sure you're on a node (i.e. resting)
wait_until { nodelist.include?(Room.current.id) }
currentroom = Room.current.id
pause '5m'
# Check that you've been in one place a while
if currentroom == Room.current.id and !running? "herbheal" and !checkleft

# Get instrument out
waitrt?; multifput "open my #{container}","get my #{instrument}","close my #{container}","tune #{instrument}","play #{instrument}"
if checkleft != instrument and checkright == instrument then fput "swap"
elsif checkleft != instrument and checkright != instrument then echo "ERROR: No instrument?"; exit
else echo "Play cycle starting (room checks: 2 sec / replay: 5 min)"; end

# Check room number every 2 seconds, every 5 minutes re-play instrument
i=0
while currentroom == Room.current.id
pause '2s'; i+=1
if i == 150 then waitrt?; fput "play #{instrument}"; i=0; end
end

# Put instrument away
if checkleft == instrument then
waitrt?; multifput "open my #{container}","put #{instrument} in my #{container}","close my #{container}"
end
end

}