• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ TFS 1.3 Crashes after compiling

itachi_

Banned User
Joined
Oct 29, 2019
Messages
44
Solutions
1
Reaction score
8
Location
Egypt
I have compiled my tfs at this way otland/forgottenserver (https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows-%28vcpkg%29) after running it it gives the following crashes
1: Compiling - TFS 1.3 Crash right after compiling master branch (https://otland.net/threads/tfs-1-3-crash-right-after-compiling-master-branch.264146/)
2: TFS 1.X+ - TFS 1.3 ENGINE CRASHING (https://otland.net/threads/tfs-1-3-engine-crashing.263743/)
3: my crash

Capture.PNG
compiler log
Code:
1>------ Rebuild All started: Project: theforgottenserver, Configuration: Release x64 ------
1>otpch.cpp
1>actions.cpp
1>ban.cpp
1>baseevents.cpp
1>bed.cpp
1>chat.cpp
1>combat.cpp
1>condition.cpp
1>configmanager.cpp
1>connection.cpp
1>container.cpp
1>creature.cpp
1>creatureevent.cpp
1>cylinder.cpp
1>database.cpp
1>databasemanager.cpp
1>databasetasks.cpp
1>depotchest.cpp
1>depotlocker.cpp
1>events.cpp
1>fileloader.cpp
1>game.cpp
1>globalevent.cpp
1>groups.cpp
1>guild.cpp
1>house.cpp
1>housetile.cpp
1>inbox.cpp
1>ioguild.cpp
1>iologindata.cpp
1>iomap.cpp
1>iomapserialize.cpp
1>iomarket.cpp
1>item.cpp
1>items.cpp
1>luascript.cpp
1>mailbox.cpp
1>map.cpp
1>monster.cpp
1>monsters.cpp
1>mounts.cpp
1>movement.cpp
1>networkmessage.cpp
1>npc.cpp
1>otserv.cpp
1>outfit.cpp
1>outputmessage.cpp
1>party.cpp
1>player.cpp
1>position.cpp
1>protocol.cpp
1>protocolgame.cpp
1>protocollogin.cpp
1>protocolold.cpp
1>quests.cpp
1>raids.cpp
1>rsa.cpp
1>scheduler.cpp
1>script.cpp
1>scriptmanager.cpp
1>server.cpp
1>signals.cpp
1>spawn.cpp
1>spells.cpp
1>protocolstatus.cpp
1>talkaction.cpp
1>tasks.cpp
1>teleport.cpp
1>thing.cpp
1>tile.cpp
1>tools.cpp
1>trashholder.cpp
1>vocation.cpp
1>waitlist.cpp
1>weapons.cpp
1>wildcardtree.cpp
1>xtea.cpp
1>Generating code
1>Finished generating code
1>theforgottenserver.vcxproj -> C:\Users\****\Desktop\forgottenserver-master\vc14\x64\Release\theforgottenserver-x64.exe
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
Also made sure to copy the current dlls file from vcpkg on this path
Code:
forgottenserver-master\vc14\x64\Release
but somehow it's being pointless i don't know what exactly the problem causes that crash.
 
What happens when you run the server from PowerShell instead of double clicking the .exe file?
 
Select debug and open it with the VS instance you just compiled with and check what's making it crash.

also i found this on output [QUOTE="Delusion, post: 2580307, member: 210700"] Select debug and open it with the VS instance you just compiled with and check what's making it crash. [/QUOTE] also i found this on output 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Users\jeak\Desktop\mycurrentserver\theforgottenserver-x64.exe'. Symbols loaded. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Users\jeak\Desktop\10.98\boost_date_time-vc142-mt-x64-1_71.dll'. Symbols loaded. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Users\jeak\Desktop\mycurrentserver\boost_filesystem-vc142-mt-x64-1_71.dll'. Symbols loaded. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Users\jeak\Desktop\mycurrentserver\boost_iostreams.dll'. Symbols loaded. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Users\jeak\Desktop\mycurrentserver\libmariadb.dll'. Symbols loaded. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Users\jeak\Desktop\mycurrentserver\lua51.dll'. Symbols loaded. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Users\jeak\Desktop\mycurrentserver\pugixml.dll'. Symbols loaded. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\mswsock.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Users\jeak\Desktop\mycurrentserver\zlib1.dll'. Symbols loaded. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Users\jeak\Desktop\10.98\bz2.dll'. Symbols loaded. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Users\jeak\Desktop\mycurrentserver\lzma.dll'. Symbols loaded. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Users\jeak\Desktop\mycurrentserver\zstd.dll'. Symbols loaded. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. The thread 0xfcc has exited with code 0 (0x0). Unhandled exception at 0x00007FF70969114C in theforgottenserver-x64.exe: 0xC000001D: Illegal Instruction. Exception thrown at 0x00007FF70969114C in theforgottenserver-x64.exe: 0xC000001D: Illegal Instruction. Unhandled exception at 0x00007FF70969114C in theforgottenserver-x64.exe: 0xC000001D: Illegal Instruction. The program '[8260] theforgottenserver-x64.exe' has exited with code 0 (0x0).
 
Last edited:
I guess the problem is solved but you should use Debug mode to understand how the issue happens; even better you can use visual studio and it will report the issue briefly so others will understand the issue better.

Sincerely,
Slavi
 
Back
Top