• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Recent content by eqholic

  1. E

    Guide - For the c++ programmers: 6 ways to sequentialy read a file and their performance

    Not necessarily. The macro files are read only once per session and whether we do that in 1/50th of second or 1/1000 doesn't realy matter. For the mere reading of them I even say the hassle of using a memory mapped file for this just isn't worth it. The test is just a side product of me studying...
  2. E

    Guide - For the c++ programmers: 6 ways to sequentialy read a file and their performance

    The explanations by brainiac are completely to the point. I had to do some processing or the optimizer might skip the reading altogether. And yes in debug mode the c++ versions with iterators slow down a lot as if every byte gets scrutinized by the standards commitee. They become the slowest by...
  3. E

    Guide - For the c++ programmers: 6 ways to sequentialy read a file and their performance

    I was a bit bored and compared various ways to read a file in c++ under Windows. The test was to read kissassist.mac (552k) 100 times, count the number of bytes, spaces and lines and take the time. Source #include <cstdio> #include <algorithm> #include <iostream> #include <fstream> #include...
  4. E

    Request - The Kiss Instruction Guide Needs Information!

    I didn't have the time to look at the actual content, but if it got updated with the new stuff that's great and I thank you for that. But for the layout I personaly think, and I'm very sorry to say that, it's a major pain on my eyes. All those colors just distract. All the new tables need...
  5. E

    Guide - New language feature: functions

    For whoever writes 400 character long code lines like /if (${Select[${2ndPart},Mana,Aura,Mount,Me,Summon,End,0]} || (${FindItemCount[=${Buffs[${i}]}]}>=1 && ${Select[${Spell[${Buffs[${i}]}].TargetType},self]}) || (${FindItemCount[${1stPart}]}>=1 &&...
  6. E

    Guide - New language feature: functions

    You read my mind. :) That is one of the things I have in mind. Creating an interface to the c++ containers vector, map and unordered map. And possibly some of the algorithms. I don't know how many of the mq2 data types I can support. Maybe just strings and int.
  7. E

    Guide - New language feature: functions

    MQ2 got a new language feature: functions. See http://www.macroquest2.com/wiki/index.php/Subroutines_and_Functions. How could you live so long without that ? Also /while and /for loops can now be nested within each other. And /continue and /break will work for both.
  8. E

    Request - Nav Meshes - how should we distribute them?

    How about this ? A lot of downloading could be saved when inststead of the mesh the best known settings for generating it would be distributed. These could the be displayed in the generator as defaults.
  9. E

    Very Vanilla 09/17/2018 - Live server #bind fix. Macros will break, please test!

    Concerning the examples of function calls /echo ${Testsub} is from the first proposal and won't work. A function call requires at least an empty argument list like so /echo ${Testsub[]}.
  10. E

    Very Vanilla 09/17/2018 - Live server #bind fix. Macros will break, please test!

    Concerning using namespace std; For an explanation of why having using namspace xxx; in a header file is bad practice I refer to the C++ Core guidelines SF.7 and SF.6: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rs-using-directive. When you try to compile mq2 in...
  11. E

    Auto Macros **Old 2017 THREAD**

    Re: Auto Macros **MEGA THREAD** Sounds a bit like the definition of zealot to me. :D
  12. E

    Bug - KA: Goto to undefined label

    At line 7719 /if (!${Cures[${i}].Length}) /goto :NextCure NextCure is undefined.
  13. E

    Guide - The forgotten macro language feature: /break and /continue

    I was talking about /while. /for works fine indeed.
  14. E

    Guide - The forgotten macro language feature: /break and /continue

    That's work in progress. In a macro near you soon. :)
  15. E

    Release AutoLogin (core plugin)

    In the menu use Profiles->Open INI file and edit it manualy.
Back
Top
Cart