Page 1 of 4

Plugin Help

Posted: Sat Oct 23, 2004 10:10 pm
by ddmsiu
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 =/

Posted: Sat Oct 23, 2004 10:13 pm
by peach
plugin != macro

BLANK DOT MAC DOES NOT GO IN A SEE PEE PEE FILE MMKAY MACROS DO NOT REQUIRE COMPILING

Posted: Sat Oct 23, 2004 10:24 pm
by ddmsiu
lol

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

Posted: Sat Oct 23, 2004 10:25 pm
by peach
MACROS DO NOT REQUIRE COMPILING

Posted: Sat Oct 23, 2004 10:26 pm
by TheUnholy
oh man, lol irl for real.

Posted: Sat Oct 23, 2004 10:32 pm
by fice
wow, threads like these should be locked right away, no explanations given. also banning the users would be nice.

Posted: Sat Oct 23, 2004 10:35 pm
by peach
there was one yesterday exactly like it, got deleted

Posted: Sat Oct 23, 2004 11:32 pm
by ddmsiu
jeez. i guess this isn't the place for help

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

Posted: Sat Oct 23, 2004 11:43 pm
by magictiger
You, ddmsiu, are a fucking moron that can't take a hint. Just STFU, delete MQ2, and move along.

Posted: Sat Oct 23, 2004 11:46 pm
by Jerle69
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?

Posted: Sun Oct 24, 2004 12:26 am
by ddmsiu
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.

Posted: Sun Oct 24, 2004 12:28 am
by ieatacid
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.

Posted: Sun Oct 24, 2004 12:33 am
by Night Hawk
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.

Posted: Sun Oct 24, 2004 2:02 am
by hiipii
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

Posted: Sun Oct 24, 2004 2:59 am
by TheNewGuy
Please also add to TFM that right shoes go on right feet, left shoes on left feet. Thank you.