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

Pages: 1 2 [3] 4
31
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 19, 2011, 03:37:10 AM »
the part i need to understand now is how do i look though my journal for the syntex to check if what i caught be it a monster a scale. a pearl, a fish. a big fish, or nothng?

32
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 19, 2011, 03:10:27 AM »
i figured it out last night but the way i coded it looks different it looks like

Code: [Select]
FindItem %White_Pearl C_, #backpackID
set #lobjectID #findID
exevent drag #lobjectid
wait 20
FindItem %Cargo_Hold G_3
exevent dropc #Findid

33
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 19, 2011, 12:14:42 AM »
Ok well i figured it out
Now i need to learn how to get a script to check for the message to determan if i caught a fish, schale, shoe, serpant, pearl or a big fish
what should i read up on to get that infomation?

34
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 18, 2011, 07:23:36 PM »
Ok i have read both the event drag and exevent drop but i do not understand it. i took a pearl out of my hold and put it in my bag and made a new script so it will be easer to chang till it works then copy and past to the real one but all it does it just picks up the pearl and i still cannot get it to drop where the cargo hold is help please

Set %White_Pearl WWS_
Set %Cargo_Hold XZCC_

FindItem %White_Pearl C_, #backpackID
set #lobjectID #findID
if #FINDCNT > 0
exevent drag #lobjectid
wait 20
exevent dropc %Cargo_Hold
Halt

35
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 18, 2011, 04:26:38 PM »
I have figured out how to move items but i cannot figure out how to drop them where i want to drop them.
Also if there is more than one item i want to check for like i caught a fish and a pear i just have the script go though a line of checks?
And how do I search the ground for a dead monster then open it and search for an item?

36
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 18, 2011, 04:08:15 PM »
Figured it out lol

now i am going eat when i get back i will atempt to figure out how to drag and drop items into the hold


Some of my code snippets may prove usefull for you....  thier are several move subs listed...
http://www.scriptuo.com/index.php?topic=2454.0

I have read what i think i was suppost to read what i read was

Drop Item on the Ground Around you  (non stacking)

Returns true or false for success or fail.  trys every spot around your character

Code: [Select]
Sub ENs_DropOnGround ; %itemid %BagFrom %DropRadius
  set %Item %1
  IF %0 <= 1
    set %2
  set %BagFrom %2
  IF %0 <= 2
    set %3 2
  set %DropRadius %3
 
  Set %XPos ( #CharPosX - %DropRadius )
  Set %YPos ( #CharPosY - %DropRadius )
  Set %DropExit #False
  Repeat
    wait 10
    FindItem %item C_ , %BagFrom
    wait 3
    If #FindKind = -1
      Set %DropExit #True
    IF %DropExit = #False
      {
      ;event ExMsg #charID 3 0 trying %xpos %ypos
      ExEvent Drag #findid #Findstack
      Wait 12
      ExEvent DropG %Xpos %YPos
   
      ; Increment Position
      Set %XPos ( %XPos + 1 )
      If %Xpos > ( #CharPosX + %DropRadius )
        {
        Set %YPos ( %YPos + 1 )
        Set %XPos ( #CharPosX - %DropRadius )
        }
      }
  Until %DropExit || %YPos > ( #CharPosY + %DropRadius )
Return %DropExit

but i do not understand it can someone explain how this works?

37
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 18, 2011, 01:33:53 PM »
Figured it out lol

now i am going eat when i get back i will atempt to figure out how to drag and drop items into the hold

38
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 18, 2011, 12:40:12 PM »
i don't want to look at your fishing script but so far i have
Code: [Select]
Set %FishType SMZ_TYZ_EQD_NMZ_WYZ_DQD_OMZ_RMZ_GQD_UYZ_FQD_ZYZ_TYZ_
Set %Pole XHF_
Set %White_Pearl WWS_
Set %Shoes PVI_TVI_AWI_NVI_OVI_ZVI_CWI_QVI
Set %Scale UDHB_
Set %MIB HTD
Set %Special_Fish YDF_
Set %Pet1 TULKGF
Set %Pet2
Set %waterX ( #charposx - 2 )
Set %waterY ( #charposy + 2 )
Set %Cargo_Hold CJF ;Tokno Ship Cargo Hold


finditem %Pole C_, #backpackID
set #lobjectID #findID
event macro 17 0
set #targcurs = 1
while #targcurs = true
      {
       wait 1s
       event macro 1 0 love fishing... ; (Event Macro 1 0 lets you 'say')
       event macro 19 0 ; (this will make you salute)
       }
click %waterX %waterY
wait 8s
stop

it doesnt say the love fishing...
or the salute

39
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 18, 2011, 12:35:09 PM »
And have a loot at ltargetKIND over at easyuo documentation.



do what?

40
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 18, 2011, 12:07:34 PM »
It is still just clicking the pole and not clicking the water it keeps the target hand up

41
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 18, 2011, 11:27:46 AM »
ok when i run it all it does is clicks pole and then dosent click the water the code so far is

Code: [Select]
;This script is my first one ever and i hope it is done correctly.
;If anyone knows how to make it flow better please help.
;I is supost to fish infrount of you then place fish, MIB and Pearls into hold
;Then move forward one. then repeat.

;Seting the different things
Set %FishType SMZ_TYZ_EQD_NMZ_WYZ_DQD_OMZ_RMZ_GQD_UYZ_FQD_ZYZ_TYZ_
Set %Pole XHF_
Set %White_Pearl WWS_
Set %Shoes PVI_TVI_AWI_NVI_OVI_ZVI_CWI_QVI
;Set %Scale to be added don't know code yet
Set %MIB HTD
Set %Special_Fish YDF_
Set %Pet TULKGF
Set %waterX ( #charposx -1 )
Set %waterY ( #charposy +2 )
Set %Cargo_Hold CJF ;Tokno Ship Cargo Hold

Finditem %Pole C_, #backpackID
set #lobjectID #findID
event macro 17
click %waterX %waterY
wait 8s

42
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 18, 2011, 11:22:49 AM »
Tyvm I know i fill find more questions to ask as i go

43
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 18, 2011, 11:16:34 AM »
You need to know where you are. Then add/subtract to get to where you want to cast or target.

When testing try this... stand where you want to be and note your #charposX and #charposY. Then move to where you want to target and note the NEW #charposX and #charposY. Now look at the relationship between the sets of numbers. You'll see what you have to do....

And have a loot at ltargetKIND over at easyuo documentation.

since i want to be moving in this script is there a way to do this

set  %Water #Charposx +2 #Charposy -1 #Charposz -7
so that as i change location it will keep choising the target infront my feet in the water?

44
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 18, 2011, 10:28:32 AM »
Ok running into a problem how do i select the ground in front of me?

45
New member introductions / Re: NecroFox Introduction Redone
« on: August 18, 2011, 10:27:49 AM »
YAY!! i found you guildy. Tear it up @ the best site ever

WOOT WOOT

Pages: 1 2 [3] 4