Staredit Network > Forums > Modding Assistance > Topic: Adding a button to B.net's interface
Adding a button to B.net's interface
Feb 25 2013, 8:37 pm
By: Jack  

Feb 25 2013, 8:37 pm Jack Post #1

>be faceless void >mfw I have no face

On battle.net, the main chat screen has several buttons on the left side of the screen (Join, Create, Channel, Friends, and so on). How would one go about replacing or adding in a new button there, and binding new functionality to it?

To be more precise, I'm hoping to add an automated matchmaking system, so you'd press the Ladder button and it would put you in the queue looking for a game, and then when a game is found you'd be put together with the other person into the game. It's probably beyond my coding ability but I figure I need a project to work on that's not simple PHP stuff, so I've chosen this.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Feb 26 2013, 1:05 am iCCup.xboi209 Post #2



Maybe you could check through reading memory addresses to see if the League button was pressed and create an overlay for auto match making system then send user info to a server and server sends info back then somehow join somebody else's game.




Feb 26 2013, 3:28 am O)FaRTy1billion[MM] Post #3

👻 👾 👽 💪

Use a resource editor (such as ResHacker) and find it in battle.snp. There are your buttons. You'll have to find a way to hack into battle.net's dialog procedure to handle the new button. Other than knowing that Battle.net uses (as far as I know) standard windoze dialogs, I don't really know how to help more.

Post has been edited 1 time(s), last time on Feb 26 2013, 3:34 am by FaRTy1billion.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Feb 26 2013, 11:59 pm Jack Post #4

>be faceless void >mfw I have no face

OK I'm a newb, I found how to change the text of the button using ResHacker, but I can't work out how to isolate the memory address changed when you click the button (using CheatEngine to scan). Presumably once I work that out I can make a program which, when that memory address is changed, creates a new window and starts scanning for games, and so on.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Feb 27 2013, 1:32 am O)FaRTy1billion[MM] Post #5

👻 👾 👽 💪

It's because it's a function, not a value...
http://en.wikibooks.org/wiki/Windows_Programming/Dialog_Boxes#Dialog_Box_Procedures (random link from google search of windows dialog procedure)
I don't really know what it would take to hack in to (or even find :P) this function ... It's usually just a really big switch/case list. Everything you do with the window is sent to this function as a message (msg) with some parameters (wParam and lParam) ... For clicking a button it sends WM_COMMAND as msg, and one of the parameters has the control ID (found in ResHacker if you right click a control, hit Edit Control, and is the rightmost box with the coordinates) ...

Post has been edited 4 time(s), last time on Feb 27 2013, 1:41 am by FaRTy1billion.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:47 pm]
MTiger156 -- u u
[08:01 am]
UEDCommander -- Suicidal Insanity
Suicidal Insanity shouted: http://photos.arlinghaus.org/Animals/Species/WesternJackdaw/2019.11.16-FSH_3770-QHD-%7BFA19D1D3-182C-4723-964D-C30A764A7D13%7D.jpg <- Its missing a speech bubble about SCR bad blizzard bad modding good 1.16 good
u
[02:16 am]
Ultraviolet -- Suicidal Insanity
Suicidal Insanity shouted: http://photos.arlinghaus.org/Animals/Species/WesternJackdaw/2019.11.16-FSH_3770-QHD-%7BFA19D1D3-182C-4723-964D-C30A764A7D13%7D.jpg <- Its missing a speech bubble about SCR bad blizzard bad modding good 1.16 good
http://www.staredit.net/uploads/avatars/4811.png?312523688 pretty solid ;)
[02:14 am]
Ultraviolet -- That's supposed to be pr0nogo :P
[12:43 am]
MTiger156 -- Not sure why it takes an ultra-high resolution image of a bird to get that point across, but ok
[06:36 pm]
Suicidal Insanity -- fortheovermind
fortheovermind shouted: my turn rate bar from the Create panel is no longer there. my games are created with the default 12 and i can no longer modify it, what could be causing this?
Known patch bug
[06:07 pm]
Ultraviolet -- lifebot This version appears to be older than the version I already have downloaded (1.5). Why is this one being posted?
[06:03 pm]
Ultraviolet -- Zoan
Zoan shouted: MTiger156 lifebot woah, that's awesome! I'm too lazy right now to check, but does it work with Remastered or 1.1.16 only?
I haven't used it in the latest version of remastered, but I assume it still works. It definitely did before. It's pretty neat. Super fast & easy way to create a save/load system
[2019-11-20. : 5:02 pm]
fortheovermind -- my turn rate bar from the Create panel is no longer there. my games are created with the default 12 and i can no longer modify it, what could be causing this?
Please log in to shout.


Members Online: Roy, izabelleomoody, ylezakone