Announcement

Collapse

Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.



In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.



All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

RegisterKeyBind

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RegisterKeyBind

    If you pass an empty string as the first parameter (which the docs say is to allow for global binding), the tools will instantly crash upon use of the inputs specified in the second parameter. Also, unless I am somehow using this wrong, I am also unable to get my callback called when using a panel or ID string for the first parameter. None of the input seems to allow for the callback to be called.

    As a minor point, is there an input to be used for mouse x/y coordinates? The panorama.dll contains a bunch of acceptable inputs such as mouse_left, key_space, etc. but nothing pertaining to mouse coordinates.

    Lastly, the docs say the last parameter can take an event name, but I am really confused as to how you can register an event that this function will detect. Even if you use the custom_events.txt to supply a custom event, it is completely irrelevant to this function. I have also tried using the GameEvents.Subscribe to try to make the event actually exist for panorama but to no avail. And I have tried to use Panel.SetPanelEvent for the same purpose along with even specifying an existing panorama event (such as MoveUp, MoveLeft, etc.), but those instantly crash the tools upon recompilation. At this point, it seems to be impossible to supply custom events to this function (although I was only attempting to do so because the callback wasn't working).

    If I am missing something blatantly obvious about this function, let me know.

  • #2
    There are custom events examples in overthrow, if I understood you properly.

    Comment


    • #3
      RegisterKeyBind are broken ! +1

      Comment


      • #4
        Still an issue as of this date

        Comment


        • #5
          Please fix

          Comment


          • #6
            Originally posted by rap_game_anti_mage View Post
            Please fix
            Use new system: click

            Comment


            • #7
              Originally posted by dotyer.ua View Post
              Use new system: click
              You just linked the system that this thread is about...
              Every time you have an issue, spend at least 5 minutes on each of these four sites Google, Wiki, Github, and ModDota
              If you still can't figure out your issue, post your issue on moddota in as much detail as possible with a SSCCE. If you do not complete these requirements, than you will be rejected by the community. Try not to contact individual users for help as we are very busy.

              Comment


              • #8
                Originally posted by arhowk View Post
                You just linked the system that this thread is about...
                Are u sure? Read again!

                Comment


                • #9
                  Well the thread posted uses a different syntax, but it still suffers the same bugs. Actually, the system you posted is incredibly broken because it cant override default dota hotkeys (which messes everything up because poeple use different hotkeys) and doesn't work unless you restart reborn after every game play. It's also incredibly choppy outside of the workshop tools
                  Every time you have an issue, spend at least 5 minutes on each of these four sites Google, Wiki, Github, and ModDota
                  If you still can't figure out your issue, post your issue on moddota in as much detail as possible with a SSCCE. If you do not complete these requirements, than you will be rejected by the community. Try not to contact individual users for help as we are very busy.

                  Comment


                  • #10
                    Originally posted by arhowk View Post
                    Well the thread posted uses a different syntax, but it still suffers the same bugs. ...
                    You are always dissatisfied. This system not perfect, but usefull.

                    Comment


                    • #11
                      Always dissatisfied? Custom hotkeys in their current state are completely unusuable. Try to make any WASD-based game or something similar and upload it to the workshop and play with friends.
                      Every time you have an issue, spend at least 5 minutes on each of these four sites Google, Wiki, Github, and ModDota
                      If you still can't figure out your issue, post your issue on moddota in as much detail as possible with a SSCCE. If you do not complete these requirements, than you will be rejected by the community. Try not to contact individual users for help as we are very busy.

                      Comment

                      Working...
                      X