Plugin Help

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

Moderator: MacroQuest Developers

ddmsiu
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sat Oct 23, 2004 9:56 pm

Plugin Help

Post by ddmsiu » Sat Oct 23, 2004 10:10 pm

Hi all, nice work on the coding. Long time reader, first time poster. Just got my copy of Microsoft Visual C++ 6.0. I compliled MQ just fine, ran around PoK using the follow macro, pretty nice.

I am looking to up my factions on a few zones. I found a path macro I think would work great with what I have in mind. I want to use the genbot to activate the [url=http://macroquest2.com/phpBB2/viewtopic.php?t=8655[advpath[/url] files. I did the FaQ and that's how I did my compiling. I executed "myplugin" to make a folder "path" and pasted the genbot.mac info into the .cpp there. Then I made .inc files and copy and pasted the code for each and put it in the same directory. I am getting wierd errors such as:

C:\mq2\MQ2Genbot\././botcore.inc(1) : fatal error C1021: invalid preprocessor command 'event'

and

C:\mq2\MQ2Genbot\././botcore.inc(3) : error C2146: syntax error : missing ';' before identifier 'Init'

and

C:\mq2\MQ2Genbot\././botcombat.inc(9) : error C2143: syntax error : missing ';' before '/'



I am not big on coding, I'm an Education major lol... Just looking to take my char across a few zones to work on some faction, no combat at all. Thanks for taking the time to help me out in advance =/

User avatar
peach
a hill giant
a hill giant
Posts: 156
Joined: Fri Sep 10, 2004 8:20 pm

Post by peach » Sat Oct 23, 2004 10:13 pm

plugin != macro

BLANK DOT MAC DOES NOT GO IN A SEE PEE PEE FILE MMKAY MACROS DO NOT REQUIRE COMPILING
[img]http://img23.exs.cx/img23/4702/search2.jpg[/img]

ddmsiu
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sat Oct 23, 2004 9:56 pm

Post by ddmsiu » Sat Oct 23, 2004 10:24 pm

lol

what do i put in the .cpp? the advpath.inc code? there are two though....

User avatar
peach
a hill giant
a hill giant
Posts: 156
Joined: Fri Sep 10, 2004 8:20 pm

Post by peach » Sat Oct 23, 2004 10:25 pm

MACROS DO NOT REQUIRE COMPILING
[img]http://img23.exs.cx/img23/4702/search2.jpg[/img]

User avatar
TheUnholy
a hill giant
a hill giant
Posts: 269
Joined: Wed Mar 03, 2004 11:59 pm

Post by TheUnholy » Sat Oct 23, 2004 10:26 pm

oh man, lol irl for real.

User avatar
fice
a hill giant
a hill giant
Posts: 187
Joined: Thu Jul 17, 2003 3:28 pm

Post by fice » Sat Oct 23, 2004 10:32 pm

wow, threads like these should be locked right away, no explanations given. also banning the users would be nice.

User avatar
peach
a hill giant
a hill giant
Posts: 156
Joined: Fri Sep 10, 2004 8:20 pm

Post by peach » Sat Oct 23, 2004 10:35 pm

there was one yesterday exactly like it, got deleted
[img]http://img23.exs.cx/img23/4702/search2.jpg[/img]

ddmsiu
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sat Oct 23, 2004 9:56 pm

Post by ddmsiu » Sat Oct 23, 2004 11:32 pm

jeez. i guess this isn't the place for help

peach, you said the same thing twice without answering my question, long night?

magictiger
a snow griffon
a snow griffon
Posts: 450
Joined: Sun Mar 21, 2004 2:24 pm

Post by magictiger » Sat Oct 23, 2004 11:43 pm

You, ddmsiu, are a fucking moron that can't take a hint. Just STFU, delete MQ2, and move along.

Jerle69
a hill giant
a hill giant
Posts: 263
Joined: Wed Apr 28, 2004 3:26 pm

Post by Jerle69 » Sat Oct 23, 2004 11:46 pm

I realized something profound recently. It takes less time for a moderately intelligent human being to read and digest new information than it does for them to request help on the topic formally via a forum or some external instruction; it also takes less energy for a lazy person (and ultimately less intelligent person) to post the same help message than showing the initiative to research and learn the information for themselves.

One thing is certain, this is CONSISTENTLY true. Incredible, isn't it?
--Jerle

ddmsiu
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sat Oct 23, 2004 9:56 pm

Post by ddmsiu » Sun Oct 24, 2004 12:26 am

I've spent the last 2 days, off and on trying to figure it out. Let's see, if I have 0 programming experience, and have tried my best on my own, what does it hurt to try to come here with questions? Obviously, this is your moment to do only the opposite; belittle me and show how cool you truly are.

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

Post by ieatacid » Sun Oct 24, 2004 12:28 am

Genbot is a macro, not a plugin. Different parts get saved as either .inc files or .mac files, not .cpp files.

You don't have to compile them.

User avatar
Night Hawk
a grimling bloodguard
a grimling bloodguard
Posts: 590
Joined: Fri Aug 13, 2004 4:56 pm

Post by Night Hawk » Sun Oct 24, 2004 12:33 am

ddmsiu wrote:I've spent the last 2 days, off and on trying to figure it out. Let's see, if I have 0 programming experience, and have tried my best on my own, what does it hurt to try to come here with questions? Obviously, this is your moment to do only the opposite; belittle me and show how cool you truly are.
Becasuse your question has been asked a MILLION TIMES, and if not the same then VERY SIMILAR. If you say you have zero experieince in coding, then maybe this isn't a good place for you start.

hiipii
a ghoul
a ghoul
Posts: 93
Joined: Sat Jun 19, 2004 5:01 pm

Post by hiipii » Sun Oct 24, 2004 2:02 am

hmm i actualy decided to post the part of TFM that this was covered in and surprisingly i do no think it's there. With a bit of intelligence you should be able to figure out what to do with macros to make them work but I bet putting this in the FAQ in TFM would help lower the post count of n00bs

TheNewGuy
a snow griffon
a snow griffon
Posts: 307
Joined: Sat Jul 10, 2004 9:33 am
Contact:

Post by TheNewGuy » Sun Oct 24, 2004 2:59 am

Please also add to TFM that right shoes go on right feet, left shoes on left feet. Thank you.
[quote="dont_know_at_all"][quote="sybarite"]Um.. search works fine for me (used spell_routines.inc)... Try scrolling down you lazy fuck.

http://www.macroquest2.com/phpBB2/viewtopic.php?t=8964&highlight=spellroutines+inc[/quote]

That's great but he's looking for move.inc, you fucking spastic colon.[/quote]