[DiscordArchive] What is line 4539 of the objectmge.cpp?
[DiscordArchive] What is line 4539 of the objectmge.cpp?
Archived author: M'Dic • Posted: 2024-07-04T14:19:30.223000+00:00
Original source
What is line 4539 of the objectmge.cpp?
Archived author: M'Dic • Posted: 2024-07-04T14:19:50.070000+00:00
Original source
That bit of info provided would assist significantly
Archived author: BamaKatya • Posted: 2024-07-04T14:41:37.523000+00:00
Original source
Thanks for not making fun of me. Now I learned that Notepad++ can show me line numbers. 4539 just says ABORT(); Here is the code block it is part of: // fatal error if no level 1 data
if (!info->levelInfo || info->levelInfo[0].stats[0] == 0)
{
TC_LOG_ERROR("sql.sql", "Race {} Class {} Level 1 does not have stats data!", race, class_);
ABORT();
}
Archived author: BamaKatya • Posted: 2024-07-04T14:42:14.056000+00:00
Original source
I'm not sure how thre is no level 1 data in the database though.
Archived author: M'Dic • Posted: 2024-07-04T14:43:00.794000+00:00
Original source
So that would of output a txt log with the error
Archived author: M'Dic • Posted: 2024-07-04T14:43:17.498000+00:00
Original source
Meaning a race and class doesnt have level 1 stats
Archived author: M'Dic • Posted: 2024-07-04T14:44:00.686000+00:00
Original source
If u dont want add it then turn the ABORT() to //ABORT()
Archived author: M'Dic • Posted: 2024-07-04T14:44:07.392000+00:00
Original source
And recompile
Archived author: M'Dic • Posted: 2024-07-04T14:44:26.398000+00:00
Original source
We commit out the abort command so it wont segment fault for that bit
Archived author: BamaKatya • Posted: 2024-07-04T14:45:06.134000+00:00
Original source
Well that makes sense. Thanks so much. I will try that.