Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Last Chaos
You last visited: Today at 18:50

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Compile client lastchaos

Discussion on Compile client lastchaos within the Last Chaos forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2019
Posts: 11
Received Thanks: 2
Compile client lastchaos

Someone knows where i can find this lib?

#include <LCCRC32.h> not found
alantuxa is offline  
Old 06/14/2020, 15:42   #2
 
elite*gold: 10
Join Date: Apr 2020
Posts: 69
Received Thanks: 71
Quote:
Originally Posted by alantuxa View Post
Someone knows where i can find this lib?

#include <LCCRC32.h> not found
normally it should already be in your Engine folder. Did you added the properties right?
#Joker© is offline  
Old 06/14/2020, 23:15   #3
 
elite*gold: 0
Join Date: Jun 2019
Posts: 11
Received Thanks: 2
oh, thank you @, I found in ShareLib. I'm having a lot trouble to configure the libs to compile the Server Source, I didn't found a good tutorial for it. Let me know if someone can guide me just in this first step.

Discord RussiaN#0208
alantuxa is offline  
Old 06/15/2020, 12:48   #4
 
elite*gold: 104
Join Date: Sep 2012
Posts: 1,366
Received Thanks: 573
Quote:
# ------------ LC server source compile instruction by Karmel ------------
# Necessary software downloads ## updated 14.05.2018 ###
cd /usr/local
wget
wget
wget
wget
wget
wget
wget
tar xvzf ccache-3.4.2.tar.gz
tar xvzf Botan-1.10.17.tgz
tar xvzf apache-log4cxx-0.10.0.tar.gz
tar xvzf jsoncpp-src-0.6.0-rc2.tar.gz
tar xvzf sqlite-autoconf-3230100.tar.gz
tar xvzf curl-7.59.0.tar.gz
tar xvzf boost_1_65_1.tar.gz
# __________________________________________________ ___
# CentOS Update (optional)
yum -y upgrade

yum -y install python python-devel nano libtool svn
yum -y install gcc gcc-c++
yum -y install zlib zlib-devel ncurses-devel subversion-devel
yum -y install libidn-devel openldap-devel openssl-devel

yum -y install expat expat-devel openldap openldap-devel
yum -y install apr apr-devel apr-util apr-util-devel

yum -y install mysql mysql-devel
####### x64 unix#######
yum -y install gcc.i686 gcc-c++.i686 glibc-devel.i686 libgcc.i686 libstdc++-devel.i686
yum -y install zlib-devel.i686 ncurses-devel.i686 subversion-devel.i686
yum -y install libidn-devel.i686 openldap-devel.i686 openssl-devel.i686

yum -y install expat-devel.i686 openldap-devel.i686
yum -y install apr-devel.i686 apr-util-devel.i686

yum -y install mysql-devel.i686

export CFLAGS='-m32'
export CC="gcc -m32"
export CXX="g++ -m32"
####### x64 #######
#ln -s /usr/lib/libexpat.a /usr/local/lib

cd /usr/local
# ccache
cd ccache-3.4.2
./configure && make -j4 && make install

cd ..
# Botan library
cd Botan-1.10.17
##_x86_##./configure.py --disable-shared --includedir=../../usr/include
./configure.py --disable-shared --includedir=../../usr/include --cpu=x86_32 --cc-bin='gcc -m32'
######################### source edits
# nano src/hash/gost_3411/gost_3411.cpp
#include <stdint.h>
make -j4 && make install
ln -s -d /usr/include/botan-1.10/botan /usr/include/

cd ..
# Apache log4cxx
cd apache-log4cxx-0.10.0
##_x86_##./configure --enable-shared=no --enable-static=yes #--with-apr=/usr/local/apr-1.6.3 --with-apr-util=/usr/local/apr-util-1.6.1
./configure --enable-shared=no --enable-static=yes LDFLAGS="-L/usr/lib"
######################### source edits
# nano src/main/cpp/inputstreamreader.cpp
# nano src/main/cpp/socketoutputstream.cpp
# nano src/examples/cpp/console.cpp
#include <stdio.h>
#include <string.h>
make -j4 && make install

