Register for your free account! | Forgot your password?

You last visited: Today at 09:16

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

Advertisement



Source Probleme..

Discussion on Source Probleme.. within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2013
Posts: 419
Received Thanks: 44
Source Probleme..

Hallo liebe com

Habe die Mainline_released server source compilt, aber es wird keine game erstellt ...

Hier "
PHP Code:
 root@host:/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src # gmake clean
root@host:/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src # gmake -j2
compile BattleArena.cpp
compile FSM
.cpp
compile MarkConvert
.cpp
compile MarkImage
.cpp
compile MarkManager
.cpp
compile OXEvent
.cpp
compile TrafficProfiler
.cpp
compile ani
.cpp
compile arena
.cpp
compile banword
.cpp
compile battle
.cpp
compile blend_item
.cpp
compile block_country
.cpp
compile buffer_manager
.cpp
compile building
.cpp
compile castle
.cpp
compile char
.cpp
In file included from char
.cpp:4:
../../
common/VnumHelper.h:59:32warningno newline at end of file
In file included from char
.cpp:25:
shop_manager.h:40:7warningno newline at end of file
In file included from char
.cpp:62:
PetSystem.h:163:31warningno newline at end of file
char
.cpp:7217warningthis decimal constant is unsigned only in ISO C90
char
.cpp:7225:2warningno newline at end of file
char
.cppIn member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
char.cpp:3088warningcomparison between signed and unsigned integer expressions
compile char_affect
.cpp
compile char_battle
.cpp
In file included from char_battle
.cpp:27:
shop_manager.h:40:7warningno newline at end of file
compile char_change_empire
.cpp
compile char_horse
.cpp
In file included from char_horse
.cpp:14:
../../
common/VnumHelper.h:59:32warningno newline at end of file
compile char_item
.cpp
In file included from char_item
.cpp:44:
../../
common/VnumHelper.h:59:32warningno newline at end of file
In file included from char_item
.cpp:47:
belt_inventory_helper.h:108:42warningno newline at end of file
In file included from char_item
.cpp:47:
belt_inventory_helper.hIn static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
belt_inventory_helper.h:28warningcomparison between signed and unsigned integer expressions
char_item
.cppIn member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:640warningcomparison is always false due to limited range of data type
char_item
.cpp:666warningcomparison is always false due to limited range of data type
char_item
.cppIn member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':
char_item.cpp:2387warningformat '%d' expects type 'int'but argument 6 has type 'long int'
char_item.cpp:2391warningformat '%d' expects type 'int'but argument 6 has type 'long int'
char_item.cpp:2403warningformat '%d' expects type 'int'but argument 5 has type 'long int'
char_item.cpp:2407warningformat '%d' expects type 'int'but argument 5 has type 'long int'
char_item.cpp:2434warningformat '%d' expects type 'int'but argument 6 has type 'long int'
char_item.cpp:2442warningformat '%d' expects type 'int'but argument 5 has type 'long int'
char_item.cpp:5087warningcomparison between signed and unsigned integer expressions
char_item
.cppIn member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5159warningunused variable 'wDestCell'
char_item.cpp:5160warningunused variable 'bDestInven'
char_item.cppIn member function 'bool CHARACTER::EquipItem(CItem*, int)':
char_item.cpp:6160warning: array subscript has type 'char'
char_item.cppIn member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)':
char_item.cpp:6224warningcomparison between signed and unsigned integer expressions
char_item
.cppIn member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)':
char_item.cpp:6236warningcomparison between signed and unsigned integer expressions
char_item
.cppIn member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)':
char_item.cpp:7422warningunused variable 'itemType'
char_item.cpp:7423warningunused variable 'itemSubType'
char_item.cppIn member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:679warningcontrol reaches end of non-void function
char_item.cppIn member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)':
char_item.cpp:6271warning'pBuff' may be used uninitialized in this function
compile char_manager.cpp
compile char_quickslot
.cpp
compile char_resist
.cpp
compile char_skill
.cpp
compile char_state
.cpp
In file included from char_state
.cpp:25:
../../
common/VnumHelper.h:59:32warningno newline at end of file
char_state
.cppIn member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:901warningunused variable 'rider'
compile PetSystem.cpp
In file included from PetSystem
.cpp:8:
PetSystem.h:163:31warningno newline at end of file
In file included from PetSystem
.cpp:9:
../../
common/VnumHelper.h:59:32warningno newline at end of file
PetSystem
.cpp:637:2warningno newline at end of file
PetSystem
.cppIn member function 'virtual bool CPetActor::_UpdateFollowAI()':
PetSystem.cpp:246warningunused variable 'bDoMoveAlone'
PetSystem.cppIn member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)':
PetSystem.cpp:552warningunused variable 'petVID'
compile cmd.cpp
compile cmd_emotion
.cpp
compile cmd_general
.cpp
In file included from cmd_general
.cpp:36:
../../
common/VnumHelper.h:59:32warningno newline at end of file
compile cmd_gm
.cpp
cmd_gm
.cppIn function 'void do_set_stat(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:3935warningNULL used in arithmetic
compile cmd_oxevent
.cpp
compile config
.cpp
In file included from config
.cpp:22:
check_server.hIn static member function 'static bool CheckServer::CheckIp(const char*)':
check_server.h:24warningcomparison between signed and unsigned integer expressions
config
.cppIn function 'void config_init(const std::string&)':
config.cpp:435warningNULL used in arithmetic
config
.cpp:459warningNULL used in arithmetic
config
.cpp:483warningNULL used in arithmetic
config
.cpp:505warningunused variable 'line'
compile constants.cpp
constants
.cpp:291warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:292warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:293warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:294warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:295warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:296warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:297warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:298warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:299warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:300warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:301warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:302warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:303warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:304warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:305warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:306warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:307warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:308warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:309warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:310warningthis decimal constant is unsigned only in ISO C90
constants
.cpp:311warningthis decimal constant is unsigned only in ISO C90
compile crc32
.cpp
compile cube
.cpp
cube
.cppIn function 'bool Cube_make(CHARACTER*)':
cube.cpp:544warningcomparison between signed and unsigned integer expressions
cube
.cppIn function 'void Cube_MakeCubeInformationText()':
cube.cpp:716warningunused variable 'npcVNUM'
cube.cppIn function 'bool Cube_InformationInitialize()':
cube.cpp:783warningcomparison between signed and unsigned integer expressions
compile db
.cpp
^Cgmake: *** [OBJDIR/db.oInterrupt2
gmake
: *** [OBJDIR/cmd_gm.oInterrupt2

root
@host:/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src 


Hier die Makefile
PHP Code:
 PLATFORM = $(shell file /bin/ls cut -d' ' -f3 cut -d'-' -f1)

GCC_VERSION = $(shell $(CC) --version 2>&grep "(GCC)" cut -d' ' -f3  cut -d'.' -f1)
BSD_VERSION = $(shell uname -v 2>&cut -d' ' -f2 cut -d'.' -f1)
SVN_VERSION = $(shell svnversion -.)

CC g++

INCDIR =
LIBDIR =
BINDIR = ..
OBJDIR OBJDIR
$(shell if [ ! -$(OBJDIR) ]; then mkdir $(OBJDIR); fi)

# Standard Setting
LIBS = -pthread -lm -lmd
# Removed -fno-rtti 
CFLAGS = --Wall -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -DNDEBUG # -D_USE_SERVER_KEY_

ifeq ($(GCC_VERSION), 4)
CFLAGS += -mtune=i686 -fstack-protector-all
else
CFLAGS += -mcpu=i686
endif

# boost
INCDIR += -I../../../Extern/include/boost

# DevIL
INCDIR += -I../../libdevil
LIBDIR 
+= -L../../libdevil
LIBS 
+= -lIL -lpng -ltiff -lmng -llcms -ljpeg

# 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 += -lmysqlclient -lz

# Miscellaneous external libraries
INCDIR += -I../../../Extern/include
LIBDIR += -L../../../Extern/lib
LIBS 
+= -lcryptopp -lgtest

# HackShield
INCDIR += -I../../libhackshield/include
LIBDIR += -L../../libhackshield/lib
LIBS 
+= -lanticpxsvr

# XTrap
INCDIR += -I../../libxtrap/include

# openssl
#INCDIR += -I/usr/include
#LIBS += -lssl
#LIBS += /usr/lib/libssl.a

# Project Library
INCDIR += -I../../liblua/include
INCDIR += -I/usr/local/include
INCDIR += -I../../libserverkey
LIBDIR 
+= -L../../libthecore/lib -L../../libpoly -L../../libsql -L../../libgame/lib -L../../liblua/lib -L../../libserverkey
LIBDIR 
+= -L/usr/local/lib
LIBS 
+= -lthecore -lpoly -llua -llualib -lsql -lgame -lserverkey
USE_STACKTRACE 
0
ifeq 
($(USE_STACKTRACE), 1)
LIBS += /usr/local/lib/libexecinfo.a
endif

TARGET  = $(BINDIR)/game_r$(SVN_VERSION)_$(PLATFORM)

CFILE    minilzo.c

CPPFILE 
BattleArena.cpp FSM.cpp MarkConvert.cpp MarkImage.cpp MarkManager.cpp OXEvent.cpp TrafficProfiler.cpp ani.cpp\
          
arena.cpp banword.cpp battle.cpp blend_item.cpp block_country.cpp buffer_manager.cpp building.cpp castle.cpp\
          
char.cpp char_affect.cpp char_battle.cpp char_change_empire.cpp char_horse.cpp char_item.cpp char_manager.cpp\
          
char_quickslot.cpp char_resist.cpp char_skill.cpp char_state.cpp PetSystem.cpp cmd.cpp cmd_emotion.cpp cmd_general.cpp\
          
cmd_gm.cpp cmd_oxevent.cpp config.cpp constants.cpp crc32.cpp cube.cpp db.cpp desc.cpp\
          
desc_client.cpp desc_manager.cpp desc_p2p.cpp dev_log.cpp dungeon.cpp empire_text_convert.cpp entity.cpp\
          
entity_view.cpp event.cpp event_queue.cpp exchange.cpp file_loader.cpp fishing.cpp gm.cpp guild.cpp\
          
guild_manager.cpp guild_war.cpp horse_rider.cpp horsename_manager.cpp input.cpp input_auth.cpp input_db.cpp\
          
input_login.cpp input_main.cpp input_p2p.cpp input_teen.cpp input_udp.cpp ip_ban.cpp\
          
item.cpp item_addon.cpp item_attribute.cpp item_manager.cpp item_manager_idrange.cpp locale.cpp\
          
locale_service.cpp log.cpp login_data.cpp lzo_manager.cpp marriage.cpp matrix_card.cpp\
          
messenger_manager.cpp mining.cpp mob_manager.cpp monarch.cpp motion.cpp over9refine.cpp p2p.cpp packet_info.cpp\
          
party.cpp passpod.cpp pcbang.cpp polymorph.cpp priv_manager.cpp pvp.cpp\
          
questevent.cpp questlua.cpp questlua_affect.cpp questlua_arena.cpp questlua_ba.cpp questlua_building.cpp\
          
questlua_danceevent.cpp questlua_dungeon.cpp questlua_forked.cpp questlua_game.cpp questlua_global.cpp\
          
questlua_guild.cpp questlua_horse.cpp questlua_pet.cpp questlua_item.cpp questlua_marriage.cpp questlua_mgmt.cpp\
          
questlua_monarch.cpp questlua_npc.cpp questlua_oxevent.cpp questlua_party.cpp questlua_pc.cpp\
          
questlua_quest.cpp questlua_target.cpp questmanager.cpp questnpc.cpp questpc.cpp\
          
refine.cpp regen.cpp safebox.cpp sectree.cpp sectree_manager.cpp sequence.cpp shop.cpp\
          
skill.cpp start_position.cpp target.cpp text_file_loader.cpp trigger.cpp utils.cpp vector.cpp war_map.cpp\
          
wedding.cpp xmas_event.cpp version.cpp panama.cpp threeway_war.cpp map_location.cpp auth_brazil.cpp\
          
BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp\
          
HackShield.cpp HackShield_Impl.cpp char_hackshield.cpp skill_power.cpp affect.cpp\
          
SpeedServer.cpp questlua_speedserver.cpp XTrapManager.cpp\
          
auction_manager.cpp FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp\
          
buff_on_attributes.cpp check_server.cpp dragon_soul_table.cpp DragonSoul.cpp\
          
group_text_parse_tree.cpp char_dragonsoul.cpp questlua_dragonsoul.cpp\
          
shop_manager.cpp shopEx.cpp item_manager_read_tables.cpp


COBJS    
= $(CFILE:%.c=$(OBJDIR)/%.o)
CPPOBJS    = $(CPPFILE:%.cpp=$(OBJDIR)/%.o)

MAINOBJ = $(OBJDIR)/main.o
MAINCPP 
main.cpp

TESTOBJ 
= $(OBJDIR)/test.o
TESTCPP 
test.cpp
TEST_TARGET 
= $(BINDIR)/test

default: $(TARGET) $(TEST_TARGET)

$(
OBJDIR)/minilzo.ominilzo.c
    
@$(CC) $(CFLAGS) $(INCDIR) -$< -$@
 [
MENTION=374979]echo[/MENTIONcompile $<

$(
OBJDIR)/version.oversion.cpp
    
@$(CC) $(CFLAGS) -D__USER__=\"$(USER)\" -D__HOSTNAME__=\"$(HOSTNAME)\" -D__PWD__=\"$(PWD)\" -D__SVN_VERSION__=\"$(SVN_VERSION)\" -c $< -o $@
 [MENTION=374979]echo[/MENTION] compile $<

$(OBJDIR)/%.o: %.cpp
 [MENTION=374979]echo[/MENTION] compile $<
    @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@

limit_time:
 [MENTION=374979]echo[/MENTION] update limit time
 [MENTION=435108]Python[/MENTION] update_limit_time.py

$(TARGET): $(CPPOBJS) $(COBJS) $(MAINOBJ)
 [MENTION=374979]echo[/MENTION] linking $(TARGET)....
    @$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(MAINOBJ) $(LIBS) -o $(TARGET)

$(TEST_TARGET): $(TESTCPP) $(CPPOBJS) $(COBJS) $(TESTOBJ)
 [MENTION=374979]echo[/MENTION] linking $(TEST_TARGET)
    @$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(TESTOBJ) $(LIBS) -o ../test

clean:
    @rm -f $(COBJS) $(CPPOBJS)
    @rm -f $(BINDIR)/game_r* $(BINDIR)/conv

tag:
    ctags *.cpp *.h *.c

dep:
    makedepend -f Depend $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(CPPFILE) $(CFILE) $(MAINCPP) $(TESTCPP) 2> /dev/null > Depend

sinclude Depend 
Ich bedanke mich schon jetzt im voraus :
1Fantasy1 is offline  
Old 03/19/2016, 21:41   #2
 
elite*gold: 5
Join Date: Mar 2013
Posts: 1,986
Received Thanks: 2,254
Quote:
^Cgmake: *** [OBJDIR/db.o] Interrupt: 2
Wenn man auch mit STRG + C abbricht
xGr33n is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Probleme mit Source
02/26/2013 - Flyff Private Server - 11 Replies
Hallo liebe Community Kann mir bitte jemand bei meiner Source helfen Ich habe folgende Error WorldServer warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library c:\Users\xxx\Desktop\FlyffV15\FlyFF v15 Source\Neuz\DPLoginClient.cpp(551): warning C4390: ';' : empty controlled statement found; is this the intent? c:\Users\xxx\Desktop\FlyffV15\FlyFF v15 Source\_Common\file.cpp(336): error C2039: 'FindFile' : is not a member of 'CResFile'...
Probleme mit der Source ...
07/19/2012 - Flyff Private Server - 8 Replies
Ich habe Awake in die Source von "Pixelfehler" geaddet. Alles wurde richtig compiled. Nur Problem ist,dass der befehl Ingame nicht funktioniert. http://i.epvpimg.com/p8yjb.jpg Ich habe noch ein Problem. Habe versucht die ganzen Zeit den Antihack zum starten zu bringen. Headmark ist auf "^" und somit auf 0x5e eingestellt. Ports sind die Standarts. http://i.epvpimg.com/zC5vc.jpg
Source Probleme
03/11/2012 - Flyff Private Server - 0 Replies
Hallo, ich habe folgende Probleme, ich habe in meinem test Server lvl cap 300, was auch alles funzt nur was ein wenig buggt ist wenn ich 300 Slayer bin wird im Messenger 48-H angezeigt, woran liegt das? Das ist bei jeder Klassen anders Knight 1-H etc.. Das zweite ist, ich habe in der propQuest.inc den Pettamer Quest also Pet Lvl up auf 300 gesetzt dennoch funzt es nur bis lvl 30. o,o Hat vllt wär ein fix oder kann helfen wäre nice. Gruss Ich
FlyFF Source v15 Probleme
04/22/2011 - Flyff Private Server - 2 Replies
Hallo! Ich habe die Source, die Sedrika(THX) released hat. Mit VS2003 klappt das auch alles mit dem compilen. Die Server starten auch alle super. Aber jetzt kommt das Problem: Mit der kompilierten Neuz kam erst, dass die Version nicht stimmt. Dieses Problem habe ich dann mim Reshacker gelöst. Nun startet auch der Client, aber es kommt der Fehler "Falsches Passwort" bei der Anmeldung. Mit der alten Neuz (die mit Sedrikas Servern läuft) komme ich bis zur Character Auswahl, aber beim Starten...
Source Probleme
12/10/2010 - Flyff Private Server - 5 Replies
Hi Leute, Ich hab ein Probleme. Ich finde ein paar source Datein nicht. (z.b Party.h ; ProjectCmn.h ; guild.h ; ) Konnte mir einer Helfen ?? MFG FeuerPain



All times are GMT +2. The time now is 09:16.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.