EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   AA - account_time_required (https://www.eqemulator.org/forums/showthread.php?t=39283)

provocating 01-29-2015 12:17 AM

AA - account_time_required
 
Anyone know anything about the column account_time_required in alternate advancement? I tried converting a few days into Unix Time thinking that is what it wanted, but that did not work.

There are a few references in aa.cpp, but it was not helpful.

Code:

if(aa2)
        {
                if(aa2->account_time_required)
                {
                        if((Timer::GetTimeSeconds() + account_creation) < aa2->account_time_required)
                        {
                                return;
                        }
                }
        }

It looks like you have to put a future time into this field to make it available, that is not very helpful if that is the case. Is there a way to make an AA available after a certain amount of account days.

ghanja 01-29-2015 03:37 AM

Code:

if((Timer::GetTimeSeconds() - account_creation) < aa2->account_time_required)
Assuming GetTimeSeconds finds current epoch time, subtracting the account_creation (account created in epoch time, again assumed) is less than the account_time_required (how old an account must be to use it). Lots of assumptions, but, not looking at the rest of the source, or having never dug into aa.cpp before. <shrug>

KLS 01-29-2015 05:14 AM

Looks bugged, think it's supposed to be the account is x seconds old it can use that AA. PEQ never actually enabled it though so I don't think anyone ever tested it.

provocating 01-29-2015 09:15 AM

Quote:

Originally Posted by KLS (Post 237261)
Looks bugged, think it's supposed to be the account is x seconds old it can use that AA. PEQ never actually enabled it though so I don't think anyone ever tested it.

Yeah I tried changing it with their editor and that also appears to be left out, always stays at zero. I just used Heidi to change a few of them and they appeared to have no effect. Not a big deal. I was wanting to stagger our Veteran AA like live but instead of one a year, one a week or one a month.


All times are GMT -4. The time now is 02:25 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.