AutomateEverything
New member
- Joined
- Dec 3, 2014
- RedCents
- 651¢
Hi Everyone,
I'm new to this scene. I've never really had interest in "cheating" while playing Everquest, but after several years of not playing, I found myself moderately interested in seeing what I could script within the game, for the challenge of that itself. So I have never really used MQ2 on any real character, or a character above level 3, really. My end goal is to, well, Automate Everything. Can I create a character, and hit go, and have them level up, AA up, equip themselves, buy spells, sell loot, etc until they are max? I'm sure I won't get to the destination completely, but I'm interested in seeing how far I could get. There seem to be a lot of small scripts, but not much with everything hooked together.
That said, I've been playing with the macro scripting language, and seeing what the program is capable of. One of my first goals was to automate the tutorial. Not because it was extremely useful to do, but because it required a good variety of types of scripting to accomplish, exposing me to different APIs.
Since I didn't really find anything like this when I started out, I wanted to share, and also get some feedback if there are easier or newer ways for some of these things. I actually started doing this a year or two ago and lost interest upon realizing how terrible MQ2Navigation worked for larger pathing, since I didn't have any interest in recording every path. When I noticed it was getting fixed (MQ2Nav), I decided to revisit a bit.
This macro is run when you very first login to the game on a new character in the tutorial. It currently handles everything from there until you get the charm after talking to everyone.
Some of the things this includes, for examples:
I know a lot of these aren't rocket science, but most of them required quite a bit of research to figure out the first time. I wish I had a few better notes from them I started to credit, but unfortunately I did not take many. The one credit I remember is that the item pickup was from some script that worked out of Kaladim I found.
I'm looking to slowly plug along from here, but wanted to introduce myself, share some learnings, and open myself up to some feedback. Is there anything I'm doing here that is particularly bad, or there is an easier/cleaner way? I'd certainly appreciate the feedback.
Note I've broken my code out to a number of includes just for clarity to myself. I'm sure I could do with a bit more cleanup. That said, it is what it is for now.
Run the "Tut.mac" to start. I have included all my custom scripts, hope I don't have any older dependencies floating around I'm not thinking of.
I hope this helps someone, and look forward to some discussion.
edit by redbot: updated N_Moving.inc for new MQ2Nav commands
I'm new to this scene. I've never really had interest in "cheating" while playing Everquest, but after several years of not playing, I found myself moderately interested in seeing what I could script within the game, for the challenge of that itself. So I have never really used MQ2 on any real character, or a character above level 3, really. My end goal is to, well, Automate Everything. Can I create a character, and hit go, and have them level up, AA up, equip themselves, buy spells, sell loot, etc until they are max? I'm sure I won't get to the destination completely, but I'm interested in seeing how far I could get. There seem to be a lot of small scripts, but not much with everything hooked together.
That said, I've been playing with the macro scripting language, and seeing what the program is capable of. One of my first goals was to automate the tutorial. Not because it was extremely useful to do, but because it required a good variety of types of scripting to accomplish, exposing me to different APIs.
Since I didn't really find anything like this when I started out, I wanted to share, and also get some feedback if there are easier or newer ways for some of these things. I actually started doing this a year or two ago and lost interest upon realizing how terrible MQ2Navigation worked for larger pathing, since I didn't have any interest in recording every path. When I noticed it was getting fixed (MQ2Nav), I decided to revisit a bit.
This macro is run when you very first login to the game on a new character in the tutorial. It currently handles everything from there until you get the charm after talking to everyone.
Some of the things this includes, for examples:
- MQ2 Navigation use, including waiting until you reach a destination before continuing
- Loops, if statements, and other flow-control
- Functions, with and without explicitly typed parameters
- Interacting with the tradeskill window, including recipe searching and combining
- Finding a specific item slot
- Accepting tasks and their rewards
- Interfacing with the bank
- Auto attacking, minor MQ2Melee
- Handing in quest items
- Finding and picking up ground spawns
- Understanding and integrating spell scribing
- Working with bags
- Holding the script until done zoning
- Placing an augment
I know a lot of these aren't rocket science, but most of them required quite a bit of research to figure out the first time. I wish I had a few better notes from them I started to credit, but unfortunately I did not take many. The one credit I remember is that the item pickup was from some script that worked out of Kaladim I found.
I'm looking to slowly plug along from here, but wanted to introduce myself, share some learnings, and open myself up to some feedback. Is there anything I'm doing here that is particularly bad, or there is an easier/cleaner way? I'd certainly appreciate the feedback.
Note I've broken my code out to a number of includes just for clarity to myself. I'm sure I could do with a bit more cleanup. That said, it is what it is for now.
Run the "Tut.mac" to start. I have included all my custom scripts, hope I don't have any older dependencies floating around I'm not thinking of.
I hope this helps someone, and look forward to some discussion.
edit by redbot: updated N_Moving.inc for new MQ2Nav commands
Attachments
Last edited by a moderator:


