ItayOW

OW API bug report / change request /missing documentation

Recommended Posts

  • Reported date: 10/08/2016

  • Reported by: goodbyte

  • OW version: 0.99.2

  • Summary: the user input interfere with overwolf.utils.sendKeystroke()

  • Bug/Change request description

    • How to reproduce / what change is requested (if needed add here code segments)  

    • Steps to reproduce:

      1. hold shift while sending overwolf.utils.sendKeystroke('u'); to the game.

      2. the game receives U inteed of u.

Share this post


Link to post
Share on other sites
24 minutes ago, goodbyte said:
  • Reported date: 10/08/2016

  • Reported by: goodbyte

  • OW version: 0.99.2

  • Summary: the user input interfere with overwolf.utils.sendKeystroke()

  • Bug/Change request description

    • How to reproduce / what change is requested (if needed add here code segments)  

    • Steps to reproduce:

      1. hold shift while sending overwolf.utils.sendKeystroke('u'); to the game.

      2. the game receives U inteed of u.

 

I would say that is expected behaviour

Share this post


Link to post
Share on other sites
10 minutes ago, goodbyte said:

If I sent F4 and the user is holding ALT, like in most MOBAs... then what?

I still think that would be expected behaviour as the method only simulates a keypress, and if the user happens to hold down alt before then it becoms Alt+F4

Share this post


Link to post
Share on other sites
  • Reported date: 10/10/2016

  • Reported by: goodbyte

  • OW version: 0.99.2

  • Summary: Dota 2 - game_match_state_changed doesn't work.

  • Bug/Change request description

    • How to reproduce / what change is requested (if needed add here code segments)  

    • Steps to reproduce:

      1. overwolf.games.events.setRequiredFeatures(['game_match_state_changed'], console.log.bind(console));

      2. {status: "success", supportedFeatures: Array[0]}

Share this post


Link to post
Share on other sites
  • Reported date: 12.10.2016

  • Reported by: TheLexoPlexx

  • Contact mail: alexander@tesserakt.pro

  • OW version: 0.97.306.0

  • Summary: overwolf.io.readFileContents() missing in documentation

  • Change request description

    • Please add overwolf.io.readFileContents() to the documentation. I would also volunteer to help with the documentation.

  • Add info: Example callback results:

    Object {status: "error", reason: "File doesn't exsits"}
    Object {status: "success", content: "<file-content>"}
  • Add Info: Parameters:

    • Parameter: filePath <string>
      The Full Path of the File to read, originating from: "C:\Program Files (x86)\Overwolf\<your_version>\"

    • Parameter: encoding <encoding>
      The Encoding to use to read the file

    • Parameter: callback <function>
      Called with the status of the request

Share this post


Link to post
Share on other sites
  • Reported date: 13.10.2016

  • Reported by: TheLexoPlexx

  • Contact mail: alexander@tesserakt.pro

  • OW version: 0.97.306.0

  • Summary: Permissions from the manifest.json don't register properly.

  • Bug/Change request description

    • Steps to reproduce:

      1. In your App: Add random Permissions to your manifest.json [specially FileSystem]

      2. Make a second window, or your Options Window and try to use any method requiring Permissions

  • Expected Results:

    • Method gets exectuted

  • Actual Results:

    • App stops and prints warning as if the Permissions would not be set.

  • Add info

    • Topic:

       

Edited by TheLexoPlexx
Fixed link

Share this post


Link to post
Share on other sites
  • Reported date: 20.10.2016

  • Reported by: TheLexoPlexx

  • Contact mail: alexander@tesserakt.pro

  • OW version: 0.97.306.0

  • Summary: More detailed documentation

  • Change request description

    • Please add the various Methods in the categories to the list on the left

  • Add info: Since I thought explaining might be too hard and unprecise, I just made a photo: http://i.imgur.com/HJp6qM1.png
    It's a new ul next to the other one with a hr below to display them seperately.
    #Edit: the "..." is obviously a placehold for all other Methods.

 

 

#EDIT: As mentioned above, I would also volunteer to help with editing the documentation.

Edited by TheLexoPlexx

Share this post


Link to post
Share on other sites
  • Reported date: 20.10.2016
  • Reported by: TheLexoPlexx
  • Contact mail: alexander@tesserakt.pro
  • Summary: More detailed documentation
  • Change request description
    • Please add the missing details in the manifest.json page. THIS example callback shows more Information than given HERE.

  • Add info: I don't really know all the possibilities to be in the manifest.json so I can't really add more Information here.

Share this post


Link to post
Share on other sites
On 10/2/2016 at 11:26 PM, Colorfulstan said:
  • Reported date: 02.10.2016

  • Reported by: Colorfulstan

  • Summary: Api-doc search pagination is broken

  • Bug/Change request description

Seems to work fine, can you check again?

Share this post


Link to post
Share on other sites
1 hour ago, ItayOW said:

Seems to work fine, can you check again?

no, doesn't work at all. After clicking the link it jumps back up but it's the same content. Even the same pagenumber stays selected on the pagination links.

Tested in Chrome + IE

Edited by Colorfulstan

Share this post


Link to post
Share on other sites
On 10/4/2016 at 11:23 PM, Colorfulstan said:
  • Reported date: 04.10.2016

  • Reported by: Colorfulstan

  • OW version:

  • App name: Overwolf Game Event Provider

  • App version: 0.15

  • Summary: overwolf.games.events Documentation for League of Legends needs update and boolean values need to be fixed asap

  1. Description for InfoDB is out of date
  2. Where it says " true/false " for the Information those values are NOT true/false but "True" / "False" (strings) which can not be parsed easily to a boolean in JS:
    
    "False" == false // false
    "false" == false // false
    JSON.parse("False") == false // Uncaught SyntaxError: Unexpected token F
    JSON.parse("false") == false // true
    JSON.parse("0") == false // true
    
    "True" == true // false
    "true" == true // false
    JSON.parse("True") == true // Uncaught SyntaxError: Unexpected token T
    JSON.parse("true") == true // true
    JSON.parse("1") == true // true

    Currently the only way to get the correct value is:

    
    JSON.parse("False".toLowerCase()) == false // true
    JSON.parse("True".toLowerCase()) == true // true

    which is pretty annoying and more importantly will break in case there actually would be a boolean value returned. So the only bulletproof workaround is:

    
    var value = "False" + ""
    JSON.parse(value.toLowerCase()) == false // true
    value = "True" + ""
    JSON.parse(value.toLowerCase()) == false // true

    which is ridiculous for getting a simple value.

  3. Example for team-feature decoding is out of date (it's not an array anymore)

 

Thanks, the documentation will be updated (we can't convert the true/false strings to boolean values atm).

Share this post


Link to post
Share on other sites
On 10/12/2016 at 9:45 AM, TheLexoPlexx said:
  • Reported date: 12.10.2016

  • Reported by: TheLexoPlexx

  • Contact mail: alexander@tesserakt.pro

  • OW version: 0.97.306.0

  • Summary: overwolf.io.readFileContents() missing in documentation

  • Change request description

    • Please add overwolf.io.readFileContents() to the documentation. I would also volunteer to help with the documentation.

  • Add info: Example callback results:

    
    Object {status: "error", reason: "File doesn't exsits"}
    
    Object {status: "success", content: "<file-content>"}
  • Add Info: Parameters:

    • Parameter: filePath <string>
      The Full Path of the File to read, originating from: "C:\Program Files (x86)\Overwolf\<your_version>\"

    • Parameter: encoding <encoding>
      The Encoding to use to read the file

    • Parameter: callback <function>
      Called with the status of the request

We prefer not to publish this function, you should use the simple io plugin instead.

Share this post


Link to post
Share on other sites
On 10/10/2016 at 6:52 PM, goodbyte said:
  • Reported date: 10/10/2016

  • Reported by: goodbyte

  • OW version: 0.99.2

  • Summary: Dota 2 - game_match_state_changed doesn't work.

  • Bug/Change request description

    • How to reproduce / what change is requested (if needed add here code segments)  

    • Steps to reproduce:

      1. overwolf.games.events.setRequiredFeatures(['game_match_state_changed'], console.log.bind(console));

      2. {status: "success", supportedFeatures: Array[0]}

Bug was opened, thanks!

Share this post


Link to post
Share on other sites
On 10/13/2016 at 1:29 PM, TheLexoPlexx said:
  • Reported date: 13.10.2016

  • Reported by: TheLexoPlexx

  • Contact mail: alexander@tesserakt.pro

  • OW version: 0.97.306.0

  • Summary: Permissions from the manifest.json don't register properly.

  • Bug/Change request description

    • Steps to reproduce:

      1. In your App: Add random Permissions to your manifest.json [specially FileSystem]

      2. Make a second window, or your Options Window and try to use any method requiring Permissions

  • Expected Results:

    • Method gets exectuted

  • Actual Results:

    • App stops and prints warning as if the Permissions would not be set.

  • Add info

    • Topic:

       

Thanks, bug was opened. Please use our I/O plugin to access files.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now