Page 1 of 1

Disabling various XP in EQ2

Posted: Mon Jan 09, 2012 10:08 pm
by John Adams
Anyone,

Is the Disable Combat XP, Disable Quest XP, and Disable Character Bonus XP settings persistent when you log off? Meaning, if you turn off your Combat XP, camp, and come back later in the day, is your XP still disabled?

I've implemented the toggles for Quest/Bonus XP, but noticed there never was a DB field to save these flags. It would be easy to add, just not sure why LE didn't do it originally... maybe this is why?

Thanks

Re: Disabling various XP in EQ2

Posted: Mon Jan 09, 2012 10:43 pm
by Jabantiz
It was persistent the last time I played, that was about 6 months ago.

Re: Disabling various XP in EQ2

Posted: Tue Jan 10, 2012 6:34 am
by John Adams
Cool thanks. And once again, in a dream, a solution came to me :) I was wondering why the CF2_* values were "too big" for the flags value, and it's because the CF2_CHARACTER_BONUS_EXPERIENCE_ENABLED is a value of 38, so I need to do that fancy

Code: Select all

	if (flag < 32) GetInfoStruct()->flags |= (1 << flag);
	else GetInfoStruct()->flags2 |= (1 << (flag - 32));

Or... scatman...

Should I just make character_flags a BigInt(20)? not sure if that'll work.