Author Topic: [TOOL] movepixel  (Read 18746 times)

Offline SKBT

Re: [TOOL] movepixel
« Reply #60 on: May 30, 2011, 07:24:30 PM »
O - move cursor one pixel up
L - move cursor one pixel down
K - move cursor one pixel left
; - move cursor one pixel right

I see a problem with these keys. I often use these in naming a robot and the L key gets used in AIing robots. If you went back to it being something like you press alt as a modifier or shift key it would be better than not.

Offline Somebody

  • *
  • Posts: 7200
  • Rep: 13
  • CP: +2
    • SomebodyofGTM
    • View Profile
    • My site
    • Awards
Re: [TOOL] movepixel
« Reply #61 on: May 30, 2011, 07:39:06 PM »
nightcracker should become quickest Tech Adviser in history of GTM! I'm callin it!
I built that big robot on that TV show that time


Offline Sage

  • *
  • Posts: 6182
  • Rep: 11
  • RA2 Wizard & GTM's Favorite Stock Builder 2015
  • Awards Sage's Favorite BOTM Winner
    • View Profile
    • Awards
Re: [TOOL] movepixel
« Reply #62 on: May 30, 2011, 10:11:21 PM »
SKBT brings up a good point... i would just keep the alt modifier.
You got my vote for RA2 Wizard. Always and forever.

Offline nightcracker

  • *
  • Posts: 505
  • Rep: 7
  • Script kiddo
    • View Profile
    • NC Labs
    • Awards
  • Skype: orsonpeters
Re: [TOOL] movepixel
« Reply #63 on: May 30, 2011, 10:19:32 PM »
Yeah, but I guess it will be the easiest with two versions, one for home/end/etc and one for the legacy keys for laptops. I've tried using kol; and jikl but my fingers just can't find the orientation.

Offline nightcracker

  • *
  • Posts: 505
  • Rep: 7
  • Script kiddo
    • View Profile
    • NC Labs
    • Awards
  • Skype: orsonpeters
Re: [TOOL] movepixel
« Reply #64 on: May 31, 2011, 05:58:00 AM »
All right, I think this is a pretty decent way of making the application:

There are two files, "launcher.exe" and "keys.cfg". Both get installed in the RA2 folder. The user must update shortcuts on his/her desktop to point to launcher.exe instead of Robot Arena 2.exe.

launcher.exe sets up the keybindings (to be configured in keys.cfg) and launches RA2. When RA2 is finished it exits itself too. The keybindings are only active if RA2 is the active window.

Offline Sage

  • *
  • Posts: 6182
  • Rep: 11
  • RA2 Wizard & GTM's Favorite Stock Builder 2015
  • Awards Sage's Favorite BOTM Winner
    • View Profile
    • Awards
Re: [TOOL] movepixel
« Reply #65 on: May 31, 2011, 03:09:44 PM »
Amazing! Can't wait for it to be ready.
You got my vote for RA2 Wizard. Always and forever.

Offline Scrap Daddy

Re: [TOOL] movepixel
« Reply #66 on: May 31, 2011, 03:36:46 PM »
nice dude

Offline nightcracker

  • *
  • Posts: 505
  • Rep: 7
  • Script kiddo
    • View Profile
    • NC Labs
    • Awards
  • Skype: orsonpeters
Re: [TOOL] movepixel
« Reply #67 on: June 01, 2011, 05:30:42 AM »
All right, just a quick update on my progress. I can register the global hotkeys and act accordingly (click, move cursor, etc).

I still have to do the configuration part which can be really hard, I think I'm going to make it easy for myself by forcing you guys to use the hexadecimal numbers found here.

And what also still needs to be done is the disabling/enabling the keybinds on the fly and shutting down the program at the right time, which is not easy either since I'm not used to win32 multi-threading and it needs to be done in an other thread.

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: [TOOL] movepixel
« Reply #68 on: June 08, 2011, 02:03:41 AM »
Oh, goodie.

Offline nightcracker

  • *
  • Posts: 505
  • Rep: 7
  • Script kiddo
    • View Profile
    • NC Labs
    • Awards
  • Skype: orsonpeters
Re: [TOOL] movepixel
« Reply #69 on: June 10, 2011, 05:52:50 AM »
Another quick update!

... I haven't been able to do anything. In total I've been online for like 4 hours the past two weeks, of which most on school. The only moments I have been behind my own computer have been consumed by the building of my first "worthy" popup.

I hope I can finish this somewhere this month, but I'm not sure (exams are coming soon).