cd ..
# jsoncpp
cd jsoncpp-src-0.6.0-rc2
cd src/lib_json/
##_x86_##g++ -I../../include -O2 -c *.cpp
g++ -m32 -I../../include -O2 -c *.cpp
ar rs libjsoncpp.a *.o
cp libjsoncpp.a /usr/local/lib
cp -R ../../include/json /usr/local/include

cd ../../..
# Sqlite-autoconf
cd sqlite-autoconf-3230100
./configure && make -j4 && make install

cd ..
# curl
cd curl-7.59.0
./configure --enable-shared=no --libdir=/usr/local/lib
make -j4 && make install

cd ..
# Boost ## newer versions not compatible
cd boost_1_65_1
./bootstrap.sh
##_x86_##./b2 -j8 --toolset=gcc --build-type=complete --layout=versioned link=static threading=multi install
./bjam -j8 --toolset=gcc --build-type=complete --layout=versioned link=static threading=multi install cflags=-m32 cxxflags=-m32 address-model=32 threading=multi architecture=x86 instruction-set=i686 stage
ln -s -d /usr/local/boost_1_65_1/boost /usr/include/

# ---------------------------
make -j8 -C ./ShareLib usa
make -j8 -C ./Connector usa
make -j8 -C ./Helper usa
make -j8 -C ./SubHelper usa
make -j8 -C ./Messenger usa
make -j8 -C ./LoginServer usa
make -j8 -C ./GameServer usadebug
# -------------------- Source edits --------------------
# makefile (change to your boost current version(1_65_1))
nano makefile.inc
CXX = ccache g++ -g -m32
BOOST_LIB_VER = -gcc44-mt-d-1_65_1

# gameserver
nano GameServer/DBProcess_CreateChar.cpp
#include <boost/scoped_ptr.hpp>
________________________________________
# config(optional) comment this lines(3, 39) by //
nano ShareLib/Config_Localize_USA.h
#define SERVER_AUTHENTICATION
#define XTRAP
Not sure if all links are up to date, it's from 2018
Desarija is offline  
Old 06/16/2020, 08:50   #5
 
elite*gold: 0
Join Date: Dec 2012
Posts: 19
Received Thanks: 5
Not working link: "wget https://botan.randombit.net/releases/Botan-1.10.17.tgz"
Working Link: "https://botan.randombit.net/releases/old/Botan-1.1.7.tgz"
danielskinter is offline  
Old 06/16/2020, 11:34   #6
 
elite*gold: 10
Join Date: Apr 2020
Posts: 69
Received Thanks: 71
Quote:
Originally Posted by Desarija View Post
Not sure if all links are up to date, it's from 2018
Its outdated, most links are dead but that shouldnt be a big problem, just search the stuff on other sites
#Joker© is offline  
Old 06/16/2020, 11:53   #7

 
.Frezona.™'s Avatar
 
elite*gold: 43
Join Date: Sep 2017
Posts: 1,892
Received Thanks: 2,005
.Frezona.™ is offline  
Thanks
1 User
Old 06/16/2020, 16:23   #8
 
elite*gold: 0
Join Date: Jun 2019
Posts: 11
Received Thanks: 2
Thank you all, I found this tutorial a time ago and I did all the instructions, but I'm having problem to link the boost and log4cxx.

The ShareLib is compiled fine.

Quote:
make: Entering directory '/home/alan/LastChaosPVP/Server Source/ShareLib'
Remake svn_info.h
/bin/sh: 1: svn: not found
OPT_LANG=-DLC_USA=9 make libSharelib.a
make[1]: Entering directory '/home/alan/LastChaosPVP/Server Source/ShareLib'
make[1]: 'libSharelib.a' is up to date.
make[1]: Leaving directory '/home/alan/LastChaosPVP/Server Source/ShareLib'
make: Leaving directory '/home/alan/LastChaosPVP/Server Source/ShareLib'
but when I try to compile another ie: Connector, the compile give me this error:

Quote:
PtrT<log4cxx::Level> const&, std::string const&, log4cxx::spi::LocationInfo const&) const'
/home/alan/LastChaosPVP/Server Source/ShareLib/rnsocketioserviceTcp.cpp:878: undefined reference to `log4cxx::helpers::MessageBuffer::str(log4cxx::hel pers::CharMessageBuffer&)'
/home/alan/LastChaosPVP/Server Source/ShareLib/rnsocketioserviceTcp.cpp:878: undefined reference to `log4cxx::Logger::forcedLog(log4cxx::helpers::Obje ctPtrT<log4cxx::Level> const&, std::string const&, log4cxx::spi::LocationInfo const&) const'
../ShareLib/libSharelib.a(rnsocketioserviceTcp.o): In function `rnSocketIOServiceTcp::HandleReadBodyForTLDForBill ing(boost::system::error_code const&)':
/home/alan/LastChaosPVP/Server Source/ShareLib/rnsocketioserviceTcp.cpp:914: undefined reference to `log4cxx::helpers::MessageBuffer::str(log4cxx::hel pers::CharMessageBuffer&)'
/home/alan/LastChaosPVP/Server Source/ShareLib/rnsocketioserviceTcp.cpp:914: undefined reference to `log4cxx::Logger::forcedLog(log4cxx::helpers::Obje ctPtrT<log4cxx::Level> const&, std::string const&, log4cxx::spi::LocationInfo const&) const'
../ShareLib/libSharelib.a(rnsocketioserviceTcp.o): In function `rnSocketIOServiceTcp::HandleWriteForTLDBilling(bo ost::system::error_code const&, unsigned int)':
/home/alan/LastChaosPVP/Server Source/ShareLib/rnsocketioserviceTcp.cpp:954: undefined reference to `log4cxx::helpers::MessageBuffer::str(log4cxx::hel pers::CharMessageBuffer&)'
/home/alan/LastChaosPVP/Server Source/ShareLib/rnsocketioserviceTcp.cpp:954: undefined reference to `log4cxx::Logger::forcedLog(log4cxx::helpers::Obje ctPtrT<log4cxx::Level> const&, std::string const&, log4cxx::spi::LocationInfo const&) const'
alantuxa is offline  
Old 06/18/2020, 02:28   #9
 
elite*gold: 0
Join Date: Jun 2019
Posts: 11
Received Thanks: 2
Hi, just to share that i got it.

I had to install the libs apr-1.2.11 and aprutil-1.2.10 before all libs, because the apache4cxx only works with these libs. So after install apr I reinstalled all libs and the source was compiled fine.

Thank you all.
alantuxa is offline  
Thanks
1 User
Reply

Tags
compile error, last chaoos usa


Similar Threads Similar Threads
client compile vb 2013 geht nicht
05/09/2015 - Metin2 Private Server - 2 Replies
hallo, wollte userinterface debugen bzw erstellen in visual studio (2013 professional).Jedoch kommen ca 60 fehlermeldungen ... ich weiss auch nicht woran das liegen kann Bilder-Upload - Kostenlos Fotos hochladen und ins Netz stellen bitte helft mir
Client compile problem
05/07/2015 - Metin2 Private Server - 3 Replies
Hallo ich würde gerne die novaline client bin compilen aber er lässt sich nicht mit Visual Studio öffnen ... Auch nicht mit vb 2008 Professional mit sp1 .. Ich versteh das das nicht hab auch die 2010er Express Version installiert .... Klappt alles nicht . Bitte helft mir
[S]Client compile
04/06/2015 - Metin2 Private Server - 0 Replies
Suche ein HowTo zum Client Source compilen
Client Compile Error (Mainline_released)
12/28/2014 - Metin2 Private Server - 0 Replies
Using operating system : Win7 Ultimate 64 bit Using Program : Microsoft Visual Studio 2008 Using Source : Mainline_Released Error Code : Error 526 fatal error LNK1257: code generation failed UserInterface Fix ? Help pls .. :(
Client Binary compile not working?
09/02/2014 - Metin2 Private Server - 0 Replies
Hey guys! I included the binary and libs and everything in Visual Studio 2008 but It won't let me compile when i press CTRL + SHIFT + B nothing happens.. :/ what have I done wrong please? help bump.. some help please



All times are GMT +1. The time now is 18:53.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.