Macro ambiguity
Old 06-24-2014, 08:59 PM   #1
Darkdingus
Rare Collector
 
Darkdingus is offline
Join Date: Dec 2010
Location: Canada
Posts: 952
Default Macro ambiguity

My personal macro is only one click per button press, but goes one step further and returns me to my previous position afterwards.

Specifically, it clicks stacks of trophies in my inventory, at the first 8 positions, and then brings them back to where I was clicking before.

Useful for a few things:
1. Looting, when I get few stacks, I click them in the monster's inventory, then direct it to the first empty slot on my inventory side. It automatically returns to my previous spot on the monster's inventory, saving the time to move around.

2. Reorganizing inventory. I don't move my mouse as much when I want to move stuff to my storage, since it automatically goes back to storage so I have less moving around when I want to drop things in there.

3. Sacrificing trophies. When I sacrifice only a few, using my macro to select a trophy slot, then automatically coming back to highlight the very same altar.

Here's a pseudocode.
1::SelectSlot(1)
2::SelectSlot(2)
...etc
SelectSlot(slotnumber)
{
Save current mouse position
click the slot selected in inventory
return mouse to the original position (without clicking)
}
__________________
A man in love is incomplete until he marries.
Then, he's finished.
  Reply With Quote

Old 06-25-2014, 12:22 AM   #2
Glitchless
Administrator
 
Glitchless's Avatar
 
Glitchless is offline
Join Date: May 2008
Posts: 8,550
Default

1 click per macro and no logic or conditional statements.

Your macro fits within the guidelines of allowed macros.
__________________
Computing the probability that at least one of the following events will occur:
P(a or b ... or z) = 1 - P(!a and !b ... and !z)
Probability
  Reply With Quote

Old 06-25-2014, 09:42 AM   #3
Sapreaver
Temporarily Suspended
 
Sapreaver is offline
Join Date: Aug 2008
Posts: 1,627
Default

Glitch, wouldn't his macro need logic to determine the first empty slot. :O
  Reply With Quote

Old 06-25-2014, 10:03 AM   #4
Glitchless
Administrator
 
Glitchless's Avatar
 
Glitchless is offline
Join Date: May 2008
Posts: 8,550
Default

Quote:
Originally Posted by Sapreaver View Post
Glitch, wouldn't his macro need logic to determine the first empty slot. :O
Yes. The way I read it, he had a different key bound for each slot. If the macro itself is going to multiple slots or is checking for which slot is empty, then yes, that is logic and is not allowed.
__________________
Computing the probability that at least one of the following events will occur:
P(a or b ... or z) = 1 - P(!a and !b ... and !z)
Probability
  Reply With Quote

Old 06-29-2014, 01:29 AM   #5
Darkdingus
Rare Collector
 
Darkdingus is offline
Join Date: Dec 2010
Location: Canada
Posts: 952
Default

No logic allowed
My underlying question was whether "remembering" the place the mouse was at before clicking said slot was counted as "logic". Thanks for the reply.

I used to have a project where it WAS going to do so (search for empty spots to click) until I learned about the legality (well, lack) thereof.
__________________
A man in love is incomplete until he marries.
Then, he's finished.
  Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 11:14 PM
Boards live since 05-21-2008


vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.