View Full Version : Here's a gift for those of you forging.
Gibreficul
11-09-2010, 08:11 PM
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.
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.
:welcome:
Gibreficul
11-11-2010, 06:54 AM
UPDATED!
Even more useless lines squelched out!
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. :yeahthat:
Naelan
06-13-2011, 07:03 PM
(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
Eoghain
06-13-2011, 07:15 PM
where do you get the little smiley faces carrying signs from?
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.
Anebriated
06-13-2011, 07:22 PM
:shibby:
Androidpk
06-13-2011, 07:32 PM
They may be listed within the code faq section.
http://forum.gsplayers.com/misc.php?do=showsmilies
Eoghain
06-13-2011, 07:43 PM
Thanks!
pabstblueribbon
06-13-2011, 09:29 PM
UPDATED!
Even more useless lines squelched out!
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. :yeahthat:
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.
Gibreficul
06-13-2011, 10:00 PM
where do you get the little smiley faces carrying signs from?
:noob:
:deadhorse:
caelric
06-14-2011, 02:36 AM
Question for Gib (or anyone) Whats the name of a good forging script that will take you from 0 to master in a forging skill? I know Gib has some scripts, but I am slow today, and can't seem to find them.
DrZaius
06-14-2011, 08:52 AM
Gib pulled them, because he was sick of people bugging him to "fix" them when they were using them incorrectly.
JustDan
06-14-2011, 09:08 AM
Question for Gib (or anyone) Whats the name of a good forging script that will take you from 0 to master in a forging skill? I know Gib has some scripts, but I am slow today, and can't seem to find them.
Dforge. It's ugly as sin. If Tillmen or Gib opened it, they'd light themselves on fire for looking at such ridiculously poor coding. But it works. If it's not still up on the repo, I'll re-upload it tonight.
Wow... this thing is in worse shape than I thought. Still functional, though. I guess since it's not broken, I never got around to fixing it. Enjoy.
##Danforge.lic, by JustDan. Be wearing an apron. Have coins in the bank. Have a container as your STOW default that has enough room for blocks. This will rank you up in crafting. Make sure that item 3 at your local forging supply shop is the BLOCK, otherwise change the instances here that order blocks to the appropriate number. Make sure that the wastebasket in your forging workshop is a BIN, otherwise change those instances here. Enjoy.
GetCoins:
waitrt?
start_script "go2", [ "bank" ]
wait_while {running?('go2')}
fput "deposit all"
fput "withdraw 1500 silver"
goto "Go"
Go:
waitrt?
start_script "go2", [ "forge" ]
wait_while {running?('go2')}
goto "Start"
Start:
fput "stow right"
fput "stow left"
fput "go workshop"
goto "GetBlock"
GetBlock:
waitrt?
fput "get my block"
match "NoBars", "Get what?"
match "BeginStare", "You remove"
match "BeginStare", "already"
matchwait
BeginStare:
waitrt?
fput "stare handle"
match "Swap", "left hand is empty!"
match "Swap", "The material in your left hand is not"
match "Grinder", "Your material is marked with a pattern"
match "TooSmall", "realize it is too small"
matchwait
TooSmall:
waitrt?
fput "put block in bin"
goto "GetBlock"
Grinder:
waitrt?
fput "turn grinder"
match "Timeout", "doesn't budge!"
match "BeginStare", "Resignedly, you get to"
match "Swap", "you need to hold it in your"
match "Junk", "satisfied"
match "Toothpick", "vindictive"
match "Keeper", "very best"
matchwait
Toothpick:
waitrt?
fput "put toothpick in bin"
goto "GetBlock"
Junk:
waitrt?
fput "put hamm in bin"
goto "GetBlock"
Keeper:
waitrt?
fput "put hamm in bin"
goto "GetBlock"
Swap:
waitrt?
fput "swap"
goto "BeginStare"
NoBars:
waitrt?
fput "stow right"
fput "stow left"
fput "out"
start_script "go2", [ "bank" ]
wait_while {running?('go2')}
waitrt?
fput "deposit all"
fput "withdraw 1000 silvers"
waitrt?
start_script "go2", [ "forge" ]
wait_while {running?('go2')}
goto "Order"
Order:
sleep 1
fput "order 3"
fput "buy"
fput "stow block"
fput "order 3"
fput "buy"
fput "stow block"
fput "order 3"
fput "buy"
fput "stow block"
goto "Start"
TimeOut:
pause
fput "out"
fput "go work"
pause
goto "BeginStare"
Gibreficul
06-14-2011, 05:08 PM
Gib pulled them, because he was sick of people bugging him to "fix" them when they were using them incorrectly.
:yeahthat:
Well, kinda. What people fail to realize is that the person writing the script probably doesn't need the help and comments within the script. Those are put there for the users, and it is the responsibility of the user to read those so they understand the functions of the script. Too many times with too many scripts I had to refer people to those comments or repeat what was said within those comment when they claimed to have already read them. Every time that happened, I chalked it up as "time wasted." I'm done wasting time... Especially when all I get is shit on for doing it.
Nattor
06-14-2011, 06:57 PM
Hey Gib.. Send me your rogue guild script.. I won't bother you if it doesn't work, I'll fix it. I just don't want to write a new one. (because I've never even went inside the rogue guild.) :) haha
caelric
06-17-2011, 01:56 PM
Any chance of sending them to me, Gib, with my thanks, and promise not to ask you for help?
Gibreficul
06-17-2011, 02:25 PM
Still not sharing, why do you people even ask? I can't be bribed, I can't be buttered up. No is no... and really, I don't care if you're my best friend in the world, no still means no, so stop asking. What part of YOU allowed LNet to become what it is now, YOU did nothing to stop it from degenerating into what it has become, YOU took the side of the people who decided to criticize and troll me until I took action and started removing my work from the repository. With that said, I'm not about to assist a group of people when 90% of those people hate me until they want something from me. I was born at night, but not last night.
caelric
06-19-2011, 12:03 PM
Yeah, no, I did none of that. All I did was ask for a script. A simple no wuld have sufficed. But, whatever, if it made you feel better to get that off your chest, good.
Boora
09-18-2011, 09:31 PM
I'll ask simply because I can't figure out the problem.
I've lost two forging-hammers so far. My guess is that if I used ";e forge_squelch(false)" to enter debug mode, I might actually see what happened. However, while two forging-hammers is a lot of time to replace (20 hours avg or so), it has happened once per forging skill mastered.
I've shown the log of each event below starting with the most recent.
#2
[Kobold Forge]
A large, black iron anvil stands in the center of this chamber. Within easy reach to either side of the anvil are a brick forge and a tempering trough. Directly above the trough, suspended by a web of delicate, mithril chains, hangs a teardrop-cut crystal easily the size of a giantman. One corner of the room is taken up by a cistern bearing the embossed brass image of a potbellied kobold, and a leather bucket hangs from a hook on the wall next to it. Heat from the brick forge fills the chamber. Some discarded oilskins rest haphazardly in the corner. You also see a red iron door.
Obvious exits: none
>get mybar
>get my bar
Get what?
>rem for
You remove a hammered bronze bar from in your felt longcoat.
You remove a perfect maoral-handled mithril forging-hammer from your belt.
>;u
--- Lich: autoforge unpaused.
The material you intend to forge has not been scribed with a pattern to work from. You need to use a glyph from the workbench to mark your material first.
[Kobold Workshop]
Uneven gaps between the rough-hewn planks of the walls make it clear that the workshop's walls are intended to only block out the worst of the weather. Crowded with a grinder, polisher and a workbench with a vise, this room is perhaps a third of the building's interior. Besides the exit, a red iron door pierces the center of the hut's one interior wall. For whatever reason, the bases of the workbench, grinder and polisher have each been carved with images of scampering rats. You also see a rental hourglass, a large sign and a wooden bin.
Obvious exits: out
You put a hammered bronze bar in your felt longcoat.
You remove a hammered bronze bar from in your felt longcoat.
[Public Workshops Supply Stall]
A tin-clad counter occupies the center of the stall, and a large sign hangs from the main post that rises in the stall's center. An almost grim faced half-elf, with broad shoulders and muscled biceps, stands behind the counter, a polished mithril toothpick held in her teeth. You also see a large placard, the clerk Samilla, a wooden sign and some forging workshops.
Also here: Boora
Obvious paths: south
[Kobold Workshop]
Uneven gaps between the rough-hewn planks of the walls make it clear that the workshop's walls are intended to only block out the worst of the weather. Crowded with a grinder, polisher and a workbench with a vise, this room is perhaps a third of the building's interior. Besides the exit, a red iron door pierces the center of the hut's one interior wall. For whatever reason, the bases of the workbench, grinder and polisher have each been carved with images of scampering rats. You also see a rental hourglass, a large sign and a wooden bin.
Obvious exits: out
[Kobold Forge]
A large, black iron anvil stands in the center of this chamber. Within easy reach to either side of the anvil are a brick forge and a tempering trough. Directly above the trough, suspended by a web of delicate, mithril chains, hangs a teardrop-cut crystal easily the size of a giantman. One corner of the room is taken up by a cistern bearing the embossed brass image of a potbellied kobold, and a leather bucket hangs from a hook on the wall next to it. Heat from the brick forge fills the chamber. Some discarded oilskins rest haphazardly in the corner. You also see a red iron door.
Obvious exits: none
Your material is marked with a pattern, next you'll need to shape it somehow.
Roundtime: 30 sec.
Get what?
To work material at the forge you'll need to be holding your forging-hammer in your right hand.
Get what?
#1
You remove a well-made maple-handled mithril forging-hammer from your belt.
>;u
--- Lich: autoforge unpaused.
The material you intend to forge has not been scribed with a pattern to work from. You need to use a glyph from the workbench to mark your material first.
[Spider Workshop]
Uneven gaps between the rough-hewn planks of the walls make it clear that the workshop's walls are intended to only block out the worst of the weather. Crowded with a grinder, polisher and a workbench with a vise, this room is perhaps a third of the building's interior. Besides the exit, a red iron door pierces the center of the hut's one interior wall. For whatever reason, the bases of the workbench, grinder and polisher have each been carved with images of scampering rats. You also see a wooden bin, a large sign and a rental hourglass.
Obvious exits: out
In the skill of fletching, you are a master with 500 ranks.
You put a hammered bronze bar in your satin robes.
You remove a hammered bronze bar from in your satin robes.
[Public Workshops Supply Stall]
A tin-clad counter occupies the center of the stall, and a large sign hangs from the main post that rises in the stall's center. An almost grim faced half-elf, with broad shoulders and muscled biceps, stands behind the counter, a polished mithril toothpick held in her teeth. You also see a large placard, the clerk Samilla, a wooden sign and some forging workshops.
Obvious paths: south
[Spider Workshop]
Uneven gaps between the rough-hewn planks of the walls make it clear that the workshop's walls are intended to only block out the worst of the weather. Crowded with a grinder, polisher and a workbench with a vise, this room is perhaps a third of the building's interior. Besides the exit, a red iron door pierces the center of the hut's one interior wall. For whatever reason, the bases of the workbench, grinder and polisher have each been carved with images of scampering rats. You also see a wooden bin, a large sign and a rental hourglass.
Obvious exits: out
[Spider Forge]
A large, black iron anvil stands in the center of this chamber. Within easy reach to either side of the anvil are a brick forge and a tempering trough. Directly above the trough, suspended by a web of delicate, mithril chains, hangs a teardrop-cut crystal easily the size of a giantman. One corner of the room is taken up by a cistern bearing the embossed brass image of a crouching spider, and a leather bucket hangs from a hook on the wall next to it. Heat from the brick forge fills the chamber. Some discarded oilskins rest haphazardly in the corner. You also see a red iron door.
Obvious exits: none
Your material is marked with a pattern, next you'll need to shape it somehow.
Roundtime: 30 sec.
Get what?
To work material at the forge you'll need to be holding your forging-hammer in your right hand.
So, in both cases, I removed my forging-hammer while in the forge and unpaused autoforge. Then the script does something with the forging hammer. After looking through the script, I can't detect what may have happened. I don't see anything that would have put the hammer anywhere else.
Any thoughts?
Gibreficul
09-21-2011, 04:53 AM
I'll ask simply because I can't figure out the problem.
I've lost two forging-hammers so far. My guess is that if I used ";e forge_squelch(false)" to enter debug mode, I might actually see what happened. However, while two forging-hammers is a lot of time to replace (20 hours avg or so), it has happened once per forging skill mastered.
I've shown the log of each event below starting with the most recent.
#2
#1
So, in both cases, I removed my forging-hammer while in the forge and unpaused autoforge. Then the script does something with the forging hammer. After looking through the script, I can't detect what may have happened. I don't see anything that would have put the hammer anywhere else.
Any thoughts?
YOU broke it, and I don't give a shit... Stop using it if it's broken... and STFU
SuckADickGib
09-21-2011, 12:32 PM
If you were nicer more often, just told people you don't want to share your scripts and not get on your rants about what, in your opionion, lich has become and not such a mother fucking dick face.. I wouldn't have done this. But go fuck yourself bitch. Get them now before he flips his shit!!!
Autocraft
#Autocraft.lic, by Gibreficul the fucking jackass
#This script requires "forgeme" script, which is the definitions script. This is only the driver.
#This script is intended, currently only to rankup in crafting.
#Yer welcome.
# As per my usual, cause I do run multiple characters, multiple accounts, and like to make my scripts work for them all... I have my nasty little if/elsif statement to start the script. In the top example, I have all of the possible options listed, but commented out. Simply add your name to the checkname statement, and un-comment the line for whatever town you're doing your crafting within. That will call the method that sets the variables for that town. (MAKE SURE YOU HAVE SILVERS IN THE BANK IN THAT TOWN.)
#Update February 8, 2010
start_scripts("forgeme","countaha")
wait_while{running?("forgeme")}
if checkname =~ /Albrak/
$makeparts = false
zul_forge
#teras_forge
#ill_forge
#vaalor_forge
#landing_forge
#rest_forge
#sol_forge
#ice_forge
elsif checkname =~ /Lucefyed/
$makeparts = false
#zul_forge
teras_forge
#ill_forge
#vaalor_forge
#landing_forge
#rest_forge
#sol_forge
#ice_forge
elsif checkname =~ /Valir/i
$makeparts = false
$donecraft = false
ill_forge
# $forge_material = [2, "bar"]
else
echo "YOU HAVE TO SET VARIABLES"
respond "Please edit the script for your character"
respond "The lines to edit are the checkname and the variable in the if statement at the top of the script"
respond "more will be added as I add it."
respond ""
respond "If you have $bank, $forge, and $ftrash variables set, you can remove this entire if/elsif statement."
# exit
end
$forge_material = [3, "block"]
forge_check_hands
$donecraft = false
$forge_silvers = 5000
$counter = 0
#### OK, now that that's done ####
apron_check
######################################## THE SCRIPT STARTS HERE, BASICALLY ########
forge_shop_goto
forge_rent
loop{
break if $donecraft
check_bar
stare_handle
turn_grind
echo "We have looped #{$counter += 1} times"
}
loop{
forge_glyph until $forge_trace
$forge_trace = false
forge_tongs
echo "We have looped #{$counter += 1} times"
}
Countaha
#countaha.lic, for use with "forgeme" and "autoforge" scripts.
#all written by Gibreficul...
#It doesn't really count anything significant, just a timer for the Ahas.
#comment, comment, comment......
$this_script_started = Time.now unless $rankup_time
loop{
matchwait /Aha, you learned something that time\./
if $this_script_started
$aha = 1
else
$aha += 1
end
you_ranked
$this_script_started = false if $this_script_started
$rankup_time = Time.now
}
Forgeme
=begin
Forging Linear, written by Gibreficul for use with the autoforge.lic script
UPDATE February 8, 2010 .
This script was made from the forge instructions from
http://spendel.googlepages.com/forgestat.htm
Credit where due.
DO NOT MESS WITH THIS SCRIPT. Everything you have to change is in the autoforge script.
This is the guts, and they work.
UPDATE! Fixed the ordering thing that was broken
Fixed all sorts of crafting shit. Apron issue should be fixed. Bad item should be fixed, not sure. Testing in Illistim currently..
=end
if $forgetown == 0
$ftrash = "barrel"
elsif $forgetown == 1
$ftrash = "bin"
elsif $forgetown == 2
$ftrash = "bin"
elsif $forgetown == 3
$ftrash = "bin"
elsif $forgetown == 4
$ftrash = "barrel"
elsif $forgetown >= 5
$ftrash = "bin"
end
$magic_metal = false
$forge_trace = false
#$forge_shop = ["Teras Isle Forging Supply", "Icemule Forging Supply", "Metalworkers' Central Platform", "Public Workshops Supply Stall","Zul Logoth Forging Supply Shop", "Ta'Vaalor Forging Supply Shop", "Ta'Illistim, Crafters Gatehouse", "River's Rest Forging Supply"]
#$forge_to_bank = [["s","s","w","w","s","s","s","s","s","s","go bank","deposit all"], ["go gate","n","n","n","e","e","e","e","e","e","go bank", "deposit all"], ["s","go gatehouse","sw","s","go bridge","up","se","se","se","se","s","se","e", "go bank", "deposit all"], ["s","s","s","out","s","w","s","w","w","w","w","go bank","go arch","deposit all"], ["down","e","n","w","n","n","n","go arch","depo all"], ["go walk","n","w","n","n","n","n","n","n","e","n","e","ne","e","e","go bank","go arch","deposit all"],["s","go gate","s","nw","nw","n","nw","nw","nw","n","w","w","go bank","n","go arch","deposit all"], ["out","n","n","nw","e","go drawbridge","e","e","go bank","deposit all"]]
def forge_shop_goto
if checkroom =~ /Forge\]/
multifput("go door","out")
elsif checkroom =~ /Workshop\]/
fput "out"
elsif checkroom =~ /Forging Supply|Workshops Supply Stall|Metalworkers' Central Platform/
echo "YOU ARE HERE, moving on."
else
goforge
end
end
def apron_check
$apron = false
if GameObj.inv.find{|item| item.noun == "apron"}
$apron = true
echo "WEARING YOUR APRON, GOOD, GOOD"
elsif GameObj.inv.find{|item| item.contents == ("apron")}
echo "FUCK ME"
multifput("get my apron","wear my apron")
else
multifput("get my apron","wear my apron")
if GameObj.inv.find{|item| item.noun == "apron"}
else
respond "YOU HAVE NO APRON, BUYING ONE."
goforge
echo "BUY APRON BELOW"
# buy_apron
end
end
echo "EXITING" unless $apron
exit unless $apron
end
def forge_check_hands
fput "wear forg" if GameObj.right_hand.name =~ /forging\-hammer/
fput "swap" if GameObj.right_hand.noun =~ /bar|slab|block/
fput "stow ##{GameObj.right_hand.id}" if checkright
if checkleft
fput "stow ##{GameObj.left_hand.id}" unless GameObj.left_hand.noun =~ /bar|slab|block/
end
end
def forge_get_bar
fput "stow left" if checkleft
fput "wear my forgin" if checkright =~ /forging\-hammer/i
fput "stow right" if checkright
fput "get my #{$forge_material[1]}"
if checkright
fput "swap"
else
forge_shop_goto
buy_bar
end
end
def buy_bar
forge_shop_goto
if $donecraft
if checkright
fput "wear my forging" if checkright =~ /forging\-hammer/
fput "stow right" unless checkright =~ /bar|slab/
end
end
multifput("order #{$forge_material[0]}", "buy")
if checkright == nil
echo "go to the bank"
forge_bank_run
buy_bar
else
fput("swap")
forge_rent
end
end
def buy_glyph
if checkright
fput "wear my forging" if checkright =~ /forging\-hammer/
fput "stow right" if checkright
end
multifput("order #{$head_glyph[0]} material #{$head_glyph[1]}", "buy")
if checkright == nil
echo "go to the bank"
forge_bank_run
buy_glyph
else
multifput("stow my #{$head_glyph[2]}")
forge_rent
end
end
def forge_bank_run
goforge($bank)
multifput("depo all","withdraw #{$forge_silvers} silvers")
forge_shop_goto
end
def forge_rent
forge_shop_goto
fput "go work"
x = matchwait("have enough silver", "the clerk collects", "you still have some time")
if x =~ /have enough silver/i
forge_bank_run
fput("go work")
fput "go door" if $donecraft
else
fput "go door" if $donecraft
end
fput "rem forging" if $donecraft
end
def check_bar
if GameObj.left_hand.noun =~ /bar|block|slab/
if checkright
fput "stow right"
end
echo "BLOCK IN LEFT, NOTHING RIGHT"
elsif GameObj.right_hand.noun =~ /bar|block|slab/
fput "swap"
if checkright
fput "stow right"
end
echo "JUST SWAPPED, BLOCK SHOULD BE IN LEFT, NOTHING RIGHT"
else
multifput("stow right","stow left")
echo "BUY_BAR WITHIN CHECK_BAR"
# sleep 10
buy_bar
end
end
def forge_trough
fput "wear #{checkright}" if checkright =~ /forging\-hammer/i
fput "Stow right" if checkright
fput "drop right" if checkright
if $magic_metal
multifput("pull plug","get my oil","pour oil in trough")
waitrt?
fput "stow my oil"
else
fput "pull plug"
fput "stow right" if checkright
fput "get bucket"
end
waitrt?
fput "remove forgin" unless checkright
end
def you_ranked
if $this_script_started
timedif = (Time.now - $this_script_started) / 60
clicks = (timedif - timedif.floor) * 60
echo "#{timedif.floor} minutes, #{clicks.round} seconds from script start to rankup."
else
timedif = (Time.now - $rankup_time) / 60
clicks = (timedif - timedif.floor) * 60
echo "#{timedif.floor} minutes, #{clicks.round} seconds between rankups."
end
end
def goforge(room = $forge)
start_script("go2",[room, '_disable_confirm_'])
wait_while{running?("go2")}
end
def zul_forge
$ftrash = "barrel"
$bank = 9472
$forge = 9422
end
def teras_forge
$bank = 1838
$forge = 1954
$ftrash = "barrel"
end
def ill_forge
$bank = 11
$forge = 13270
$ftrash = "bin"
end
def vaalor_forge
$bank = 10325
$forge = 10394
$ftrash = "bin"
end
def landing_forge
$bank = 400
$forge = 8618
$ftrash = "bin"
end
def rest_forge
$bank = 10911
$forge = 11015
$ftrash = "bin"
end
def sol_forge
$bank = 5710
$forge = 5039
$ftrash = "bin"
end
def ice_forge
$bank = 3370
$forge = 9007
$ftrash = "bin"
end
def buy_apron
forge_bank_run
multifput("order 1","buy","wear my apron")
$apron = true
end
def forge_glyph
fput "stare my #{$head_glyph[2]}"
result = matchwait("Before the design is complete you reach an edge", "see a trough and a pair", "you see a door to the forging", "were you referring", "you will be able to accomplish anything else outside", "Your left hand is empty", "glyph turns a dull grey and crumbles", "left hand is not in a form")
waitrt?
if result =~ /you reach an edge/
#TOO SMALL, TRASH THE BAR
echo "TOO SMALL"
fput "wear forging"
if checkroom =~ /forge/i
multifput("go door", "_drag ##{GameObj.left_hand.id} ##{GameObj.loot.find{|trash| trash.noun =~ /barrel|bin|waste|tube|recep|well/}.id}")
forge_shop_goto
fprge_get_bar
elsif checkroom =~ /workshop/i
fput "_drag ##{GameObj.left_hand.id} ##{GameObj.loot.find{|trash| trash.noun =~ /barrel|bin|waste|tube|recep|well/}.id}"
forge_shop_goto
forge_get_bar
else
fput "drop my #{checkleft}"
forge_shop_goto
forge_get_bar
end
elsif result =~ /see a trough and a pair/
#SUCCESS, MOVE ONTO THE TONGS
$forge_trace = true
elsif result =~ /you see a door to the forging/
fput "go door"
$forge_trace = true
elsif result =~ /anything else outside/
echo "You're not in the guild, attempting to go there now"
forge_shop_goto
forge_rent
$forge_trace = true
elsif result =~ /were you referring/
echo "NO GLYPH"
forge_shop_goto
buy_glyph
elsif result =~ /Your left hand is empty|left hand is not in a form/
echo "NO BAR"
forge_check_hands
forge_get_bar
elsif result =~ /glyph turns a dull grey and crumbles/
$forge_trace = true
else
echo "possible error, exiting from forge_glyph"
exit
end
end
def forge_tongs
$forge_tongs_done = false
until $forge_tongs_done
fput "stow right" unless checkright =~ /forging\-hammer/
fput "rem forging" unless checkright
fput "get my forging" unless checkright
fput "get tongs"
result = matchwait("tempering trough is empty", "tongs on the anvil", "tongs to the anvil", "need to be holding", "material you want to work", "the rent on this workshop has expired", "has not been scribed", "hanging crystal and spreads across|into the tempering trough", "anvil as you shake your head and stare", "hammer in your right","this would be a real waste", "grinding wheel chews into")
waitrt?
if result =~ /tempering trough is empty|this would be a real waste/
forge_trough
elsif result =~ /tongs on the anvil/i
#GET AGAIN
elsif result =~ /tongs to the anvil/i
#START AGAIN
$forge_tongs_done = true
elsif result =~ /need to be holding/i
fput "rem forging"
elsif result =~ /material you want to work/i
echo "NEED TO CHECK HANDS"
forge_check_hands
forge_get_bar
elsif result =~ /the rent on this workshop has expired/
echo "RENT'S DUE"
forge_rent
elsif result =~ /has not been scribed/
echo "MUST SCRIBE"
$forge_tongs_done = true
elsif result =~ /hanging crystal and spreads across|into the tempering trough|grinding wheel chews into/
echo "CHECKLEFT!"
fput "wear my #{checkright}"
if checkleft != nil
fput "go door"
fput "_drag ##{GameObj.left_hand.id} ##{GameObj.loot.find{|trash| trash.noun =~ /barrel|bin|waste|tube|recep|well/}.id}"
fput "go door"
end
$forge_tongs_done = true
elsif result =~ /anvil as you shake your head and stare/
echo "FAIL"
elsif result =~ /hammer in your right/
echo "SHIT IN THE RIGHT HAND, RETRY"
fput "stow right" if checkright
fput "drop right" if checkright
fput "rem forging"
end
end
end
def stare_handle
fput "stare handle"
x = matchwait("realize it is too small\.","Your material is marked","Your left hand is empty")
waitrt?
if x =~ /left hand/
fput "swap"
stare_handle
elsif x =~ /realize it is too small\./
multifput("_drag ##{GameObj.left_hand.id} ##{GameObj.loot.find{|thing| thing.noun =~ /bin|barrel/}.id}", "swap")
unless checkleft =~ /bar|slab|block/
waitrt?
buy_bar
stare_handle
end
end
waitrt?
end
def perfect_parts
result = matchwait("You nod, satisfied with the piece you've create","You smile as you realize that this piece is the very best that you can create.","the safest thing to do now","grinding wheel chews into","mutter a few choice words")
waitrt?
fput "stow left" if result =~ /very best/ && $makeparts
if GameObj.right_hand.name =~ /bar|slab|block/
fput "_drag ##{GameObj.left_hand.id} ##{GameObj.loot.find{|trash| trash.noun =~ /barrel|bin|waste|tube|recep|well/}.id}"
#fput "swap"
elsif checkleft == "toothpick"
fput "_drag ##{GameObj.left_hand.id} ##{GameObj.loot.find{|trash| trash.noun =~ /barrel|bin|waste|tube|recep|well/}.id}"
elsif checkright == "toothpick"
fput "_drag ##{GameObj.right_hand.id} ##{GameObj.loot.find{|trash| trash.noun =~ /barrel|bin|waste|tube|recep|well/}.id}"
end
end
def turn_grind
fput "_drag ##{GameObj.right_hand.id} ##{GameObj.loot.find{|trash| trash.noun =~ /barrel|bin|waste|tube|recep|well/}.id}" if checkright != nil
fput "turn grind"
y = matchwait("The grinding wheel doesn\'t budge\!","You give the grinding wheel a powerful shove to get it spinning\,","material you intend to shape has not been scribed with a pattern")
if y =~ /The grinding wheel doesn\'t budge\!/i
echo "OUT OF TIME"
forge_shop_goto
forge_rent
sleep 1
elsif y =~ /material you intend to shape has not been scribed with a pattern/
#next
else
perfect_parts
#if $makeparts
end
########################
if checkright == "bar|slab|block"
fput "_drag ##{GameObj.left_hand.id} ##{GameObj.loot.find{|trash| trash.noun =~ /barrel|bin|waste|tube|recep|well/}.id}" if checkleft
fput "swap"
elsif checkleft == "toothpick"
fput "_drag ##{GameObj.left_hand.id} ##{GameObj.loot.find{|trash| trash.noun =~ /barrel|bin|waste|tube|recep|well/}.id}"
elsif checkright == "toothpick"
fput "_drag ##{GameObj.right_hand.id} ##{GameObj.loot.find{|trash| trash.noun =~ /barrel|bin|waste|tube|recep|well/}.id}"
end
# end
end
def old_hands
while checkright
fput "wear forg" if checkright =~ /forging\-hammer/
fput "stow right"
end
if checkleft =~ /bar|slab/
echo "Something useful in your left hand"
elsif checkleft == nil
echo "empty left hand"
elsif checkleft =~ /forging\-hammer/
echo "error, correcting"
fput "wear my forging"
else
echo "Empty your hands asshole"
fput "stow left"
wait_while{checkleft}
end
end
#from perfect parts
## fput "put my #{checkright} in #{$ftrash}" if checkright != nil
# fput "turn grind"
# y = matchwait("The grinding wheel doesn\'t budge\!","You give the grinding wheel a powerful shove to get it spinning\,","material you intend to shape has not been scribed with a pattern")
# waitrt?
# if y =~ /The grinding wheel doesn\'t budge\!/i
# echo "OUT OF TIME"
# forge_shop_goto
# forge_rent
# sleep 1
# elsif y =~ /material you intend to shape has not been scribed with a pattern/
# #next
# else
# waitrt?
# perfect_parts if $make_parts
Donquix
09-21-2011, 12:39 PM
Yeah, you showed him!
Buckwheet
09-21-2011, 12:47 PM
Every time I see you go off on people Gib about your scripts, I feel bad that I ever sent you my copies when you lost yours so you could get them back.
I wish I had been a dick like you are to most everyone else and told you to go spit.
Gibreficul
09-21-2011, 01:33 PM
Um, he said he paused the script, and pulled out the hammer himself... The script runs 100% automated... That's user error you fucktards.
Gibreficul
09-21-2011, 01:34 PM
and congrats, i was starting to share shit again, and then THIS. Just reinforcing my previous decision that ya'll are classless fucks that I'd prefer not to share with.
Buckwheet
09-21-2011, 01:39 PM
Just remember who gave you your "scripts" back.
Blazar
09-21-2011, 01:42 PM
Gib... either share or don't, but expect people to ask you, whether they're in the right or not. I don't personally have any problems with you, but it seems like you need to chill out a bit and quit thinking you're so important. You're not... in fact, no body is. Your mommy lied to you if she told you otherwise.
They're just scripts, GS does not amount to life. Sorry man.
Buckwheet
09-21-2011, 01:47 PM
Thats my thought. If people can manipulate LNet script to be whatever name they want, why can't Gib?
Just change your Lnet name and post your scripts and say I am not supporting them figure it out yourself. The problem is you tout who you are on lnet and your abilities. Just the other day you got into a war of words with someone over how superior your programming skills are and how people are like damn man you don't have a degree so I can't hire you. All that bullshit.
You make most of these problems on your own. I asked you a question a while back about rogue stuff and you just went the fuck off on me about rogue shit and how I know nothing etc. You didn't even know who you were talking to because I was using an alt name on Lnet.
Soon as I pointed out you were being a dick you were all apologetic and shit. Its the same ole story man, you just flip out on people and act all superior in just about every conversation on any topic. I have yet to have any civilized conversation with you when you don't know who is on the other end.
So its no wonder people act they way they towards you.
Gibreficul
09-21-2011, 01:48 PM
Just remember who gave you your "scripts" back.
Let me say THANK YOU again... and you can gloat, and I can tell you, if you didn't, I'd have re-written them. So thanks for saving me some time. But at the same time, sorry I don't work for any of you. I've never seen a single penny for the shit I've done, for what I've shared, and I have had a LOT of headaches and heartaches because of them, and the people who managed to find a way to break them. I've never asked for shit, other than to respect my work... and ya'll can't even do that.
Gibreficul
09-21-2011, 01:50 PM
Gib... either share or don't, but expect people to ask you, whether they're in the right or not. I don't personally have any problems with you, but it seems like you need to chill out a bit and quit thinking you're so important. You're not... in fact, no body is. Your mommy lied to you if she told you otherwise.
They're just scripts, GS does not amount to life. Sorry man.
Yo, I'm the one that says to people, there's 6 billion people in the world, nobody's special. Problem is people feel entitled, and expect help when they have nothing to offer for it. Why should I cater to self-centered, STUPID people with minimal drive to actually figure something out for themselves? I shouldn't, so I don't. I'm sorry I ever shared anything.
Blazar
09-21-2011, 01:52 PM
You speak in too general of terms. If I've ever used your scripts, you didn't hear a complaint from me because I respect and appreciate work that people do, but when they act like a dick and, as noted above, they act like they're something special just because they can write a script, it seriously diminishes any potential respect you could have gained from your abilities. At times I wonder if you're not some 12 year old boy genius that acts older on GS. I know this isn't the case, but if I had to base an opinion on your social skills, that's where I would peg you.
Blazar
09-21-2011, 01:53 PM
Yo, I'm the one that says to people, there's 6 billion people in the world, nobody's special. Problem is people feel entitled, and expect help when they have nothing to offer for it.
You shouldn't. That doesn't mean you have to go off and insult them, does it? Sometimes not saying anything says more than anything you could actually say, and doesn't make you look like a kid.
Buckwheet
09-21-2011, 01:58 PM
Let me say THANK YOU again... and you can gloat, and I can tell you, if you didn't, I'd have re-written them. So thanks for saving me some time. But at the same time, sorry I don't work for any of you. I've never seen a single penny for the shit I've done, for what I've shared, and I have had a LOT of headaches and heartaches because of them, and the people who managed to find a way to break them. I've never asked for shit, other than to respect my work... and ya'll can't even do that.
I offered to hire you for work and you said no.
So don't tell me that people don't pay you because I have offered and you said flat out no.
I respect your work, its your work, you have no idea how many times I have refused to send your scripts out to people who know I have them. Especially after it got leaked out back to the repo. I apologized to you for trusting someone then and its never happened again.
I think you have every right to write your own scripts and keep them to yourself. However you make it all worse when you post up how cool your shit is and constantly goad people into a fight with you so you can fire back how superior you are and how they should go fuck themselves.
I want you to remember it was a user of your scripts who returned them to you because that is what community members do. They help each other out. That is the biggest thing you bitch about on Lnet on how its not the community you signed up for. Some of us ARE they community you want or say you want but you continually verbally abuse these people and then wonder why nobody respects you.
You tell everyone to do it themselves but where is the community you constantly bitch about? Why don't you start doing it yourself and hold a workshop and not be a dick in lnet all the time? You bitch about how nobody knows who you help in the background all the time and help with stuff, so why not take the initiative and set a time where people can get help from you where you limit the scope and step up to build what YOU want.
Instead you just seem comfortable to bitch and moan about lost community and wasting your time and not getting any money or any thanks or whatever.
You are not better then the people harassing you for your scripts, you are the same.
Why won't the coders just make us this utopian world where we can script all day?
Why won't these people just make me a utopian coder world where we all sit around and code magnificent scripts all day that everyone already would know how to write?
So anyways have fun being such a great programmer because nobody is ever going to know what skill you have because you refuse to even take the small steps educate people and yet you lambast them for asking stupid questions on lnet or directly to you.
Gibreficul
09-21-2011, 02:00 PM
All things come with a price... True, I'm not the most SOCIAL person. In fact, I'm pretty abrasive, here and IRL, I know that. If I wasn't, I'd get walked all over. So, in my world, social skills were replaced with logical skills... I'm not going to apologize for how I am. I'm not going to apologize for feelings I've hurt, because nobody cares when it comes full circle hit hurts me.
Once again, thanks for re-assuring my lack of faith in this community, everyone. Just a fair warning, malicious scripts can make their way to the repo... and if you get rerolled because of them, NOT MY PROBLEM. HAPPY SCRIPTING.
AnticorRifling
09-21-2011, 02:03 PM
All things come with a price... True, I'm not the most SOCIAL person. In fact, I'm pretty abrasive, here and IRL, I know that. If I wasn't, I'd get walked all over. So, in my world, social skills were replaced with logical skills... I'm not going to apologize for how I am. I'm not going to apologize for feelings I've hurt, because nobody cares when it comes full circle hit hurts me.
Once again, thanks for re-assuring my lack of faith in this community, everyone. Just a fair warning, malicious scripts can make their way to the repo... and if you get rerolled because of them, NOT MY PROBLEM. HAPPY SCRIPTING.
Lol there is so much hilarious about this.
Logic skills failed you hard. But at least you've got headache and heartache from a text game that's a plus...
Buckwheet
09-21-2011, 02:05 PM
All things come with a price... True, I'm not the most SOCIAL person. In fact, I'm pretty abrasive, here and IRL, I know that. If I wasn't, I'd get walked all over. So, in my world, social skills were replaced with logical skills... I'm not going to apologize for how I am. I'm not going to apologize for feelings I've hurt, because nobody cares when it comes full circle hit hurts me.
Once again, thanks for re-assuring my lack of faith in this community, everyone. Just a fair warning, malicious scripts can make their way to the repo... and if you get rerolled because of them, NOT MY PROBLEM. HAPPY SCRIPTING.
You 're welcome?
So you admit you lack social skills and in the same breath threaten to upload malicious scripts to re-roll people...
You sir, are genius.
AnticorRifling
09-21-2011, 02:07 PM
Dude he will get hurt when it comes full circle and hits him! AND NOBODY EVEN CARES!!!one1
Gibreficul
09-21-2011, 02:08 PM
Hey, if you want me to be the monster ya'll make me out to be, I will be that monster. It's YOUR Frankenstein, not mine.
Buckwheet
09-21-2011, 02:08 PM
Dude he will get hurt when it comes full circle and hits him! AND NOBODY EVEN CARES!!!one1
Someone is going to send him a malicious script to re-roll him!
Awesome.
AnticorRifling
09-21-2011, 02:18 PM
Hey, if you want me to be the monster ya'll make me out to be, I will be that monster. It's YOUR Frankenstein, not mine.
This is a classic "I was good IT WAS YOU that made me bad" excuse used to push blame for your own actions on other people. Well played. I didn't ever want to be mean TV MADE ME!!!!
Gibreficul
09-21-2011, 02:20 PM
and just for the record, I had a version of autoforge being tested that included some GUI setup... which will never see the light of day now. OH WELL.
http://a7.sphotos.ak.fbcdn.net/hphotos-ak-ash4/s720x720/321667_1916746370319_1591786654_31479793_115013799 2_n.jpg
Now let me tell you, every character I have is mastered in forging, I didn't do that for me. The biggest suggestion was a way to select what weapons to rank up, so... I added it, and... literally, during testing, you all decided to bring this thread back to life... and now... well, sorry. Man, sometimes it feels good to be the biggest asshole here.
Tgo01
09-21-2011, 02:23 PM
Hey, if you want me to be the monster ya'll make me out to be, I will be that monster. It's YOUR Frankenstein, not mine.
It's your fault I beat you! You made me do it!
Tgo01
09-21-2011, 02:25 PM
and just for the record, I had a version of autoforge being tested that included some GUI setup... which will never see the light of day now. OH WELL.
You mean there won't be another script uploaded that the creator will curse and yell at people when they ask questions then the creator will delete in a fit of rage and refuse to ever release it again?
OH NOES.
Cephalopod
09-21-2011, 02:26 PM
http://a3.l3-images.myspacecdn.com/images01/110/004f110c875e44bc770bafb5b091e83d/l.jpg
Tgo01
09-21-2011, 02:32 PM
Red All of the questions I got asked about the forge script were answered within the help options of the script... so.. congrats on backing up the lazy and illiterate. -Gib
Oh okay, my bad, you're not a dick then.
Gravebane525
09-21-2011, 02:35 PM
you know... you people in this thread are nuts...
but yer makin me want to learn how to do scripts in ruby. any advice on a place or a book or sumin to start on?
by the way... I don't know shit about programing right now.... thats come up in the google searches. are these ruby scripts really programing?
AnticorRifling
09-21-2011, 02:39 PM
1) Write your ideas like "I WANT TO KILL AN ORC AND USE A SHITTY ACCENT ON AN OOC MESSAGE BOARD" on a piece of paper.
2) Scan the paper and save the image as a .jpg
3) Change the file extension from .jpg to .cmd
4) Run the .cmd from inside of GS
That's about how much success you're going to have when it comes to writing scripts, I'm not saying it's a super difficult process but I am saying you're retarded.
Gravebane525
09-21-2011, 02:42 PM
I'm retarted but I'm like rainman light. I did ok figureing out wizard scripts just from going thru ones people already made and figureing out how to make the comands do what I wanted. but I figured ruby looks alittle more complicated so might be good to do some background reading first.
Buckwheet
09-21-2011, 02:52 PM
and just for the record, I had a version of autoforge being tested that included some GUI setup... which will never see the light of day now. OH WELL.
http://a7.sphotos.ak.fbcdn.net/hphotos-ak-ash4/s720x720/321667_1916746370319_1591786654_31479793_115013799 2_n.jpg
Now let me tell you, every character I have is mastered in forging, I didn't do that for me. The biggest suggestion was a way to select what weapons to rank up, so... I added it, and... literally, during testing, you all decided to bring this thread back to life... and now... well, sorry. Man, sometimes it feels good to be the biggest asshole here.
And yet again you decide to condescend everyone here, while bitching about the lack of community for people who program in Lich.
Awesome.
http://en.wikibooks.org/wiki/Ruby_Programming
EAAAAAAAK
09-21-2011, 02:55 PM
sorry anticor this is IW u can ban me now just wanted to say
I'm retarted but I'm like rainman light. I did ok figureing out wizard scripts just from going thru ones people already made and figureing out how to make the comands do what I wanted. but I figured ruby looks alittle more complicated so might be good to do some background reading first.
....AHAHAHAHAHAHAHAHAHAHAHAHAHAHA
Gibreficul
09-21-2011, 02:59 PM
Programming/scripting with Ruby/Lich is a process. I always suggest, before even trying to read/write a Lich script, that it's good to have a base knowledge of regular expressions.
http://msdn.microsoft.com/en-us/library/1400241x(VS.85).aspx
ALSO:
http://rubular.com/
The above is for testing regular expressions.
Knowledge of regexps will basically translate a lot of the "random" characters you'll see. From then, you start small, and work up. There's enough information about Ruby on the web, my favorite resource for it is...
http://www.ruby-doc.org/docs/ProgrammingRuby/html/language.html#UJ
I still say the hardest part of any script is the idea of what to script. ONce you know what you want to do, it's a matter of finding the best way to go about it.
GOOD LUCK.
Buckwheet
09-21-2011, 03:05 PM
Programming/scripting with Ruby/Lich is a process. I always suggest, before even trying to read/write a Lich script, that it's good to have a base knowledge of regular expressions.
http://msdn.microsoft.com/en-us/library/1400241x(VS.85).aspx
ALSO:
http://rubular.com/
The above is for testing regular expressions.
Knowledge of regexps will basically translate a lot of the "random" characters you'll see. From then, you start small, and work up. There's enough information about Ruby on the web, my favorite resource for it is...
http://www.ruby-doc.org/docs/ProgrammingRuby/html/language.html#UJ
I still say the hardest part of any script is the idea of what to script. ONce you know what you want to do, it's a matter of finding the best way to go about it.
GOOD LUCK.
This post is helpful. Hopefully more of things to come.
Cephalopod
09-21-2011, 03:08 PM
I'm retarted but I'm like rainman light. I did ok figureing out wizard scripts just from going thru ones people already made and figureing out how to make the comands do what I wanted. but I figured ruby looks alittle more complicated so might be good to do some background reading first.
http://www.profilebrand.com/funny-pictures/category/cats/608_stop-posting.gif
Meh the really hard thing about learning to program in lich is that it has virtually nothing to do with traditional ruby programming except syntax. Most people who traditionally learn ruby do it for web development and you simply would not know to use game objects and how to handle game IO except by seeing it done by other people and being told how the client handles those things.
Gravebane525
09-21-2011, 03:38 PM
thanks much, when I get home tonight I'll go thru the sites listed and some ruby scripts and see if I can;t figure out how they work to start. there a few scripts I would already like, some I think alot of the work is done and just needs to be altered to make do what I want.
Donquix
09-21-2011, 03:38 PM
Meh the really hard thing about learning to program in lich is that it has virtually nothing to do with traditional ruby programming except syntax. Most people who traditionally learn ruby do it for web development and you simply would not know to use game objects and how to handle game IO except by seeing it done by other people and being told how the client handles those things.
true but still, it will teach the syntax, regex, working with functions (even if they are lich/GS specific), etc. in a familiar environment that's hopefully fun for you to explore the possibilities with, and offers tons of practical applications for you to practice on. It's a good place to get your feet wet if you're interested in learning ruby or programming in general.
This is a huge help also, wasn't mentioned in the earlier links. Has (most?) of the lich specific methods/objects like gameobjs, checkhealth, etc.:
http://www.krakiipedia.org/wiki/Lich_scripting_reference
subzero
09-21-2011, 05:50 PM
Meh the really hard thing about learning to program in lich is that it has virtually nothing to do with traditional ruby programming except syntax. Most people who traditionally learn ruby do it for web development and you simply would not know to use game objects and how to handle game IO except by seeing it done by other people and being told how the client handles those things.
I'd agree with that. Before I started trying to write some scripts, I did some reading on sites posted here and for the most part, they didn't help a whole lot. Once I opened up some scripts and started working with the things people were using in game and seeing how they worked and how I could tweak them, it got a lot easier. Also, ;tune code. When I see people yappin about things in there that I'm not familiar with, I copy/paste it into a file I keep around for the purpose of collecting such things.
SpiffyJr
09-21-2011, 06:12 PM
The last time I played I didn't let anyone know except for Tillmen and one other. I didn't get a single script request or bug fix request. :)
Boora
09-21-2011, 08:06 PM
wooooow
how the hell did this shit storm get started....?
Oh, I asked a ?
Whoops.
It was my fault, but I couldn't figure out exactly what was happening to solve the problem. The character was dropping the forging-hammer. Oddly enough, the janitor picked up the forging-hammers WHILE the character was still in the room. (Which I did bug at the behest of a GM).
The problem occurs when pausing the script, leaving the forging room to heal, sing, exchange items, etc, then entering back in and unpausing the script.
Solution: kill the script to do extraneous activities outside of autoforge.
Sorry Gib, I really didn't expect this sort of response. I'd actually wondered if there was anyone else that could spot the trouble within my actions and the script that caused the problem.
As always Gib, I appreciate what you've done and still learning ruby and scripting so I don't have to ask dumb questions.
And for everyone else, the scripting discussions posted here have been an immense help in learning. That's a huge benefit for me. Thanks.
Bobmuhthol
09-21-2011, 08:19 PM
It's refreshing to see that people who are actually friendly with Big Lucifer take shit from him for no reason too.
Gibreficul
09-21-2011, 08:42 PM
It's refreshing to see that people who are actually friendly with Big Lucifer take shit from him for no reason too.
Yup, I gave Boora a ton of shit. I replied here like the dickhead you all expect me to be... but when I knew Boora was logged in, I PMed him asking about his issue, and let him know what his bug was, and how to prevent it in the future. I was pretty nice about it too.
I'm pretty sure Boora knows me enough to realize my mean/snippy reply to his post/question was mostly for shock value. If I didn't consider Boora a friend, I probably wouldn't have replied at all. I didn't expect to get run down by the posse of PC Police fags. OH NO, SOMEONE WASN'T NICE. Let's start throwing stones out of our glass houses.
Buckwheet
09-21-2011, 08:44 PM
Yup, I gave Boora a ton of shit. I replied here like the dickhead you all expect me to be... but when I knew Boora was logged in, I PMed him asking about his issue, and let him know what his bug was, and how to prevent it in the future. I was pretty nice about it too.
I'm pretty sure Boora knows me enough to realize my mean/snippy reply to his post/question was mostly for shock value. If I didn't consider Boora a friend, I probably wouldn't have replied at all. I didn't expect to get run down by the posse of PC Police fags. OH NO, SOMEONE WASN'T NICE. Let's start throwing stones out of our glass houses.
Please elaborate on my glass house.
Gibreficul
09-21-2011, 08:55 PM
Please elaborate on my glass house.
Oh yea, you're holier than thou. Let me bow down.
Had you left it alone, and not tried to be the PC policeman going after the big bad Gib Troll, this problem would have been solved between Boora and me in private. Fortunately, the PC is proving to be the exact community of jackasses I have no desire to share with, and frankly, am embarrassed to be a part of at this point in time.
Your glass house was built when you stepped into shit you had no business being around... and then putting, what, 2-3 posts REMINDING me of how you were my martyr when I had some issues with my script directory getting cleared by the Lich installer/uninstaller. You want a fucking cookie? Like YOU were the only one with copies... please... Appreciate what you did, yes, but your arm will eventually fall off if you keep patting yourself on the back for knowing how to attach a file to an email.
Buckwheet
09-21-2011, 08:59 PM
Oh yea, you're holier than thou. Let me bow down.
Had you left it alone, and not tried to be the PC policeman going after the big bad Gib Troll, this problem would have been solved between Boora and me in private. Fortunately, the PC is proving to be the exact community of jackasses I have no desire to share with, and frankly, am embarrassed to be a part of at this point in time.
Your glass house was built when you stepped into shit you had no business being around... and then putting, what, 2-3 posts REMINDING me of how you were my martyr when I had some issues with my script directory getting cleared by the Lich installer/uninstaller. You want a fucking cookie? Like YOU were the only one with copies... please... Appreciate what you did, yes, but your arm will eventually fall off if you keep patting yourself on the back for knowing how to attach a file to an email.
So what is my glass house again? You posted publicly. You could have chosen to resolve it yourself privately.
So please, I implore you, tell me what my glass house is. I never called you a troll, and I never went after you. I simply restated everything you have already admitted to by saying you are socially retarded in dealing with people. I also pointed out, that unlike me, when you complained about a community you did nothing to change it.
When I complained about a community, I actually did something about it.
By the way, you can suck me off later for giving you this place to post. One of us actually follows through with their dissatisfaction with the status quo. I will let you figure out which one of us it is.
Hint: Its not you.
Gibreficul
09-21-2011, 09:31 PM
Let me put this in as plain and simple terms as I can....
There's a post in this thread, if you read, that's me ranting about not sharing, not supporting, don't ask, don't bribe, ect...
Boora posts asking for help, I tell him to piss off... (I know he laughed when he read it, he KNOWS how I am.)
YOU got offended by the way I appeared to deal with the problem in public, unaware of how I was REALLY handling the problem in private. YOU STEPPED IN SHIT. At that point, your glass house was built up around you... and you keep throwing stones, even though Boora's back off in the forge, error free, and content with the help I provided earlier today. SINCE there is no problem, no bug, no error anymore, all this is moot, and just goddamn hilarious that ya'll say you don't care, but make a big fucking deal of anything I do here. And for the record, preseason or not, Penguins beat the Red Wings, good luck getting this big ass smile off my face.
Boora
09-21-2011, 10:21 PM
hell yeah.. That's right.. The Penguins!
Woot! Woot!
SuckADickGib
09-22-2011, 09:38 AM
Thanks for re-affirming my decision to consider you all classless stupid peons.
Glad I could help Gibreficul. Now, go suck a dick you whiny cry baby motherfucker.
Time you use your leet scripting skillz to program your way out of retardation.
OH NOES DID I JUST STEP IN YOUR SHIT!
Fucking hilarious man. You aren't relevant anymore. You are a hack programmer who knows nothing other than how to put half assed code together. You say people are holier than thou, look at your attitude jackass.
You are holier than thou when it comes to anything GS related.
Iorakewarhammer is a better scripter than you. Now, take your dick out of your dad's ass, go back down into the basement, and let your mom finish you off while you rage over how cool your scripts are.
You worthless fucking hack.
AnticorRifling
09-22-2011, 09:51 AM
You mad brah?
Gibreficul
09-22-2011, 09:54 AM
Glad I could help Gibreficul. Now, go suck a dick you whiny cry baby motherfucker.
Time you use your leet scripting skillz to program your way out of retardation.
OH NOES DID I JUST STEP IN YOUR SHIT!
Fucking hilarious man. You aren't relevant anymore. You are a hack programmer who knows nothing other than how to put half assed code together. You say people are holier than thou, look at your attitude jackass.
You are holier than thou when it comes to anything GS related.
Iorakewarhammer is a better scripter than you. Now, take your dick out of your dad's ass, go back down into the basement, and let your mom finish you off while you rage over how cool your scripts are.
You worthless fucking hack.
LOL, I needed a good laugh before I head off to sleep... Thanks chief.
For the record, you should take that outdated version of autoforge, print it out, fold up the paper into a little triangle, stick it on the end of a pen, and SHOVE IT UP YOUR FUCKING NOSE. Maybe you'll relieve some pressure from up there and cease to be a retard. Or maybe it'll kill you, either way, the world would be a better place.
They only troll those they envy. Oh, how GREEN they all are... (and so is the majority of the rep I'm getting from this.)
Buckwheet
09-22-2011, 09:57 AM
http://media.comicvine.com/uploads/9/97509/1733676-u_mad_bro_super.jpg
SuckADickGib
09-22-2011, 10:03 AM
Stuff a piece of paper in my nose?
Really?
How much smack have you done over night you fucking junkie?
AnticorRifling
09-22-2011, 10:10 AM
They only troll those they envy. Oh, how GREEN they all are... (and so is the majority of the rep I'm getting from this.)
Rep is srs.
Sean of the Thread
09-23-2011, 12:45 AM
LOL, I needed a good laugh before I head off to sleep... Thanks chief.
For the record, you should take that outdated version of autoforge, print it out, fold up the paper into a little triangle, stick it on the end of a pen, and SHOVE IT UP YOUR FUCKING NOSE. Maybe you'll relieve some pressure from up there and cease to be a retard. Or maybe it'll kill you, either way, the world would be a better place.
They only troll those they envy. Oh, how GREEN they all are... (and so is the majority of the rep I'm getting from this.)
Fuckin A man you told him.
ffs
Gravebane525
09-23-2011, 08:11 AM
well this looks like its both easier and harder then I thought. easier cause that dforge looks like a normal wizard script with a few minor changes. I can use that set up to do a few of the scripts I wanted. harder because most of the others I think of as real lich scripts still look mostly like random jibberish to me.
Gravebane525
09-26-2011, 07:09 AM
well I got my first lich script up and running saterday morning. have been running it trying to find anyplace it catches and have fixed a few. its written to run in lich but looks and works more like a wiz/sf script. it does berserk training in Vaalor, least the non critter ones. now that I got one town written it wouldn;t be to hard to add other towns into it if people were interested, I'd just need the name of the taskmaster and guild master for each town.
I was gonna write it out in crayon for AR and post a picture of it on here.. but its long and I don't feel like writing all that out.
trall541
09-26-2011, 11:10 PM
why rework the wheel, autowar works just fine for anything but critter reps...
Flessen
09-27-2011, 04:27 AM
Autowar used to work for critter reps too. Did something change on it? Maybe you need a old version of slib?
Gravebane525
09-27-2011, 07:08 AM
I'm to retarded to get autowar running. was easier to write my own script for dummies then figure that one out. being retarded I like the KISS way of dealing with things. go to the trainer... start the script... no settings to worry about no variables to enter... no set up required.
Chainsaw Laserman
01-16-2013, 01:53 AM
This reminds me of this. (http://dl.dropbox.com/u/6213850/WebGL/nyanCat/nyan.html)
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.