Health-Walk Shard (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
Line 24: Line 24:
==Changelog==
==Changelog==


*'''08/05/2011''': Fixed avenger-related bug.
*'''03/30/2011''': The script will no longer hang if you fumble while humming.
*'''03/30/2011''': The script will no longer hang if you fumble while humming.


Line 43: Line 44:
waitforre ^With a sad look, (a|an) .+ (avenger|colepexy|dirnel|guardian|narmorbreth|woodwisp)|^To whom are you speaking
waitforre ^With a sad look, (a|an) .+ (avenger|colepexy|dirnel|guardian|narmorbreth|woodwisp)|^To whom are you speaking


send close my compendium
send close my shalswar-hide compendium
waitforre ^You close|^That is already|^What were
waitforre ^You close|^That is already|^What were


Line 55: Line 56:
waitforre ^You .+ hum|^You are already performing something
waitforre ^You .+ hum|^You are already performing something


send open my compendium
send open my shalswar-hide compendium
pause
pause


Line 67: Line 68:
if ($Scholarship.LearningRate >= 34) && ($First_Aid.LearningRate >= 34) || ($First_Aid.LearningRate >= 34) then goto MAGIC
if ($Scholarship.LearningRate >= 34) && ($First_Aid.LearningRate >= 34) || ($First_Aid.LearningRate >= 34) then goto MAGIC
if ("$righthandnoun" = "$cambrinth") then put stow my $cambrinth
if ("$righthandnoun" = "$cambrinth") then put stow my $cambrinth
put get my compendium
put get my shalswar-hide compendium
waitforre o
waitforre o
put turn my compendium
put turn my shalswar-hide compendium
waitforre o
waitforre o
put study my compendium
put study my shalswar-hide compendium
wait
wait
pause .2
pause .2
Line 79: Line 80:
if ($mana < 85) then goto APPRAISE
if ($mana < 85) then goto APPRAISE
else if ($Harness_Ability.LearningRate >= 34) && ($Arcana.LearningRate >= 34) && ($Primary_Magic.LearningRate >= 34) then goto COMP
else if ($Harness_Ability.LearningRate >= 34) && ($Arcana.LearningRate >= 34) && ($Primary_Magic.LearningRate >= 34) then goto COMP
if ("$righthandnoun" = "compendium") then put stow my compendium
if ("$righthandnoun" = "compendium") then put stow my shalswar-hide compendium
send stop hum
send stop hum
waitforre ^You stop|^In the name
waitforre ^You stop|^In the name
Line 176: Line 177:


PERC1:
PERC1:
save COMP
save MAGIC
var ROOMID 488
var ROOMID 488
var ROOMDESC Stormwill Tower, Entrance Hall
var ROOMDESC Stormwill Tower, Entrance Hall
Line 183: Line 184:


PERC2:
PERC2:
save MAGIC
save APPRAISE
var ROOMID 452
var ROOMID 452
var ROOMDESC Zerek's General Store
var ROOMDESC Zerek's General Store
Line 190: Line 191:


PERC3:
PERC3:
save APPRAISE
save FORAGE
var ROOMID 574
var ROOMID 574
var ROOMDESC Painted Ladies Design
var ROOMDESC Painted Ladies Design
Line 197: Line 198:


PERC4:
PERC4:
save FORAGE
save COMP
var ROOMID 508
var ROOMID 508
var ROOMDESC Brickwell Tower, Guildmaster's Office
var ROOMDESC Brickwell Tower, Guildmaster's Office
Line 204: Line 205:


PERC5:
PERC5:
save COMP
save MAGIC
var ROOMID 436
var ROOMID 436
var ROOMDESC Sister Imadrail's Emporium
var ROOMDESC Sister Imadrail's Emporium
Line 211: Line 212:


PERC6:
PERC6:
save MAGIC
save APPRAISE
var ROOMID 548
var ROOMID 548
var ROOMDESC Province of Ilithi, Citizenship Office
var ROOMDESC Province of Ilithi, Citizenship Office
Line 218: Line 219:


PERC7:
PERC7:
save APPRAISE
save FORAGE
var ROOMID 215
var ROOMID 215
var ROOMDESC Budd's Barber Shop
var ROOMDESC Budd's Barber Shop
Line 225: Line 226:


PERC8:
PERC8:
save FORAGE
save COMP
var ROOMID 225
var ROOMID 225
var ROOMDESC Bettin' Birdies, The Casino
var ROOMDESC Bettin' Birdies, The Casino
Line 232: Line 233:


PERC9:
PERC9:
save COMP
save MAGIC
var ROOMID 221
var ROOMID 221
var ROOMDESC The Heraldry Shop
var ROOMDESC The Heraldry Shop
Line 239: Line 240:


PERC10:
PERC10:
save MAGIC
save APPRAISE
var ROOMID 220
var ROOMID 220
var ROOMDESC Blazons and Banners
var ROOMDESC Blazons and Banners
Line 246: Line 247:


PERC11:
PERC11:
save APPRAISE
save FORAGE
var ROOMID 208
var ROOMID 208
var ROOMDESC Coin of the Realm
var ROOMDESC Coin of the Realm
Line 253: Line 254:


PERC12:
PERC12:
save FORAGE
save COMP
var ROOMID 158
var ROOMID 158
var ROOMDESC Aelik's Pawn
var ROOMDESC Aelik's Pawn
Line 260: Line 261:


PERC13:
PERC13:
save COMP
save MAGIC
var ROOMID 164
var ROOMID 164
var ROOMDESC Balint's Tiles
var ROOMDESC Balint's Tiles
Line 267: Line 268:


PERC14:
PERC14:
save MAGIC
save APPRAISE
var ROOMID 181
var ROOMID 181
var ROOMDESC Mirrors by Noelle
var ROOMDESC Mirrors by Noelle
Line 274: Line 275:


PERC15:
PERC15:
save APPRAISE
save FORAGE
var ROOMID 249
var ROOMID 249
var ROOMDESC Liani's Heaven, Private Table
var ROOMDESC Liani's Heaven, Private Table
Line 281: Line 282:


PERC16:
PERC16:
save FORAGE
save COMP
var ROOMID 243
var ROOMID 243
var ROOMDESC Tower of Honor, Guildleader's Office
var ROOMDESC Tower of Honor, Guildleader's Office
Line 288: Line 289:


PERC17:
PERC17:
save COMP
save MAGIC
var ROOMID 487
var ROOMID 487
var ROOMDESC A Grand Entrance
var ROOMDESC A Grand Entrance
Line 295: Line 296:


PERC18:
PERC18:
save MAGIC
save APPRAISE
var ROOMID 483
var ROOMID 483
var ROOMDESC Seats of Plenty
var ROOMDESC Seats of Plenty
Line 302: Line 303:


PERC19:
PERC19:
save APPRAISE
save FORAGE
var ROOMID 462
var ROOMID 462
var ROOMDESC Golden Phoenix, Front Desk
var ROOMDESC Golden Phoenix, Front Desk
Line 309: Line 310:


PERC20:
PERC20:
save FORAGE
save COMP
var ROOMID 463
var ROOMID 463
var ROOMDESC Golden Phoenix, Tavern Room
var ROOMDESC Golden Phoenix, Tavern Room
Line 316: Line 317:


PERC21:
PERC21:
save COMP
save MAGIC
var ROOMID 395
var ROOMID 395
var ROOMDESC Temple of Darkness, Glassus' Shop
var ROOMDESC Temple of Darkness, Glassus' Shop
Line 323: Line 324:


PERC22:
PERC22:
save MAGIC
save APPRAISE
var ROOMID 385
var ROOMID 385
var ROOMDESC Shard's Osut'vie
var ROOMDESC Shard's Osut'vie
gosub PHMOVE
gosub PHMOVE
gosub HPERC
gosub HPERC

gosub skill.check
gosub skill.check
goto PERC1
goto PERC1
Line 344: Line 346:
send ask %gs for leave
send ask %gs for leave
waitforre ^With a sad look, (a|an) .+ (avenger|colepexy|dirnel|guardian|narmorbreth|woodwisp)|^To whom are you speaking
waitforre ^With a sad look, (a|an) .+ (avenger|colepexy|dirnel|guardian|narmorbreth|woodwisp)|^To whom are you speaking
send close my compendium
send close my shalswar-hide compendium
waitforre ^You close|^That is already|^What were
waitforre ^You close|^That is already|^What were
send stow right
send stow right

Revision as of 13:38, 5 August 2011

Health-Walk Shard (script)
Category training
Front-end Genie
Author Isharon

Run this script anywhere in Shard to start health-walking. I've avoided popular destinations such as the gem-selling room, because health-walking tends to annoy the occupants.

This script trains the following skills: appraisal, arcana, empathy, first aid, foraging, harness ability, life magic, mechanical lore, perception, power perceive, scholarship, and vocals. You probably won't lock all of these skills while running this script, but it will keep them draining.

Required Genie Settings

The script hums and uses cambrinth. You need to open your character's variables file and define variables for cambrinth and hum. For example:

#var {cambrinth} {kingsnake armband}
#var {hum} {bolero}

I also recommend adding my humming triggers:

#trigger {^You finish humming} {#send hum $hum}
#trigger {^You should stop playing before you do that} {#send stop hum;#send 1 $lastcommand}

You must be using the official Genie maps my map to run this script.

Changelog

  • 08/05/2011: Fixed avenger-related bug.
  • 03/30/2011: The script will no longer hang if you fumble while humming.

Script

setvariable gs avenger
put #class arrive off

put avoid !drag
waitforre ^You're now avoiding

put avoid !hold
waitforre ^You're now avoiding

put avoid !join
waitforre ^You're now avoiding

send ask %gs for leave
waitforre ^With a sad look, (a|an) .+ (avenger|colepexy|dirnel|guardian|narmorbreth|woodwisp)|^To whom are you speaking

send close my shalswar-hide compendium
waitforre ^You close|^That is already|^What were

send stow right
waitforre ^You put|^Stow what

send stow left
waitforre ^You put|^Stow what

send hum $hum
waitforre ^You .+ hum|^You are already performing something

send open my shalswar-hide compendium
pause

	put #mapper load Map67_Shard
	put look
	action put #queue clear;send $lastcommand when ^(\.\.\.wait|Sorry,)

goto PERC1

COMP:
	if ($Scholarship.LearningRate >= 34) && ($First_Aid.LearningRate >= 34) || ($First_Aid.LearningRate >= 34) then goto MAGIC
	if ("$righthandnoun" = "$cambrinth") then put stow my $cambrinth
	put get my shalswar-hide compendium
	waitforre o
	put turn my shalswar-hide compendium
	waitforre o
	put study my shalswar-hide compendium
	wait
	pause .2
	goto HPERC

MAGIC:
	if ($mana < 85) then goto APPRAISE 
	else if ($Harness_Ability.LearningRate >= 34) && ($Arcana.LearningRate >= 34) && ($Primary_Magic.LearningRate >= 34) then goto COMP
	if ("$righthandnoun" = "compendium") then put stow my shalswar-hide compendium
	send stop hum
	waitforre ^You stop|^In the name
	put prep GS
	wait
	put charge my $cambrinth 11
	waitfor Roundtime
	pause .1
	pause .1
	put focus my $cambrinth
gs1:
	pause 2
	match gs2 not understanding your question.
	match castgs1 ^With a sad look
	put ask %gs for leave
	castgs1:
	matchwait 1.5
	put cast %gs
	waitforre ^With a warrior's calm|^With a gracious smile|^A spotted fungus colepexy gracefully flitters into the area^Howling, a hairy dog-faced dirnel bounds in^A salty bulbous-eyed narmorbreth swims in|^Your heart skips a beat, but you are unable
	send hum $hum
	waitforre ^You .+ hum|^You are already performing something
	goto HPERC
gs2:
	pause 2
	match gs3 not understanding your question.
	match castgs2 ^With a sad look
	put ask second %gs for leave
	castgs2:
	matchwait 1.5
	put cast %gs
	waitforre ^With a warrior's calm|^With a gracious smile|^A spotted fungus colepexy gracefully flitters into the area^Howling, a hairy dog-faced dirnel bounds in^A salty bulbous-eyed narmorbreth swims in|^Your heart skips a beat, but you are unable
	send hum $hum
	waitforre ^You .+ hum|^You are already performing something
	goto HPERC

gs3:
	pause 2
	match gs1 not understanding your question.
	match castgs3 ^With a sad look
	put ask second %gs for leave
	castgs3:
	matchwait 1.5
	put cast %gs
	waitforre ^With a warrior's calm|^With a gracious smile|^A spotted fungus colepexy gracefully flitters into the area^Howling, a hairy dog-faced dirnel bounds in^A salty bulbous-eyed narmorbreth swims in|^Your heart skips a beat, but you are unable
	send hum $hum
	waitforre ^You .+ hum|^You are already performing something
	goto HPERC
	
APPRAISE:
	if ($Appraisal.LearningRate >= 34) then goto FORAGE
	if matchre ("$monsterlist", "(%gs)") then goto APPRAISE2
	waitforre ^With a warrior's calm|^With a gracious smile|^A spotted fungus colepexy gracefully flitters into the area^Howling, a hairy dog-faced dirnel bounds in^A salty bulbous-eyed narmorbreth swims in
	APPRAISE2:
	send appraise %gs quick
	wait
	pause
	return
	goto HPERC
	
FORAGE:
	if ($Perception.LearningRate >= 34) then goto OTHER
	send collect torn cloth
	wait
	pause
	send collect torn cloth
	wait
	pause
	KICK:
	send kick pile
	waitforre Assuming you mean a pile|^I could not find what you were referring to
	send kick pile
	waitforre Assuming you mean a pile|^I could not find what you were referring to
	goto HPERC
	
OTHER:
	pause 5
	goto HPERC

HPERC:
	pause .5
		match %s You're not ready to do that again, yet.
		match RETURN You close your eyes, drawing all your thoughts inward,
	put perceive health
	matchwait
	
PHMOVE:
	pause .5
	put #mapper walk %ROOMID
	waitfor %ROOMDESC
	pause .5
	return

RETURN:
	pause .5
	return

PERC1:
save MAGIC
var ROOMID 488
var ROOMDESC Stormwill Tower, Entrance Hall
gosub PHMOVE
gosub HPERC

PERC2:
save APPRAISE
var ROOMID 452
var ROOMDESC Zerek's General Store
gosub PHMOVE
gosub HPERC

PERC3:
save FORAGE
var ROOMID 574
var ROOMDESC Painted Ladies Design
gosub PHMOVE
gosub HPERC

PERC4:
save COMP
var ROOMID 508
var ROOMDESC Brickwell Tower, Guildmaster's Office
gosub PHMOVE
gosub HPERC

PERC5:
save MAGIC
var ROOMID 436
var ROOMDESC Sister Imadrail's Emporium
gosub PHMOVE
gosub HPERC

PERC6:
save APPRAISE
var ROOMID 548
var ROOMDESC Province of Ilithi, Citizenship Office
gosub PHMOVE
gosub HPERC

PERC7:
save FORAGE
var ROOMID 215
var ROOMDESC Budd's Barber Shop
gosub PHMOVE
gosub HPERC

PERC8:
save COMP
var ROOMID 225
var ROOMDESC Bettin' Birdies, The Casino
gosub PHMOVE
gosub HPERC

PERC9:
save MAGIC
var ROOMID 221
var ROOMDESC The Heraldry Shop
gosub PHMOVE
gosub HPERC

PERC10:
save APPRAISE
var ROOMID 220
var ROOMDESC Blazons and Banners
gosub PHMOVE
gosub HPERC

PERC11:
save FORAGE
var ROOMID 208
var ROOMDESC Coin of the Realm
gosub PHMOVE
gosub HPERC

PERC12:
save COMP
var ROOMID 158
var ROOMDESC Aelik's Pawn
gosub PHMOVE
gosub HPERC

PERC13:
save MAGIC
var ROOMID 164
var ROOMDESC Balint's Tiles
gosub PHMOVE
gosub HPERC

PERC14:
save APPRAISE
var ROOMID 181
var ROOMDESC Mirrors by Noelle
gosub PHMOVE
gosub HPERC

PERC15:
save FORAGE
var ROOMID 249
var ROOMDESC Liani's Heaven, Private Table
gosub PHMOVE
gosub HPERC

PERC16:
save COMP
var ROOMID 243
var ROOMDESC Tower of Honor, Guildleader's Office
gosub PHMOVE
gosub HPERC

PERC17:
save MAGIC
var ROOMID 487
var ROOMDESC A Grand Entrance
gosub PHMOVE
gosub HPERC

PERC18:
save APPRAISE
var ROOMID 483
var ROOMDESC Seats of Plenty
gosub PHMOVE
gosub HPERC

PERC19:
save FORAGE
var ROOMID 462
var ROOMDESC Golden Phoenix, Front Desk
gosub PHMOVE
gosub HPERC

PERC20:
save COMP
var ROOMID 463
var ROOMDESC Golden Phoenix, Tavern Room
gosub PHMOVE
gosub HPERC

PERC21:
save MAGIC
var ROOMID 395
var ROOMDESC Temple of Darkness, Glassus' Shop
gosub PHMOVE
gosub HPERC

PERC22:
save APPRAISE
var ROOMID 385
var ROOMDESC Shard's Osut'vie
gosub PHMOVE
gosub HPERC

gosub skill.check
goto PERC1

skill.check:
if $Empathy.LearningRate > 33 then
	goto end
	else
	return

end:
send echo YOU ARE MIND LOCKED IN EMPATHY.
put #class arrive on
put avoid all
waitforre ^All AVOID options cleared
send ask %gs for leave
waitforre ^With a sad look, (a|an) .+ (avenger|colepexy|dirnel|guardian|narmorbreth|woodwisp)|^To whom are you speaking
send close my shalswar-hide compendium
waitforre ^You close|^That is already|^What were
send stow right
waitforre ^You put|^Stow what
send stow left
waitforre ^You put|^Stow what
put #mapper walk Noose
waitfor Hangman's Noose, Common Room

send hum $hum