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

update server

Lbtg

Advanced OT User
Joined
Nov 22, 2008
Messages
2,398
Reaction score
165
Hello , is it posible to update server from 8.20 to 8.60 ?

i want just make that players could login and play with client 8.60 i dont care about items and other things just client


is it posible ? if yes , how ?

thanks :)

update:tfs 0.2

- - - Updated - - -

PHP:
#ifndef __DEFINITIONS__
#define __DEFINITIONS__
#undef MULTI_SQL_DRIVERS
#define SQL_DRIVERS __USE_SQLITE__+__USE_MYSQL__+__USE_ODBC__+__USE_PGSQL__
#if SQL_DRIVERS > 1
#define MULTI_SQL_DRIVERS
#endif

#ifdef __MINGW32__
	#define XML_GCC_FREE
	#ifndef __WINDOWS__
		#define __WINDOWS__
	#endif
#endif

#if defined _WIN32 || defined WIN32 || defined _WIN64 || defined WIN64 || defined __WINDOWS__ || defined WINDOWS
	#if defined _WIN64 || defined WIN64
		#ifndef _WIN64
			#define _WIN64
		#endif
		#ifndef WIN64
			#define WIN64
		#endif
	#else
		#ifndef _WIN32
			#define _WIN32
		#endif
		#ifndef WIN32
			#define WIN32
		#endif
	#endif
	#ifndef __WINDOWS__
		#define __WINDOWS__
	#endif
	#ifndef WINDOWS
		#define WINDOWS
	#endif
#endif

#ifdef __CYGWIN__
	#undef WIN32
	#undef WIN64
	#undef _WIN32
	#undef _WIN64
	#undef WINDOWS
	#undef __WINDOWS__
	#define HAVE_ERRNO_AS_DEFINE
#endif

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

#ifdef __USE_MINIDUMP__
	#ifndef __EXCEPTION_TRACER__
		#define __EXCEPTION_TRACER__
	#endif
#endif

#ifdef __DEBUG_EXCEPTION_REPORT__
	#define DEBUG_REPORT int *a = NULL; *a = 1;
#else
	#ifdef __EXCEPTION_TRACER__
		#include "exception.h"
		#define DEBUG_REPORT ExceptionHandler::dumpStack();
	#else
		#define DEBUG_REPORT
	#endif
#endif

#define BOOST_ASIO_ENABLE_CANCELIO 1
#if defined WINDOWS
#if defined _MSC_VER && defined NDEBUG
	#define _SECURE_SCL 0
	#define HAS_ITERATOR_DEBUGGING 0
#endif

#ifndef __FUNCTION__
	#define	__FUNCTION__ __func__
#endif

#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif

#ifdef _WIN64_WINNT
#undef _WIN64_WINNT
#endif

//Windows 2000	0x0500
//Windows XP	0x0501
//Windows 2003	0x0502
//Windows Vista	0x0600
//Windows Seven 0x0601

#define _WIN32_WINNT 0x0501
#define _WIN64_WINNT 0x0501

#ifndef __GNUC__
	#ifndef NOMINMAX
		#define NOMINMAX
	#endif

	#include <cstring>
	inline int strcasecmp(const char *s1, const char *s2)
	{
		return ::_stricmp(s1, s2);
	}

	inline int strncasecmp(const char *s1, const char *s2, size_t n)
	{
		return ::_strnicmp(s1, s2, n);
	}

	typedef unsigned long long uint64_t;
	typedef signed long long int64_t;
	typedef unsigned long uint32_t;
	typedef signed long int32_t;
	typedef unsigned short uint16_t;
	typedef signed short int16_t;
	typedef unsigned char uint8_t;
	typedef signed char int8_t;

	#define atoll _atoi64

	#pragma warning(disable:4786) // msvc too long debug names in stl
	#pragma warning(disable:4250) // 'class1' : inherits 'class2::member' via dominance
	#pragma warning(disable:4244)
	#pragma warning(disable:4267)
	#pragma warning(disable:4018)

#endif
#endif
#endif

this is an another thing i found, found that this file need to be edited its definitions.h in sources they told that need edit this file to update client ..

so what i need to edite this one 8.54 to 8.60 ? or its wrong way to update ?
 
If you don't care about items or anything switch to a distro with 8.6 copy the map and things over and fix the few errors that come up
 
tryed that . server crashes than i trying to open any bp , + insane much erros. any other way ?
 
well you will have to do it manually, transfer actions and movements and globalevents and what not that dont already exist in new distro and change ids as necessary that's the only way if what you're saying about crashes is true

You could change protocol in definitions.h but you're bound to end up with the same issue because more source edits than that are required to make the changes to the server
 
Back
Top