Author Topic: A Better Method Than Key ESC  (Read 2239 times)

0 Members and 1 Guest are viewing this topic.

Offline manwincTopic starter

  • 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
A Better Method Than Key ESC
« on: January 27, 2012, 06:34:07 PM »
0
So, While trying to improve a script, I came across something I learned a very long time ago, but obviously Forgot.

Anytime Your Perform a Key() Command in EUO, there is a wait timer included in the Command, something around 250 ms on my computer.

In My Script, I Will cancel a target Cursor by Doing Key ESC.

My new Method is to just

set #ltargetid N/A
Event macro 22 0

Which only takes about 20 ms. HUGE DIFFERENCE. It does give me a Target cannot be seen message though, which I guess might cause crashing. I'll post more as I play.
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 Cerveza

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: A Better Method Than Key ESC
« Reply #1 on: January 28, 2012, 12:28:04 AM »
0
Nice, to cancel a spell guys would cast something else, like Create Food, or something like Earthquake when you don't have that spell.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline manwincTopic starter

  • 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: A Better Method Than Key ESC
« Reply #2 on: January 28, 2012, 07:33:40 AM »
0
Oooo... Thats a good one too, I bet you could just cast a spell that doesn't even exist.
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 jawetzel

  • Jr. Member
  • **
  • Posts: 25
  • Activity:
    0%
  • Reputation Power: 1
  • jawetzel has no influence.
  • Gender: Male
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: A Better Method Than Key ESC
« Reply #3 on: March 31, 2012, 03:14:18 PM »
0
set #targcurs 0

Offline manwincTopic starter

  • 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: A Better Method Than Key ESC
« Reply #4 on: March 31, 2012, 07:59:35 PM »
0
Oooo... Even better, although I seem to remember the use of setting #targcurs through euo being a big flag......
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"

Tags: