Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - coachcraig

Pages: [1]
1
Resource Farming / Re: Lugz Barb Leather Getter
« on: December 11, 2017, 11:34:19 AM »
I did a test of the script yesterday. I started at the kill spot with a BoS fully charged in my pack and a stack of 100 powders to recharge BoS. I commented out the looting of gold and gems and concentrated on the script sending the leathers when I was at or near max weight. The script would not send the leathers so I manually sent them (how ever before I turned off looting gold the script did send gold to the bank once I hit the weight limit). I waited for until my BoS was all the down to 0 charges to see if the script would recharge the BoS. It did not. So that's two issues I need to test and figure out now. Once I can get this script to start sending the leathers I'll be set.... :)

UPDATE: I may have answered my own question. I commented out the loot so maybe that's why it didn't find the leather? I'll have to test that theory when I get off work...

2
Resource Farming / Re: Lugz Barb Leather Getter
« on: December 10, 2017, 01:17:17 PM »
I would start with checking the itemid of the BOS and making sure it matches what the script is using, especially if you are on a free shard.

It sends the gold just fine it's just the leather that's it's having a problem with for me. Other than that the script works good. I haven't had the time this weekend to investigate why it's not sending the leather but will probably tackle that first thing this week.

3
Resource Farming / Re: Lugz Barb Leather Getter
« on: December 09, 2017, 04:22:54 PM »
Yes this scripts works for what I need it to. Only issue I have is that it's not sending the leather via bos. I'm new at scripting but will try to find out why that portion is not working for me.

Awesome script...!

4
Crafting / Re: TG Crafting Factory 2.7
« on: December 08, 2017, 07:17:15 AM »
hehe I learn something new every day!

5
Crafting / Re: TG Crafting Factory 2.7
« on: December 07, 2017, 08:08:09 PM »
It makes cake mix and cookie mix now. That's all I did was add that one line with a wait in between.

sub MakeCookieMix
gosub StatusBox Making Cookie Mix ...
      repeat
      {
        gosub StatusBox Making Cookie Mix ...
         finditem SGG C_ , #BackPackID     ; Open  Sack of Flour
          if #findkind = -1
              {
                gosub TG_ClearPack NGG %Resource_Secure
                 wait %sWait
                       finditem %Sack_Flour C_ , #BackPackID     ;  Sack of Flour
                         if #findkind = -1
                         {
                         gosub TG_Restock %Resource_Secure %Sack_Flour 3
                             if #RESULT = #FALSE
                             {
                             Display You seem to be out of Flour. Please restock and Resume. Script Pausing!
                             gosub PauseCraft
                             }
                          }
                    wait %sWait
                  gosub OpenFLour
               }
        gosub MWCraft Cooking N/A 1 1 2 ; dough
        wait %sWait

        finditem KRD C_ , #BackPackID    ;Honey
          if #findkind = -1
             {
               gosub TG_Restock %Resource_Secure KRD 20
                  if #RESULT = #FALSE
                   {
                   Display You seem to be out of honey. Please restock and Resume. Script Pausing!
                   gosub PauseCraft
                   }
             }
              gosub MWCraft Cooking N/A 1 1 3    ; Sweet Dough
              wait %sWait
              gosub MWCraft Cooking N/A 1 1 5    ; Cookie Mix
             gosub CheckPause
        }
    until #findkind = -1
     wait %sWait
    Return


I've also got it making all the unbaked items too. Below is what I used for that. I set variables for the ingredients needed. Replacing each sub with the different ingredients needed.

 sub MakeQuiche
   gosub StatusBox Making Unbaked Quiche ...
    gosub MWCraft Cooking N/A 2 1 1
      repeat
      {
        gosub StatusBox Making Unbaked Quiche ...
         finditem %Dough C_ , #BackPackID
          if #findkind = -1
           {
             gosub TG_ClearPack CCG %Resource_Secure
               wait %sWait
                 gosub TG_Restock %Resource_Secure %Dough %Supply_Drag_Amount
                        if #RESULT = #FALSE
                      {
                       Display You seem to be out of Dough. Please restock and Resume. Script Pausing!
                       gosub PauseCraft
                      }
                       wait %mWait
                 gosub TG_Restock %Resource_Secure %Eggs %Supply_Drag_Amount
                        if #RESULT = #FALSE
                      {
                       Display You seem to be out of Eggs. Please restock and Resume. Script Pausing!
                       gosub PauseCraft
                      }
                       wait %mWait
           }
           gosub StatusBox Making Unbaked Quiche ...
           gosub MWCraft Cooking MakeLast
           ;  gosub CheckPause
        }
    until #findkind = -1
     wait %sWait
    Return

Thanks again Ghost! You're so awesome!

6
Crafting / Re: TG Crafting Factory 2.7
« on: December 07, 2017, 05:56:29 PM »
Coach,
 I upload Ver 2.7 that have sweet dough support.   Look how I done it.   Insert the same sub , I perform the task in two step.

Nice! Ok so looking at this I could add one more gosub after

gosub MWCraft Cooking N/A 1 1 3    ; Sweet Dough

to make cake mix and/or cooking mix since there's already an open sack of flour. The line I'm thinking would be

gosub MWCraft Cooking N/A 1 1 4    ; Cake Mix
or
gosub MWCraft Cooking N/A 1 1 5    ; Cookie Mix

Is that right or am I completely wrong.

