Author Topic: lol, graphic glitch making new script  (Read 4812 times)

0 Members and 1 Guest are viewing this topic.

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 301
  • Activity:
    0%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +11
  • Referrals: 5
    • View Profile
lol, graphic glitch making new script
« on: June 12, 2010, 11:56:39 AM »
0
This is a start of a pet healer I am making based on TM's petgump healer tool, with his permission. I was trying to find a more consistent way to grab and position the health gump, and learning new click commands. I wound up turning my mare into a wooden door!  ???. It changes back upon recall. Localized graphic glitch, others see it as a mare. Just funny. Give a newb power, and what do you get?

After reading all I can on clicks, I cannot figure out how to HOLD a click. I noticed that if I hold a right click for 2 seconds on a target, it's health bar will pull up. I want to automate this for health gump positioning.

Code: [Select]
;pet gump healer ideal flow
;1. id pet(s)
;2. pull pet health bar
;3. set health bar position
;4. monitor health bar for health%, poison, mortal strike colors
;5. if health < set%, use bandage and GH. see if heal is more effective. Calculate FC/FCR.
;6. if status poison, use bandage and cast arch cure
;7. if mortal, wait until poison status or normal status, then resume
;----------------------
;initial set up
;set pet 1
all stay
set #targcurs 1
      while #targcurs = 1
         wait 1
      set !pet1 #ltargetID
      set !pet_xpos #LTARGETX
      set !pet_ypos #LTARGETY
      event drag !pet1
                halt
« Last Edit: June 12, 2010, 12:01:03 PM by baldielocks »

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2556
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +123
  • Referrals: 1
    • View Profile
Re: lol, graphic glitch making new script
« Reply #1 on: June 12, 2010, 03:35:03 PM »
0
ii think the command

Click (x) (y) g

Will also have a similar effect.
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 301
  • Activity:
    0%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +11
  • Referrals: 5
    • View Profile
Re: lol, graphic glitch making new script
« Reply #2 on: June 12, 2010, 07:30:32 PM »
0
hehehe, it even acted like a door. Blocked my movement in tramm. Was pretty neat to see a door kill a dragon.

Offline jtw1984

  • Sr. Member
  • *
  • Posts: 295
  • Activity:
    0%
  • Reputation Power: 5
  • jtw1984 has no influence.
  • Gender: Male
  • Danger is my Middle Name
  • Respect: +11
  • Referrals: 1
    • View Profile
Re: lol, graphic glitch making new script
« Reply #3 on: June 13, 2010, 05:24:34 AM »
0
lol vid or it never happened! haha

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 301
  • Activity:
    0%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +11
  • Referrals: 5
    • View Profile
Re: lol, graphic glitch making new script
« Reply #4 on: June 13, 2010, 06:22:47 AM »
0


« Last Edit: June 13, 2010, 06:50:04 AM by baldielocks »

Offline jtw1984

  • Sr. Member
  • *
  • Posts: 295
  • Activity:
    0%
  • Reputation Power: 5
  • jtw1984 has no influence.
  • Gender: Male
  • Danger is my Middle Name
  • Respect: +11
  • Referrals: 1
    • View Profile
Re: lol, graphic glitch making new script
« Reply #5 on: June 13, 2010, 06:30:09 AM »
0
If you are talking about walking you through writing the script you got the wrong guy! Sorry :\.

Don't feel bad though about wearing yourself out. I've been learning this LUA, and I've given myself several headaches.

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 301
  • Activity:
    0%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +11
  • Referrals: 5
    • View Profile
Re: lol, graphic glitch making new script
« Reply #6 on: June 13, 2010, 06:50:39 AM »
0
too late lol, just added it. forgive me, I was on a coffee low. (mainlines caffeine(

Offline Masscre

  • Gran Master Jester !!
  • Scripthack
  • *
  • Posts: 4615
  • Activity:
    0%
  • Reputation Power: 55
  • Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!
  • Gender: Male
  • Air Guitar Commander !!
  • Respect: +144
  • Referrals: 1
    • View Profile
Re: lol, graphic glitch making new script
« Reply #7 on: June 13, 2010, 07:06:49 AM »
0
now you just need to find away to make the door invullenable and you will have an awesome script :)

Scrripty

  • Guest
Re: lol, graphic glitch making new script
« Reply #8 on: June 13, 2010, 12:28:26 PM »
0
Could you exevent drag the id of the animal to get the gump?  Never tried that but who knows. :)

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 301
  • Activity:
    0%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +11
  • Referrals: 5
    • View Profile
Re: lol, graphic glitch making new script
« Reply #9 on: June 13, 2010, 02:02:54 PM »
0
that was actually my first thought. I use id with just about every click and exevent i could. Drag displays "you cannot pick that up".


Tags: