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
Disabling various XP in EQ2
Moderator: Team Members
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Disabling various XP in EQ2
It was persistent the last time I played, that was about 6 months ago.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: Disabling various XP in EQ2
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
Or... scatman...
Should I just make character_flags a BigInt(20)? not sure if that'll work.
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.
Who is online
Users browsing this forum: No registered users and 0 guests