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 - Cush

Pages: [1] 2 3 ... 19
1
I have used this script daily for years it is absolutely one of the best. Thank You again!


2
Script Debug / Re: Need a little help on this. I am a rookie!
« on: January 04, 2021, 02:28:50 PM »
Hey Gaderian,

Thanks! I totally missed the attachment I was focused on understanding the snippet you posted :-) Thank you I will check it out!

Cush

3
Script Debug / Re: Need a little help on this. I am a rookie!
« on: January 04, 2021, 02:10:22 PM »
Hi @Gaderain,

I was able to fool around with this a bit more.

Interesting development is now when the cloth is cut the bandages dropped to the ground. They are the same weight as each other so you would think they should replace each other. I added your part to pick the bandages off the ground and that is working fine. Seems like the script could go a little faster as well.

I am not clear on exactly where to add the open backpack line you mentioned above.

Code: [Select]
;==================================
; Script Name: Bolts -> Bandages
; Purpose: transfers Bolts to normal Bandages
;==================================


display ok Target your resource container:
set #targcurs 1
repeat
 wait 1
until #targcurs = 0
set %secure #ltargetid
;set %secure HEROXRD ; set here the id of your resource container

;Items Vars
set %scissors KAG
set %cloth CUI
Set %bolt ZZF
Set %Bandage ZLF

; Wait Timer feel free to adjust if you have timing related Error Msg.
Set %DelayEvent 20     ; Waittime for Event Macro Function
Set %DelayDrag 15      ; Waittime before Object Movement
Set %DelayDrop 10      ; Waittime after Object Movement
Set %Delay 5           ; Waittime

finditem %scissors C_ , #backpackid
if #findkind = -1
halt
set %scissors #findid

finditem %secure
while #findkind = -1
{
      event macro 1 0 bank
      wait %DelayEvent
      finditem %secure
}
if #contid <> %secure
{
   set #lobjectid %secure
   event macro 17 0
   while #contid <> %secure
   {
         wait %Delay
   }
   wait %DelayEvent
}
finditem %bolt C_ , %secure
while #findkind <> -1
{
      set %dragamount #maxweight - #weight
      set %dragamount %dragamount / 5
      set %dragamount %dragamount - 1
      if #findstack < %dragamount
         set %dragamount #findstack
      if %dragamount <> 0
      {
         exevent drag #findid %dragamount
         wait %DelayDrag
         exevent dropc #backpackid
         wait %DelayDrop
      }
      finditem %bolt C_ , #backpackid
      if #findkind <> -1
      {
            for #findindex 1 #findcnt
            {
             set #lobjectid %scissors
             event macro 17 0
             target 20
             set #ltargetid #findid
             set #ltargetkind 1
             event macro 22 0
             wait %DelayEvent
            }
      }
      finditem %cloth C_ , #backpackid
      if #findkind <> -1
      {
            for #findindex 1 #findcnt
            {
             set #lobjectid %scissors
             event macro 17 0
             target 20
             set #ltargetid #findid
             set #ltargetkind 1
             event macro 22 0
             wait %DelayEvent
            }
      }
     
      finditem %bandage G_2
      if #findcnt > 0
      {
           for #findindex 1 #findcnt
           {
           exevent drag #findid #findstack
           wait %DelayEvent
           exevent dropc %secure
           wait %DelayEvent
           }
      }
      gosub dragcleanbandage
      finditem %Bolt C_ , %secure

}
return

sub dragcleanbandage
      finditem %Bandage C_ , #backpackid
      while #findkind <> -1
      {
            exevent drag #findid #findstack
            wait %DelayDrag
            exevent dropc %secure
            wait %DelayDrop
            finditem %Bandage C_ , #backpackid
      }
return

4
Script Debug / Re: Need a little help on this. I am a rookie!
« on: January 03, 2021, 12:16:01 PM »
OK I have not had a chance to get all your suggestions added lol ran out of bolts so building those now for more testing. This is where I am at so far. Had the just in case backpack drop in and there but took it out so I could trouble shoot some wait times. Will add that and the part for the floor items next.

Code: [Select]
;==================================
; Script Name: Bolt's -> Bandages
; Purpose: transfers Bolts to normal Bandages
;==================================


display ok Target your resource container:
set #targcurs 1
repeat
 wait 1
until #targcurs = 0
set %secure #ltargetid
;set %secure HEROXRD ; set here the id of your resource container

;Items Vars
set %scissors KAG
set %cloth CUI
Set %bolt ZZF
Set %Bandage ZLF

; Wait Timer feel free to adjust if you have timing related Error Msg.
Set %DelayEvent 20     ; Waittime for Event Macro Function
Set %DelayDrag 15      ; Waittime before Object Movement
Set %DelayDrop 10      ; Waittime after Object Movement
Set %Delay 5           ; Waittime

finditem %scissors C_ , #backpackid
if #findkind = -1
halt
set %scissors #findid

