• 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+ Just for no reason my theforgottenserver.exe wont start

henkas

Well-Known Member
Joined
Jul 8, 2015
Messages
1,058
Solutions
5
Reaction score
62
Hi
so yesterday my console was working fine now when i rebooted my pc and i dind't change anything in my server my console wont start it says theforgottenserver.exe has stopped working
any solution?
I tried to change compatibily mode but didn't helped.
 
Solution
So i will upload steb by step.
I press yes, debug
debug.png

I press okay, because i used 2015 vs
debug2.png

I press "Break" because if i press continue it turns of vs
debug3.png

This is the last step.
debuglast.png
looks like it's a problem with spells, did you edit any recently?
from what it seems like some combat area must be invalid but i don't know for sure cause in your screenshot you have breakpoints over the autos (variables) with the information in them here
QZrLJeg.png
what? Explain it more detailed.
Run CMD on windowds, once you are on the console, navigate to your folder, then execute the program.
To navigate, use cd folderName. You can navigate to a exat folder like cd C:/Documents/USER/BLABLA/ot
 
possible causes: antivirus, frameworks, dlls or compatibility de x86, 64 bits
Checked all of them. I dont think it cause the problem.
Clear environment path, of SDK or something you use to compile.
How? Because i never cleared environment path.
Run CMD on windowds, once you are on the console, navigate to your folder, then execute the program.
To navigate, use cd folderName. You can navigate to a exat folder like cd C:/Documents/USER/BLABLA/ot
It doesnt really say anything
Untitled.png

Just stops for no reason without any errors.
 
Here some instructions on how to: otland/forgottenserver
Yea output debug says this
Code:
1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>  theforgottenserver.vcxproj -> C:\Users\Animal\Desktop\Dragon Ball Nuo Nulio\Server\vc14\x64\Debug\theforgottenserver.exe
1>  theforgottenserver.vcxproj -> C:\Users\Animal\Desktop\Dragon Ball Nuo Nulio\Server\vc14\x64\Debug\theforgottenserver.pdb (Full PDB)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
Its so weird how server can brake just by turning pc off and then turning on :D
 
Run the server, once it crashes click on debug and give us the output.
I suppose this one
Code:
'theforgottenserver.exe' (Win32): Loaded 'C:\Users\Animal\Desktop\Dragon Ball Nuo Nulio\Server\theforgottenserver.exe'. Symbols loaded.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Users\Animal\Desktop\Dragon Ball Nuo Nulio\Server\libmysql.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\secur32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-timezone-l1-1-0.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-file-l2-1-0.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-localization-l1-2-0.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-synch-l1-2-0.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-processthreads-l1-1-1.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-file-l1-2-0.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\mswsock.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\lpk.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\usp10.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\nlaapi.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\NapiNSP.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\pnrpnsp.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\dnsapi.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\winrnr.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\rasadhlp.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\WSHTCPIP.DLL'. Cannot find or open the PDB file.
The thread 0x1258 has exited with code 0 (0x0).
Unhandled exception at 0x00000001404A11F5 in theforgottenserver.exe: 0xC0000005: Access violation reading location 0x0000000000000018.
 
I suppose this one
Code:
'theforgottenserver.exe' (Win32): Loaded 'C:\Users\Animal\Desktop\Dragon Ball Nuo Nulio\Server\theforgottenserver.exe'. Symbols loaded.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Users\Animal\Desktop\Dragon Ball Nuo Nulio\Server\libmysql.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\secur32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-timezone-l1-1-0.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-file-l2-1-0.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-localization-l1-2-0.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-synch-l1-2-0.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-processthreads-l1-1-1.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-file-l1-2-0.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\mswsock.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\lpk.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\usp10.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\nlaapi.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\NapiNSP.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\pnrpnsp.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\dnsapi.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\winrnr.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\rasadhlp.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\WSHTCPIP.DLL'. Cannot find or open the PDB file.
The thread 0x1258 has exited with code 0 (0x0).
Unhandled exception at 0x00000001404A11F5 in theforgottenserver.exe: 0xC0000005: Access violation reading location 0x0000000000000018.
ma2X20t.png

when it gives you the option to debug, click it
when it asks you what instance of visual studio you want to debug with, pick the one you just compiled your server from
after that it should show you the line where the memory violation is occuring
if possible could you screenshot your entire visual studio and post it here once you get to that screen?
 
ma2X20t.png

when it gives you the option to debug, click it
when it asks you what instance of visual studio you want to debug with, pick the one you just compiled your server from
after that it should show you the line where the memory violation is occuring
if possible could you screenshot your entire visual studio and post it here once you get to that screen?
So i will upload steb by step.
I press yes, debug
debug.png

I press okay, because i used 2015 vs
debug2.png

I press "Break" because if i press continue it turns of vs
debug3.png

This is the last step.
debuglast.png
 
So i will upload steb by step.
I press yes, debug
debug.png

I press okay, because i used 2015 vs
debug2.png

I press "Break" because if i press continue it turns of vs
debug3.png

This is the last step.
debuglast.png
looks like it's a problem with spells, did you edit any recently?
from what it seems like some combat area must be invalid but i don't know for sure cause in your screenshot you have breakpoints over the autos (variables) with the information in them here
QZrLJeg.png
 
Solution
looks like it's a problem with spells, did you edit any recently?
from what it seems like some combat area must be invalid but i don't know for sure cause in your screenshot you have breakpoints over the autos (variables) with the information in them here
QZrLJeg.png
Yep but wtf isn't it if something is wrong with script console should give me errors and specified the problem? But in this case console is just not responding, its really frustrating. But yea thanks.
 
It might not give you any errors on the console, you probably get a segmentation fault by either not defining a combatArea or saying it's null. TFS doesn't handle Segmentation faults that great so it just crashes, it's good enough that we can debug it though.
 
If you give all the information ;)
Hi
so yesterday my console was working fine now when i rebooted my pc and i dind't change anything in my server my console wont start it says theforgottenserver.exe has stopped working
any solution?
i tried to change compatibily mode but didn't helped.
you rebooted the computer, not seem, i bet you were modifying things crazy
o_O
 
If you give all the information ;)

you rebooted the computer, not seem, i bet you were modifying things crazy
o_O
Well not really i just thought if i get something wrong with specific skills script console will give me a warning or error i was 110% sure it has nothing to do with it :D I never knew that console can crash because of segmentation fault.
 
Back
Top