FAQ Log in
Search Profile
Memberlist Usergroups
Log in to check your private messages
Register
Jump To: Haelrahv Main Site | My Haelrahv Account | Haelrahv Play Page
Mining
Goto page 1, 2  Next
Post new topic   Reply to topic
The Official Haelrahv Message Forum Forum Index » Suggestions and Ideas » Mining
View previous topic :: View next topic  
Author Message
Hokius



Joined: 17 Oct 2005
Posts: 191
Location: Wherever Things are Exploding, Haelrahv

 Post Posted: Fri Dec 23, 2005 11:57 pm    Post subject: Mining
Reply with quote

I think it would be really nice if there was some way to have it tell us how many units we've mined everytime we succesfully mine something, kind of like it does with Foraging, except instead of total units, it would say units mined. That way I wouldn't have to rummage everytime I wanted to know how many I had, I could just add them up. Anyways, just an idea.
_________________
End of line.

You can't take a girl to the Library! What? It's free? Well that's not so bad then...--David Scully as Sergeant Johnson, Halo 2 Outtake
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website AIM Address
soundless
EIGHT YEARS OLD!!!


Joined: 22 May 2004
Posts: 5970
Location: Spaceship

 Post Posted: Sat Dec 24, 2005 12:52 am    Post subject:
Reply with quote

the total you get when foraging is the result of you adding to the same object. when you mine, you aren't adding to a pile, you're making a whole new item.

that said, you do have some options
(1) you can RUMMAGE FOR (item) and it'll show you all the whatever you have and, at the end, the total number of units.
(2) you can use my outdated and slightly buggy mining script
Code:
#mine.Cmd

mine:
   echo *****************
   echo %c units of %1
   echo *****************
   pause
   put mine for %1
   match count are rewarded
   match mine come up empty
   match mine wait
   matchwait

count:
   put look %1
   match add1 one
   match add2 two
   match add3 three
   match add4 four
   match add5 five
   match add6 six
   match add7 seven
   match add8 eight
   match add9 nine
   matchwait

add1:
   counter add 1
   pause
   put stow left
      goto mine

add2:
   counter add 2
   pause
   put stow left
      goto mine

add3:
   counter add 3
   pause
   put stow left
      goto mine

add4:
   counter add 4
   pause
   put stow left
      goto mine

add5:
   counter add 5
   pause
   put stow left
      goto mine

add6:
   counter add 6
   pause
   put stow left
      goto mine

add7:
   counter add 7
   pause
   put stow left
      goto mine

add8:
   counter add 8
   pause
   put stow left
      goto mine

add9:
   counter add 9
   pause
   put stow left
      goto mine
