Kind of a dumb question...

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

Zak
orc pawn
orc pawn
Posts: 28
Joined: Fri Mar 05, 2004 9:54 am
Contact:

Kind of a dumb question...

Post by Zak » Tue Mar 30, 2004 8:49 pm

Okay I am very new to programming languages, but I am starting to comprehend the syntax that is used in the macros. What I want to know is how much it would help me comprehend macros, and MQ2 as a whole to study C++?
Is there a better programming language that you gurus could advise me to learn as my first? I got the wife's permission to buy 1 book on a programming language, and want to make the purchase count. If any of you could possibly suggest the Language, and/or the book that would be my best investment it would be appreciated. I would like to get a formal education in computer science, however at this point things are too complicated.
Please no flames, I am not ashamed to admit that I suck at this stuff, because I am a newbie. Thanks in advance for your much valued advice. :)
Man without religion is like a fish without a bicycle

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

Post by magictiger » Tue Mar 30, 2004 8:57 pm

Actually, it's not so dumb a question.
Because I'm kind of in the same boat, only I can't even buy a book!
From the old Param system, it looks like C would be the best starting point. With the new MQ2Data system coming in, I'm not sure. My knowledge is pretty limited, but an object-oriented C++ tutorial/book might work.

To be honest, web tutorials are probably going to help you a LOT more than a printed book. I'd point you to a few, but the first step is to learn to use Google. Will save you a lot of time down the road :)

theafkxper
a hill giant
a hill giant
Posts: 207
Joined: Sun Sep 08, 2002 6:41 pm

Post by theafkxper » Tue Mar 30, 2004 11:57 pm

http://cplusplus.com/doc/tutorial/

great info there, if it helps either of you :wink:

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Wed Mar 31, 2004 12:37 am

If you just want to understand macroing you really dont need any programming stuff, you just need to know that "float" means a number like 12.345 and "int" means 12 (whole number, no decimal), "string" means text, and "bool" means true/false. And you need to understand the world around you ;) Object oriented simply puts things in a logical place, and having "types" says what sort of object it is. Everything in an object has some attachment to that object... for example... ${Me.Mana} ... Mana is part of Me... Me is of type "character" because you are a character, and Mana is of type "int" because its a whole number. If you applied this to real world, you might have ${Desk.Color} where Desk is of type "furniture" and Color is of type "string" .. . the end result of this might be "brown".

It's very very simple with no knowledge of any kind of programming... people tend to make things more difficult than they really are.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
wilso132
Contributing Member
Contributing Member
Posts: 106
Joined: Thu Oct 17, 2002 11:53 am

Post by wilso132 » Wed Mar 31, 2004 2:42 am

:lol: Lax, you sound just like a professor.

Zak
orc pawn
orc pawn
Posts: 28
Joined: Fri Mar 05, 2004 9:54 am
Contact:

Post by Zak » Wed Mar 31, 2004 9:03 am

Wow thanks for the responses. I think I will start looking more into the tutorials option, I am not just interested in the macros themselves, I would like to delve much deeper, eventually being capable of writing my own plug-ins. I would like to become capable of owning a title like “DEV”
So I need to study C++ and Object-Oriented Programming?
:)
Man without religion is like a fish without a bicycle

mekaniak
a hill giant
a hill giant
Posts: 290
Joined: Thu Sep 18, 2003 3:21 pm

Post by mekaniak » Thu Apr 01, 2004 9:21 pm

I would take Lax over my computer science teacher anyday...She lectures and it is so boring. The only plus I have in that class is the fact that the seats are theater like so when i turn around to see the clock I get to look at the hotties behind me, I cant wait for warm weather---warm weather = skirts for the clueless ones.
I love the Power Glove, it's so bad

Say hello to M.C. Smurf!

[quote]<mekaniak> adios guys.
<dont_know_at_all> idiot
* mekaniak is now known as mekaniak_dinner
<Jacensolo> me?
<dont_know_at_all> not this time
[/quote]

[quote]
<dont_know_at_all> A_Enchanter_00, how the fuck should i know? it's your code[/quote]

I love quoting IRC chat.

Kaitain
a ghoul
a ghoul
Posts: 109
Joined: Fri Oct 10, 2003 1:49 pm

Learning Programming

Post by Kaitain » Wed Apr 14, 2004 8:15 am

<deleted>
Last edited by Kaitain on Thu Apr 15, 2004 4:51 pm, edited 1 time in total.

Pigeon
orc pawn
orc pawn
Posts: 22
Joined: Fri May 16, 2003 9:43 pm

Post by Pigeon » Wed Apr 14, 2004 12:29 pm

Naw, not a dumb question. =)

I think knowing a higher language would help a lot in understanding macros.

But- as for which language would be best is a matter of opinion. I'd say it would be best to skip over scripting languages like visual basic (censor: i'm an idiot; please ignore me) or Perl and do a more structured language. Java is a great place to start, not because it is a useful language, (it's dirt slow- maybe not as bad as vb, but still) but because it is an elegent language and because its API is fabulously well documented and it has a free IDE. (also, it has similar syntax to C[++]; it's pretty easy to cross over) Once you learn the basics of Java, you can just use Sun's API straight off the web and learn how to use any given library. (although, that doesn't mean being able to handle large projects- for that, you really do need some solid, concrete training)

As far as getting a book goes, well, the book I learned off of is pretty outdated. Just go to a bookstore and take advantage of their cosy little seats, and start reading. But *don't* get a java book that emphasizes applets, coding for the web etc., that's very different.

Kaitain
a ghoul
a ghoul
Posts: 109
Joined: Fri Oct 10, 2003 1:49 pm

Free C# IDE

Post by Kaitain » Thu Apr 15, 2004 7:47 am

<deleted>