BUG:FIXED Account age displays incorrectly

Old bugs stored here for reference.
Locked
User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

BUG:FIXED Account age displays incorrectly

Post by Ememjr » Wed Aug 09, 2017 9:08 am

the account age displays incorreclty on the character sheet

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: BUG: Account age displays incorrectly

Post by Ememjr » Wed Aug 09, 2017 9:11 am

identified the issue account_age in player.h , and where it is used in player.cpp has account_age as an int*, and it should be an int16
working on the fix and will update when i can

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: BUG: Account age displays incorrectly

Post by Ememjr » Wed Aug 09, 2017 2:22 pm

here s the Fix
in player.h

Code: Select all

from void SetAccountAge(int8 days); to 
void SetAccountAge(int16 days);
in player.cpp

from

Code: Select all

void PlayerInfo::SetAccountAge(int8 age){
	info_struct->account_age_base = age;
}
to
void PlayerInfo::SetAccountAge(int16 age){
	info_struct->account_age_base = age;
}
in entity.h

from

Code: Select all

int8			account_age_base;
to
int16			account_age_base;

User avatar
Cynnar
Project Leader
Posts: 738
Joined: Sat Sep 27, 2014 1:22 am
EQ2Emu Server: Eq2emulator
Characters: Vlash
Veinlash
Taragak
Cynnar

Re: BUG: Account age displays incorrectly

Post by Cynnar » Sun Jun 24, 2018 9:34 pm

Did this make it's way into the code?
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]

Follow on:
Twitter Facebook

Contact me:
PM Discord chat email

Hardware: the parts of a computer that can be kicked

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: BUG: Account age displays incorrectly

Post by Ememjr » Tue Jun 26, 2018 5:26 am

not sure on this one

Locked

Who is online

Users browsing this forum: No registered users and 0 guests