General Over level 100
Reply
Over level 100
I've been playing on a server that has mobs over level 100, and I've noticed (SoD) MQ2 doesn't seem to like this. /who npc by default searches 0-100, and /tar does the same thing. I'm generally inept when it comes to coding, so I don't know where to start looking, if it's even possible to change the code to allow for higher levels by default. I'd like to set it so anything up to level 255 is valid, assuming that's the max, 300 if it isn't.

Digging through the MQ2Main folder, I did find 2 cases of where maxlevel could be changed, once for PCs in EQData.h:
(#define MAX_PC_LEVEL 85)
and once in MQ2Utilities.cpp:
(pSearchSpawn->MaxLevel = 100;)

Any help provided is greatly appreciated.
Thank you.
Sun Apr 10, 2011 9:12 am
By experimenting I answered my own question. Yes it is possible to fix the level 100 issue. Editing (MQ2Main folder) MQ2Utilities.cpp from pSearchSpawn->MaxLevel = 100 to pSearchSpawn->MaxLevel = 300 gets MQ2 to look for spawns from 0 to 300. I also changed #define MAX_PC_LEVEL 85 to #define MAX_PC_LEVEL 250 for good measure in EQData.h.

Recompile, and everything should work just fine on servers that have spawns over level 100.
Sun Apr 10, 2011 3:11 pm
I'd love to make this change in my Underfoot version. Any chance of getting the source for it posted?
Mon May 16, 2011 12:18 pm
its posted under macroquest source on the downloads page
Mon May 16, 2011 12:49 pm
Project Lead
I looked there first, and I only see Titanium, SOF, and SOD available.
Mon May 16, 2011 1:38 pm
my bad, i must have never put underfoot up, i'm on my laptop, let me see if i can find it
Mon May 16, 2011 2:08 pm
Project Lead
I think I found it. Client date is Jun 8 2010, I had a MQ with a date of Jun 9 2010. I posted it up in the download area. I'm about 99% sure thats it, if you have trouble let me know.

I'm adding you (in just a second) to the developers group so you can get plugin sources.
Mon May 16, 2011 2:22 pm
Project Lead
That looks like the right one. It worked with Underfoot, and after I tweaked the levels I can /target toons over 100. I'll let you know if I notice anything weird when I have more time to play with it.

Thanks! :)
Mon May 16, 2011 7:49 pm
General Over level 100
Reply