HelpRemove ability use delay?

Posts 1–9 of 9 · Page 1 of 1
Remove ability use delay?
Hey all. I tried searching for SPACE, and found the options for ability use, and found a method but it all seemed to point to options. I did find, in com/company/assembleegameclient/ui/BoostPanel.class.asasm line 117 there's a pushshort 1000, but that didn't seem to do anything when I changed it to 0 (unless I did it wrong, I really wish you could do a simple line replace in the mod selector).

So, anyone know how to remove the delay on pressing space?

Alternatively, is there another way to get the coordinates of the tile the mouse is under?
Quote Originally Posted by 059 View Post
a simple line replace in the mod selector
How about:
pop
push
Quote Originally Posted by CrazyJani View Post
How about:
pop
push
I guess that works, thanks, will try later when I can. I made a label after the value, and a jump before the value to skip over it lol.
Quote Originally Posted by 059 View Post
I guess that works, thanks, will try later when I can. I made a label after the value, and a jump before the value to skip over it lol.
I don't know if this is what you want, but iirc in the UseAltWeapon function the cooldown is set to 500 as default befaure checking in the XML if the ability actually has a CD, if it's not overridden it'll stay 500 ms, I guess if you changed the default to 0 you'd get what you want? Otherwise, didn't get your question.
Quote Originally Posted by Knorrex View Post
I don't know if this is what you want, but iirc in the UseAltWeapon function the cooldown is set to 500 as default befaure checking in the XML if the ability actually has a CD, if it's not overridden it'll stay 500 ms, I guess if you changed the default to 0 you'd get what you want? Otherwise, didn't get your question.
Thanks. I wanted the delay shorter, because I simply need a way to access the coordinates of the tile your cursor is over. Useitem seemed to work fine for that.
Quote Originally Posted by 059 View Post
Thanks. I wanted the delay shorter, because I simply need a way to access the coordinates of the tile your cursor is over. Useitem seemed to work fine for that.
Oh you need the world coordinates? Then it's easy!, you get mouse.X and mouse.Y (in gamesprite coordinates), and then covert them them in world coordinates with the pSTopW function:

Code:
      getlocal0
      getproperty         QName(PackageNamespace(""), "gs_")
      getproperty         QName(PackageNamespace(""), "map")
      getlocal0
      getproperty         QName(PackageNamespace(""), "gs_")
      getproperty         QName(PackageNamespace(""), "map")
      getproperty         QName(PackageNamespace(""), "mouseX")
      getlocal0
      getproperty         QName(PackageNamespace(""), "gs_")
      getproperty         QName(PackageNamespace(""), "map")
      getproperty         QName(PackageNamespace(""), "mouseY")
      callproperty        QName(PackageNamespace(""), "pSTopW"), 2
      coerce              QName(PackageNamespace("flash.geom"), "Point")
Quote Originally Posted by Knorrex View Post
Oh you need the world coordinates? Then it's easy!, you get mouse.X and mouse.Y (in gamesprite coordinates), and then covert them them in world coordinates with the pSTopW function:

Code:
      getlocal0
      getproperty         QName(PackageNamespace(""), "gs_")
      getproperty         QName(PackageNamespace(""), "map")
      getlocal0
      getproperty         QName(PackageNamespace(""), "gs_")
      getproperty         QName(PackageNamespace(""), "map")
      getproperty         QName(PackageNamespace(""), "mouseX")
      getlocal0
      getproperty         QName(PackageNamespace(""), "gs_")
      getproperty         QName(PackageNamespace(""), "map")
      getproperty         QName(PackageNamespace(""), "mouseY")
      callproperty        QName(PackageNamespace(""), "pSTopW"), 2
      coerce              QName(PackageNamespace("flash.geom"), "Point")
Hm thanks, I'll see what I can do with this. Would it be easy to send a packet with the above coordinates (just so I can use them in realm relay).
I've been wondering how you know where something is located? How to find what needs to be used? @Knorrex
Quote Originally Posted by CrazyJani View Post
I've been wondering how you know where something is located? How to find what needs to be used? @Knorrex
well i would say he has a lot of experience or he just works with people to work this out
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us