finditem %secure
while #findkind = -1
{
      event macro 1 0 bank
      wait %DelayEvent
      finditem %secure
}
if #contid <> %secure
{
   set #lobjectid %secure
   event macro 17 0
   while #contid <> %secure
   {
         wait %Delay
   }
   wait %DelayEvent
}
finditem %bolt C_ , %secure
while #findkind <> -1
{
      set %dragamount #maxweight - #weight
      set %dragamount %dragamount / 5
      set %dragamount %dragamount - 1
      if #findstack < %dragamount
         set %dragamount #findstack
      if %dragamount <> 0
      {
         exevent drag #findid %dragamount
         wait %DelayDrag
         exevent dropc #backpackid
         wait %DelayDrop
      }
      finditem %bolt C_ , #backpackid
      if #findkind <> -1
      {
            for #findindex 1 #findcnt
            {
             set #lobjectid %scissors
             event macro 17 0
             target 20
             set #ltargetid #findid
             set #ltargetkind 1
             event macro 22 0
             wait %DelayEvent
            }
      }
      finditem %cloth C_ , #backpackid
      if #findkind <> -1
      {
            for #findindex 1 #findcnt
            {
             set #lobjectid %scissors
             event macro 17 0
             target 20
             set #ltargetid #findid
             set #ltargetkind 1
             event macro 22 0
             wait %DelayEvent
            }
      }
      gosub dragcleanbandage
      finditem %cloth C_ , %secure
}
gosub dragcleanbandage
halt


sub dragcleanbandage
      finditem %Bandage C_ , #backpackid
      while #findkind <> -1
      {
            exevent drag #findid #findstack
            wait %DelayDrag
            exevent dropc %secure
            wait %DelayDrop
            finditem %Bandage C_ , #backpackid
      }
return


 


5
Script Debug / Re: Need a little help on this. I am a rookie!
« on: January 02, 2021, 08:27:59 AM »
Hey that is the one I helped you test out! Glad to see aids are on there now. :-)

6
Script Debug / Re: Need a little help on this. I am a rookie!
« on: December 31, 2020, 05:17:15 PM »
Thank you. Yes this is a OSI location.

After a little fixing of other things I got these up and running lol in my own messed up way. Anything I can do to stream lines these little guys.

Doesn't seem to stop when out of the items.


Code: [Select]
;==================================
; Script Name: bolts -> cloth
; Purpose: transfers bolts of cloth to nomral cloth
;==================================
display ok Target your resource container:
set #targcurs 1
repeat
 wait 1
until #targcurs = 0
set %secure #ltargetid
;set %secure HEROXRD ; set here the id of your resource container

set %scissors KAG
set %cloth CUI
Set %bolt ZZF
Set %Bandage ZLF

finditem %scissors C_ , #backpackid
if #findkind = -1
halt
set %scissors #findid

finditem %secure
while #findkind = -1
{
      event macro 1 0 bank
      wait 20
      finditem %secure
}
if #contid <> %secure
{
   set #lobjectid %secure
   event macro 17 0
   while #contid <> %secure
   {
         wait 1
   }
   wait 20
}
finditem %bolt C_ , %secure
while #findkind <> -1
{
      set %dragamount #maxweight - #weight
      set %dragamount %dragamount / 5
      set %dragamount %dragamount - 1
      if #findstack < %dragamount
         set %dragamount #findstack
      if %dragamount <> 0
      {
         exevent drag #findid %dragamount
         wait 3
         exevent dropc #backpackid
         wait 7
      }
      finditem %bolt C_ , #backpackid
      if #findkind <> -1
      {
            for #findindex 1 #findcnt
            {
             set #lobjectid %scissors
             event macro 17 0
             target 20
             set #ltargetid #findid
             set #ltargetkind 1
             event macro 22 0
            }
      }
      finditem %bolt C_ , #backpackid
      if #findkind <> -1
      {
            for #findindex 1 #findcnt
            {
             set #lobjectid %scissors
             event macro 17 0
             target 20
             set #ltargetid #findid
             set #ltargetkind 1
             event macro 22 0
            }
      }
      gosub dragcloth
      finditem %Bolt C_ , %secure
}
gosub dragcloth
halt


sub dragcloth
      finditem %Cloth C_ , #backpackid
      while #findkind <> -1
      {
            exevent drag #findid #findstack
            wait 3
            exevent dropc %secure
            wait 7
            finditem %Cloth C_ , #backpackid
      }
return

Then the next step


Code: [Select]
;==================================
; Script Name: Cloth -> Bandages
; Purpose: transfers Cloth to normal Bandages
;==================================
display ok Target your resource container:
set #targcurs 1
repeat
 wait 1
until #targcurs = 0
set %secure #ltargetid
;set %secure HEROXRD ; set here the id of your resource container

set %scissors KAG
set %cloth CUI
Set %bolt ZZF
Set %Bandage ZLF

finditem %scissors C_ , #backpackid
if #findkind = -1
halt
set %scissors #findid

