January, 2010


25
Jan 10

Ultimate Hunter Pet Macro

I finely figured it out. A one-stop-shop to Tame Call, Dismiss, Revive, Mend and Controll your pet.

#showtooltip
/cast [nopet,btn:2]Tame Beast
/castsequence [nopet,btn:1] reset=5 Call pet, Revive pet
/stopmacro [nopet]
/cast [btn:3]Eyes of the Beast;[btn:2]Dismiss Pet;[target=pet,dead]Revive Pet;Mend Pet

The main line that makes this work great, is the second.

/castsequence [nopet,btn:1] reset=5 Call pet, Revive pet

What this will do is, if you dont have a pet it will first call, then try to Revive it. What makes it so great is some macros make you hold a modifier to rez your despawned pet. With this you just click it twice. If you pet is just gone one, click will call him.

The last line, the second main part of the macro.

/cast [btn:3]Eyes of the Beast;[btn:2]Dismiss Pet;[target=pet,dead]Revive Pet;Mend Pet

If the third line is to take care of the issue of your dead and despawned pet  this line takes care of your pet being dead and still there.

There is also in there several other parts. When you dont have a pet (either its in the stable, dismissed or dead and despawned) and you click button 2 (right-click) you will try to tame pet. When you have a pet and you click button 2  you will dismiss your pet. If you click button 3 (scroll wheel click) you will cast eyes of the beast.

Im still new to tutorials and breakdowns so sorry if it sucks.


21
Jan 10

Fried PSU

Yesterday my computer restarted its self twice, but never started up, just reset and idled with nothing happening. Holding the power button doesn’t do a damn thing so i go and pull out the power cord (yes  i know a bad idea), i hear a spark, stop and find the switch on the PSU. Well that spark i head was bad (if you cant tell yet from the picture).

If you follow me on twitter (can also see it on my lifestream page) you probably already know this.

Well after my mom got home from work we went to Best Buy (she wanted to buy her laptop and wanted me to help her pick it out). We also picked up a new PSU and im seem to be all set. The new PSU is better then my old one, has room for expansion.

While as Bestbuy i also met some old friends who i haven’t seen in ages. Both of them working there too.

All in all it was a scary experience but turned out good, and it seems that nothing else was fried either.


18
Jan 10

My Lifestream

Not to long ago, i saw a video about the new LockerGnome.net and that it uses Wordpress and a plugin called Lifestream. So i did the search found it and installed it. So far im liking it. A one stop shop for all the things i do (that have RSS feeds) on the nets.

You can view my Lifestream here

After i added Twitter, Last.fm, Hulu i realized that i dont have much of a life online to share. But since i do spend about 80% of my day in WoW and the WoWArmory just added in activity feeds showing achievement gains, boss kills and loots looted. I went to create the feed to my characters.

Iv got something that works and this is a good place to start using my GitHub account (and add that to my stream) so hopefully ill get that added.


9
Jan 10

Make Icon Function

With ever project there are always helper functions that do simple things. This function is something i created to help make icons for my WoWMap site. All you need to do is pass it an associative array (aka an object in JS) and it will return the google maps GIcon object customed with your options.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
function makeIcon(options)
{
	var settings = $.extend({
		'image': 'icons/white.png',
		'shadow': 'shadow.png',
		'iconSize': [24,28],
		'shadowSize': [36,24],
		'iconAnchor': [12,27],
		'infoWindowAnchor': [20,3]
	}, options);
 
	var base_icon = new GIcon(G_DEFAULT_ICON);
	base_icon.image = 'assets/img/'+settings.image;
	base_icon.shadow = 'assets/img/'+settings.shadow;
	base_icon.iconSize = new GSize(settings.iconSize[0],settings.iconSize[1]);
	base_icon.shadowSize = new GSize(settings.shadowSize[0],settings.shadowSize[1]);
	base_icon.iconAnchor = new GPoint(settings.iconAnchor[0],settings.iconAnchor[1]);
	base_icon.infoWindowAnchor = new GPoint(settings.infoWindowAnchor[0],settings.infoWindowAnchor[1]);
 
	return base_icon;
}

I use the jQuery extend function to merge the any provided options with the default options.

If you want to use this with your site you will need to change the url for the image and shadow property on line 13 and 14. You can also extend this to edit the other properties of the GIcon object, these are just the basic ones needed to customize (at least for me).