it has issues when you do things like mine for an object that is mined under one name but the item obtained has another name (ie: if you mine for a metal and it comes back as a metal ore. it also won't remember the total you mined if you stop the script and start it up again later. but it gets the job done and is probably a good template if you want to make your own mining/counting script.
_________________
A bright-eyed Thekko Ku Kalla dressed in a dapper sailor suit takes to flight and careers through the air toward the Modan Kucho and slams into him!
With a high-pitched cry, The Modan Kucho collapses in death.
 Back to top »
View user's profile Send private message
Hokius



Joined: 17 Oct 2005
Posts: 191
Location: Wherever Things are Exploding, Haelrahv

 Post Posted: Sat Dec 24, 2005 1:58 am    Post subject:
Reply with quote

I did make mention of the fact that I knew it wouldn't tell me the total I just wanted it to tell me how many I get each time I mine. However, this script does seem to serve my purposes at the current time.
_________________
End of line.

You can't take a girl to the Library! What? It's free? Well that's not so bad then...--David Scully as Sergeant Johnson, Halo 2 Outtake
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website AIM Address
soundless
EIGHT YEARS OLD!!!


Joined: 22 May 2004
Posts: 5970
Location: Spaceship

 Post Posted: Sat Dec 24, 2005 2:00 am    Post subject:
Reply with quote

Hokius wrote:
I did make mention of the fact that I knew it wouldn't tell me the total I just wanted it to tell me how many I get each time I mine. However, this script does seem to serve my purposes at the current time.


sorry, i misread Smile
_________________
A bright-eyed Thekko Ku Kalla dressed in a dapper sailor suit takes to flight and careers through the air toward the Modan Kucho and slams into him!
With a high-pitched cry, The Modan Kucho collapses in death.
 Back to top »
View user's profile Send private message
Koaru
Master Arrow Breaker


Joined: 29 Oct 2005
Posts: 31
Location: Two turfs past where the speckled hen hatched

 Post Posted: Sat Dec 24, 2005 12:23 pm    Post subject:
Reply with quote

That script takes a long time. Just sit there with a simple script that mines and stows your object over and over and if ya get extra then sell it, or mine more to make another 50 units of it.
_________________
"Some people say that I must be a terrible person, but it’s not true. I have the heart of a young boy in a jar on my desk" -Stephen King

Life isn't like cherries or a box of chocolates, it's more like a bowl of jalapeños. Whatever you do today, might burn your ass tomorrow.
 Back to top »
View user's profile Send private message AIM Address
Brokyn
LLAMA SECHS


Joined: 19 Oct 2002
Posts: 3648
Location: Northern Georgia

 Post Posted: Sat Dec 24, 2005 1:49 pm    Post subject:
Reply with quote

The length of a script doesn't dictate how long it'll take. From the looks of it, it shouldn't take more than a couple of seconds longer than a normal mine.cmd script.

Yaru ftw.

--William
_________________



Haelrahv Wiki!
++Brown Nosing Points
 Back to top »
View user's profile Send private message Send e-mail MSN Messenger
Koaru
Master Arrow Breaker


Joined: 29 Oct 2005
Posts: 31
Location: Two turfs past where the speckled hen hatched

 Post Posted: Sat Dec 24, 2005 4:10 pm    Post subject:
Reply with quote

Quote:
The length of a script doesn't dictate how long it'll take.


I knew that. I mean't like having to go and add it up everytime seemed like it would take extra time.
_________________
"Some people say that I must be a terrible person, but it’s not true. I have the heart of a young boy in a jar on my desk" -Stephen King

Life isn't like cherries or a box of chocolates, it's more like a bowl of jalapeños. Whatever you do today, might burn your ass tomorrow.
 Back to top »
View user's profile Send private message AIM Address
Hokius



Joined: 17 Oct 2005
Posts: 191
Location: Wherever Things are Exploding, Haelrahv

 Post Posted: Sat Dec 24, 2005 4:21 pm    Post subject:
Reply with quote

But it does it automatically, and almost instantly. I'm using it right now. Works no slower as best I can tell than the script I was using before.
_________________
End of line.

You can't take a girl to the Library! What? It's free? Well that's not so bad then...--David Scully as Sergeant Johnson, Halo 2 Outtake
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Koaru
Master Arrow Breaker


Joined: 29 Oct 2005
Posts: 31
Location: Two turfs past where the speckled hen hatched

 Post Posted: Sat Dec 24, 2005 4:58 pm    Post subject:
Reply with quote

Thats pretty cool. I might have to use it.
_________________
"Some people say that I must be a terrible person, but it’s not true. I have the heart of a young boy in a jar on my desk" -Stephen King

Life isn't like cherries or a box of chocolates, it's more like a bowl of jalapeños. Whatever you do today, might burn your ass tomorrow.
 Back to top »
View user's profile Send private message AIM Address
soundless
EIGHT YEARS OLD!!!


Joined: 22 May 2004
Posts: 5970
Location: Spaceship

 Post Posted: Sat Dec 24, 2005 10:16 pm    Post subject:
Reply with quote

Koaru wrote:
Quote:
The length of a script doesn't dictate how long it'll take.


I knew that. I mean't like having to go and add it up everytime seemed like it would take extra time.


the script is functioning in a real basic manner. it doesn't add everything up each time. it just adds one number to the total, making that the new total, which the next number is added too, making that the new total, and etc etc etc.

the only bug in the script is that if you mine something (like turquiose) that you have to mine as turquiose, yet the object you obtain is a turquiose stone, the script will try to look at turquiose, see nothing, and not add to the total. it'll still mine the stuff fine, but the counter part just won't work and stay at 0 (or will look at something already on you and keep adding that number over and over).
_________________
A bright-eyed Thekko Ku Kalla dressed in a dapper sailor suit takes to flight and careers through the air toward the Modan Kucho and slams into him!
With a high-pitched cry, The Modan Kucho collapses in death.
 Back to top »
View user's profile Send private message
Dzynna
Shadow Master


Joined: 11 Jan 2004
Posts: 748
Location: Somewhere in the wilds

 Post Posted: Sun Dec 25, 2005 10:38 am    Post subject:
Reply with quote

turquoise Razz

Sorry, couldn't help myself.
_________________

Dzynna Zol
-------------------------------------
The Retreat
--------------------------------------
 Back to top »
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Hokius



Joined: 17 Oct 2005
Posts: 191
Location: Wherever Things are Exploding, Haelrahv

 Post Posted: Sun Jan 01, 2006 6:15 pm    Post subject:
Reply with quote

As a point of interest, I edited that script you gave me Yaru. It now accounts for previous amounts of what you are mining and can work with things that you mine that come out other than what you mine for (i.e. mine for vellian, get vellian ore) Assuming that you know how much you already have (which can be done by RUMMAGE'ing for it) and what it comes out to be. Just in case there is confusion, if you had 10 units of vellian ore, and you knew that's what you wanted to mine here is what you would type for the script to work: .mine 10 vellian ore

Here is the modified script. Enjoy!

#Mine

counter add %1
shift


mine:
echo *****************
echo %c units of %1
echo *****************
pause
put mine for %1
match count are rewarded
match mine come up empty
match mine wait
matchwait

count:
put look %2
match add1 one
match add2 two
match add3 three
match add4 four
match add5 five
match add6 six
match add7 seven
match add8 eight
match add9 nine
matchwait

add1:
counter add 1
pause
put stow left
goto mine

add2:
counter add 2
pause
put stow left
goto mine

add3:
counter add 3
pause
put stow left
goto mine

add4:
counter add 4
pause
put stow left
goto mine

add5:
counter add 5
pause
put stow left
goto mine

add6:
counter add 6
pause
put stow left
goto mine

add7:
counter add 7
pause
put stow left
goto mine

add8:
counter add 8
pause
put stow left
goto mine

add9:
counter add 9
pause
put stow left
goto mine
_________________
End of line.

You can't take a girl to the Library! What? It's free? Well that's not so bad then...--David Scully as Sergeant Johnson, Halo 2 Outtake


Last edited by Hokius on Sun Jan 01, 2006 6:25 pm; edited 1 time in total
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website AIM Address
soundless
EIGHT YEARS OLD!!!


Joined: 22 May 2004
Posts: 5970
Location: Spaceship

 Post Posted: Sun Jan 01, 2006 6:18 pm    Post subject:
Reply with quote

you have %1 set as the starting amount and the thing you're mining. so that'll cause issues.
_________________
A bright-eyed Thekko Ku Kalla dressed in a dapper sailor suit takes to flight and careers through the air toward the Modan Kucho and slams into him!
With a high-pitched cry, The Modan Kucho collapses in death.
 Back to top »
View user's profile Send private message
Hokius



Joined: 17 Oct 2005
Posts: 191
Location: Wherever Things are Exploding, Haelrahv

 Post Posted: Sun Jan 01, 2006 6:24 pm    Post subject:
Reply with quote

except I added a shift. I've used the script with no problems whatsoever.
_________________
End of line.

You can't take a girl to the Library! What? It's free? Well that's not so bad then...--David Scully as Sergeant Johnson, Halo 2 Outtake
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website AIM Address
soundless
EIGHT YEARS OLD!!!


Joined: 22 May 2004
Posts: 5970
Location: Spaceship

 Post Posted: Sun Jan 01, 2006 6:31 pm    Post subject:
Reply with quote

woops. didn't notice the shift. my bad Smile

my one question is what happens if you don't want to add a number at the start.
_________________
A bright-eyed Thekko Ku Kalla dressed in a dapper sailor suit takes to flight and careers through the air toward the Modan Kucho and slams into him!
With a high-pitched cry, The Modan Kucho collapses in death.
 Back to top »
View user's profile Send private message
Display posts from previous:   
The Official Haelrahv Message Forum Forum Index » Suggestions and Ideas » Mining
Post new topic   Reply to topic All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Top Index




Solaris phpBB theme/template by Jakob Persson
Copyright © Jakob Persson 2003



Powered by phpBB 2.0.22 © 2001, 2002 phpBB Group