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 - The Ghost

Pages: 1 ... 114 115 [116] 117
1726
Scripting Chat / Trageting ground for spell
« on: October 25, 2011, 11:57:34 PM »
While i cast EV's i need to target the ground,  I'm using the click xxxx yyy, for now,  but if a corpse and anything is on the way, I can't cast.  Here what I have so far can anyone help  thx

This is what I 'm using right now
Code: [Select]
 
if #followers < 5
goto cast

if #followers = 5
gosub invisible
gosub cure
goto scan

cast:
{
event macro 15 57  ; EV's
click 450 370
wait 1s
}
goto scan 

Here what  I'm attempting to do and going  nowhere.    I just what to be able to walk in and cast a few title from myself.
Code: [Select]

sub cast
set %tx #charposx
set %ty #charposy
event macro 15 57
target 3s
set %tx #findx -2
set %ty #findy -2
set #LTargetx %tx
set #LTargety %ty
set #LTargetKind 2
event macro 22
wait 20
return




1727
Scripting Chat / Re: Monger Quest, Small Create property reading
« on: October 19, 2011, 04:06:30 PM »
WOW  now you just lost me,  What did you associated those % 1,%2,%3  to.  
; %1 = This is the fish type you want to find  Example: ZYZ_MZ_DQZ_WYZ
; %2 = The name of the fish you are looking for.  You have to use proper formatting such as:     Black , #spc , Seabass
; %3 = This is what you want to search which for you I believe is %container1

In that example, I notice you didn't enter any amount to drags, is that mean Property will pick the right amount on his own.  

1728
Scripting Chat / Re: Monger Quest, Small Create property reading
« on: October 19, 2011, 10:23:33 AM »
I have try to use the type ( RMZ,NMZ, etc) but to many fish have the same one, so I ID the stack, this way it  grab the right one every time.     I need just to ensure that my stack never get empty so the ID wont change.  If you know of an easy way to grab the right fish, I'm all ears.  I'm still learning all this.   

1729
Scripting Chat / Re: Monger Quest, Small Create property reading
« on: October 18, 2011, 05:35:22 PM »
it scan all the property,  I run it with F7 to ensure that it look at all the right line and it find,  the ID still all correct,  not sure what change in the last 4hrs that I run it.  

Edit

Find the problem,  My pet die and forget to reset his ID.   Operator Error :) 

1730
Scripting Chat / Re: Monger Quest, Small Create property reading
« on: October 18, 2011, 04:19:05 PM »
After running quest for 4 hrs.  I took a break,  return to do quest and now I can't drag any fish  that are in my $ property list.  This is weird,  happen yesterday too.  I sore  that EA changing detail that make my script not functioning properly.

1731
Scripting Chat / Re: Monger Quest, Small Create property reading
« on: October 18, 2011, 10:11:39 AM »
I made the changes you said and it work, thx lot,  that remove a few line of codes.  Really appreciate they  input you give me.

Edit:   silly me, my packhorse dead and forget to change his ID.

1732
Scripting Chat / Re: Monger Quest, Small Create property reading
« on: October 17, 2011, 01:58:46 PM »
Thx camotbik,  nice info,    Now that I have all the ID and fish list, if pick up all the same group ( shore/sea/dungeon or Crab) if anyone is present.  

Here my #property:  
Quote
Small Crate$Weight: 1 Stone$Rock Lobster: 0/20$Shovel-Nose Lobster: 0/20$Mahi-Mahi: 0/20$Bluefish: 0/20$Red Drum: 0/20$Deliver To Britain$NO-TRADE$Contents: 0/125 Items, 0/1200 Stones$
.  

so using this code it should pick the one that are listed in my #property but it drags all the deep sea  fish, ignore the shore and Dungeon fish.   All my fishand crab are in the same chest. Not sure what I did wrong here.  
finditem is the ID of my stack.  
  
