Orkanite
omfg mapper
- Joined
- May 11, 2008
- Messages
- 365
- Reaction score
- 115
Behavior:
Environment:
I had already tried with the same libraries except using VS 2019 and possibly a different Platform Toolset, maybe v142? and got the same behavior/exception.
This is my first experience compiling and running TFS or any ot server for that matter, so I apologize if I'm not including what might be normally required details. Just not sure where to go from here or what I might have set up incorrectly.
- run theforgottenserver-x64.exe (TFS 1.3 compile with Microsoft Visual C++ version 14.1)
- Arrive at "Loading lua libs" and crash with "segmentation error," exception-
- Unhandled exception at 0x00007FF9D44812DE (vcruntime140.dll) in theforgottenserver-x64.exe: 0xC0000005: Access violation writing location 0x0000000000000000.
Environment:
- Windows 10 - Visual Studio 2017
- Boost 1.66.0 installed with VCPKG
- TFS SDK 3.2
- Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.22.27821
- TFS Project Configuration
- Windows SDK Version: 10.0.17763.0
- Platform Toolset: Visual Studio 2017 (v141)
C++:
for(fs::recursive_directory_iterator it(dir); it != endit; ++it) {
auto fn = it->path().parent_path().filename();
if ((fn == "lib" && !isLib) || fn == "events") {
continue;
}
if(fs::is_regular_file(*it) && it->path().extension() == ".lua") {
size_t found = it->path().filename().string().find(disable);
if (found != std::string::npos) {
if (g_config.getBoolean(ConfigManager::SCRIPTS_CONSOLE_LOGS)) {
std::cout << "> " << it->path().filename().string() << " [disabled]" << std::endl;
}
continue;
}
v.push_back(it->path());
}
}
I had already tried with the same libraries except using VS 2019 and possibly a different Platform Toolset, maybe v142? and got the same behavior/exception.
This is my first experience compiling and running TFS or any ot server for that matter, so I apologize if I'm not including what might be normally required details. Just not sure where to go from here or what I might have set up incorrectly.