/cast item to open a container?

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

horseshoecrabs
a ghoul
a ghoul
Posts: 89
Joined: Fri Jun 10, 2005 6:35 pm

/cast item to open a container?

Post by horseshoecrabs » Fri Oct 14, 2005 9:54 pm

http://www.macroquest2.com/wiki/index.php//cast

I was just wondering if there's a game-mechanics reason why /cast can't open a container rather than using /itemnotify 25 rightmouseup, for example.

I ask because I have a bad habit of holding my alt key down on occasion to look at the next spell I intend to cast and it causes my bags not to open and shut properly when running manarobe.mac. Yeah, I'm a dork but I figured it was worth asking about. :)

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri Oct 14, 2005 10:03 pm

It's open source dude, make /cast do whatever you want.

/face: /cast me heading 90
/who: /cast who
/delay: /cast delay 10
/target: /cast target "your mom"
--
<Thedude> I have to say your there retarded one.

horseshoecrabs
a ghoul
a ghoul
Posts: 89
Joined: Fri Jun 10, 2005 6:35 pm

Post by horseshoecrabs » Sat Oct 15, 2005 12:21 am

I don't understand, but I'm not at all familiar with C++ or any other modern programming languages. Should I assume I won't be able to implement this on my own?

ebs2002
a lesser mummy
a lesser mummy
Posts: 72
Joined: Mon Apr 18, 2005 7:17 pm

Post by ebs2002 » Sat Oct 15, 2005 12:30 am

In manarobe.mac, change

Code: Select all

/itemnotify 25 rightmouseup
to

Code: Select all

/nomodkey /itemnotify 25 rightmouseup
That will make it so that, even if you're holding in 'alt', the right click will go through as if you weren't.

http://www.macroquest2.com/wiki/index.php//nomodkey

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Sat Oct 15, 2005 1:17 am

horseshoecrabs wrote:I don't understand, but I'm not at all familiar with C++ or any other modern programming languages.
You are expert on arcane programming languages?

But because you are stupid:
/cast is for casting spells
/notify and /itemnotify are for manipulating the UI
--
<Thedude> I have to say your there retarded one.

horseshoecrabs
a ghoul
a ghoul
Posts: 89
Joined: Fri Jun 10, 2005 6:35 pm

Post by horseshoecrabs » Sat Oct 15, 2005 2:50 am

Thanks EBS, that's exactly what I needed!

And don't_know_at_all, it's not very nice to intentionally associate ignorance with stupidity. I freely admit to ignorance and said as much at the beginning of the thread. Thanks for the replies all the same, but EBS was able to infer my real need (where I didn't know what it was) and give me the solution to that need.

Cheers!

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Sun Oct 16, 2005 12:48 am

If someone asked you why the brake pedal doesn't steer the car, what would you think?
--
<Thedude> I have to say your there retarded one.

horseshoecrabs
a ghoul
a ghoul
Posts: 89
Joined: Fri Jun 10, 2005 6:35 pm

Post by horseshoecrabs » Sun Oct 16, 2005 2:26 am

I think you're so impressed with your "developer" status that you feel the right (or need) to be rude to a n00bie who asked a question after failing to find the answer on his own. Then after realizing that a non-developer provided the correct answer based on the information provided in the very first post, you go on to attempt a rationalization for your diagnosis rather than congratulating the person who actually provided the correct answer.

I already thanked you once for your feedback despite your somewhat hostile tone. Is there something else you expect from me, or should I just look forward to more insults from you?

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Sun Oct 16, 2005 4:32 am

Well, you won't open the manual. You won't open the code. You don't know that "cast" does not mean "open". You have no clue at all about why it's a bad thing to congratulate someone for rewarding a lazy fuck. Frankly, I fail to see how you will ever contribute to this community.

So, I expect one last snarky post from you in this thread before I ban you.
--
<Thedude> I have to say your there retarded one.

niteowlpc
orc pawn
orc pawn
Posts: 11
Joined: Tue Oct 11, 2005 7:33 am

Post by niteowlpc » Sun Oct 16, 2005 12:50 pm

I would think that person has never driven a car before, not that they are stupid

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Sun Oct 16, 2005 1:47 pm

THis thread restores my faith in humanity. I envision a world where all things are handled by the /cast command.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

ebs2002
a lesser mummy
a lesser mummy
Posts: 72
Joined: Mon Apr 18, 2005 7:17 pm

Post by ebs2002 » Sun Oct 16, 2005 8:28 pm

I don't think he is a moron because he found an option, "cast", that seemingly right clicked on a clickable item (according to the wiki). He was confused why he can "right click" his mana robe, but not his bag.

It is surely a logical step to take for someone who didn't analyze the source code of everquest. To suggest he's stupid because he didn't analyze the source code of something is elitist.

He has already been contributing to the community. Check out his Mana Robe macro.
You are expert on arcane programming languages?
I know plenty of people who know HTML and BASIC, but wouldn't understand a stitch of modern programming.
You have no clue at all about why it's a bad thing to congratulate someone for rewarding a lazy fuck.
He obviously was trying to do his homework and was trying to contribute. If you're implying I broke some rule by helping him, expletives are tempted to leave my lips.

I have no problem when you flame people who deserve it, DKAA. He didn't deserve it, and flaming people who don't deserve it is going to stifle the community rather than help it grow.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Sun Oct 16, 2005 9:04 pm

I was wrong. I still think it was a stupid question but I overreacted. I apologize.

And further, I would never ban someone for a snarky reply to fight that I picked.
--
<Thedude> I have to say your there retarded one.

GoldenFrog
a ghoul
a ghoul
Posts: 87
Joined: Mon Jan 31, 2005 5:58 pm

Post by GoldenFrog » Sun Oct 16, 2005 11:56 pm

I greatly enjoyed this thread, but respect the hell outta yer last post, DKAA

horseshoecrabs
a ghoul
a ghoul
Posts: 89
Joined: Fri Jun 10, 2005 6:35 pm

Post by horseshoecrabs » Mon Oct 17, 2005 1:45 am

Hey thanks everybody.

A lively discussion is better than no discussion at all.

EBS definitely understood my comment on programming languages. I too LOGO in jr. high school and did some qbasic a few years ago, and that's about it.

No hard feeling I hope!

And EBS, I tried that /nomodkey command (can't believe I never noticed that) and now I simply can't make my macro break as hard as I try. Never would I have guessed I could create something so bulletproof!

I'll post the modified code very soon.