Offline nightcracker

  • *
  • Posts: 505
  • Rep: 7
  • Script kiddo
    • View Profile
    • NC Labs
    • Awards
  • Skype: orsonpeters
Re: [TOOL] movepixel
« Reply #70 on: June 11, 2011, 10:07:36 AM »
Well, nvm. A lot of work for very little reward would this be. If I ever get my hands on a LOT of free time then I will do this, but not now.

However, I have an idea for the next version (which will use AutoHotkey):

How about... using F12 for Pause Break for the people that don't have it?

Offline Sage

  • *
  • Posts: 6182
  • Rep: 11
  • RA2 Wizard & GTM's Favorite Stock Builder 2015
  • Awards Sage's Favorite BOTM Winner
    • View Profile
    • Awards
Re: [TOOL] movepixel
« Reply #71 on: June 11, 2011, 10:20:38 AM »


How about... using F12 for Pause Break for the people that don't have it?

YES THANK YOU OH MY GOD

Although not f12 (that button shows the collision mesh of your robot)... maybe something like alt+P
You got my vote for RA2 Wizard. Always and forever.

Offline nightcracker

  • *
  • Posts: 505
  • Rep: 7
  • Script kiddo
    • View Profile
    • NC Labs
    • Awards
  • Skype: orsonpeters
Re: [TOOL] movepixel
« Reply #72 on: June 11, 2011, 10:31:14 AM »
Hah I knew you'd react like that :D

ALT+P seems a bit vague, is F11 free?

Offline Wacky Bob

  • Super Heavyweight
  • Posts: 854
  • Rep: 5
  • I knew my face would freeze if I held it too long.
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: [TOOL] movepixel
« Reply #73 on: June 11, 2011, 10:34:39 AM »
F11 is for screenshots, so I think Alt+P would make sense.
Signatures are displayed at the bottom of each post or personal message. BBCode and smileys may be used in your signature.

Offline JoeBlo

Re: [TOOL] movepixel
« Reply #74 on: June 11, 2011, 10:45:01 AM »
to save you some time

F1-F4 and F9-F12 are all used by RA2

Offline Sage

  • *
  • Posts: 6182
  • Rep: 11
  • RA2 Wizard & GTM's Favorite Stock Builder 2015
  • Awards Sage's Favorite BOTM Winner
    • View Profile
    • Awards
Re: [TOOL] movepixel
« Reply #75 on: June 11, 2011, 11:02:03 AM »
go for f8. thats where it SAYS i have a pause button but none of the mac functions work while running windows. I don't even have a delete button.
You got my vote for RA2 Wizard. Always and forever.

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: [TOOL] movepixel
« Reply #76 on: June 11, 2011, 11:37:37 AM »
Just discovering this thread, I ought to peruse this section more often.

To be clear, is this all ready to go, or still in development (This page and the one before make it unclear)?  Either way, I tip my illuminating hard hat to you, this will save me a ton of aggro when trying to rotate the extenders.

Offline nightcracker

  • *
  • Posts: 505
  • Rep: 7
  • Script kiddo
    • View Profile
    • NC Labs
    • Awards
  • Skype: orsonpeters
Re: [TOOL] movepixel
« Reply #77 on: June 11, 2011, 12:18:24 PM »
It's not completely done yet, but the features stated one the first post are all working and implemented. Installation instructions are on the first post as well.

All right, in a few days I will bring out the new version with:

F8 - Alternative for Pause Break since some computers/keyboards lack it
SHIFT+CONTROL+Delete - Rotate 90 degrees to the left
SHIFT+CONTROL+Page Down - Rotate 90 degrees to the right

And most likely Sage will bring out an alternative version with different keys that I will add to the main page also.

Offline nightcracker

  • *
  • Posts: 505
  • Rep: 7
  • Script kiddo
    • View Profile
    • NC Labs
    • Awards
  • Skype: orsonpeters
Re: [TOOL] movepixel
« Reply #78 on: June 12, 2011, 03:54:43 PM »
Features added, first post updated.

Sage, are you going to bring out an alternative keybind version again?

Offline Sage

  • *
  • Posts: 6182
  • Rep: 11
  • RA2 Wizard & GTM's Favorite Stock Builder 2015
  • Awards Sage's Favorite BOTM Winner
    • View Profile
    • Awards
Re: [TOOL] movepixel
« Reply #79 on: June 12, 2011, 07:20:11 PM »
Don't have time today, sorry NC. I'm going out of town the next two weeks. Fortunately, I'm one of the only people who actually needs the alternative keybind :D
You got my vote for RA2 Wizard. Always and forever.