finditem %secure
while #findkind = -1
{
      event macro 1 0 bank
      wait 20
      finditem %secure
}
if #contid <> %secure
{
   set #lobjectid %secure
   event macro 17 0
   while #contid <> %secure
   {
         wait 1
   }
   wait 20
}
finditem %cloth C_ , %secure
while #findkind <> -1
{
      set %dragamount #maxweight - #weight
      set %dragamount %dragamount / 5
      set %dragamount %dragamount - 1
      if #findstack < %dragamount
         set %dragamount #findstack
      if %dragamount <> 0
      {
         exevent drag #findid %dragamount
         wait 3
         exevent dropc #backpackid
         wait 7
      }
      finditem %cloth C_ , #backpackid
      if #findkind <> -1
      {
            for #findindex 1 #findcnt
            {
             set #lobjectid %scissors
             event macro 17 0
             target 20
             set #ltargetid #findid
             set #ltargetkind 1
             event macro 22 0
            }
      }
      finditem %cloth C_ , #backpackid
      if #findkind <> -1
      {
            for #findindex 1 #findcnt
            {
             set #lobjectid %scissors
             event macro 17 0
             target 20
             set #ltargetid #findid
             set #ltargetkind 1
             event macro 22 0
            }
      }
      gosub dragcleanbandage
      finditem %cloth C_ , %secure
}
gosub dragcleanbandage
halt


sub dragcleanbandage
      finditem %Bandage C_ , #backpackid
      while #findkind <> -1
      {
            exevent drag #findid #findstack
            wait 3
            exevent dropc %secure
            wait 7
            finditem %Bandage C_ , #backpackid
      }
return


7
Script Debug / Need a little help on this. I am a rookie!
« on: December 31, 2020, 03:24:07 PM »
Hi,

I could use a little help with this little script. I use it once every few years to reload my fountains to make enhanced aids. I would like to just cut these from a secure in the house instead of the bank. I have not figured out how to update it.

I can do minor things but some pointers on this would be much appreciated. :-)

Thanks! 

8
Resource Farming / Re: WFA Wool Farmer Assistant
« on: November 16, 2020, 04:40:07 PM »
Great Script! Thank you!

It took me a bit to get it set up right. I could not get the 2 book system to work without triggering a "Stopped because of Travel problem." Error. I read all the posts several times and was very careful setting it up.

Went to just the one book method and has been working flawlessly for hours. My recommendation is save yourself some time and just use the one book method lol.

Now to find a really good weaving script. Oh and as always love your script interface menu they are awesome and easy to understand.

9
Site News / Re: Forum Updates
« on: December 23, 2019, 01:10:21 PM »
I appreciate every persons hard work and contributions to this forum.

I think whatever is easiest for you all to manage is just fine. I will figure it out one way or another in time :-) or ask a ton of questions like a noob after reading through it all. lol


10
Gold Farming / Re: TrailMyx's Full Auto Fisherman
« on: March 29, 2017, 05:36:07 AM »
Been running this script for several years with little problems.

You just have to set the boat up as instructed. Small boat, facing north, Start in the bank or the spot on the boat.

Very rarely do I have a problem on an osi shard.

It teleports to the wrong spot every once in awhile but it is easy to manage since it is on another screen while I am working.

11
Site News / Re: Please welcome your new GMod Gimlet!
« on: March 28, 2017, 02:20:39 PM »
Hey Congrats! That is pretty cool!

12
Snooping worked like a charm GM'd it in a matter of hours!!!!  Woo Hoo

Now stealing I seem to be stuck at 45. I have it set up properly I think. Packie, bottles in bag, in Fel. Started at 31 so made some progress.

I guess I will let it run the rest of the day!

*Update*

So I rebooted my system, waited for after server up the next day and we seem to be rolling along just fine. Up to 79.6 so far.

Go Figure!

13
Scripting Chat / Re: Scrapper's Compendium Slayer Maker
« on: February 14, 2017, 07:41:32 AM »
OK, Need some input on how the proper way to move forward.

I am clearly not at the level to start from scratch yet on a script........... It's just a time thing for me at the moment.

Therefore I would be taking a script someone wrote and using major parts of it, adjusting and or adding additional features to it so that it does what I would like it to do. I have been hesitant to put something like that up for help on the boards as I do not want to take away from the original designer who put a ton of time into learning how to put the original script together in the first place.

Can you all give me some proper guidelines, do's and don'ts etc in regards to what is acceptable or not. I am a lot better at testing for people than I am at doing this myself but I am always open to having some fun learning :-)

Bottom line is I don't feel like I should get a lot of credit for adjusting someone else's script. I am just tweaking things for my own use or updating it to current integration.


14
Scripting Chat / Re: Scrapper's Compendium Slayer Maker
« on: February 14, 2017, 06:10:40 AM »
Good ideas :-) I am not afraid to fool around with some scripts making adjustments and I know you all are always happy to help out.

15
Scripting Chat / Re: Scrapper's Compendium Slayer Maker
« on: February 13, 2017, 11:33:51 AM »
Time for me to make scrappers again. Still can not seem to find a script for this.

Anyone know of one they can point me to please. Have plenty of supplies

Pages: [1] 2 3 ... 19