Code: [Select]
if Amberjack in #property                ; Amberjack
set %chest %container1
finditem IWKZOPD C_ , %chest
exevent drag #findid 20
exevent dropc %packie
wait %waittime
if Black , #spc , Seabass in #property          ; Black_Seabass
set %chest %container1
finditem PZJZOPD C_ , %chest
exevent drag #findid 20
exevent dropc %packie
wait %waittime
if Blue , #spc , Grouper in #property              ; Blue_Grouper
set %chest %container1
finditem PMWYOPD C_ , %chest
exevent drag #findid 20
exevent dropc %packie
wait %waittime
if Red , #spc , Drum in #property      ; Red Drum
set %chest %container1
finditem HQLZOPD C_ , %chest
exevent drag #findid 20
exevent dropc %packie
wait %waittime
if Red , #spc , Grouper in #property    ; Red Grouper
set %chest %container1
finditem BNRZOPD C_ , %chest
exevent drag #findid 20
exevent dropc %packie
wait %waittime
if Red , #spc , Snook in #property     ; Red Snook
set %chest %container1
finditem MIFZOPD C_ , %chest
exevent drag #findid 20
exevent dropc %packie
wait %waittime

Edit
ok I find a way to make it work but  I'm sure it not the best way.   Make the script long and slow.
Code: [Select]
if Amberjack notin #property
goto DS1
if Amberjack in #property                ; Amberjack
set %chest %container1
finditem IWKZOPD C_ , %chest
exevent drag #findid 20
exevent dropc %packie
wait %waittime
DS1:
if Black , #spc , Seabass notin #property
goto DS2
if Black , #spc , Seabass in #property     ; Black_Seabass
set %chest %container1
finditem PZJZOPD C_ , %chest
exevent drag #findid 20
exevent dropc %packie
wait %waittime

1733
Scripting Chat / Re: Monger Quest, Small Create property reading
« on: October 16, 2011, 11:01:39 PM »
 After long hour I figure out how to get the Property of the crate and grab the list.  Where I have small problem is the Deepsea fish have 3  fish with Red.  Red Grouper, Red Drum, Red Snook.

 I have try to use  
Quote
if Red in #property && Grouper in #property
and
                          
Quote
if Red in #property || Grouper in #property

both type grab all three fish type. Any suggestion on how to only grab the right one.  

THx

1734
Scripting Chat / Ship Movement
« on: October 07, 2011, 01:30:56 PM »
Is there a way to move ship to a x and y spot like you do on land using the move command or pathfinding ?

1735
Yes I make the mistake of setting all 16 rune and went back to #1 and find more tree,  all rune need to be in order :)    BTW  I have try to see that 61 offset weight = to  Because I seen to recall home when I still have 120 weight left.  One more thing,  a beetle  can be a nice add one since we can walk around, less recall home.  Just saying :)   

1736
Scripting Chat / Re: In Need of 3 ID's (High Sea's required)
« on: October 06, 2011, 10:43:43 PM »


Potash :AFZ
Charcoal  :AFZ
Black Powder: Don't have any Sorry

1737
Scripting Chat / Re: Monger Quest, Small Create property reading
« on: October 06, 2011, 10:06:58 PM »
Thx for the input,  I have use the Event #property  and  find out that can only read on create at the time.   The string of lie are long so far, 54 fish/crab ID and sub routine and the quantity as well.  It will get better when I have all 20 Qty.    I will keep writing few lines of code every day until I'm done. 

1738
Scripting Chat / Re: what script would you like to see?
« on: October 06, 2011, 09:35:07 PM »
Would be nice to have a script  that will allow us to sail to a Lat/Lon  I have try to understand  the SOS master  that map each SOS bottle and then sail to then..  I'm getting tired to sail all over the place because my tillerman can't read the map that I give him, plus it hard to get exact pin of where u really want to go.

1739
Thx Neo's for sharing this, I have been trying to tune mine and you have did wonder.  I once again love Termur lumberjacking.    Been running for 4 hrs and no glitch.

1740
Scripting Chat / Monger Quest, Small Create property reading
« on: October 05, 2011, 06:58:47 PM »
No sure if you guy are able to help me.  I'm working on a script to be able to read the small create form the Monger quest and can't figure out.  Can anyone point me  in the right direction, because it not easy to do it by hand, lot of info to remember. 

Pages: 1 ... 114 115 [116] 117