• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->
MQ2Collections

MQ2Collections

Other Authors
TypePun
Included in Very Vanilla
Very Vanilla Included! No need to download.
Server Type
🏢 Live 🏘️ Emu Test

Wiki Manual

What is this?


MQ2Collections creates a number of collection types for MQ2 scripts. Out of the box MQ2 supports one collection: the array. Collection types enable script writers to use data structures that more naturally pair with the algorithm they are implementing. For example, if a script writer is implementing a first-in first-out structure for casting buffs, then a queue would be an appropriate structure. On the other hand, if he or she is maintaining a set of IDs representing mobs pulled to camp, then a set or list would be the natural mechanism.

Why did I write it?


My motivation in writing this plugin was to expose more powerful and natural data structuring tools to script writers. With these tools, script writers will be able to express solutions that solve the problem they want to solve rather than organizing data and building data structures.

What types are available?


The current release makes available the following data structures: the stack, set, list, queue and map. Iterators over the set, list and map are also provided. For those familiar with the C++ Standard Template Library (STL), the types and their semantics should seem natural. If they do not, please let me know by email at: [email protected].

Limitations


At present, the collections hold strings. That is, if you want to store an integer, floating point value or an object, you have to first convert it (or serialize it) as a string.

Directory
Source Repository
https://github.com/RedGuides/MQ2Collections
[git] Automation options?
Yes
Author
TypePun
First release
Last update
Rating
0.00 star(s) 0 ratings

Share this resource

Latest updates

  1. 20220817

    〰️Commits - Fix 32-bit build (fe698db)
  2. Release 1.2.0.0

    Change Find and Firsts to return temporary iterator. Implement Clone method on iterators.
  3. new list features and added quoted strings.

    Add Delimiter property to list, enhances strings to support quoted strings and escaped characters.
Back
Top