Single Key Morph/Unmorph

Jeanne
Exile
Post #1

Single Key Morph/Unmorph

by Jeanne » Thu Jul 22, 2010 10:43 am

Magnic wrote:thats good and have fun with that. i dont care.
With an attitude of "My macros are the best and they work" even when they aren't the best and have a lot of bugs that make them broken that means that if you post a macro people aren't going to use them. Do you want that?

You should be more humble Magnic and accept that you aren't perfect in writing macros and have a lot to learn from others who are more skilled than you.

Alces
Exile
Post #2

Single Key Morph/Unmorph

by Alces » Thu Jul 22, 2010 11:12 am

Tip'ii wrote:Yes, I get warning messages that I already am wearing the belt, no, those don't bother me.
But if you wanted to have cleaner text logs, then you could borrow from Gorvin's belt check code on page 1, and:

Code: Select all

f1
	{
	if @my.belt_item != "belt of the wild"
	"/equip beltofthewild\r"
	end if
	"/useitem beltofthewild /shape Yorilla\r"
	}

f2
	{
	if @my.belt_item != "belt of the wild"
	"/equip beltofthewild\r"
	end if
	"/useitem beltofthewild /shape Haremau Kitten\r"
	}

f3
	{
	if @my.belt_item != "belt of the wild"
	"/equip beltofthewild\r"
	end if
	"/useitem beltofthewild /return\r"
	}

f4
	{
	if @my.belt_item != "belt of the wild"
	"/equip beltofthewild\r"
	end if
	"/useitem beltofthewild /shape Rudremau\r"
	}
...right?

Gorvin
Exile
Post #3

Single Key Morph/Unmorph

by Gorvin » Thu Jul 22, 2010 11:22 am

Alces wrote:
Tip'ii wrote:Yes, I get warning messages that I already am wearing the belt, no, those don't bother me.
But if you wanted to have cleaner text logs, then you could borrow from Gorvin's belt check code on page 1, and:

Code: Select all

f1
	{
	if @my.belt_item != "belt of the wild"
	"/equip beltofthewild\r"
	end if
	"/useitem beltofthewild /shape Yorilla\r"
	}

f2
	{
	if @my.belt_item != "belt of the wild"
	"/equip beltofthewild\r"
	end if
	"/useitem beltofthewild /shape Haremau Kitten\r"
	}

f3
	{
	if @my.belt_item != "belt of the wild"
	"/equip beltofthewild\r"
	end if
	"/useitem beltofthewild /return\r"
	}

f4
	{
	if @my.belt_item != "belt of the wild"
	"/equip beltofthewild\r"
	end if
	"/useitem beltofthewild /shape Rudremau\r"
	}
...right?
It actually should be @my.waist_item, not @my.belt_item. My mistake.


By the way people, every time a thread is derailed because someone responded to one of Magnic's posts, Eldon kills a kitten. Please think of the kittens. User Control Panel > Friends & Foes > Manage Foes > Add new foes > Magnic > Submit.

Geotzou
Exile
Post #4

Single Key Morph/Unmorph

by Geotzou » Thu Jul 22, 2010 11:26 am

Gorvin wrote: ... Eldon kills a kitten. Please think of the kittens.
Nah, Eldon is done with that as he got the morph on kittens already, took only a few weeks.

Jeanne
Exile
Post #5

Single Key Morph/Unmorph

by Jeanne » Thu Jul 22, 2010 1:01 pm

Gorvin wrote:By the way people, every time a thread is derailed because someone responded to one of Magnic's posts, Eldon kills a kitten. Please think of the kittens. User Control Panel > Friends & Foes > Manage Foes > Add new foes > Magnic > Submit.
I'm sorry for helping to derail the thread Gorvin. I have him on my foe list and stupidly looked at that post and felt the need to give him some friendly advice. Advice I know he'll never take and I knew better than to try. I'll definitely not do that again.

In Geotzou's defense, it's good to clear up any misconceptions about one of Magnic's macros in case someone tries to use it and gets frustrated at themselves for it not working.

Tip'ii
Exile
Post #6

Single Key Morph/Unmorph

by Tip'ii » Thu Jul 22, 2010 1:09 pm

Alces wrote:
Tip'ii wrote:Yes, I get warning messages that I already am wearing the belt, no, those don't bother me.
But if you wanted to have cleaner text logs, then you could borrow from Gorvin's belt check code on page 1, and:

Code: Select all

f1
	{
	if @my.belt_item != "belt of the wild"
	"/equip beltofthewild\r"
	end if
	"/useitem beltofthewild /shape Yorilla\r"
	}

f2
	{
	if @my.belt_item != "belt of the wild"
	"/equip beltofthewild\r"
	end if
	"/useitem beltofthewild /shape Haremau Kitten\r"
	}

f3
	{
	if @my.belt_item != "belt of the wild"
	"/equip beltofthewild\r"
	end if
	"/useitem beltofthewild /return\r"
	}

f4
	{
	if @my.belt_item != "belt of the wild"
	"/equip beltofthewild\r"
	end if
	"/useitem beltofthewild /shape Rudremau\r"
	}
...right?

You could, but you are trading clutter in your text log for clutter in your macro file... personal preference on that one. I like mine better still, less things to go wrong, easier to read. :D

Gorvin
Exile
Post #7

Single Key Morph/Unmorph

by Gorvin » Thu Jul 22, 2010 3:32 pm

Tip'ii wrote:You could, but you are trading clutter in your text log for clutter in your macro file...
It's not just text log clutter. Having that extra /equip command in there means the /useitem command will be unnecessarily delayed by 1 frame, since the commands have to be queued up and processed one per frame. Of course we're only talking about less than a 1/4th second delay here, and for a morph macro that's probably not a huge deal, but if this were something like a chaining, zu-planting, or shieldstoning macro, a small delay like that can occasionally screw you over.

Tip'ii
Exile
Post #8

Single Key Morph/Unmorph

by Tip'ii » Thu Jul 22, 2010 6:23 pm

Gorvin wrote:
Tip'ii wrote:You could, but you are trading clutter in your text log for clutter in your macro file...
It's not just text log clutter. Having that extra /equip command in there means the /useitem command will be unnecessarily delayed by 1 frame, since the commands have to be queued up and processed one per frame. Of course we're only talking about less than a 1/4th second delay here, and for a morph macro that's probably not a huge deal, but if this were something like a chaining, zu-planting, or shieldstoning macro, a small delay like that can occasionally screw you over.

Ahhh, good point. Thanks Gorvin. I will just never take off my belt, so now my macros are:

Code: Select all

f1
	{
	"/usei belt /shape Yorilla\r"
	}

f2
	{
	"/usei belt /shape Haremau Kitten\r"
	}

f3
	{
	"/usei belt /return\r"
	}

f4
	{
	"/usei belt /shape Rudremau\r"
	}

Magnic
Exile
Post #9

Single Key Morph/Unmorph

by Magnic » Fri Jul 23, 2010 12:52 am

Jeanne wrote:
Magnic wrote:thats good and have fun with that. i dont care.
With an attitude of "My macros are the best and they work" even when they aren't the best and have a lot of bugs that make them broken that means that if you post a macro people aren't going to use them. Do you want that?

You should be more humble Magnic and accept that you aren't perfect in writing macros and have a lot to learn from others who are more skilled than you.
im sorry you feel that way thats not how i am, maybe thats how it shows how i am on this forum, but meh its your opinon.

Talin
Exile
Post #10

Single Key Morph/Unmorph

by Talin » Tue Feb 15, 2011 3:00 pm

Thanks Tip'ii, yours is the macro my ranger is using now. I wuv KISS where appropriate. And thanks Magnic for your input. You are trying to help, I appreciate that.

Humbleness... you know...

Gremlins
Exile
Post #11

Single Key Morph/Unmorph

by Gremlins » Mon Mar 21, 2011 3:18 am

Talin wrote:Thanks Tip'ii, yours is the macro my ranger is using now. I wuv KISS where appropriate. And thanks Magnic for your input. You are trying to help, I appreciate that.

Humbleness... you know...
I used simple morphing macros like that since the beginning. It works, it's reliable, it does what it has to do.

When one remember the proper f-key that is (I have one for each of my morphs, which means I'm using quite a few modifiers for the less used. Try to remember that the dust arachne is alt-shift-f9 with the wall arachne being shift-f9, the stone arachne f9 and the hell if I remember what is alt-f9, maybe the web arachne, the idea behind that long, apparently useless comment is a reminder that you can use modifier keys with f-keys)