Author Topic: assistance with occurrence I cannot overcome  (Read 5435 times)

0 Members and 1 Guest are viewing this topic.

Offline gruntmanTopic starter

  • Full Member
  • ***
  • Posts: 168
  • Activity:
    0%
  • Reputation Power: 2
  • gruntman has no influence.
  • Gender: Male
  • Respect: +33
  • Referrals: 0
    • View Profile
assistance with occurrence I cannot overcome
« on: June 29, 2016, 08:53:07 PM »
0
I made a menu with a couple button that work with healing myself as well as a few defensive spells.  I have been to many areas and have had no issue with the buttons working until now. I enter the gate into tyballs area and hit my Natures Fury or my EV button and i constantly keep getting the cannot be seen message. I have tried adjusting the target kind but that does not seem to be the issue. Can anyone point me in the direction i should be looking.  Thank you!!

Gruntman

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: assistance with occurrence I cannot overcome
« Reply #1 on: June 30, 2016, 04:30:52 AM »
0
hehe   I have the same isssue,   it seen that you can't use the #CHARPOS as target.   U can try to target the ground and record the location. 

Offline gruntmanTopic starter

  • Full Member
  • ***
  • Posts: 168
  • Activity:
    0%
  • Reputation Power: 2
  • gruntman has no influence.
  • Gender: Male
  • Respect: +33
  • Referrals: 0
    • View Profile
Re: assistance with occurrence I cannot overcome
« Reply #2 on: June 30, 2016, 06:11:10 PM »
0
hehe   I have the same isssue,   it seen that you can't use the #CHARPOS as target.   U can try to target the ground and record the location. 
Ghost,

Thanks for your response! I am rather new to writing my own script and well could you give me an idea on how to do what you suggested please.

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: assistance with occurrence I cannot overcome
« Reply #3 on: June 30, 2016, 08:49:18 PM »
0
short text before bed :) 

try to play around this .    no idea if that will work.
Code: [Select]
display ok Please click ok and move cursor over your loot bag $ and hold it there, you have 2 seconds to do so $
wait 1s
set %targetx #cursorx
set %targety #cursory
display ok Please click ok to start the script $

sub Summon
  event macro 15 57 ; energy vortex
  target 4s

  set #LTARGETX %targetx
  set #LTARGETY %targety
  set #LTARGETKIND 2
 ;  event macro 22 0
    click %targetx %targety p
 
return


Offline gruntmanTopic starter

  • Full Member
  • ***
  • Posts: 168
  • Activity:
    0%
  • Reputation Power: 2
  • gruntman has no influence.
  • Gender: Male
  • Respect: +33
  • Referrals: 0
    • View Profile
Re: assistance with occurrence I cannot overcome
« Reply #4 on: June 30, 2016, 10:17:15 PM »
0
set #LTARGETKIND 3 worked but only when on the blue tile area.....hrm

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: assistance with occurrence I cannot overcome
« Reply #5 on: July 01, 2016, 05:11:04 AM »
0
I just test that one and it work.

Had to dust this one of the closet last night and polish it a bit.    Here my first snippet as a Elite. 

Code: [Select]
display ok Please click ok and move cursor over your casting location $ and hold it there, you have 2 seconds to do so $
wait 1s
set %targetx #cursorx
set %targety #cursory
display ok Please click ok to start the script $

repeat
  if #FOLLOWERS < 5
    gosub Summon
until #FALSE

sub Summon

  event macro 15 57
  target 5s
  set #LTARGETKIND 2
  set #LTARGETX %targetx
  set #LTARGETY %targety
  click %targetx %targety d
  wait 40
return

Offline gruntmanTopic starter

  • Full Member
  • ***
  • Posts: 168
  • Activity:
    0%
  • Reputation Power: 2
  • gruntman has no influence.
  • Gender: Male
  • Respect: +33
  • Referrals: 0
    • View Profile
Re: assistance with occurrence I cannot overcome
« Reply #6 on: July 01, 2016, 10:38:49 AM »
0
Thanks Ghost for your help!
Yes it works!!
only issue I have is the way everything is setup the target cursor popping up gets taken away by other parts of the script....ugh lol

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: assistance with occurrence I cannot overcome
« Reply #7 on: July 01, 2016, 03:20:22 PM »
0
I give you the fish.   Now it up to you to cook it :)   

I add the display so you can see what going on,  you can removed them and add  a wait or a event system msg. 

Offline gruntmanTopic starter

  • Full Member
  • ***
  • Posts: 168
  • Activity:
    0%
  • Reputation Power: 2
  • gruntman has no influence.
  • Gender: Male
  • Respect: +33
  • Referrals: 0
    • View Profile
Re: assistance with occurrence I cannot overcome
« Reply #8 on: July 01, 2016, 04:57:39 PM »
0
I get it!! hope I do not burn it!!
lol

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: assistance with occurrence I cannot overcome
« Reply #9 on: August 20, 2016, 07:55:51 AM »
0

only issue I have is the way everything is setup the target cursor popping up gets taken away by other parts of the script....ugh lol

instead of
Code: [Select]
display ok Please click ok and move cursor over your casting location $ and hold it there, you have 2 seconds to do so $
wait 1s
set %targetx #cursorx
set %targety #cursory
display ok Please click ok to start the script $

try
Code: [Select]
display ok Please click ok and move cursor over your casting location $ and click the spot$
  set #targcurs 1
  while #targcurs = 1
    wait 1
set %targetx #cursorx
set %targety #cursory

« Last Edit: August 20, 2016, 07:58:18 AM by Endless Night »
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Tags: