Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 15:31

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

Advertisement



[SAMMELTHREAD] Metin2 Source Compile Tips/Tuts

Discussion on [SAMMELTHREAD] Metin2 Source Compile Tips/Tuts within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 02/22/2014, 15:21   #436

 
Mr. 'Avenue™'s Avatar
 
elite*gold: 222
The Black Market: 101/0/0
Join Date: Oct 2012
Posts: 2,369
Received Thanks: 3,389
Quote:
Originally Posted by [iRemix] View Post
Kleiner Tipp von mir:

In der main.cpp die Funktion Metin2Server_Check auskommentieren oder verändern.
Die connectet zu einem YMIR Server.
Falsch, Webzen.
Dennoch danke, wusste es nicht.
Mr. 'Avenue™ is offline  
Old 02/22/2014, 15:31   #437

 
elite*gold: 0
Join Date: Mar 2013
Posts: 2,449
Received Thanks: 6,446
Quote:
Originally Posted by Mr. 'Avenue™ View Post
Falsch, Webzen.
Dennoch danke, wusste es nicht.
YMIR sind immernoch die Entwickler :P
Ist mittlerweile aber eine "Tochterfirma" von WebZen (sie haben YMIR gekauft).
Lord iRemix is offline  
Thanks
1 User
Old 02/22/2014, 15:52   #438
 
elite*gold: 25
Join Date: Sep 2011
Posts: 5,536
Received Thanks: 1,266
Quote:
Originally Posted by [iRemix] View Post
Kleiner Tipp von mir:

In der main.cpp die Funktion Metin2Server_Check auskommentieren oder verändern.
Die connectet zu einem YMIR Server.
Oder einfach in der main.cpp die Zeile 473 auskommentieren und Zeile 354 auf true setzen.
IchVerabschiedeMich is offline  
Old 02/22/2014, 17:14   #439
 
IHateJuif's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 6
Received Thanks: 7
Quote:
Originally Posted by Mr. 'Avenue™ View Post
Code:
root@Develope:/usr/src/novaline/Server/game/src # gmake clean && gmake -j20
compile BattleArena.cpp
g++: directory": No such file or directory
compile FSM.cpp
<command-line>: warning: missing terminating " character
g++: directory": No such file or directory
<command-line>: warning: missing terminating " character
compile MarkConvert.cpp
g++: directory": No such file or directory
gmake: *** [OBJDIR/FSM.o] Error 1
gmake: *** Waiting for unfinished jobs....
<command-line>: warning: missing terminating " character
gmake: *** [OBJDIR/MarkConvert.o] Error 1
gmake: *** [OBJDIR/BattleArena.o] Error 1
Kann mir jemand helfen? :/
do you have install g++`??


IHateJuif is offline  
Old 02/22/2014, 17:16   #440

 
Mr. 'Avenue™'s Avatar
 
elite*gold: 222
The Black Market: 101/0/0
Join Date: Oct 2012
Posts: 2,369
Received Thanks: 3,389
Quote:
Originally Posted by IHateJuif View Post
do you have install g++`??


Yes, I have..
Mr. 'Avenue™ is offline  
Old 02/23/2014, 12:51   #441
 
atag's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 104
Received Thanks: 126
Quote:
g++: directory": No such file or directory
It's just a Makefile "error"

Change
Quote:
SVN_VERSION = $(shell svnversion -n .)
to
Code:
SVN_VERSION = anything
Quote:
$(OBJDIR)/version.o: version.cpp
@$(CC) $(CFLAGS) -D__USER__=\"$(USER)\" -D__HOSTNAME__=\"$(HOSTNAME)\" -D__PWD__=\"$(PWD)\" -D__P4_VERSION__=\"$(P4_VERSION)\" -c $< -o $@
@echo compile $<
to
HTML Code:
$(OBJDIR)/version.o: version.cpp
	@$(CC) $(CFLAGS) -D__P4_VERSION__=\"$(SVN_VERSION)\" -c $< -o $@
	@echo compile $<
and edit version.cpp
Code:
#include <stdio.h>

void WriteVersion()
{
#ifndef __WIN32__
	FILE* fp = fopen("VERSION.txt", "w");

	if (fp)
	{
		fprintf(fp, "game revision: %s\n", __P4_VERSION__);
		fclose(fp);
	}
#endif
}
atag is offline  
Thanks
3 Users
Old 02/26/2014, 16:11   #442
 
elite*gold: 0
Join Date: Jun 2013
Posts: 65
Received Thanks: 9
Can someone tell me how to solve my problem


#0 0x28331930 in strtoul_l () from /lib/libc.so.7
#1 0x28331b9d in strtoul () from /lib/libc.so.7
#2 0x080ce2cb in mysql_set_character_set ()
#3 0x080d6ad5 in CAsyncSQL::QueryLocaleSet ()
#4 0x08051110 in CDBManager::SetLocale (this=0x28421b00, szLocale=0x28456acc "latin1") at DBManager.cpp:172
#5 0x0805d305 in CClientManager::InitializeLocalization (this=0xbfbfd34c) at ClientManager.cpp:3686
#6 0x0805dfed in CClientManager::Initialize (this=0xbfbfd34c) at ClientManager.cpp:95
#7 0x0804fede in Start () at Main.cpp:381
#8 0x080500f5 in main () at Main.cpp:88
Originale_59 is offline  
Old 03/01/2014, 00:28   #443
 
elite*gold: 0
Join Date: Jun 2008
Posts: 23
Received Thanks: 22
Hello.

I have problem with compile on bsd.
This is log:
Code:
http://wklej.to/HFlCH
What should I do?

Thanks!
kodexior is offline  
Old 03/01/2014, 02:38   #444
 
elite*gold: 0
Join Date: May 2009
Posts: 95
Received Thanks: 95
Quote:
Originally Posted by kodexior View Post
Hello.

I have problem with compile on bsd.
This is log:
Code:
http://wklej.to/HFlCH
What should I do?

Thanks!

from main.cpp:82:
../../../Extern/include/boost/cregex.hpp:24:34: error: boost/regex/config.hpp: No such file or directory
../../../Extern/include/boost/cregex.hpp:27:37: error: boost/regex/v4/cregex.hpp: No such file or directory
deco016 is offline  
Thanks
1 User
Old 03/16/2014, 19:45   #445
 
elite*gold: 0
Join Date: Jan 2014
Posts: 42
Received Thanks: 18
Can anybody make a full tutrial for it in windows ?

1>------ Erstellen gestartet: Projekt: WorldEditor, Konfiguration: MfcDebug Win32 ------
1>Kompilieren...
1>StdAfx.cpp
1> WINVER not defined. Defaulting to 0x0600 (Windows Vista)
1>e:\ymir work\dev\srcs\tools\worldeditor\./DataCtrl/ObjectData.h(144) : error C2146: Syntaxfehler: Fehlendes ';' vor Bezeichner 'strModelFileName'
1>e:\ymir work\dev\srcs\tools\worldeditor\./DataCtrl/ObjectData.h(144) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
1>e:\ymir work\dev\srcs\tools\worldeditor\./DataCtrl/ObjectData.h(144) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
1>e:\ymir work\dev\srcs\tools\worldeditor\./DataCtrl/ObjectData.h(145) : error C2146: Syntaxfehler: Fehlendes ';' vor Bezeichner 'strSourceSkinFileName'
1>e:\ymir work\dev\srcs\tools\worldeditor\./DataCtrl/ObjectData.h(145) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
1>e:\ymir work\dev\srcs\tools\worldeditor\./DataCtrl/ObjectData.h(145) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
1>e:\ymir work\dev\srcs\tools\worldeditor\./DataCtrl/ObjectData.h(146) : error C2146: Syntaxfehler: Fehlendes ';' vor Bezeichner 'strTargetSkinFileName'
1>e:\ymir work\dev\srcs\tools\worldeditor\./DataCtrl/ObjectData.h(146) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
1>e:\ymir work\dev\srcs\tools\worldeditor\./DataCtrl/ObjectData.h(146) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
1>e:\ymir work\dev\srcs\tools\worldeditor\./DataCtrl/ObjectData.h(273) : error C2146: Syntaxfehler: Fehlendes ';' vor Bezeichner 'm_strShapeDataPathName'
1>e:\ymir work\dev\srcs\tools\worldeditor\./DataCtrl/ObjectData.h(273) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
1>e:\ymir work\dev\srcs\tools\worldeditor\./DataCtrl/ObjectData.h(273) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
1>Das Buildprotokoll wurde unter "file://e:\ymir work\dev\Srcs\Tools\obj\VC90\WorldEditor_MfcDebug\ BuildLog.htm" gespeichert.
1>WorldEditor - 12 Fehler, 0 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========
MrRylisma is offline  
Old 03/30/2014, 16:28   #446
 
elite*gold: 0
Join Date: Mar 2011
Posts: 72
Received Thanks: 8
errorlog: gmake: *** No rule to make target `/usr/include/xlocale/_string.h', needed by `OBJDIR/BattleArena.o'. Stop.
meca4h4 is offline  
Old 03/31/2014, 21:35   #447
 
elite*gold: 0
Join Date: Oct 2011
Posts: 6
Received Thanks: 1
Dev - 32k ?
dev_wolf_branch 39k ?
mainline - 32k ?
mainline_cython - ???
mainline_released - Src Metin2 SG game 40 k ?
mainline_w2.0 - 36k ?
mainline_w2.1 - ???
novaline - 40k+ ?

Which is latest version ?
Which is easier to use ?
KrzychuXxX is offline  
Old 04/01/2014, 00:54   #448
 
elite*gold: 0
Join Date: Jan 2012
Posts: 23
Received Thanks: 0

Quote:
Originally Posted by atag View Post
It's just a Makefile "error"

Change

to
Code:
SVN_VERSION = anything

to
HTML Code:
$(OBJDIR)/version.o: version.cpp
	@$(CC) $(CFLAGS) -D__P4_VERSION__=\"$(SVN_VERSION)\" -c $< -o $@
	@echo compile $<
and edit version.cpp
Code:
#include <stdio.h>

void WriteVersion()
{
#ifndef __WIN32__
	FILE* fp = fopen("VERSION.txt", "w");

	if (fp)
	{
		fprintf(fp, "game revision: %s\n", __P4_VERSION__);
		fclose(fp);
	}
#endif
}
HTML Code:
root@Sinval:~ # cd /usr/src/mainline/Srcs/Server/game/src

root@Sinval:/usr/src/mainline/Srcs/Server/game/src # gmake clean
root@Sinval:/usr/src/mainline/Srcs/Server/game/src # gmake -j20
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
compile char_affect.cpp
compile char_change_empire.cpp
compile char_horse.cpp
compile char_item.cpp
compile char_battle.cpp
In file included from char_horse.cpp:14:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
In file included from char_item.cpp:44:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
In file included from char_item.cpp:47:
belt_inventory_helper.h:108:42: warning: no newline at end of file
In file included from char.cpp:4:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
In file included from char.cpp:25:
shop_manager.h:40:7: warning: no newline at end of file
In file included from char_battle.cpp:27:
shop_manager.h:40:7: warning: no newline at end of file
In file included from char.cpp:62:
PetSystem.h:163:31: warning: no newline at end of file
char.cpp:7221: warning: this decimal constant is unsigned only in ISO C90
compile char_manager.cpp
compile char_quickslot.cpp
In file included from char_item.cpp:47:
belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:640: warning: comparison is always false due to limited range of data type
char_item.cpp:666: warning: comparison is always false due to limited range of data type
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':
char_item.cpp:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2434: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2442: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:5087: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5159: warning: unused variable 'wDestCell'
char_item.cpp:5160: warning: unused variable 'bDestInven'
char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':
char_item.cpp:6160: warning: array subscript has type 'char'
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)':
char_item.cpp:6224: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)':
char_item.cpp:6236: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)':
char_item.cpp:7422: warning: unused variable 'itemType'
char_item.cpp:7423: warning: unused variable 'itemSubType'
compile char_resist.cpp
compile char_skill.cpp
compile char_state.cpp
In file included from char_state.cpp:25:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
compile PetSystem.cpp
compile cmd.cpp
In file included from PetSystem.cpp:8:
PetSystem.h:163:31: warning: no newline at end of file
In file included from PetSystem.cpp:9:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
PetSystem.cpp:637:2: warning: no newline at end of file
compile cmd_emotion.cpp
compile cmd_general.cpp
PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':
PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone'
PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)':
PetSystem.cpp:552: warning: unused variable 'petVID'
compile cmd_gm.cpp
In file included from cmd_general.cpp:36:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
compile cmd_oxevent.cpp
compile config.cpp
In file included from config.cpp:22:
check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':
check_server.h:24: warning: comparison between signed and unsigned integer expressions
config.cpp: In function 'void config_init(const std::string&)':
config.cpp:435: warning: NULL used in arithmetic
config.cpp:459: warning: NULL used in arithmetic
config.cpp:483: warning: NULL used in arithmetic
config.cpp:505: warning: unused variable 'line'
compile constants.cpp
constants.cpp:291: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:292: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:293: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:294: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:295: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:296: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:297: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:298: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:299: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:300: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:301: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:302: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:303: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:304: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:305: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:306: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:307: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:308: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:309: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:310: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:311: warning: this decimal constant is unsigned only in ISO C90
compile crc32.cpp
compile cube.cpp
cube.cpp: In function 'bool Cube_make(CHARACTER*)':
cube.cpp:544: warning: comparison between signed and unsigned integer expressions
cube.cpp: In function 'void Cube_MakeCubeInformationText()':
cube.cpp:716: warning: unused variable 'npcVNUM'
cube.cpp: In function 'bool Cube_InformationInitialize()':
cube.cpp:783: warning: comparison between signed and unsigned integer expressions
compile db.cpp
compile desc.cpp
compile desc_client.cpp
desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)':
desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions
compile desc_manager.cpp
compile desc_p2p.cpp
In file included from desc_manager.cpp:15:
ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
compile dev_log.cpp
compile dungeon.cpp
compile empire_text_convert.cpp
compile entity.cpp
compile entity_view.cpp
compile event.cpp
compile event_queue.cpp
compile exchange.cpp
compile file_loader.cpp
compile fishing.cpp
compile gm.cpp
compile guild.cpp
compile guild_manager.cpp
compile guild_war.cpp
compile horse_rider.cpp
compile horsename_manager.cpp
compile input.cpp
compile input_auth.cpp
compile input_db.cpp
compile input_login.cpp
In file included from input_db.cpp:13:
shop_manager.h:40:7: warning: no newline at end of file
input_db.cpp:2722:2: warning: no newline at end of file
input_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, const char*, char*)':
input_auth.cpp:467: warning: unused variable 'last'
compile input_main.cpp
compile input_p2p.cpp
compile input_teen.cpp
In file included from input_main.cpp:16:
shop_manager.h:40:7: warning: no newline at end of file
compile input_udp.cpp
compile ip_ban.cpp
compile item.cpp
compile item_addon.cpp
compile item_attribute.cpp
In file included from item.cpp:22:
belt_inventory_helper.h:108:42: warning: no newline at end of file
In file included from item.cpp:23:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
item.cpp:2084:2: warning: no newline at end of file
compile item_manager.cpp
In file included from item_manager.cpp:21:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
In file included from item.cpp:22:
belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions
item.h: In constructor 'CItem::CItem(DWORD)':
item.h:286: warning: 'CItem::m_pkRealTimeExpireEvent' will be initialized after
item.h:283: warning:   'LPEVENT CItem::m_pkExpireEvent'
item.cpp:25: warning:   when initialized here
item.cpp: In function 'const bool CanPutIntoRing(CItem*, CItem*)':
item.cpp:1725: warning: unused variable 'vnum'
item.cpp: In member function 'bool CItem::CanPutInto(CItem*)':
item.cpp:1758: warning: comparison between signed and unsigned integer expressions
item.cpp: In member function 'int CItem::GiveMoreTime_Per(float)':
item.cpp:2014: warning: comparison between signed and unsigned integer expressions
item.cpp:2016: warning: comparison between signed and unsigned integer expressions
item.cpp: In member function 'int CItem::GiveMoreTime_Fix(DWORD)':
item.cpp:2038: warning: comparison between signed and unsigned integer expressions
item.cpp: In member function 'int CItem::GetDuration()':
item.cpp:2069: warning: array subscript has type 'char'
item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)':
item_manager.cpp:604: warning: comparison between signed and unsigned integer expressions
compile item_manager_idrange.cpp
compile locale.cpp
compile locale_service.cpp
compile log.cpp
compile login_data.cpp
compile lzo_manager.cpp
compile marriage.cpp
compile matrix_card.cpp
compile messenger_manager.cpp
compile mining.cpp
compile mob_manager.cpp
compile monarch.cpp
monarch.cpp:276:2: warning: no newline at end of file
compile motion.cpp
compile over9refine.cpp
compile p2p.cpp
compile packet_info.cpp
compile party.cpp
compile passpod.cpp
compile pcbang.cpp
compile polymorph.cpp
compile priv_manager.cpp
compile pvp.cpp
compile questevent.cpp
compile questlua.cpp
compile questlua_affect.cpp
questlua.cpp: In member function 'bool quest::FPartyCheckFlagLt::operator()(CHARACTER*)':
questlua.cpp:78: warning: 'returnBool' may be used uninitialized in this function
compile questlua_arena.cpp
compile questlua_ba.cpp
compile questlua_building.cpp
compile questlua_danceevent.cpp
compile questlua_dungeon.cpp
compile questlua_forked.cpp
compile questlua_game.cpp
compile questlua_global.cpp
compile questlua_guild.cpp
compile questlua_horse.cpp
compile questlua_pet.cpp
In file included from questlua_pet.cpp:11:
PetSystem.h:163:31: warning: no newline at end of file
questlua_pet.cpp:157:2: warning: no newline at end of file
compile questlua_item.cpp
compile questlua_marriage.cpp
compile questlua_mgmt.cpp
compile questlua_monarch.cpp
compile questlua_npc.cpp
In file included from questlua_npc.cpp:9:
shop_manager.h:40:7: warning: no newline at end of file
questlua_npc.cpp: In function 'int quest::npc_get_vid_attack_mul(lua_State*)':
questlua_npc.cpp:293: warning: unused variable 'q'
questlua_npc.cpp: In function 'int quest::npc_set_vid_attack_mul(lua_State*)':
questlua_npc.cpp:309: warning: unused variable 'q'
questlua_npc.cpp: In function 'int quest::npc_get_vid_damage_mul(lua_State*)':
questlua_npc.cpp:324: warning: unused variable 'q'
questlua_npc.cpp: In function 'int quest::npc_set_vid_damage_mul(lua_State*)':
questlua_npc.cpp:340: warning: unused variable 'q'
compile questlua_oxevent.cpp
compile questlua_party.cpp
compile questlua_pc.cpp
compile questlua_quest.cpp
compile questlua_target.cpp
compile questmanager.cpp
compile questnpc.cpp
questnpc.cpp: In member function 'bool quest::NPC::HandleEvent(quest::PC&, int)':
questnpc.cpp:500: warning: unused variable 'pPC'
compile questpc.cpp
compile refine.cpp
compile regen.cpp
compile safebox.cpp
compile sectree.cpp
compile sectree_manager.cpp
compile sequence.cpp
compile shop.cpp
compile skill.cpp
shop.cpp: In member function 'virtual bool CShop::IsSellingItem(DWORD)':
shop.cpp:576: warning: comparison between signed and unsigned integer expressions
compile start_position.cpp
compile target.cpp
compile text_file_loader.cpp
compile trigger.cpp
In file included from trigger.cpp:8:
shop_manager.h:40:7: warning: no newline at end of file
compile utils.cpp
compile vector.cpp
utils.cpp: In function 'bool WildCaseCmp(const char*, const char*)':
utils.cpp:243: warning: NULL used in arithmetic
utils.cpp:255: warning: NULL used in arithmetic
utils.cpp:269: warning: NULL used in arithmetic
compile war_map.cpp
compile wedding.cpp
compile xmas_event.cpp
version.cpp:14:2: warning: no newline at end of file
compile version.cpp
compile panama.cpp
compile threeway_war.cpp
compile map_location.cpp
compile auth_brazil.cpp
compile BlueDragon.cpp
compile BlueDragon_Binder.cpp
compile DragonLair.cpp
compile questlua_dragonlair.cpp
compile HackShield.cpp
compile HackShield_Impl.cpp
compile char_hackshield.cpp
compile skill_power.cpp
compile affect.cpp
compile SpeedServer.cpp
compile questlua_speedserver.cpp
compile XTrapManager.cpp
compile auction_manager.cpp
compile FileMonitor_FreeBSD.cpp
FileMonitor_FreeBSD.cpp:136:2: warning: no newline at end of file
compile ClientPackageCryptInfo.cpp
compile cipher.cpp
In file included from ClientPackageCryptInfo.cpp:2:
ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
ClientPackageCryptInfo.h: In constructor 'CClientPackageCryptInfo::CClientPackageCryptInfo()':
ClientPackageCryptInfo.h:50: warning: 'CClientPackageCryptInfo::m_pSerializedCryptKeyStream' will be initialized after
ClientPackageCryptInfo.h:48: warning:   'int CClientPackageCryptInfo::m_nCryptKeyPackageCnt'
ClientPackageCryptInfo.cpp:9: warning:   when initialized here
compile buff_on_attributes.cpp
buff_on_attributes.cpp: In member function 'void CBuffOnAttributes::ChangeBuffValue(BYTE)':
buff_on_attributes.cpp:113: warning: unused variable 'old_value'
buff_on_attributes.cpp:114: warning: unused variable 'new_value'
compile check_server.cpp
../../../Extern/include/cryptopp/algparam.h: In constructor 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':
../../../Extern/include/cryptopp/filters.h:793:   instantiated from here
../../../Extern/include/cryptopp/algparam.h:26: warning: unused variable 'cryptopp_assert_26'
../../../Extern/include/cryptopp/algparam.h: In member function 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]':
cipher.cpp:397:   instantiated from here
../../../Extern/include/cryptopp/algparam.h:322: warning: unused variable 'p'
In file included from check_server.cpp:1:
check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':
check_server.h:24: warning: comparison between signed and unsigned integer expressions
compile dragon_soul_table.cpp
In file included from dragon_soul_table.cpp:4:
dragon_soul_table.h:74:7: warning: no newline at end of file
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::ReadAdditionalApplys()':
dragon_soul_table.cpp:223: warning: comparison between signed and unsigned integer expressions
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckApplyNumSettings()':
dragon_soul_table.cpp:283: warning: comparison between signed and unsigned integer expressions
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckWeightTables()':
dragon_soul_table.cpp:311: warning: comparison between signed and unsigned integer expressions
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineGradeTables()':
dragon_soul_table.cpp:343: warning: comparison between signed and unsigned integer expressions
dragon_soul_table.cpp:372: warning: comparison between signed and unsigned integer expressions
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStepTables()':
dragon_soul_table.cpp:397: warning: comparison between signed and unsigned integer expressions
dragon_soul_table.cpp:427: warning: comparison between signed and unsigned integer expressions
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStrengthTables()':
dragon_soul_table.cpp:453: warning: comparison between signed and unsigned integer expressions
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonHeartExtTables()':
dragon_soul_table.cpp:494: warning: comparison between signed and unsigned integer expressions
dragon_soul_table.cpp:513: warning: comparison between signed and unsigned integer expressions
dragon_soul_table.cpp:522: warning: comparison between signed and unsigned integer expressions
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonSoulExtTables()':
dragon_soul_table.cpp:545: warning: comparison between signed and unsigned integer expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = std::string]':
dragon_soul_table.cpp:129:   instantiated from here
group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = BYTE]':
dragon_soul_table.cpp:134:   instantiated from here
group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = int]':
dragon_soul_table.cpp:201:   instantiated from here
group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = float]':
dragon_soul_table.cpp:260:   instantiated from here
group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = float]':
dragon_soul_table.cpp:828:   instantiated from here
group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
compile DragonSoul.cpp
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = int]':
group_text_parse_tree.h:159:   instantiated from 'bool CGroupNode::GetValue(const std::string&, const std::string&, T&) const [with T = int]'
group_text_parse_tree.h:203:   instantiated from 'bool CGroupNode::GetGroupValue(const std::string&, const std::string&, const std::string&, T&) const [with T = int]'
dragon_soul_table.cpp:612:   instantiated from here
group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned int]':
group_text_parse_tree.h:159:   instantiated from 'bool CGroupNode::GetValue(const std::string&, const std::string&, T&) const [with T = unsigned int]'
group_text_parse_tree.h:203:   instantiated from 'bool CGroupNode::GetGroupValue(const std::string&, const std::string&, const std::string&, T&) const [with T = unsigned int]'
dragon_soul_table.cpp:884:   instantiated from here
group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
In file included from DragonSoul.cpp:9:
dragon_soul_table.h:74:7: warning: no newline at end of file
DragonSoul.cpp: In function 'int Gamble(std::vector<float, std::allocator<float> >&)':
DragonSoul.cpp:19: warning: comparison between signed and unsigned integer expressions
DragonSoul.cpp:25: warning: comparison between signed and unsigned integer expressions
DragonSoul.cpp: In member function 'bool DSManager::RefreshItemAttributes(CItem*)':
DragonSoul.cpp:203: warning: comparison between signed and unsigned integer expressions
DragonSoul.cpp: In member function 'bool DSManager::PutAttributes(CItem*)':
DragonSoul.cpp:273: warning: comparison between signed and unsigned integer expressions
DragonSoul.cpp: In member function 'bool DSManager::ExtractDragonHeart(CHARACTER*, CItem*, CItem*)':
DragonSoul.cpp:350: warning: unused variable 'sum'
DragonSoul.cpp: In member function 'bool DSManager::PullOut(CHARACTER*, TItemPos, CItem*&, CItem*)':
DragonSoul.cpp:435: warning: unused variable 'dwVnum'
DragonSoul.cpp:469: warning: format '%d' expects type 'int', but argument 3 has type 'double'
DragonSoul.cpp:469: warning: format '%d' expects type 'int', but argument 4 has type 'double'
DragonSoul.cpp: In member function 'bool DSManager::DoRefineGrade(CHARACTER*, TItemPos (&)[15])':
DragonSoul.cpp:555: warning: unused variable 'prob_sum'
DragonSoul.cpp: In member function 'bool DSManager::DoRefineStep(CHARACTER*, TItemPos (&)[15])':
DragonSoul.cpp:763: warning: unused variable 'sum'
compile group_text_parse_tree.cpp
group_text_parse_tree.h: In constructor 'CGroupTextParseTreeLoader::CGroupTextParseTreeLoader()':
group_text_parse_tree.h:93: warning: 'CGroupTextParseTreeLoader::m_dwcurLineIndex' will be initialized after
group_text_parse_tree.h:91: warning:   'CGroupNode* CGroupTextParseTreeLoader::m_pRootGroupNode'
group_text_parse_tree.cpp:5: warning:   when initialized here
group_text_parse_tree.cpp: In member function 'bool CGroupTextParseTreeLoader::LoadGroup(CGroupNode*)':
group_text_parse_tree.cpp:99: warning: comparison between signed and unsigned integer expressions
group_text_parse_tree.cpp: In member function 'bool CGroupNode::GetRow(int, const CGroupNode::CGroupNodeRow**) const':
group_text_parse_tree.cpp:206: warning: comparison between signed and unsigned integer expressions
compile char_dragonsoul.cpp
char_dragonsoul.cpp:143:2: warning: no newline at end of file
char_dragonsoul.cpp: In member function 'bool CHARACTER::DragonSoul_ActivateDeck(int)':
char_dragonsoul.cpp:91: warning: control reaches end of non-void function
compile questlua_dragonsoul.cpp
compile shop_manager.cpp
In file included from shop_manager.cpp:22:
shop_manager.h:40:7: warning: no newline at end of file
compile shopEx.cpp
shopEx.cpp: In member function 'virtual int CShopEx::Buy(CHARACTER*, BYTE)':
shopEx.cpp:159: warning: comparison between signed and unsigned integer expressions
compile item_manager_read_tables.cpp
item_manager_read_tables.cpp: In member function 'bool ITEM_MANAGER::ReadMonsterDropItemGroup(const char*)':
item_manager_read_tables.cpp:637: warning: unused variable 'pkGroup'
shop_manager.cpp: In function 'bool ConvertToShopItemTable(CGroupNode*, TShopTableEx&)':
shop_manager.cpp:473: warning: comparison between signed and unsigned integer expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned int]':
group_text_parse_tree.h:175:   instantiated from 'bool CGroupNode::GetValue(const std::string&, int, T&) const [with T = DWORD]'
shop_manager.cpp:381:   instantiated from here
group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':
group_text_parse_tree.h:175:   instantiated from 'bool CGroupNode::GetValue(const std::string&, int, T&) const [with T = std::string]'
shop_manager.cpp:387:   instantiated from here
group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned char]':
group_text_parse_tree.h:136:   instantiated from 'bool CGroupNode::GetValue(size_t, const std::string&, T&) const [with T = BYTE]'
shop_manager.cpp:442:   instantiated from here
group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
item_manager_read_tables.cpp:627: warning: 'pkGroup' may be used uninitialized in this function
compile minilzo.c
compile main.cpp
compile test.cpp
In file included from main.cpp:14:
shop_manager.h:40:7: warning: no newline at end of file
In file included from main.cpp:93:
check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':
check_server.h:24: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:679: warning: control reaches end of non-void function
char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
char.cpp:3088: warning: comparison between signed and unsigned integer expressions
char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:901: warning: unused variable 'rider'
cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:3935: warning: NULL used in arithmetic
cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:4357: warning: 'cell' may be used uninitialized in this function
cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:3977: warning: 'n' may be used uninitialized in this function
../../../Extern/include/cryptopp/misc.h: At global scope:
../../../Extern/include/cryptopp/misc.h:548: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used
cmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:855: warning: 'x' may be used uninitialized in this function
cmd_gm.cpp:855: warning: 'y' may be used uninitialized in this function
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)':
char_item.cpp:6271: warning: 'pBuff' may be used uninitialized in this function
linking ../game_r_32....
linking ../test
OBJDIR/MarkImage.o: In function `CGuildMarkImage::GetData(unsigned int, unsigned int, unsigned int, unsigned int, void*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:128: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:129: undefined reference to `ilCopyPixels'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::PutData(unsigned int, unsigned int, unsigned int, unsigned int, void*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:122: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:123: undefined reference to `ilSetPixels'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Save(char const*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:48: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:49: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:51: undefined reference to `ilSave'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Create()':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:43: undefined reference to `ilGenImages'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Destroy()':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:34: undefined reference to `ilDeleteImages'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Load(char const*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:92: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:93: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:94: undefined reference to `ilOriginFunc'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:96: undefined reference to `ilLoad'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:102: undefined reference to `ilGetInteger'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:108: undefined reference to `ilGetInteger'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:114: undefined reference to `ilConvertImage'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Build(char const*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:64: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:65: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:66: undefined reference to `ilOriginFunc'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:71: undefined reference to `ilTexImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:79: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:81: undefined reference to `ilSave'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::GetData(unsigned int, unsigned int, unsigned int, unsigned int, void*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:128: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:129: undefined reference to `ilCopyPixels'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::PutData(unsigned int, unsigned int, unsigned int, unsigned int, void*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:122: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:123: undefined reference to `ilSetPixels'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Save(char const*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:48: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:49: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:51: undefined reference to `ilSave'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Create()':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:43: undefined reference to `ilGenImages'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Destroy()':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:34: undefined reference to `ilDeleteImages'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Load(char const*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:92: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:93: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:94: undefined reference to `ilOriginFunc'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:96: undefined reference to `ilLoad'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:102: undefined reference to `ilGetInteger'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:108: undefined reference to `ilGetInteger'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:114: undefined reference to `ilConvertImage'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Build(char const*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:64: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:65: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:66: undefined reference to `ilOriginFunc'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:71: undefined reference to `ilTexImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:79: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:81: undefined reference to `ilSave'
OBJDIR/main.o: In function `main':
/usr/src/mainline/Srcs/Server/game/src/main.cpp:456: undefined reference to `ilInit'
gmake: *** [../test] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [../game_r_32] Error 1
root@Sinval:/usr/src/mainline/Srcs/Server/game/src #
danhakhavro is offline  
Old 04/05/2014, 22:56   #449
 
pis30xd's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 73
Received Thanks: 53
Wink DB problem

Help me..
Code:
./db &
syserr:
Code:
SYSERR: Apr  5 22:52:42 :: pid_init: 
Start of pid: 32205

SYSERR: Apr  5 22:52:42 :: Start: TABLE_POSTFIX not configured use default
SYSERR: Apr  5 22:52:42 :: Start: SQL_HOTBACKUP not configured
SYSERR: Apr  5 22:52:42 :: pid_deinit: 
End of pid
syslog:
Code:
SYSERR: Apr  5 22:52:42 :: pid_init: 
Start of pid: 32205

SYSERR: Apr  5 22:52:42 :: Start: TABLE_POSTFIX not configured use default
Apr  5 22:52:42 :: connecting to MySQL server (player)
Apr  5 22:52:42 :: CREATING DIRECT_SQL
Apr  5 22:52:42 :: AsyncSQL: locale euckr
Apr  5 22:52:42 :: CREATING MAIN_SQL
Apr  5 22:52:42 :: AsyncSQL: locale euckr
Apr  5 22:52:42 :: CREATING ASYNC_SQL
Apr  5 22:52:42 :: AsyncSQL: locale euckr
Apr  5 22:52:42 ::    OK
Apr  5 22:52:42 :: connecting to MySQL server (account)
Apr  5 22:52:42 :: CREATING DIRECT_SQL
Apr  5 22:52:42 :: AsyncSQL: locale euckr
Apr  5 22:52:42 :: CREATING MAIN_SQL
Apr  5 22:52:42 :: AsyncSQL: locale euckr
Apr  5 22:52:42 :: CREATING ASYNC_SQL
Apr  5 22:52:42 :: AsyncSQL: locale euckr
Apr  5 22:52:42 ::    OK
Apr  5 22:52:42 :: connecting to MySQL server (common)
Apr  5 22:52:42 :: CREATING DIRECT_SQL
Apr  5 22:52:42 :: AsyncSQL: locale euckr
Apr  5 22:52:42 :: CREATING MAIN_SQL
Apr  5 22:52:42 :: AsyncSQL: locale euckr
Apr  5 22:52:42 :: CREATING ASYNC_SQL
Apr  5 22:52:42 :: AsyncSQL: locale euckr
Apr  5 22:52:42 ::    OK
SYSERR: Apr  5 22:52:42 :: Start: SQL_HOTBACKUP not configured
Apr  5 22:52:42 :: AsyncSQL: closing mysql connection.
Apr  5 22:52:42 :: AsyncSQL: closing mysql connection.
Apr  5 22:52:42 :: AsyncSQL: closing mysql connection.
Apr  5 22:52:42 :: AsyncSQL: closing mysql connection.
Apr  5 22:52:42 :: AsyncSQL: closing mysql connection.
Apr  5 22:52:42 :: AsyncSQL: closing mysql connection.
Apr  5 22:52:42 :: AsyncSQL: closing mysql connection.
Apr  5 22:52:42 :: AsyncSQL: closing mysql connection.
Apr  5 22:52:42 :: AsyncSQL: closing mysql connection.
SYSERR: Apr  5 22:52:42 :: pid_deinit: 
End of pid
Quote:
Originally Posted by kodexior View Post
Hello.

I have problem with compile on bsd.
This is log:
Code:
http://wklej.to/HFlCH
What should I do?

Thanks!
install boost-libs and cryptopp from ports and include this.

Quote:
Originally Posted by atag View Post
It's just a Makefile "error"

Change

to
Code:
SVN_VERSION = anything

to
HTML Code:
$(OBJDIR)/version.o: version.cpp
	@$(CC) $(CFLAGS) -D__P4_VERSION__=\"$(SVN_VERSION)\" -c $< -o $@
	@echo compile $<
and edit version.cpp
Code:
#include <stdio.h>

void WriteVersion()
{
#ifndef __WIN32__
	FILE* fp = fopen("VERSION.txt", "w");

	if (fp)
	{
		fprintf(fp, "game revision: %s\n", __P4_VERSION__);
		fclose(fp);
	}
#endif
}
** and main.cpp from game/src if you use novaline src.
Code:
#ifdef _WIN32
			fprintf(stderr, "[main] Check IP failed\n");
#else 
			strncpy (pszRevision,  __SVN_VERSION__, sizeof(pszRevision));
#endif
if you want you can change the name of the variable. "SVN_VERSION".

Quote:
Originally Posted by Mr. 'Avenue™ View Post
Yes, I have..
Show your Makefile..

Quote:
Originally Posted by qAleXso View Post
Code:
root@alexso:~/mainline/Srcs/Server # gmake clean
Makefile:47: warning: overriding recipe for target `libserverkey'
Makefile:13: warning: ignoring old recipe for target `libserverkey'
gmake: *** No rule to make target `clean'.  Stop.
root@alexso:~/mainline/Srcs/Server #
Code:
CC=gcc49 ##replace if needed
CXX=g++49 ##replace if needed

PLATFORM = $(shell file /bin/ls | cut -d' ' -f3 | cut -d'-' -f1)
BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1)

default: 
	@echo "--------------------------------------"
	@echo "Full Build Start"
	@echo "--------------------------------------"

	$(MAKE) -C liblua clean
	$(MAKE) -C liblua

	@touch libsql/Depend
	$(MAKE) -C libsql dep
	$(MAKE) -C libsql clean
	$(MAKE) -C libsql

	@touch libgame/src/Depend
	$(MAKE) -C libgame/src dep
	$(MAKE) -C libgame/src clean
	$(MAKE) -C libgame/src

	@touch libpoly/Depend
	$(MAKE) -C libpoly dep
	$(MAKE) -C libpoly clean
	$(MAKE) -C libpoly 

	@touch libthecore/src/Depend
	$(MAKE) -C libthecore/src dep
	$(MAKE) -C libthecore/src clean
	$(MAKE) -C libthecore/src

	@touch game/src/Depend
	$(MAKE) -C game/src dep
	$(MAKE) -C game/src clean
	$(MAKE) -C game/src limit_time
#	$(MAKE) -C game/src

	@touch db/src/Depend
	$(MAKE) -C db/src dep
	$(MAKE) -C db/src clean
#	$(MAKE) -C db/src

	@echo "--------------------------------------"
	@echo "Full Build End"
	@echo "--------------------------------------"
Quote:
Originally Posted by qAleXso View Post
Code:
root@alexso:~ # cd /usr/src/novaline
root@alexso:/usr/src/novaline # ls
Client  Extern  Server  Srcs    Tools
root@alexso:/usr/src/novaline # cd Server
root@alexso:/usr/src/novaline/Server # ls
Doc                     libhackshield           libxtrap
Makefile                liblua                  m2server.2008.sln
common                  libmysql                m2server.2008.vssscc
db                      libpoly                 make_test_env.bat
game                    libserverkey            sync_list.txt
libdevil                libsql                  teen
libgame                 libthecore
root@alexso:/usr/src/novaline/Server # gmake
Makefile:47: warning: overriding recipe for target `libserverkey'
Makefile:13: warning: ignoring old recipe for target `libserverkey'
gmake -C libthecore/src dep
gmake[1]: Entering directory `/usr/src/novaline/Server/libthecore/src'
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -MM *.c > Depend
gmake[1]: Leaving directory `/usr/src/novaline/Server/libthecore/src'
gmake -C libthecore/src clean
gmake[1]: Entering directory `/usr/src/novaline/Server/libthecore/src'
rm -f *.o
rm -f ../lib/libthecore.a
gmake[1]: Leaving directory `/usr/src/novaline/Server/libthecore/src'
gmake -C libthecore/src
gmake[1]: Entering directory `/usr/src/novaline/Server/libthecore/src'
gmake ../lib/libthecore.a
gmake[2]: Entering directory `/usr/src/novaline/Server/libthecore/src'
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c socket.c
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c fdwatch.c
fdwatch.c: In function 'void fdwatch_clear_event(fdwatch*, socket_t, unsigned int)':
fdwatch.c:163: warning: comparison between signed and unsigned integer expressions
fdwatch.c:165: warning: comparison between signed and unsigned integer expressions
fdwatch.c: In function 'int fdwatch_check_event(fdwatch*, socket_t, unsigned int)':
fdwatch.c:173: warning: comparison between signed and unsigned integer expressions
fdwatch.c:175: warning: comparison between signed and unsigned integer expressions
fdwatch.c: In function 'int fdwatch_get_ident(fdwatch*, unsigned int)':
fdwatch.c:207: warning: comparison between signed and unsigned integer expressions
fdwatch.c: In function 'void* fdwatch_get_client_data(fdwatch*, unsigned int)':
fdwatch.c:225: warning: comparison between signed and unsigned integer expressions
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c buffer.c
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c signal.c
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c log.c
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c utils.c
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c kstbl.c
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c hangul.c
hangul.c: In function 'const char* first_han(const BYTE*)':
hangul.c:47: warning: deprecated conversion from string constant to 'char*'
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c heart.c
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c main.c
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c tea.c
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c des.c
DES_table.h:164: warning: 'KeyPerm' defined but not used
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c gost.c
g++ -Wall -O2 -pipe -mtune=i686 -g -I../include -c memcpy.c
if [ ! -d ../lib ]; then mkdir ../lib; fi
ar cru ../lib/libthecore.a socket.o fdwatch.o buffer.o signal.o log.o utils.o kstbl.o hangul.o heart.o main.o tea.o des.o gost.o memcpy.o
ranlib ../lib/libthecore.a
chmod 700 ../lib/libthecore.a
gmake[2]: Leaving directory `/usr/src/novaline/Server/libthecore/src'
gmake[1]: Leaving directory `/usr/src/novaline/Server/libthecore/src'
gmake -C libgame/src dep
gmake[1]: Entering directory `/usr/src/novaline/Server/libgame/src'
touch Depend
g++ -Wall -O2 -pipe -mtune=i686 -fno-exceptions -I../include -MM *.cc > Depend
gmake[1]: Leaving directory `/usr/src/novaline/Server/libgame/src'
gmake -C libgame/src clean
gmake[1]: Entering directory `/usr/src/novaline/Server/libgame/src'
rm -f *.o
rm -f ../lib/libgame.a
gmake[1]: Leaving directory `/usr/src/novaline/Server/libgame/src'
gmake -C libgame/src
gmake[1]: Entering directory `/usr/src/novaline/Server/libgame/src'
gmake ../lib/libgame.a
gmake[2]: Entering directory `/usr/src/novaline/Server/libgame/src'
g++ -Wall -O2 -pipe -mtune=i686 -fno-exceptions -I../include -c grid.cc
g++ -Wall -O2 -pipe -mtune=i686 -fno-exceptions -I../include -c attribute.cc
g++ -Wall -O2 -pipe -mtune=i686 -fno-exceptions -I../include -c targa.cc
if [ ! -d ../lib ]; then mkdir ../lib; fi
ar cru ../lib/libgame.a grid.o attribute.o targa.o
ranlib ../lib/libgame.a
chmod 700 ../lib/libgame.a
gmake[2]: Leaving directory `/usr/src/novaline/Server/libgame/src'
gmake[1]: Leaving directory `/usr/src/novaline/Server/libgame/src'
gmake -C liblua clean
gmake[1]: Entering directory `/usr/src/novaline/Server/liblua'
cd include; gmake clean
gmake[2]: Entering directory `/usr/src/novaline/Server/liblua/include'
gmake[2]: Nothing to be done for `clean'.
gmake[2]: Leaving directory `/usr/src/novaline/Server/liblua/include'
cd src; gmake clean
gmake[2]: Entering directory `/usr/src/novaline/Server/liblua/src'
rm -f lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltests.o ltm.o lundump.o lvm.o lzio.o ../lib/liblua.a
gmake[2]: Leaving directory `/usr/src/novaline/Server/liblua/src'
cd src/lib; gmake clean
gmake[2]: Entering directory `/usr/src/novaline/Server/liblua/src/lib'
rm -f lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o loadlib.o ../../lib/liblualib.a
gmake[2]: Leaving directory `/usr/src/novaline/Server/liblua/src/lib'
gmake[1]: Leaving directory `/usr/src/novaline/Server/liblua'
gmake -C liblua
gmake[1]: Entering directory `/usr/src/novaline/Server/liblua'
cd include; gmake all
gmake[2]: Entering directory `/usr/src/novaline/Server/liblua/include'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/src/novaline/Server/liblua/include'
cd src; gmake all
gmake[2]: Entering directory `/usr/src/novaline/Server/liblua/src'
gcc -O2 -g -Wall -I../include      -c -o lapi.o lapi.c
gcc -O2 -g -Wall -I../include      -c -o lcode.o lcode.c
gcc -O2 -g -Wall -I../include      -c -o ldebug.o ldebug.c
gcc -O2 -g -Wall -I../include      -c -o ldo.o ldo.c
gcc -O2 -g -Wall -I../include      -c -o ldump.o ldump.c
gcc -O2 -g -Wall -I../include      -c -o lfunc.o lfunc.c
gcc -O2 -g -Wall -I../include      -c -o lgc.o lgc.c
gcc -O2 -g -Wall -I../include      -c -o llex.o llex.c
llex.c: In function 'read_string':
llex.c:285: warning: case label value is less than minimum value for type
gcc -O2 -g -Wall -I../include      -c -o lmem.o lmem.c
gcc -O2 -g -Wall -I../include      -c -o lobject.o lobject.c
gcc -O2 -g -Wall -I../include      -c -o lopcodes.o lopcodes.c
gcc -O2 -g -Wall -I../include      -c -o lparser.o lparser.c
gcc -O2 -g -Wall -I../include      -c -o lstate.o lstate.c
gcc -O2 -g -Wall -I../include      -c -o lstring.o lstring.c
gcc -O2 -g -Wall -I../include      -c -o ltable.o ltable.c
gcc -O2 -g -Wall -I../include      -c -o ltests.o ltests.c
gcc -O2 -g -Wall -I../include      -c -o ltm.o ltm.c
gcc -O2 -g -Wall -I../include      -c -o lundump.o lundump.c
gcc -O2 -g -Wall -I../include      -c -o lvm.o lvm.c
gcc -O2 -g -Wall -I../include      -c -o lzio.o lzio.c
if [ ! -d ../lib ]; then mkdir ; fi
ar rcu ../lib/liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltests.o ltm.o lundump.o lvm.o lzio.o
ranlib ../lib/liblua.a
gmake[2]: Leaving directory `/usr/src/novaline/Server/liblua/src'
cd src/lib; gmake all
gmake[2]: Entering directory `/usr/src/novaline/Server/liblua/src/lib'
gcc -O2 -g -Wall -I../../include         -c -o lauxlib.o lauxlib.c
gcc -O2 -g -Wall -I../../include         -c -o lbaselib.o lbaselib.c
gcc -O2 -g -Wall -I../../include         -c -o ldblib.o ldblib.c
gcc -O2 -g -Wall -I../../include         -c -o liolib.o liolib.c
liolib.c: In function 'g_iofile':
liolib.c:251: warning: value computed is not used
liolib.c: In function 'f_lines':
liolib.c:286: warning: value computed is not used
gcc -O2 -g -Wall -I../../include         -c -o lmathlib.o lmathlib.c
gcc -O2 -g -Wall -I../../include         -c -o ltablib.o ltablib.c
gcc -O2 -g -Wall -I../../include         -c -o lstrlib.o lstrlib.c
gcc -O2 -g -Wall -I../../include         -c -o loadlib.o loadlib.c
ar rcu ../../lib/liblualib.a lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o loadlib.o
ranlib ../../lib/liblualib.a
gmake[2]: Leaving directory `/usr/src/novaline/Server/liblua/src/lib'
gmake[1]: Leaving directory `/usr/src/novaline/Server/liblua'
gmake -C game/src dep
gmake[1]: Entering directory `/usr/src/novaline/Server/game/src'
makedepend -f Depend  -I../../../Extern/include/boost -I../../libdevil -I../../libmysql/5.x-5.1.35 -I../../../Extern/include -I../../libhackshield/include -I../../libxtrap/include -I../../liblua/include -I/usr/local/include -I../../libserverkey -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -pOBJDIR/ 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 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 shutdown_manager.cpp  minilzo.c main.cpp test.cpp 2> /dev/null > Depend
gmake[1]: Leaving directory `/usr/src/novaline/Server/game/src'
gmake -C game/src clean
gmake[1]: Entering directory `/usr/src/novaline/Server/game/src'
gmake[1]: Leaving directory `/usr/src/novaline/Server/game/src'
gmake -C game/src limit_time
gmake[1]: Entering directory `/usr/src/novaline/Server/game/src'
update limit time
gmake[1]: Leaving directory `/usr/src/novaline/Server/game/src'
gmake -C db/src dep
svn: E155007: '/usr/src/novaline/Server/db/src' is not a working copy
svn: E155007: '/usr/src/novaline/Server/db/src' is not a working copy
gmake[1]: Entering directory `/usr/src/novaline/Server/db/src'
gmake[1]: Warning: File `Makefile' has modification time 31675 s in the future
makedepend -fDepend  -I../../../Extern/include/boost -I../../../Extern/include -I/usr/local/include -I../../libmysql/5.x-5.1.35 -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p.obj/ 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  2> /dev/null
gmake[1]: warning:  Clock skew detected.  Your build may be incomplete.
gmake[1]: Leaving directory `/usr/src/novaline/Server/db/src'
gmake -C db/src clean
svn: E155007: '/usr/src/novaline/Server/db/src' is not a working copy
svn: E155007: '/usr/src/novaline/Server/db/src' is not a working copy
gmake[1]: Entering directory `/usr/src/novaline/Server/db/src'
gmake[1]: Warning: File `Makefile' has modification time 31674 s in the future
gmake[1]: warning:  Clock skew detected.  Your build may be incomplete.
gmake[1]: Leaving directory `/usr/src/novaline/Server/db/src'
--------------------------------------
Build Done
--------------------------------------
root@alexso:/usr/src/novaline/Server #
Code:
svn: E155007: '/usr/src/novaline/Server/db/src' is not a working copy
fix:


Quote:
Originally Posted by callmax View Post
......
cd /usr/ports/graphics/devil && make install clean

change lib flags. (usr/local/lib)
pis30xd is offline  
Thanks
1 User
Old 04/10/2014, 02:29   #450
 
elite*gold: 0
Join Date: Dec 2012
Posts: 27
Received Thanks: 2
#Edited!

How to resolve the error :"Cannot find include python-2.2" from novaline's client.

Now, i still have some problems with a file named "utility".

Errors:
Error 131 error C2955: 'std:air' : use of class template requires template argument list E:\Program Files\Microsoft Visual Studio 10.0\VC\include\utility 244


Code:

template<class _Other1,
class _Other2>
pair<_Other1&& _Val1, _Other2&& _Val2>
: _Mybase(_STD forward<_Other1>(_Val1),
_STD forward<_Other2>(_Val2))
{ // construct from moved values
}
LastSpartan300 is offline  
Reply


Similar Threads Similar Threads
Reverse Crypt Systems [Tips/Hints/Tuts needed]]
03/01/2012 - CO2 Private Server - 8 Replies
Hello PVPers, So the Title says it all, Since i came here and i am trying to learn how to be a good Coder and Co2 P.Server Specially , i guess i dd well so far but i'v noticed that all my prev experience ddnt came near Encrypting/Decrypting systems , i also aware of that most of good coders around here are very busy coding stuff and so ,i was away for sometime and about 2 months ago i came back from AD (work trip) and a friend asked for an up to date P.Server , actually i miss that fun so...



All times are GMT +1. The time now is 15:31.


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.