Author Topic: Magic Residue Creator. Help Appriciated.  (Read 3796 times)

0 Members and 1 Guest are viewing this topic.

Offline CoraginTopic starter

  • Wacko in Pajama's
  • Elite
  • *
  • *
  • Posts: 1641
  • Activity:
    0%
  • Reputation Power: 23
  • Coragin might someday be someone...Coragin might someday be someone...Coragin might someday be someone...Coragin might someday be someone...
  • Gender: Male
  • It Is What It Is.
  • Respect: +94
  • Referrals: 1
    • View Profile
Magic Residue Creator. Help Appriciated.
« on: September 28, 2009, 09:19:38 PM »
0
Okay, so if you make oak bows and then unravel them, they yield Magic Residue for training.  Actually works with any boards that are colored.  So, here is the script I want to write, but since I have been out of the loop for so long, I completely forgot almost everything.  But, here is the basic outline...

Bag on ground with Ingots to make fletchers tools, all colored boards to make bows only and where magical residue is deposited. 
Uses either unravel bag or unravel from gump.
Grabs boards (450 is what I do by hand)
Checks resources in pack, like tools, boards ect
After each unravel places residue in secure (if using unravel bag).
Checks for weight, when it grabs more boards, also puts residue in secure.

This is the basic outline of the script.  Like I said, I have been out of the loop for awhile now, so if anyone can contribute to code here it would be great.  This is a script I am sure EVERYONE would enjoy and want.  I am pretty sure this can be done with colored ingots too.  But as a community, I am sure all the minds here adding stuff this could be done quite quick.  I setup I think all the variables needed and the subs to go with them.  Feel free to delete, condense or add to.  I dont want any credit for this, just would like to get it up and running semi in what I got written here so I can re-learn.  Dont have time to work on this tonight, wont be for a few days before I can sit down and play (daughter is 3, so shes a handful).

So, who is willing to help?  Below is my basic code and outline with explainations.

Code: [Select]
set %tinkertools GTL_KTL_JTL
set %backpack ??????
set %magicresidue ??????
set %fletchertools UFG
set %boards TLK
set %boardcount 450
set %ironingots ENK
set %maxfletchertools 10
set %maxtinkertools 10
gosub TargetSecure

MainLoop:
gosub CheckForResources
gosub FindFletcherTool
gosub UseFletcherTool
gosub Unravel

sub CheckForResources
(Check for boards (in pack and secure), Fletcher Tools, Tinker Tools (in pack and secure), if Magic Residue in pack move to secure, move boards to pack, ect)
if %maxfletchertools < 2
gosub MakeFletcherTools

if %maxtinkertools < 2
        gosub MakeTinkerTools

if %ironingots < 10
        gosub End

if %packboards < 10
        gosub GetBoards

gosub CheckPackResidue

if %magicresidue #true
        gosub MoveResidue

return

sub FindFletcherTool
(find the fletcher tools duh lol)
return

sub UseFletcherTool
(make a bow)
return

sub Unravel
(use imbuing gump to unravel bow and move residue into secure)
return

sub TargetSecure
(I have no idea how to do this, but it will open a target cursor and recorde your secure container with boards, ingots and tinker tools ect)
return

sub MakeFletcherTools
(make tools)
return

sub MakeTinkerTools
(make tools)
return

sub GetBoards
(Check secure for boards, if it has some, move to pack, if not gosub end)
return

sub End
(ending the script due to lack of resources)
end

sub GetBoards
(Get Boards from Secure, move to pack)
return