And thanks again for the super fast response. Amazing script btw.

7
Crafting / Re: TG Crafting Factory 2.5
« on: December 07, 2017, 03:41:00 PM »
Hey Ghost,
First of all Thank You for this script. Works beautifully.

This is my first attempt at coding/messing with scripts. I do a lot of cooking and making ALL the cooking items is a must for filling the BODs. I saw your script as the best option for making the items I needed. I added some subs to this script to make the following.

Sweet Dough, Cake Mix, Cookie Mix, unbaked quiche, unbaked meat pie, uncooked sausage pizza, uncooked cheese pizza, unbaked fruit pie, unbaked peach cobbler, unbaked apple pie and unbaked pumpkin pie.

However, two subs I cannot figure out. MakeCakeMix and MakeCookieMix.
1. For the cake mix I used the makedough sub and added in a restock for %SweetDough (LGG which is the same for Dough) right after the sub to open sack of flour. It grabs the sack of flour good but skips the restock for the SweetDough.
2. For the cookie mix the sub has a find item %SweetDough then has two gosub for restocking SweetDough and Honey. Again it will not pull the SweetDough.

Any help with this and to better help me understand how the code works would be greatly appreciated. Would love to email you what I have so far to see if you would like to add any of it or to let me know what I've done wrong for those two subs.

Again HUGE THANK YOU!!!!!!
CoachCraig

8
Script Debug / Re: simple for you, but hard for this newbe
« on: November 30, 2011, 04:23:43 AM »
i did last night. i got to looking at it a little more closely and this is the new script and even took out an extra line of code. and thank you for your input.  ;)
i'm so excited to get my first done. now i'm on to tackling other tasks and once i learn basics and get used to scripting i hope to contribute to the community.
;=================================================================
; Script Name: The Shoe Eating Goat
; Author: Coachcraig
; Version: 1.0
; Shard OSI / FS: OSI / FS OK
; Revision Date: 11/29/2011
; Purpose: to get rid of those annoying shoes, boots, sandels and thigh boots
; Globals: None
;=================================================================
;add you goat's #findID here
set %goat DBVFUB

;shoe types are set here
set %shoe PVI_AWI_ZVI_CWI_NVI_QVI_TVI_OVI



;==================Mainloop=============================
SUO:
Msg All Follow Me$
repeat
gosub get_shoe_and_feed_goat
until #CharGhost = YES
while #CharGhost = YES
  wait 0
GoTo SUO



;==================Subloop=============================
sub get_shoe_and_feed_goat
findItem %shoe C_ , #backpackID
    if #findKind = -1
      return
exevent Drag #findID
wait 10
exevent dropc %goat
Msg There ya go boy. Eat up.$
wait 15
return

9
Script Debug / Re: simple for you, but hard for this newbe
« on: November 29, 2011, 05:47:19 PM »
that worked. You have no idea how much that means.  ;D
my first script with your help!!!

thank you TrailMyx very much

10
Script Debug / Re: simple for you, but hard for this newbe
« on: November 29, 2011, 05:32:03 PM »
Ah I see. changed that but it still trys and drags the item over but it doesn't recognize the goat. Any idea as to why it's not seeing the goat?

and thank you for the response.

11
Script Debug / simple for you, but hard for this newbe
« on: November 29, 2011, 05:23:09 PM »
So this is my very first atempt at writing a script. I read the tutorials and tried to write a simple "First" script. LOL...well... the script is supposed to check to see if there are shoes in the backpack. If so, it's supposed to drag them and drop them on your pet goat. I've got the script to do everything but drop them on the goat. Just wanted to know if anyone could look at this and let me know what i'm doing wrong.

;=================================================================
; Script Name: The Shoe Eating Goat
; Author: Coachcraig
; Version: 1.0
; Shard Origin
; Revision Date: 11/29/2011
; Purpose: to get rid of those annoying shoes, boots, sandels and thigh boots
; Globals: None
;=================================================================
set %goat ZF
set %shoe PVI_AWI_ZVI_CWI_NVI_QVI_TVI_OVI



;==================Mainloop=============================
SUO:
repeat
gosub get_shoe_and_feed_goat
until #CharGhost = YES
while #CharGhost = YES
  wait 0
GoTo SUO



;==================Subloop=============================
sub get_shoe_and_feed_goat
findItem PVI_AWI_ZVI_CWI_NVI_QVI_TVI_OVI C_ , #backpackID
    if #findKind = -1
      return
event Drag #findID
wait 3
set #ltargetid %goat
exevent dropc %goat
Msg There ya go boy. Eat up.$
wait 5
return

12
New member introductions / Re: hi there im new to scriptuo
« on: November 29, 2011, 10:19:05 AM »
Welcome!!! (this is Will from Origin)

13
Resource Farming / Re: Seerius High Seas Land Fisher v1.5b
« on: November 13, 2011, 06:03:05 AM »
COOL!!! trying it out today. will let you know results tomorrow.... thanks again.

so far so good!!!

Post Merge: November 13, 2011, 08:57:01 PM
I've been running this script all day long with the new Chiv addon and it works BEAUTIFULLY!!!!! Four big Thumbs UP!!!

14
Resource Farming / Re: Seerius High Seas Land Fisher v1.5
« on: November 12, 2011, 09:04:38 PM »
this sounds great, but will you be adding a chiv option to your script?

15

Pages: [1]