• 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!

Compiling Kinda new ... TFS 0.4

Lasky

New Member
Joined
Nov 10, 2010
Messages
72
Reaction score
2
Hello it's my first time compiling something and i just need a little more information.. im trying to use this data pack : https://otland.net/threads/emporia-8-6x-otland-exclusive-3.140367/

(compiling its needed to create the EXE to open the server.... right?)

It says that i need to use TFS 0.4 ... can i use for example... 1.1?

How do i do it? i mean i know there's a lot of tutorials but mostly without images... do i need to copy all the Emporia 8.6 data to forgottenserver-master folder? for example.. move my folder "data" from emporia forgottenserver-master folder?

i really dont get it.. can someone please explainn to me just a little bit?

I know i asked a lot of newbe questions.. but its a start... right?
 
Yes, compilling is needed to create exe.
No, tfs 1.x is not compatible with those scripts.
No, the data folder is not related with compiling.
 
And how can i add my own exe? Where can i get source files
Download this, 0.4 & 0.3.6 are relatively the same.
https://github.com/Codex-NG/cryingdamson-0.3.6-8.60-V8.2

Then download this.
http://www.mediafire.com/download/zv9jhhusay66suh/StiansRepackDev-Cpp_v2.zip


Launch the compiler then go to File -> Open and look for the project file which is located in the dev-cpp folder.
Code:
TheForgottenServer-console.dev

Once the file is loaded, click on Execute -> Compile, wait for it to finish then transfer the exe (which will be created in the same directory as the location of the project file) and place it in the root directory of your server (root is where the config.lua file is located),

You also might need these, these are the dll's to launch the server, they also go in the root directory.
http://www.mediafire.com/download/0r4tbbsdfaqde8a/otdll.zip

If you encounter any errors when you launch the server, you might have to swap out the data directories, depending on the issues and then selectively add in the scripts which make the distro you downloaded unique.
 
Last edited:
My server doesnt have a config.lua... can i copy from other server and paste in my server folder? does it works?
 
By the way i have a good TFS 0.4 fixed trunk ... is it possible to compile with DEV c++ ? i mean following your steps?
 
NgOZp1b.png
 
I used the exe from my previous image... and changed some folders to my server like schemas and some data files...

9u9m4Qd.png


u.u wtf? so many errors
 
Those errors are minor, you can fix them yourself np, you have a few clerical errors and duplicate id's and a movable item stored in a house.

When you see a file name.. e.g. c:\path to file\ filename.extension:n where n is a number, this is the line number the error might appear on.

Map errors give you the house id, item id (itemtype) and the x/y/z coordinates.

If it says duplicate entry, then it is a listing within an xml (most times) for that type.. e.g. actions, monsters etc.
 
Okay, and whats goin on with the last part? " decrease size of your map or compile in a 64 bit mode"
I'll take a guess, a map can only be created in these dimensions in the X & Y on a 32 bit server, 64 bit would be a wider positive range.
Code:
256 to 65,535
 
Back
Top