Page 1 of 8 123 ... LastLast
Results 1 to 10 of 80

Thread: Here's a gift for those of you forging.

  1. #1
    Join Date
    Apr 2005
    Location
    Close enough to Pittsburgh
    Posts
    1,723

    Default Here's a gift for those of you forging.

    I started back in the forge, trying to make my perfect mithril hammer. I got sick of seeing all the useless screen scroll... SOOOOOOOOOOOOO, I did this.

    Code:
    forgeaction  = proc { |server_string|
    	if server_string.strip.length == 0
    		nil
    		next
    	end
    	case server_string
      	when /begin pumping to set the wheel spinning|you press it against the spinning stone|dust rises from the spinning wheel as you grind|internal strength fully recovers|begin to lose touch with your internal sources|You swap|You begin to trace|you feel pleased with yourself at having cleaned|may order a .*? of this item|for your patronage|ask about the price|silvers you offer in payment|Sold for \d+ silvers|You carefully trace|sparks leap from the spinning wheel|around you see a grinder that may suit your|focus deep within yourself, searching for untapped sources|feel a great deal stronger|feel fully energetic|you still have some time remaining, the clerk directs you|press it against the spinning wheel|hum of the spinning wheel and the scent|reducing areas of roughness to a polished|pause to press a tube of diamond dust paste|straighten up from working at the polishing wheel|#{Char.name} is using the polisher right|pause to examine both pieces closely|pick up a file and file|eternity you realize that the scribed pattern has been chewed|decide the safest thing to do now is to|you get to your feet|cost you \d+ silvers|you set to work assembling your|upon fitting the two pieces together/
      		nil
      	else
      		server_string
    	end
    }
    DownstreamHook.remove('forgesquelch')
    DownstreamHook.add('forgesquelch', forgeaction)
    before_dying { UpstreamHook.remove('forgesquelch'); }
    Stuff that at the top of YOUR forge script, and be a happier person.


    In memory of Ken "Zzentar" Dumas.

    Gibreficul

    AIM = Lord Gibreficul

  2. #2
    Join Date
    Apr 2005
    Location
    Close enough to Pittsburgh
    Posts
    1,723

    Default

    UPDATED!

    Even more useless lines squelched out!


    Code:
    forgeaction  = proc { |server_string|
    	if server_string.strip.length == 0
    		nil
    		next
    	end
    	case server_string
      	when /begin pumping to set the wheel spinning|you press it against the spinning stone|dust rises from the spinning wheel as you grind|internal strength fully recovers|begin to lose touch with your internal sources|You swap|You begin to trace|you feel pleased with yourself at having cleaned|may order a .*? of this item|for your patronage|ask about the price|silvers you offer in payment|Sold for \d+ silvers|You carefully trace|sparks leap from the spinning wheel|around you see a grinder that may suit your|focus deep within yourself, searching for untapped sources|feel a great deal stronger|feel fully energetic|you still have some time remaining, the clerk directs you|press it against the spinning wheel|hum of the spinning wheel and the scent|reducing areas of roughness to a polished|pause to press a tube of diamond dust paste|straighten up from working at the polishing wheel|#{Char.name} is using the polisher right|pause to examine both pieces closely|pick up a file and file|eternity you realize that the scribed pattern has been chewed|decide the safest thing to do now is to|you get to your feet|cost you \d+ silvers|you set to work assembling your|dip some rendered rolton fat from a small|upon fitting the two pieces together/
      		nil
      	when /around you see a trough and a pair of tongs|need it in order to set the temper in the weapon when you're done|pull the drain plug from the tempering trough|the tempering trough is empty nothing happens|lift the bucket from its hook and dip a bucket|take the mithril tongs from their place on the anvil|dull orange glow filling the gaps between the coals pulses|darkens with perspiration as the newly awakened heat floods|takes on the glow from the surrounding|you begin to shape it with your forging|reddish sparks fly in all directions as you hammer away|hammer until the glow has faded|waiting for.*?to heat up again|from the forge and resume your work|fall about the base of the anvil|toward its final form as beads of perspiration form|you realize that the scribed pattern is gone|wipe sweat from your forehead with the back of your hand|waiting for.*?coloring of workable/
      		nil
      	else
      		server_string
    	end
    }
    DownstreamHook.remove('forgesquelch')
    DownstreamHook.add('forgesquelch', forgeaction)
    before_dying { UpstreamHook.remove('forgesquelch'); }
    Sha-Bam.


    In memory of Ken "Zzentar" Dumas.

    Gibreficul

    AIM = Lord Gibreficul

  3. #3
    Join Date
    Dec 2005
    Location
    Way down yonder
    Posts
    277

    Default

    (Naelan waggles his fingers and the thread rises from it's grave.)

    Just wanted to say thanks for this. It is entirely useful.

    So, .....thanks

  4. #4
    Join Date
    May 2005
    Location
    West Hollywood, CA
    Posts
    589

    Default

    where do you get the little smiley faces carrying signs from?

  5. #5
    Join Date
    Oct 2004
    Location
    The United Kingdom
    Posts
    16,065

    Default

    Quote Originally Posted by Eoghain View Post
    where do you get the little smiley faces carrying signs from?
    There used to be a smiley code page years ago and people just remembered the ones they liked from back then I guess.
    They may be listeD within the code faq section.
    Last edited by Asha; 06-13-2011 at 07:21 PM.

  6. #6
    Join Date
    Sep 2003
    Location
    Philadelphia
    Posts
    6,539

    Default


  7. Default

    Quote Originally Posted by Drayal View Post
    They may be listed within the code faq section.
    http://forum.gsplayers.com/misc.php?do=showsmilies

  8. #8
    Join Date
    May 2005
    Location
    West Hollywood, CA
    Posts
    589

    Default

    Thanks!

  9. Default

    Quote Originally Posted by Gibreficul View Post
    UPDATED!

    Even more useless lines squelched out!


    Code:
    forgeaction  = proc { |server_string|
        if server_string.strip.length == 0
            nil
            next
        end
        case server_string
          when /begin pumping to set the wheel spinning|you press it against the spinning stone|dust rises from the spinning wheel as you grind|internal strength fully recovers|begin to lose touch with your internal sources|You swap|You begin to trace|you feel pleased with yourself at having cleaned|may order a .*? of this item|for your patronage|ask about the price|silvers you offer in payment|Sold for \d+ silvers|You carefully trace|sparks leap from the spinning wheel|around you see a grinder that may suit your|focus deep within yourself, searching for untapped sources|feel a great deal stronger|feel fully energetic|you still have some time remaining, the clerk directs you|press it against the spinning wheel|hum of the spinning wheel and the scent|reducing areas of roughness to a polished|pause to press a tube of diamond dust paste|straighten up from working at the polishing wheel|#{Char.name} is using the polisher right|pause to examine both pieces closely|pick up a file and file|eternity you realize that the scribed pattern has been chewed|decide the safest thing to do now is to|you get to your feet|cost you \d+ silvers|you set to work assembling your|dip some rendered rolton fat from a small|upon fitting the two pieces together/
              nil
          when /around you see a trough and a pair of tongs|need it in order to set the temper in the weapon when you're done|pull the drain plug from the tempering trough|the tempering trough is empty nothing happens|lift the bucket from its hook and dip a bucket|take the mithril tongs from their place on the anvil|dull orange glow filling the gaps between the coals pulses|darkens with perspiration as the newly awakened heat floods|takes on the glow from the surrounding|you begin to shape it with your forging|reddish sparks fly in all directions as you hammer away|hammer until the glow has faded|waiting for.*?to heat up again|from the forge and resume your work|fall about the base of the anvil|toward its final form as beads of perspiration form|you realize that the scribed pattern is gone|wipe sweat from your forehead with the back of your hand|waiting for.*?coloring of workable/
              nil
          else
              server_string
        end
    }
    DownstreamHook.remove('forgesquelch')
    DownstreamHook.add('forgesquelch', forgeaction)
    before_dying { UpstreamHook.remove('forgesquelch'); }
    Sha-Bam.
    I tried the while try | succeed script and it doesn't work. Please fix it ASAP, I use this script daily and its ruining my experience.

  10. #10
    Join Date
    Apr 2005
    Location
    Close enough to Pittsburgh
    Posts
    1,723

    Default

    Quote Originally Posted by Eoghain View Post
    where do you get the little smiley faces carrying signs from?


    Last edited by Gibreficul; 06-13-2011 at 10:00 PM.


    In memory of Ken "Zzentar" Dumas.

    Gibreficul

    AIM = Lord Gibreficul

Similar Threads

  1. Replies: 2
    Last Post: 11-14-2019, 02:00 PM
  2. 2.5m for $20 Gift
    By Wendill in forum Currencies
    Replies: 0
    Last Post: 06-07-2016, 05:03 PM
  3. OSG - Gift of Forging (7/12/15)
    By Geijon Khyree in forum Events and Invasions
    Replies: 7
    Last Post: 07-12-2015, 07:46 PM
  4. Gift Help
    By Prestius in forum Off-Topic
    Replies: 7
    Last Post: 12-13-2003, 07:56 PM
  5. Best Gift?
    By JustMe in forum Off-Topic
    Replies: 14
    Last Post: 11-20-2003, 06:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •