• 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!
  • If you're using Gesior 2012 or MyAAC, please review this thread for information about a serious security vulnerability and a fix.

[8.60] The Forgotten Server 0.4

Gesior.pl

Mega Noob&LOL 2012
Senator
Premium User
Joined
Sep 18, 2007
Messages
2,742
Solutions
86
Reaction score
2,732
Location
Poland
GitHub
gesior
ur new edit don't work on ubuntu 18 and when back to compile old source game don't open anymore idk why lol :S

and when compile ur new source edit by old commands lik
sh autogen.sh && ./configure --enable-server-diag --enable-mysql --enable-debug-symbols && make
compile done and game open but get bug with magiclevel don't go up and always 0
Current CMakeLists.txt does not work on Ubuntu 18. It cannot detect SQLite libraries.

Version without SQLite and with ${LIBXML2_INCLUDE_DIR} added to include_directories:
Bash:
cmake_minimum_required(VERSION 3.10)

set(CMAKE_DISABLE_SOURCE_CHANGES ON)
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)

project(theforgottenserver CXX)

add_subdirectory(src)
add_executable(theforgottenserver ${theforgottenserver_SRC})

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

add_definitions(-D__USE_MYSQL__ -D__ROOT_PERMISSION__ -D__ENABLE_SERVER_DIAGNOSTIC__)

set(CMAKE_CXX_FLAGS "-Ofast -DNDEBUG")

include(FindCXX11)

find_package(GMP REQUIRED)
find_package(MySQL REQUIRED)
find_package(OpenSSL REQUIRED)
find_package(LibXml2 REQUIRED)
find_package(ZLIB REQUIRED)
find_package(Boost REQUIRED COMPONENTS filesystem regex thread)

if(NOT LuaJIT)
  find_package(Lua 5.1 REQUIRED)
endif()

include_directories(
  ${LIBXML2_INCLUDE_DIR}
  ${Boost_INCLUDE_DIRS}
  ${LUA_INCLUDE_DIR}
  ${MYSQL_INCLUDE_DIR}
  ${GMP_INCLUDE_DIR}
)
target_link_libraries(theforgottenserver PRIVATE
  Boost::filesystem
  Boost::regex
  Boost::thread
  OpenSSL::SSL
 ${LIBXML2_LIBRARIES}
  ZLIB::ZLIB
  ${LUA_LIBRARIES}
  ${MYSQL_CLIENT_LIBS}
  ${GMP_LIBRARY}
)
 

Elgenady

Veteran OT User
Joined
Aug 5, 2011
Messages
1,624
Solutions
34
Reaction score
324
cast system with Ubuntu 20 crash server, when player use /cast on and someone enter cast and leave server get crash..
and magiclevel don't go up :S
 
Top