Page 1 of 1
Compile Error
Posted: Wed May 08, 2019 12:53 pm
by rabbit9179
Hello, just downloaded the new source and trying to compile it and got
Code: Select all
1>C:\EQ2\Source\trunk\source\WorldServer\Spells.cpp(1040): error C2039: 'power_by_level': is not a member of 'SpellData'
Is there a way I can fix this or should I wait for the fix to go up? or is this something I messed up?
Thanks for the hard work.
Re: Compile Error
Posted: Wed May 08, 2019 8:13 pm
by Gangrenous
I wish I could help, my source is a bit older and I do not have any code resembling that. I want to say there may be some issues right now where no one can compile the official source, so you may have to wait.
Re: Compile Error
Posted: Thu May 09, 2019 12:41 am
by rabbit9179
Ok, Thanks for the reply. I will wait a bit and see if gets fixed. I did see a post from Apr. 20th saying they need to add a column called power_by_level. Maybe its something they are currently working on.
Re: Compile Error
Posted: Thu May 09, 2019 3:19 am
by Ememjr
yes this is something that apparenlty missed the commit i just recommited it but it wont get compiled into the emu for a while,
but if you got you code from svn it should updae in a couple days
Re: Compile Error
Posted: Thu May 09, 2019 3:25 am
by Ememjr
yes this is something that apparenlty missed the commit i just recommited it but it wont get compiled into the emu for a while,
but if you got you code from svn it should update within a couple days
you can add it to your spells.h file under struct SpellData
Code: Select all
int16 hp_upkeep;
float power_req;
bool power_by_level;
int16 power_upkeep;
int16 savagery_req;
Re: Compile Error
Posted: Thu May 09, 2019 3:28 am
by Ememjr
Gangrenous wrote: Wed May 08, 2019 8:13 pm
I wish I could help, my source is a bit older and I do not have any code resembling that. I want to say there may be some issues right now where no one can compile the official source, so you may have to wait.
the compile issue is just of the Official eq2emu server, all other servers are private and they can still compile
Re: Compile Error
Posted: Thu May 09, 2019 5:22 am
by Gangrenous
Ememjr wrote: Thu May 09, 2019 3:28 am
Gangrenous wrote: Wed May 08, 2019 8:13 pm
I wish I could help, my source is a bit older and I do not have any code resembling that. I want to say there may be some issues right now where no one can compile the official source, so you may have to wait.
the compile issue is just of the Official eq2emu server, all other servers are private and they can still compile
I was also questioning if maybe if someone did a bad commit.
Re: Compile Error
Posted: Thu May 09, 2019 9:49 am
by rabbit9179
Ememjr wrote: Thu May 09, 2019 3:25 am
yes this is something that apparenlty missed the commit i just recommited it but it wont get compiled into the emu for a while,
but if you got you code from svn it should update within a couple days
you can add it to your spells.h file under struct SpellData
Code: Select all
int16 hp_upkeep;
float power_req;
bool power_by_level;
int16 power_upkeep;
int16 savagery_req;
Thanks for the help. It succeeded after putting that in.