sub CheckPackResidue
(check backpack for magic residue, if yes, return #true
return

sub MoveResidue
(move magic residue from pack to secure)
return
Coragin

My Facebook
And now I'm better at doing what ever it is Wolverine does!

Scrripty

  • Guest
Re: Magic Residue Creator. Help Appriciated.
« Reply #1 on: September 28, 2009, 11:01:54 PM »
0
Code: [Select]
set %tinkertools GTL_KTL_JTL
set %backpack ??????
set %magicresidue ??????
set %fletchertools UFG
set %boards TLK
set %boardcount 450
set %ironingots ENK
set %maxfletchertools 10
set %maxtinkertools 10
gosub TargetSecure

MainLoop:
gosub CheckForResources
gosub FindFletcherTool
gosub UseFletcherTool
gosub Unravel

sub CheckForResources
(Check for boards (in pack and secure), Fletcher Tools, Tinker Tools (in pack and secure), if Magic Residue in pack move to secure, move boards to pack, ect)
if %maxfletchertools < 2
gosub MakeFletcherTools

if %maxtinkertools < 2
        gosub MakeTinkerTools

if %ironingots < 10
        gosub GETMOREINGOTSFROMSECURE

if %packboards < 10    ;might want to put back remaining
        gosub GetBoards ;after crafting and grab set amount

gosub CheckPackResidue

if %magicresidue #true
        gosub MoveResidueTOSECURE

return

sub FindFletcherTool
(find the fletcher tools duh lol)
return

sub UseFletcherTool
(make a bow)
return

sub Unravel
(use imbuing gump to unravel bow and move residue into secure)
return

sub TargetSecure
(I have no idea how to do this, but it will open a target cursor and recorde your secure container with boards, ingots and tinker tools ect)
return

sub MakeFletcherTools
(make tools)
return

sub MakeTinkerTools
(make tools)
return

sub GetBoards AND INGOTS
(Check secure for boards, if it has some, move to pack, if not gosub end)
return

sub End
(ending the script due to lack of resources)
end

sub CheckPackResidue
(check backpack for magic residue, if yes, return #true
return

sub MoveResidue
(move magic residue from pack to secure)
return

Offline draxxter

  • Jr. Member
  • **
  • Posts: 38
  • Activity:
    0%
  • Reputation Power: 0
  • draxxter has no influence.
  • Respect: +2
  • Referrals: 0
    • View Profile
Re: Magic Residue Creator. Help Appriciated.
« Reply #2 on: September 29, 2009, 01:51:16 AM »
0
Actually works with any boards that are colored.

Not true, ASH does not work for some reason. OAK, YEW and the rest seems to work. Did not test FROSTWOOD though.

Offline Masscre

  • Gran Master Jester !!
  • Scripthack
  • *
  • Posts: 4615
  • Activity:
    0%
  • Reputation Power: 55
  • Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!
  • Gender: Male
  • Air Guitar Commander !!
  • Respect: +243
  • Referrals: 1
    • View Profile
Re: Magic Residue Creator. Help Appriciated.
« Reply #3 on: September 29, 2009, 05:49:35 AM »
0
I will test ash and frost and give some feedback on them.  I am also working on the same project coragin.  So to help out i will look over what you have and try to repost some more script today if i can get my work for my job done first :)

Offline CoraginTopic starter

  • Wacko in Pajama's
  • Elite
  • *
  • *
  • Posts: 1641
  • Activity:
    0%
  • Reputation Power: 23
  • Coragin might someday be someone...Coragin might someday be someone...Coragin might someday be someone...Coragin might someday be someone...
  • Gender: Male
  • It Is What It Is.
  • Respect: +94
  • Referrals: 1
    • View Profile
Re: Magic Residue Creator. Help Appriciated.
« Reply #4 on: September 29, 2009, 06:28:54 AM »
0
Thanks for the reply guys.  I actually dont mind if someone already makes one, I will scrap this as I am way rusty and someone else could probably do much better and faster.
Coragin

My Facebook
And now I'm better at doing what ever it is Wolverine does!

Offline NObama

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +252
  • Referrals: 2
    • View Profile
Re: Magic Residue Creator. Help Appriciated.
« Reply #5 on: September 29, 2009, 08:04:26 PM »
0
I can also confirm that ASH doesn't work.  Pity.  I have about 1.5M ASH boards that didn't go into the chipper (donator).

 :)

Offline draxxter

  • Jr. Member
  • **
  • Posts: 38
  • Activity:
    0%
  • Reputation Power: 0
  • draxxter has no influence.
  • Respect: +2
  • Referrals: 0
    • View Profile
Re: Magic Residue Creator. Help Appriciated.
« Reply #6 on: September 29, 2009, 10:35:40 PM »
0
HEARTWOOD also does not always work, cause of random property.

Anyone tested FROSTWOOD yet, i am out long time now :)

Offline cgeorgemo

  • Hero Member
  • *
  • Posts: 586
  • Activity:
    0%
  • Reputation Power: 5
  • cgeorgemo has no influence.
  • Gender: Male
  • I'm Brian...cgeorgemo is Curious George Missouri
  • Respect: +29
  • Referrals: 1
    • View Profile
Re: Magic Residue Creator. Help Appriciated.
« Reply #7 on: September 29, 2009, 10:42:58 PM »
0
Frostwood does work. but it doesn't give any more residue than oak.
Sarcasm is your body's natural defense against stupidity.

Offline Masscre

  • Gran Master Jester !!
  • Scripthack
  • *
  • Posts: 4615
  • Activity:
    0%
  • Reputation Power: 55
  • Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!
  • Gender: Male
  • Air Guitar Commander !!
  • Respect: +243
  • Referrals: 1
    • View Profile
Re: Magic Residue Creator. Help Appriciated.
« Reply #8 on: September 30, 2009, 06:50:52 PM »
0
OK frostwood wil give residue and ash will not unless made with a runic, but frost wood is not worth it for the cost.  Check out the below link.  It is my working script of the above idea.

http://www.scriptuo.com/index.php?topic=2787.0

Tags: