-
Activity
-
1073
[40250] Reference Serverfile + Client + Src [15 Available Languages]
Sorry but what do you expect from me in this situation with this little information? I just warped to the OX map (game99) and even started an event, did not crash for me. Warped to another game99 map (gm_guild_build), did not crash. I don't know when it crash for you, what do you do when it crash, or is it crash because of a modification you made. To find out or at least to have a clue why it crashed for you, do a gdb and copy the output of bt and / or bt full here. cd /usr/metin2/server/game99 gdb file game core game.core bt bt full quit But if you see it's coming from a new system then please kindly open a new topic in q&a. -
4
Failed to load script file...
Big props to @kamil2321, dude is a legend, kind and a helper person at all. Thanks one more time!- 1
-
-
1
Interested in a premium serverfile
hey bro, i have all the stuff you asked for in my client, but not the official design. if you want to test my client add me on discord. Ruben420DE#7805 -
50
official Official Pickup Slot Effect [REVERSED]
Hi is it a new code or its a Additional code? -
4
-
4
Failed to load script file...
Can you give here already packed package, how do you have it and where exactly? Unless you want me to help remotely (AnyDesk) - a faster option is I can take a look if you haven't missed something. -
4
-
0
Protection Client with source
Hello guys, as per the title, i'm looking for client side protection. I pay very well for this protection. my Discord: Eredin#0685 -
3
-
-
Recently Browsing
- No registered users viewing this page.
Question
VladM 0
I need some help, please.
I just started to work in this domain and i can not compile server source, i got an error.
This is the error:
/usr/bin/ld: cannot find -lgame
gmake: *** [../db_r42042] Error 1
[email protected]:/usr/src/Server/db/src #
Does anyone know how to solve it?
this is my makefile:
MAKE = gmake
CC = g++
INCDIR =
LIBDIR =
BINDIR = ..
OBJDIR = .obj
GCC_VERSION = $(shell $(CC) --version 2>&1 | grep "(GCC)" | cut -d' ' -f3 | cut -d'.' -f1)
BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1)
P4_VERSION = 42042
$(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi)
TARGET = $(BINDIR)/db_r$(P4_VERSION)
CFLAGS = -w -g -Wall -O2 -pipe -fno-rtti -fno-exceptions -pthread -D_THREAD_SAFE
ifeq ($(GCC_VERSION), 4)
CFLAGS += -mtune=i686
else
CFLAGS += -mcpu=i686
endif
# boost
INCDIR += -I../../boost
LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib -L/usr/local/lib/mysql
ifeq ($(BSD_VERSION), 7)
INCDIR += -I../../libmysql/7.x-5.1.35
LIBDIR += -L../../libmysql/7.x-5.1.35
else
INCDIR += -I../../libmysql/5.x-5.1.35
LIBDIR += -L../../libmysql/5.x-5.1.35
endif
LIBS = -lthecore -lmysqlclient -lsql -lpoly -lgame -lm -lz
SRCS = Config.cpp NetBase.cpp Peer.cpp PeerBase.cpp Main.cpp Lock.cpp DBManager.cpp \
Cache.cpp LoginData.cpp ClientManager.cpp ClientManagerPlayer.cpp ClientManagerLogin.cpp \
ClientManagerBoot.cpp ClientManagerParty.cpp ClientManagerGuild.cpp GuildManager.cpp HB.cpp \
PrivManager.cpp MoneyLog.cpp ItemAwardManager.cpp ClientManagerEventFlag.cpp Marriage.cpp \
Monarch.cpp BlockCountry.cpp ItemIDRangeManager.cpp ClientManagerHorseName.cpp version.cpp \
AuctionManager.cpp ProtoReader.cpp CsvReader.cpp
OBJS = $(SRCS:%.cpp=$(OBJDIR)/%.o)
default: $(TARGET)
$(TARGET): $(OBJS)
@echo linking ...
@$(CC) $(CFLAGS) $(LIBDIR) $(OBJS) $(LIBS) -o $(TARGET)
@touch version.cpp
$(OBJDIR)/%.o: %.cpp
@echo compile $<
@$(CC) $(CFLAGS) $(INCDIR) -c $< -o [email protected]
$(OBJDIR)/version.o: version.cpp
@$(CC) $(CFLAGS) -D__USER__=\"$(USER)\" -D__HOSTNAME__=\"$(HOSTNAME)\" -D__PWD__=\"$(PWD)\" -D__P4_VERSION__=\"$(P4_VERSION)\" -c $< -o [email protected]
@echo compile $<
$(OBJDIR):
@mkdir $(OBJDIR)
clean:
@rm -f $(OBJS) $(BINDIR)/db_r*
dep:
@touch Depend
makedepend -fDepend $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(SRCS) 2> /dev/null
sinclude Depend
and this is how my directory looks:
Core X - External 2 Internal
Link to comment
Share on other sites
Top Posters For This Question
1
Popular Days
Nov 6
1
Top Posters For This Question
VladM 1 post
Popular Days
Nov 6 2018
1 post
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now