Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2013-12-10 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
December 10, 2013, 03:52:38 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://ownageclan.com/jenkins/job/War3Source-Default1/
WIKI page: http://ownageclan.com/wiki/index.php/Main_Page
War3Source GIT repo: https://github.com/War3Source/War3Source
War3Source servers: http://www.game-monitor.com/search.php?vars=a_war3_version=
War3Source Function Reference: http://ownageclan.com/war3source/functionreference/?search=player
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Troubleshooting framework  (Read 68 times)
Remy Lebeau
Sr. Member
****
Posts: 304



View Profile WWW
« on: November 24, 2013, 09:56:15 PM »

Having created the HUD, which works really well to see visually that buffs are being applied, etc, someone suggested an idea for a troubleshooting framework that could be really helpful.

Basically, I'm going to work on creating a system that shows you what races are currently affecting you.  I don't have time right now to do it (in the middle of moving house), but thought I'd start the discussion so that when I do have the time it'll be ready to go (or if someone else feels like creating it, that'd be swell).

Do others think this would be possible to do?

My current thinking is to cycle through every w3buff on a player, and if they have non-default values for a buff then do some sort of search that returns what raceid is applying that buff (or multiple ones if there are more than 1).  Is it possible to read a raceid on a w3buff?

Any other ideas for different / better ways of doing it?
Logged

Necavi
Sr. Member
****
Posts: 445


View Profile
« Reply #1 on: November 24, 2013, 11:27:02 PM »

A more intrusive (although also more efficient and useful) method would involve basically creating a hook in the buff creation stuff and make a list of the ones that are actually different.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!