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

Compile Tibia 7.6

Nirgridle

New Member
Joined
Mar 23, 2020
Messages
13
Reaction score
0
Hello, does anyone have any instructions they can send me on compiling a tibia 7.6 engine? I would like to change it so that I can buy houses, and so the health and mana is capped at 100 in game. I have tried for ages to figure this out, but unfortunately have never had any luck :/
 
Which 7.6 engine? TFS version? OTX version? ancient XML one?
 
Check definitions.h in sources you will see what distribution you have
#ifndef __definitions_h
#define __definitions_h



typedef unsigned long long uint64_t;

#ifdef XML_GCC_FREE
#define xmlFreeOTSERV(s) free(s)
#else
#define xmlFreeOTSERV(s) xmlFree(s)
#endif

#if defined WINDOWS || defined WIN32

#define OTSYS_THREAD_RETURN void

#define EWOULDBLOCK WSAEWOULDBLOCK

typedef unsigned int uint32_t;
typedef unsigned short uint16_t;
typedef unsigned char uint8_t;

#pragma warning(disable:4786) // msvc too long debug names in stl

#ifdef MIN
#undef MIN
#endif

#ifdef MAX
#undef MAX
#endif

#ifndef NOMINMAX
#define NOMINMAX
#endif

#else

#define OTSYS_THREAD_RETURN void*

#include <stdint.h>
typedef int64_t __int64;

#endif


#endif // __definitions_h
 
Remove any dll file or exe because this source you uploaded reports as a virus in VirusTotal (https://www.virustotal.com/)
I cannot seem to find any exe or dll files within this source, is there anything else I can look for that could be causing the issue? Forgive my ignorance, everything I have learnt from Tibia 7.6 programming is self taught.
 
It has exe file which is the one caused virus
ImperiorOTS.exe
Anyways this is ancient XML server, I don't know which libs/includes would be needed for this and most links are dead but those are the tutorials supposed to work.
Your engine is based on YurOTS_0.94f
 
It has exe file which is the one caused virus
ImperiorOTS.exe
Anyways this is ancient XML server, I don't know which libs/includes would be needed for this and most links are dead but those are the tutorials supposed to work.
Your engine is based on YurOTS_0.94f
Thanks for all your help, I will have a look through these. Are you aware of any better sources or engines available for 7.6 with !reborn?
 
Anything but not XML would be much more stable and higher performance and OFC reborn can be done easily there, You can try this one looks like its based on latest TFS version.
 
Anything but not XML would be much more stable and higher performance and OFC reborn can be done easily there, You can try this one looks like its based on latest TFS version.

Anything but not XML would be much more stable and higher performance and OFC reborn can be done easily there, You can try this one looks like its based on latest TFS version.
Would I need to follow this method?

 
No, You will have to follow this
or this one
or this one too
You can also download pre-compiled versions for quick tests here
binary.7z
 
No, You will have to follow this
or this one
or this one too
You can also download pre-compiled versions for quick tests here
binary.7z
Thanks, and again forgive me for my ignorance. This will allow me to create a 7.6 engine which I can move my world etc over too? It only seems to have version 7.7, or are they the same?
 
Looks like it compatible for both.
C++:
// Compatible with 7.40 to 7.72
#define SOFTWARE_NAME "OTX Server"
#define SOFTWARE_VERSION "2"
#define MINOR_VERSION "X"
#define PATCH_VERSION "S"
#define REVISION_VERSION "3"
#define SOFTWARE_CODENAME "LORD ZEDD"
#define SOFTWARE_DEVELOPERS "Mattyx14 and TFS Developers"
#define GIT_REPO "https://github.com/mattyx14/otxserver/"

#if defined(_MULTIPLATFORM77)
    #define _MULTIPLATFORM76
    #define ITEMS_PATH std::string("77")
    #define CLIENT_VERSION_ITEMS 3
    #define CLIENT_VERSION_MIN 770
    #define CLIENT_VERSION_MAX 772
    #define CLIENT_VERSION_STRING "7.70/72"
#elif defined(_MULTIPLATFORM76)
    #define ITEMS_PATH std::string("76")
    #define CLIENT_VERSION_ITEMS 3
    #define CLIENT_VERSION_MIN 760
    #define CLIENT_VERSION_MAX 761
    #define CLIENT_VERSION_STRING "7.60/61"
#else
    #define ITEMS_PATH std::string("74")
    #define CLIENT_VERSION_ITEMS 1
    #define CLIENT_VERSION_MIN 740
    #define CLIENT_VERSION_MAX 755
    #define CLIENT_VERSION_STRING "7.40/55"
#endif
Maybe check this one too.
It should be working with 7.6 too.
 
Looks like it compatible for both.
C++:
// Compatible with 7.40 to 7.72
#define SOFTWARE_NAME "OTX Server"
#define SOFTWARE_VERSION "2"
#define MINOR_VERSION "X"
#define PATCH_VERSION "S"
#define REVISION_VERSION "3"
#define SOFTWARE_CODENAME "LORD ZEDD"
#define SOFTWARE_DEVELOPERS "Mattyx14 and TFS Developers"
#define GIT_REPO "https://github.com/mattyx14/otxserver/"

#if defined(_MULTIPLATFORM77)
    #define _MULTIPLATFORM76
    #define ITEMS_PATH std::string("77")
    #define CLIENT_VERSION_ITEMS 3
    #define CLIENT_VERSION_MIN 770
    #define CLIENT_VERSION_MAX 772
    #define CLIENT_VERSION_STRING "7.70/72"
#elif defined(_MULTIPLATFORM76)
    #define ITEMS_PATH std::string("76")
    #define CLIENT_VERSION_ITEMS 3
    #define CLIENT_VERSION_MIN 760
    #define CLIENT_VERSION_MAX 761
    #define CLIENT_VERSION_STRING "7.60/61"
#else
    #define ITEMS_PATH std::string("74")
    #define CLIENT_VERSION_ITEMS 1
    #define CLIENT_VERSION_MIN 740
    #define CLIENT_VERSION_MAX 755
    #define CLIENT_VERSION_STRING "7.40/55"
#endif
Maybe check this one too.
It should be working with 7.6 too.
Thanks. Is there any chance you could help me make the kind of engine I am looking for?
 
Thanks i will have a look at this!
Post automatically merged:


If I told you what I need in added to the source I had could you add it? Id be willing to pay for the time.
what do you need to add into the source? that engine got alot of features :)
Kind Regards.
 
Do I see well? Is United Engine by Dramen?
After all, a leaky one is like cheese, unfortunately the distro you provided to you above is already supported by MySQL. As far as I remember, United Engine worked only under XML, plus 3/4 scripts you will have to redo because TFS or OTX will not support this.
 
Back
Top