• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

<getArea> Object on the stack is not a table

cMKMNR.png

WDA5mK2.png
 
I can't see much from that screenshot other than that it can't find that line.
Did you open iomap.cpp and looked for line 140? I just downloaded the source you posted and found what I posted.
You can just comment out that whole part with //.

You can also try to use the items.otb that comes with the datapack of that server if you haven't tried that yet.
 
I can't see much from that screenshot other than that it can't find that line.
Did you open iomap.cpp and looked for line 140? I just downloaded the source you posted and found what I posted.
You can just comment out that whole part with //.

You can also try to use the items.otb that comes with the datapack of that server if you haven't tried that yet.
Ive already tried the item files that came with the server.

I found the lines after scrolling down to line 140. For some reason my search function didnt work properly. Well, ive commented out the lines, and compiled the file, (Like they showed in the tutorial.) Im very new to compiling files, what should I do after the compiling? If I understand it right, im supposed to make a new exe file for the server, right? Sorry for dumb questions, but Im a bit confused here.
 
In the source folder there is a folder called dev-cpp, after you're done with compiling the new TFS.exe file should be there, you can just replace it with your current one or add it as an extra one and use that instead.
 
In the source folder there is a folder called dev-cpp, after you're done with compiling the new TFS.exe file should be there, you can just replace it with your current one or add it as an extra one and use that instead.
After I changed the iomap.cpp lines in the compiling program I pressed F-9 and compiled it, but there still isnt any EXE file in the source folder.

Did I forget something?
 
I've tested it with the iomap.cpp and the source you posted and it works fine for me without errors, it creates the TFS.exe in the dev-cpp folder and I can also run the server.
 
I've tested it with the iomap.cpp and the source you posted and it works fine for me without errors, it creates the TFS.exe in the dev-cpp folder and I can also run the server.
I dont know what the problem is then,

This is what happens. (Please dont mind the music, forgot to turn it off xD)
 
Last edited:
Back
Top