Key Bindings!

Suggestions for WarcraftRealms.com
Post Reply
User avatar
Longarms
Posts: 9
Joined: Tue Oct 04, 2005 10:02 am
Contact:

Key Bindings!

Post by Longarms »

Census Plus causes my WoW client to freeze for a few moments whenever I open the Panel. The first solution I came upon was to write a macro (/census+ take) and bind it to a key to take the census.

Kinda of a waste of a macro space though...

So... solution #2...

create a file called Bindings.xml in the CensusPlus folder

Code: Select all

<Bindings>
	<Binding name="Take Census" header="CENSUSHEADER">
		CensusPlus_Take_OnClick&#40;&#41;;
	</Binding>
	<Binding name="Stop Census">
		CensusPlus_StopCensus&#40;&#41;;
	</Binding>
</Bindings>
Around line 60 of CensusPlus.lua insert the following:

BINDING_HEADER_CENSUSHEADER = "Census Plus";

That's it. You now have the ability to set Key Bindings to start and stop Census in the Key Bindings menu!
Image

User avatar
Rollie
Site Admin
Posts: 4783
Joined: Sun Nov 28, 2004 11:52 am
Location: Austin, TX
Contact:

Post by Rollie »

Also, you can right click on the mini-map icon to Take/Pause/Stop a census =)
phpbb:phpinfo()

User avatar
Longarms
Posts: 9
Joined: Tue Oct 04, 2005 10:02 am
Contact:

Post by Longarms »

If I click it, it brings up the Census UI... which, as I said, freezes the game for a few moments.
Image

User avatar
DM.
Census Taker
Posts: 1130
Joined: Mon Oct 03, 2005 12:27 pm
Location: Toronto, Canada

Post by DM. »

Right-clicking the minimap icon shouldn't bring up the UI, but instead show a simple menu =S
Left-clicking it however will bring up the UI.

That is of course if your mouse is setup on the right side of your keyboard and your mouse buttons are not reversed =P
Image
Click my sig

User avatar
xpolockx
Superior Census Taker
Posts: 779
Joined: Wed Aug 10, 2005 8:31 pm
Location: Lynchburg, VA
Contact:

Post by xpolockx »

Yeah, the right click menu was brought in to combat that exact problem of the UI freezing for a few seconds, especially if your lua file is big. The keybinding thing isn't a bad idea though too, if you have a spare key that isn't already bound to something else ;)
US-Whisperwind:
Kayni, Resto Shaman
Scenario, MW Monk

Hybuir
Gear Dependent Squirrel
Gear Dependent Squirrel
Posts: 1471
Joined: Tue Sep 06, 2005 6:22 am
Location: Austin, TX
Contact:

Re: Key Bindings!

Post by Hybuir »

Longarms wrote:Census Plus causes my WoW client to freeze for a few moments whenever I open the Panel. The first solution I came upon was to write a macro (/census+ take) and bind it to a key to take the census.

Kinda of a waste of a macro space though...

So... solution #2...

create a file called Bindings.xml in the CensusPlus folder

Code: Select all

<Bindings>
	<Binding>
		CensusPlus_Take_OnClick&#40;&#41;;
	</Binding>
	<Binding>
		CensusPlus_StopCensus&#40;&#41;;
	</Binding>
</Bindings>
Around line 60 of CensusPlus.lua insert the following:

BINDING_HEADER_CENSUSHEADER = "Census Plus";

That's it. You now have the ability to set Key Bindings to start and stop Census in the Key Bindings menu!
All sorts of ingenuity :)

User avatar
Longarms
Posts: 9
Joined: Tue Oct 04, 2005 10:02 am
Contact:

Post by Longarms »

Didn't know about that. Still, a hot key is faster. I can (and have!) started a Census in combat, for example.
Image

User avatar
xpolockx
Superior Census Taker
Posts: 779
Joined: Wed Aug 10, 2005 8:31 pm
Location: Lynchburg, VA
Contact:

Post by xpolockx »

Yeah, to each his own I guess, thanks for making it available :)
US-Whisperwind:
Kayni, Resto Shaman
Scenario, MW Monk

Tsarmina
Posts: 45
Joined: Sat Aug 19, 2006 3:06 pm
Location: New England, USA

Post by Tsarmina »

/censusplus take

Use it as soon as I log in.

User avatar
Longarms
Posts: 9
Joined: Tue Oct 04, 2005 10:02 am
Contact:

Post by Longarms »

I hit Control-Help :)
Image

Hybuir
Gear Dependent Squirrel
Gear Dependent Squirrel
Posts: 1471
Joined: Tue Sep 06, 2005 6:22 am
Location: Austin, TX
Contact:

Post by Hybuir »

/censusplus timer 1 :)

NONSTOP CENSUSPLUS GOODNES!! ZOMG! IT'S GOING ALL NIGHT! IT'S THE C+ GRAVY TRAIN........ AND BABY IT AIN'T STOPPIN'!

User avatar
DM.
Census Taker
Posts: 1130
Joined: Mon Oct 03, 2005 12:27 pm
Location: Toronto, Canada

Post by DM. »

And that just adds to the count that you see on the server stats page...
Image
Click my sig

Hybuir
Gear Dependent Squirrel
Gear Dependent Squirrel
Posts: 1471
Joined: Tue Sep 06, 2005 6:22 am
Location: Austin, TX
Contact:

Post by Hybuir »

and starts it as soon as you login ;)

Post Reply