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

Pages: 1 ... 135 136 [137] 138 139 ... 191
2041
Scripting Chat / Re: Targeting Issues
« on: March 14, 2015, 05:04:58 PM »
Ok I added  a very basic pathfind to corpse but the whole thing is very rough. I know I should have seperate subs for health monitor, attack, and pathfind to body but I am working on just getting them working before trying to make them all seperate and then to work together lol. I think I am in over my head but it is fun. Thanks Ghost for all the help so far!

Code: [Select]
finditem QHB_PHB G_9
if #findcnt > 0
  {
  set #ltargetkind 1
  set #ltargetid #findid
  event macro 15 41
  target 3s
  event macro 22
  wait 2s
  }
if #HITS < ( #MAXHITS - 30 )
  {
  set #lobjectid
  event macro 15 28
  wait 20
  target
  event macro 23 0
  wait 20
  }
finditem YFM G_9
if findcnt > 0
  {
  event pathfind #findx #findy #charposz
  wait 4s
  until #charposx = #findx && #charposy = #findy
  wait 2s
  if #findkind = -1
  {
return

How do I get the pathfind to stop after it goes to the corpse the first time? I believe that if #findkind = -1 means that it will stay there until the corpse decays but not sure how else to do it.

2042
General UO Chat / Re: Can Clean-up reward armor be enhanced?
« on: March 14, 2015, 04:09:50 PM »
I forgot all about this...I will have to look into it again.

2043
Scripting Chat / Re: Targeting Issues
« on: March 14, 2015, 04:05:50 PM »
I added a basic healing to it

Code: [Select]
finditem QHB_PHB G_5
if #findcnt > 0
  {
  set #ltargetkind 1
  set #ltargetid #findid
  event macro 15 41
  target 3s
  event macro 22
  wait 2s
  }
if #HITS < ( #MAXHITS - 30 )
  {
  set #lobjectid
  event macro 15 28
  wait 20
  target
  event macro 23 0
  wait 20
  }

2044
Scripting Chat / Re: Targeting Issues
« on: March 14, 2015, 09:52:49 AM »
It still isn't targeting the horse, I am just getting you are already casting a spell

2045
Gold Farming / Re: TrailMyx's Full Auto Fisherman
« on: March 14, 2015, 07:34:53 AM »
Is your boat facing North and is it a small legacy boat? I use this script weekly and am actually running it now with no issues moving to and looting the corpse.

2046
Scripting Chat / Targeting Issues
« on: March 14, 2015, 07:24:56 AM »
I am very confused on this and boy does it show. I am trying an easy little snippet trying to figure out how to cast a spell onto a target that is not myself. I am in the Skara Stable Pen and trying to cast bless onto a horse. I know it won't let me perform beneficial acts but it allows me to see that it is working when that system message comes up. However, I am doing it wrong cause I am getting the targeting cursor from casting but that is it.

Code: [Select]
set %horse SG

finditem %horse G_10
event macro 15 16
target
set #LTargetID %horse
set #LTargetKind
event macros 22
wait 20s
return

2047
This is awesome! I know Cerveza is gone but can anyone else tell me how to remove the old border? The play screen is larger but the border is still there where it originally was.

2048
Scripting Chat / Re: killing and healing subs
« on: March 13, 2015, 08:06:49 PM »
I was hoping this might work to give me a start but I obviously did something wrong. I think it is in setting the target but not positive.

Code: [Select]
set %KOS PHB_QHB
findItem %KOS G_12
if findcnt > 0
  {
  gosub killtime
  }
  
sub killtime
findItem %KOS G_12
KillLoop:
event macro 15 41
target 5s
set #ltargetid %KOS
set #ltargetkind 1
event macro 22 0
wait 50
finditem %KOS
if #findcnt > 0
   {
      goto KillLoop
   }
if #HITS < ( #MAXHITS - 50 )
  {
  set #lobjectid
  event macro 15 28
  wait 20
  target
  event macro 23 0
  wait 20
  }
return

2049
Scripting Chat / killing and healing subs
« on: March 13, 2015, 06:40:59 PM »
I have been Googling to see if there were any PvM killing subs or health monitor subs but no luck, just full scripts. I think I may be able to figure out the health monitor/heal sub but not feeling very optimistic about a PvM killing sub. Does anyone know where I can find any working ones?

2050
Scripting Chat / Re: Finding the Queen
« on: March 13, 2015, 12:28:38 PM »
The last sub I posted worked great and it will drop the seed on the queen and bring up the quest gump. I am going to modify your quest acceptance gump from the seed script yo accept this.

Here is where I am at with what I have done (Still want to do tweaks and adjustments though):

1. Recall sub in place (Thanks TM - though I need to make the changes that he suggested so that if a hole is blocked, it won't go on to the next rune)
2. Recalls to the Trinsic Solen Hole, drops in and travels through the different routes/holes and gets to the area with the Matriarch. (Thanks EN for the Enter Ant Hole sub)
3. EN's rails running around the area looking for the queen. (It works but I may be missing something because the movement looks like someone is having a seizure while controlling the character and it spams pathfinding non-stop)
4. Working sub to drop seed onto the queen bringing up the quest. (final version will have the choice for Friend of the Solens (quests using seed to become friendly which upon completion will start looping with just talking to the matriarch to keep getting powder) and the the looping powder quest.

Here is what I have left: (might take me quite a while lol)
1. Accept quest (thanks Ghost)
2. Recall to wind and autofight solens to kill 7 and then stay and fight until it collects 200 zoogi)
3. Recall and rail to matriarch, turn in quest killing 7 solens and accept next part needing pitchers (8 pitchers will be a prerequisite and a rune must be marked with access to a water trough to refill empty pitchers - Thanks EN for the Fill Pitcher Sub)
4. Turn in that quest then accept powder quest and target and turn in zoogi for powder
5. Start over

2051
New member introductions / Re: Back again, I am cannot stay away
« on: March 13, 2015, 11:59:44 AM »
welcome to SUO! There are some great crafting and resource gathering scripts here that you will love. Don't be a stranger, we have a great community and have a lot to share. In the non-gaming world I am a teacher as well so UO is a great escape and SUO has helped make UO even more enjoyable.  ;D

2052
UOSteam / Re: Steam Popularity
« on: March 13, 2015, 11:44:42 AM »
Last I heard, the developers kept the code private and it will work until broadsword makes changes that break it. I am not sure about Razor but RunUO is open source and I am sure that there will be people to keep it going even though the original developers have stopped.

2053
Scripting Chat / Re: Finding the Queen
« on: March 13, 2015, 02:49:38 AM »
Thanks Tidus And Manwinc, I made both of those changes and still had no luck. I knew there had to be something else I was missing in addition to those things.

I got looking at
Code: [Select]
if #Findkind > 0 and was wondering if it should be findcnt because it was looking for a count of the item so I changed it to
Code: [Select]
if #findcnt > 0 and it worked.

I had also added in
Code: [Select]
set %backpackid XXXXXX just in case it needed that. I didn't think it should but I wasn't sure. Do I need that in there or is that something that I can take out?

so my sub now looks like
Code: [Select]
sub dropseed

   Finditem %seed C_ , #backpackid
   wait 10
   if #Findcnt > 0
   {
   Exevent drag #Findid
   wait 10
   Finditem %matriarch G_2
   Exevent dropc #Findid
   wait 1s
   }
return

This will be set at the beginning of the script

Code: [Select]
set %seed PDF
set %matriarch OHB
set %backpackid QNVOUND

I am not sure why I named it feed originally other than when I was thinking about it not working because of the npc not being a container, I started thinking that dropping the seed on the queen would be similar to feeding a pet. I just caught it now that I had named the sub feed lol.

One more question along with the backpackid

Do I need the { } around the action of dropping the seed? I was not sure but it seemed like I should so I added them in there but on other drag and drop things I have looked at they are not there.

2054
Scripting Chat / Re: Finding the Queen
« on: March 12, 2015, 07:17:55 PM »
I also found out that I had container instead of backpackid but unfortunately it is still not working :(

Code: [Select]
set %seed PDF
set %matriarch OHB

wait 5
gosub feed

sub feed

   finditem %seed C_ , %backpackid
   wait 10
   if #findkind > 0
   {
   exevent drag #findid
   wait 20
   Finditem %matriarch G_2
   Exevent dropc #Findid
   wait 1s
   }

2055
New member introductions / Re: Return of Prime
« on: March 12, 2015, 06:01:36 PM »
Welcome to SUO!

Pages: 1 ... 135 136 [137] 138 139 ... 191