• Announcements

    • Colorfulstan

      Windows XP\ Vista support dropped   11/19/2016

      It's been a while but I think some people (especially first time visitor's) don't know yet
    • Raif

      Code of Conduct - Rules you should read   02/25/2017

      In General
      Be respectful! There's another person on the other end of that conversation! The forums are a place to discuss anything related to Overwolf and beyond but want this to be a place where people feel comfortable to participate and have fun! Keep it on topic, keep it constructive - Threads should be constructive and have a clear topic. Replies to that topic should be relevant. Bumping a thread without adding relevant information is not considered constructive. Bumping a thread from a long time ago is also not constructive (Overwolf updates every 2 weeks, things change). Attacks or Accusations are not acceptable - Attacking another person is unacceptable, the circumstances are irrelevant, just don't do it. Read the topic - Know what people are talking about in the thread. Stick to the given topic and don't derail it. Search - We have a great search function, use it before you post a new thread as it's possible someone has asked your question before and there's info on it. Don't see something about your question or topic after searching? Post it! (keep in mind that bumping threads from a long time ago is not recommended, post your own). Don't post about locked or deleted topics; they were deleted for a reason. No petitions, demands or "When will.." We have places for asking for games, features and we will tell you when something is coming. We don't give dates for a reason. Don't try getting around the swear filter, it's not cute or funny. This is not a place to break NDA's, talk about something illegal or break any law from any country. We will contact the necessary parties involved and you will be pursued to the extent of the law. No spam. You will be banned and your post deleted. Please write in English. This is an international forum and we'd like everyone to be able to participate.
      Bad Behavior Insults, racial slurs, profanity, vulgarity. Trolling - You know who you are, and we will find you. Nudity, porn or anything obscene. Flaming - We don't have a trained fireman on staff, so don't do it. No advertising - No one wants to buy that shirt off of you, or that WoW gold. No insulting any religion (fake, real, or imagined), sexual orientation, gender or culture. No talking about drugs or performing illegal activities. Impersonation - Don't do it, people find out and you end up looking stupid.
      What will we do if you break a rule? Warnings - You get only one. Thread/Post deletion - We delete your thread/post from the forums. Suspension - Temporary forum ban. Account termination - Permanent forum ban. Legal action or report violations to the appropriate legal authorities.
    • ChriSKate

      Think you tried everything?! - Check out the Overwolf knowledge-base!   02/25/2017

      Dear gamers, how about some DIY? -   http://support.overwolf.com/ The knowledge-base for all your Overwolf related troubleshooting, faq, bugs, known issues and much more!
      Just start typing anything related to your issue (for example, 'fps' or 'heartharena') and discover new ways to work things out.


  • Content count

  • Joined

  • Last visited

  1. Hello, I was recently looking at http://developers.overwolf.com/documentation/sdk/overwolf/games/events/overwatch/ and saw that there is a 'games.events' api hook for Overwatch. Overwatch has no public API (as far as I can tell) so how does overwolf get the data?
  2. cross-origin data

    Using overwolf.media.getScreenshotUrl() I was able to take a screenshot. I then took this screenshot and used it in a canvas using .drawImage() . When I try to perform a .getImageData() on this canvas I am blocked with the error "Uncaught SecurityError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data." I am fully aware as to what cross-origin data is, but I am surprised that overwolf is flagging it's own screenshots as cross-origin. Is there any resolution to this?
  3. Help taking screenshots

    I recently began work on a Guild Wars 2 overlay meant to assist WvW players in a way not attempted before. After recently taking a short break from the game to play Archeage I was shocked at how bad Guild Wars 2's UI is for handling large groups of people when you wish to see health information. Because of this I wanted to work on a UI that allowed larger groups doing "raids" to see real time health information on everyone easily. While no official raids exist people treat many things like them, from the large scale world bosses (60+ people) to WvW guild groups (20-80 people). Guild Wars 2 has no way of passing a players health information out of the game (I would seriously love them if they added health % to the mumble-link API) so I resorted to other measures. After much thought I settled on screenshotting the game 5 times every second, detecting colour information where the health orb is and then changing this to a percentage. This is an example of the Guild Wars 2 base game UI for those unfamiliar: http://i.imgur.com/9Ku6uG5.jpg . As you can see there is a large health orb in the centre. This is the area of the screen where I wish to read pixel information from and then using RGB thresholds establish the % of health remaining. I have had some success on this as you can see in this video (look at the minimap) Now this works fine using my current (custom) C++ plugin that screenshots, reads pixel information at a set of coordinates it was passed and then returns the RGB values for anyone playing in Windowed mode (Borderless or not). When you make the game fullscreen for some reason my plugin breaks down and it can not take screenshots of the game. This is a big problem for people using dual-AMD cards as they can't use Windowed Fullscreen without serious FPS drops. I can link my C++ if people would like, but it is actually horrific (I downloaded the sample plugin and modified a function on it using my limited C++ knowledge). So this is sort of a request; I would like a plugin that took screenshots of the active window and either passed the bitmap to javascript in the form of a javascript image object (without Cross-Origin Contamination) OR like my current plugin you could pass it a set of coordinates and it returns an array of RGB values. Any help is much appreciated. (As for why I don't use the built in screenshot feature, as far as I can tell those screenshots are saved to the drive, which means CORS is a factor and for SSDs you would burn a large amount of read/write cycles.)
  4. Plugin Help

    I'm trying to write a plugin that takes a partial screenshot of the current window and then passes this to the Overwolf application directly, without saving the file on the users drive. I'm reaching a problem where I can't work out how to convert a HBITMAP type to NPVARIANT type so I can return it to my application. Is it possible, and is the conversion of types necessary? (I'm trying to cut out the players minimap a few times a second and use pixel data to read some information from it. Due to cross-origin contamination and 'spamming' of screenshots Overwolf.Media can't help in this situation. I guess I am trying to get a plugin that returns a screenshot of the active game window then I can do the rest in Javascript; but I have 0 plugin development experience). Thanks for the help.