PDA

View Full Version : Duskruin Digging - DRDIG.lic



SashaFierce
06-17-2016, 10:48 PM
;repo download DRDIG.lic

(Updated to use lootsack, but you have to update line 211 to use the container of your choice. Change bag to whatever you use.)

It will stop if you find a Tier 5 prize.
Everything else it stores in your container.

** AFK SCRIPTING CAN GET YOU BANNED FROM DUSKRUIN **


-----

Digging Entrance:

[Underground Temple, Subdued - 24547]
A steel-footed iron brazier rests in the center of the room, its hazy glow barely enough to illuminate the area. Faceless stone idols stand shoulder-to-shoulder in a protective formation before the southerly exits. Two sizeable spheres, one of fire opal and the other copper-hued, are mounted prominently on the south wall and are unmistakable representations of the Tilaok and Makiri moons.
Obvious exits: north, southeast, southwest

Then, SE, SW, D

beldannon5
06-18-2016, 01:52 AM
[DRDIG]>put my pickaxe in my loot
You toss a long-handled invar pickaxe inside your black lootbag.
>
[DRDIG]>_drag #50713597 #
I could not find what you were referring to.
>
[DRDIG]>_drag #50713596 #
I could not find what you were referring to.


I get that message any thoughts

SashaFierce
06-18-2016, 02:01 AM
I can't figure out how to get line 211 to use the lootsack variable. So I've reuploaded a working version that uses a bag. Change bag to whatever container you're using to personalize it.

Riean
06-18-2016, 01:04 PM
I keep having this error. Essentially it runs through digging but then bugs out once it opens a box.

[drdig]>open my chest
You lift the lid on your black walnut chest and set it aside.
>
[drdig]>look in my chest
>
--- Exception: uninitialized constant ScriptBinder::Vars
drdig:5:in `create_block'
--- Lich: drdig has exited.
In the black walnut chest:
other (2): some silver coins, a locker manifest contract.

Any help?

SashaFierce
06-18-2016, 04:46 PM
Redownload the script - There's only one line that uses bag that you'll have to change, I couldn't get it to use the lootsack variable.

WRoss
06-18-2016, 05:05 PM
For those of you having trouble:

Change line 207 to your correct container: fput "put my pickaxe in my XXXXXXX"

Chance line 211 to your correct container:

GameObj.left_hand.contents.each{|obj| fput "_drag ##{obj.id} ##{GameObj.inv.find{|bag| bag.noun == 'XXXXXX​'}.id}"}

SashaFierce
06-18-2016, 05:07 PM
For those of you having trouble:

Change line 207 to your correct container: fput "put my pickaxe in my XXXXXXX"

Chance line 211 to your correct container:

GameObj.left_hand.contents.each{|obj| fput "_drag ##{obj.id} ##{GameObj.inv.find{|bag| bag.noun == 'XXXXXX​'}.id}"}


Line 207 and 211 should use your lootsack in the most recent version I uploaded, it's the last line that needs to be updated. I couldn't get it to use lootsack.

Riean
06-18-2016, 10:02 PM
Works perfect now. Appreciate the quick response.

Thank you.