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

Source files

Some1

New Member
Joined
Jan 12, 2013
Messages
40
Reaction score
4
Hello,
where can I find the 9.6 server source files? I got the 9.6 .exe but Im looking for the source itself.
Also, is compiling 9.6 any different than older versions? I don't have much experience with versions higher than 8.x.
Thanks.
 
no it's same as old since there is Dev-Cpp folder , but i prefer using Visual Studio better to compile it under 64x

here is the source
https://www.mediafire.com/?iqdh1ehj51eq6y2

virus scan using www.virustotal.com
https://www.virustotal.com/en/file/...bc067e4aaeee5a97ee98beee/analysis/1417819326/

tutorial to get any of other public versions from public svn
http://otland.net/threads/tutorial-how-to-download-private-svn.202783/

tutorial for compiling using VC++
http://otland.net/threads/compiling-tfs-simple-tutorial-for-beginners.197474/

DLL pack 32x
https://www.mediafire.com/?erac8ci46n9ao2r

DLL pack 64x
https://www.mediafire.com/?erac8ci46n9ao2r
 
I'm using Dev-C++ 4.9.9.2
When opening TheForgottenServer.dev it gives me an error saying that a file is not found but it doesn't say what file is missing. After trying to compile it, at the end when it says linking bla bla.. it fails and opens combat.cpp file and doesn't create the .exe file.
Tried with TheForgottenServer-console.dev and at the end same file opens but it creates the .exe file. There are no errors in the console while starting it up.
This is what shows up from the combat.cpp
Code:
        double angleRad = 3.1416 * angle / 180.0;

        double a = std::cos(angleRad);
        double b = -std::sin(angleRad);
        double c = std::sin(angleRad);
        double d = std::cos(angleRad);

        for(int32_t x = 0; x < (long)input->getCols(); ++x)
        {
            for(int32_t y = 0; y < (long)input->getRows(); ++y)
            {
                //calculate new coordinates using rotation center
                int32_t newX = x - centerX;
                int32_t newY = y - centerY;

                //perform rotation
                int32_t rotatedX = round(newX * a + newY * b);
                int32_t rotatedY = round(newX * c + newY * d);

                //write in the output matrix using rotated coordinates
                (*output)[rotatedY + rotateCenterY][rotatedX + rotateCenterX] = (*input)[y][x];
            }
        }
        output->setCenter(rotateCenterY, rotateCenterX);
    }
}

MatrixArea* AreaCombat::createArea(const std::list<uint32_t>& list, uint32_t rows)
{

EDIT:
There is also a problem when saving, logging off doesn't save the character neither it saves when using !save
I tried with an already compiled .exe and it works fine.
http://1.ii.gl/2gR6Ishoc.png
 
Last edited:
Back
Top