|
You last visited: Today at 17:58
Advertisement
[SAMMELTHREAD] Metin2 Source - Errors & Soulutions
Discussion on [SAMMELTHREAD] Metin2 Source - Errors & Soulutions within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
02/23/2014, 17:09
|
#1
|
elite*gold: 222
Join Date: Oct 2012
Posts: 2,369
Received Thanks: 3,389
|
[SAMMELTHREAD] Metin2 Source - Errors & Soulutions
EN:
Hey people,
because currently many post in the Thread '  ' their Errors, including me, but received no answer / solution, I wanted to open this thread to the Errors & fix their associated errors and move forward.
I hope that the community will help each other.
DE:
Hey Leute,
da zurzeit viele im '  ' ihre Errors posten, unter anderem auch ich, jedoch keine Antwort / Lösung erhalten, wollte ich diesen Thread öffnen, um die Errors & ihre dazugehörigen Fehler zu beheben und voran zu kommen.
Ich hoffe, dass die Community einander helfen wird.
_____________________________________
Game-Kompilier-Fehler / Game-Compile-Errors
#1
Error:
Code:
g++: directory": No such file or directory
Soulution (by  ):
- Open "Makefile" (in game/src-directory)
- Search for:
Code:
SVN_VERSION = $(shell svnversion -n .)
- Replace with:
Code:
SVN_VERSION = YOURSVNVERSION
- Search for:
Code:
$(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 $<
- Replace with:
Code:
$(OBJDIR)/version.o: version.cpp
@$(CC) $(CFLAGS) -D__P4_VERSION__=\"$(SVN_VERSION)\" -c $< -o $@
@echo compile $<
- Open version.cpp (in game/src-directory)
- Edit with:
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
}
Datenbank-Kompilier-Fehler / Database-Compile-Errors
#1
Error:
Code:
DBManager.cpp:172: error: 'class CAsyncSQL' has no member named 'SetLocale'
DBManager.cpp:173: error: 'class CAsyncSQL' has no member named 'SetLocale'
DBManager.cpp:174: error: 'class CAsyncSQL' has no member named 'SetLocale'
Soulution (by  ):
- Open AsyncSQL.cpp (in server/libsql directory)
- Before
Code:
void CAsyncSQL2::SetLocale(const std::string & stLocale)
{
m_stLocale = stLocale;
QueryLocaleSet();
}
Add this:
Code:
void CAsyncSQL::SetLocale(const std::string & stLocale)
{
m_stLocale = stLocale;
QueryLocaleSet();
}
- Open AsyncSQL.h (in server/libsql directory)
- Under
Code:
SQLMsg * DirectQuery(const char * c_pszQuery);
add this:
Code:
void SetLocale(const std::string & stLocale);
Changelog:
Code:
23.02.2014 Thread erstellt / Thread created
|
|
|
02/23/2014, 17:11
|
#2
|
elite*gold: 34
Join Date: Nov 2011
Posts: 1,431
Received Thanks: 850
|
daaaayym, gute Idee - wird sicher einigen helfen Top
|
|
|
02/23/2014, 17:13
|
#3
|
elite*gold: 0
Join Date: May 2011
Posts: 2,806
Received Thanks: 8,536
|
Gute Idee... finds aber etwas unübersichtlichg egliedert...
Würde vll nur den Eroornamen hinschreiben und alles was dazu gehört darunter
in nen spoiler packen ^^
|
|
|
02/23/2014, 18:15
|
#4
|
elite*gold: 0
Join Date: Mar 2013
Posts: 2,449
Received Thanks: 6,446
|
Quote:
Originally Posted by SᴏᴏѕhнÐ
Sehr sehr schlecht da will wohl jemand wieder nur an Thanks rankommen
Lappen hau bloss ab!
|
Es sind nicht alle so an Epvp gebunden, wie du.
Mal dran gedacht, dass sich manche nicht für Thanks interessieren?
Wenn hier nur Lappen sind, was willst du dann hier noch?
Kommst du nicht von der Sucht los?
Btt: Könnte evtl. nützlich werden, da viele Probleme mit dem compilen haben
MfG
|
|
|
02/23/2014, 18:19
|
#5
|
elite*gold: 100
Join Date: Sep 2010
Posts: 285
Received Thanks: 84
|
Just remove or comment the green selected part
config.cpp
line 268
Regards
|
|
|
02/23/2014, 18:40
|
#6
|
elite*gold: 30
Join Date: Oct 2012
Posts: 1,388
Received Thanks: 243
|
Add: error: 'operator new' takes type 'size_t' ('unsigned int'). I have no solution
|
|
|
02/23/2014, 18:59
|
#7
|
elite*gold: 0
Join Date: Sep 2010
Posts: 31
Received Thanks: 6
|
Solution for the:
DBManager.cpp: In member function 'void CDBManager::SetLocale(const char*)':
DBManager.cpp:172: error: 'class CAsyncSQL' has no member named 'SetLocale'
DBManager.cpp:173: error: 'class CAsyncSQL' has no member named 'SetLocale'
DBManager.cpp:174: error: 'class CAsyncSQL' has no member named 'SetLocale'
gmake: *** [.obj/DBManager.o] Error 1
gmake: *** Waiting for unfinished jobs....
ClientManagerPlayer.cpp: In member function 'char* CClientManager::GetCommand(char*)':
ClientManagerPlayer.cpp:433: warning: address of local variable 'command' returned
Replace the DBManager.cpp and DBManager.h from mainline_released.
|
|
|
02/23/2014, 19:02
|
#8
|
elite*gold: 0
Join Date: Feb 2014
Posts: 6
Received Thanks: 7
|
Quote:
Originally Posted by Mr. 'Avenue™
EN:
Hey people,
because currently many post in the Thread '  ' their Errors, including me, but received no answer / solution, I wanted to open this thread to the Errors & fix their associated errors and move forward.
I hope that the community will help each other.
DE:
Hey Leute,
da zurzeit viele im '  ' ihre Errors posten, unter anderem auch ich, jedoch keine Antwort / Lösung erhalten, wollte ich diesen Thread öffnen, um die Errors & ihre dazugehörigen Fehler zu beheben und voran zu kommen.
Ich hoffe, dass die Community einander helfen wird.
_____________________________________
Game-Kompilier-Fehler / Game-Compile-Errors
#1
Error:
Code:
g++: directory": No such file or directory
Soulution (by  ):
- Open "Makefile" (in game/src-directory)
- Search for:
Code:
SVN_VERSION = $(shell svnversion -n .)
- Replace with:
Code:
SVN_VERSION = YOURSVNVERSION
- Search for:
Code:
$(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 $<
- Replace with:
Code:
$(OBJDIR)/version.o: version.cpp
@$(CC) $(CFLAGS) -D__P4_VERSION__=\"$(SVN_VERSION)\" -c $< -o $@
@echo compile $<
- Open version.cpp (in game/src-directory)
- Edit with:
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
}
Datenbank-Kompilier-Fehler / Database-Compile-Errors
#1
Error:
Code:
DBManager.cpp: In member function 'void CDBManager::SetLocale(const char*)':
DBManager.cpp:172: error: 'class CAsyncSQL' has no member named 'SetLocale'
DBManager.cpp:173: error: 'class CAsyncSQL' has no member named 'SetLocale'
DBManager.cpp:174: error: 'class CAsyncSQL' has no member named 'SetLocale'
gmake: *** [.obj/DBManager.o] Error 1
gmake: *** Waiting for unfinished jobs....
ClientManagerPlayer.cpp: In member function 'char* CClientManager::GetCommand(char*)':
ClientManagerPlayer.cpp:433: warning: address of local variable 'command' returned
Soulution:
Changelog:
Code:
23.02.2014 Thread erstellt / Thread created
|
 lol you're too stupid to build the game now you make this treand hang yourself...
this all dont need
[*]Open "Makefile" (in game/src-directory)[*]Search for:
Code:
SVN_VERSION = $(shell svnversion -n .)
[*]Replace with:
Code:
SVN_VERSION = YOURSVNVERSION
[*]Search for: [code] $(OBJDIR)/version.o: version.cpp
you're too stupid install right the compieler
|
|
|
02/23/2014, 19:24
|
#9
|
elite*gold: 399
Join Date: Sep 2011
Posts: 5,323
Received Thanks: 3,937
|
Schöner Thread
|
|
|
02/23/2014, 19:29
|
#10
|
elite*gold: 222
Join Date: Oct 2012
Posts: 2,369
Received Thanks: 3,389
|
Quote:
Originally Posted by IHateJuif
 lol you're too stupid to build the game now you make this treand hang yourself...
this all dont need
[*]Open "Makefile" (in game/src-directory)[*]Search for:
Code:
SVN_VERSION = $(shell svnversion -n .)
[*]Replace with:
Code:
SVN_VERSION = YOURSVNVERSION
[*]Search for: [code] $(OBJDIR)/version.o: version.cpp
you're too stupid install right the compieler
|
I've already compiled the database/gamecore on windows and FreeBSD.^^
|
|
|
02/23/2014, 19:30
|
#11
|
elite*gold: 0
Join Date: Mar 2013
Posts: 2,449
Received Thanks: 6,446
|
Quote:
Originally Posted by IHateJuif
 lol you're too stupid to build the game now you make this treand hang yourself...
this all dont need
[*]Open "Makefile" (in game/src-directory)[*]Search for:
Code:
SVN_VERSION = $(shell svnversion -n .)
[*]Replace with:
Code:
SVN_VERSION = YOURSVNVERSION
[*]Search for: [code] $(OBJDIR)/version.o: version.cpp
you're too stupid install right the compieler
|
Then tell us which one is the right compiler?
Don't imagine you are the real pro.
|
|
|
06/25/2014, 08:19
|
#12
|
elite*gold: 0
Join Date: Nov 2013
Posts: 5
Received Thanks: 0
|
hello dear
i need some help please if u can help me when u are on just tell me to tell u the problem if u can help me my channel crashs every day and im geting that error UNKOWN HEADER : 2202 IP : 41.*.*.* if u can tell me why its happening and how to fix it please and thanks
|
|
|
08/17/2014, 05:51
|
#13
|
elite*gold: 0
Join Date: Jul 2014
Posts: 9
Received Thanks: 0
|
linking ../game_r2410_32....
/usr/bin/ld: cannot find -lmysqlclient
gmake: *** [../game_r2410_32] Error 1
Alles geht in VS2008 unter BSD habe ich dann Probleme hat wohl mit den Linkungen der Makefile zu tun, bzw das manche Sachen nicht installiert sind (Mysql Server und Client) habe ich bereits installiert.
|
|
|
08/17/2014, 18:59
|
#14
|
elite*gold: 0
Join Date: Sep 2009
Posts: 7
Received Thanks: 0
|
im trying to compole db from mainline_released(sg)
the file already appear but i test and i cant login with my file, and i have some erros compiling
i already edit the Depend file and the Makefile but continue appear
"ClientManager.h:403: error: 'boost' as not been declared
ClientManager.h:403: error: ISO C++ forbids declaration of 'unordered_map' with no type"
|
|
|
08/17/2014, 19:17
|
#15
|
elite*gold: 0
Join Date: Jul 2014
Posts: 9
Received Thanks: 0
|
PHP Code:
linking...
../../liblua/lib/liblua.a(lobject.o)(.text+0x4c3): In function `luaO_str2d': /usr/include/runetype.h:96: undefined reference to `_ThreadRuneLocale' ../../liblua/lib/liblua.a(llex.o)(.text+0xa72): In function `luaX_lex': /usr/include/runetype.h:96: undefined reference to `_ThreadRuneLocale' ../../liblua/lib/liblua.a(llex.o)(.text+0x13b3):/usr/include/runetype.h:96: undefined reference to `_ThreadRuneLocale' ../../liblua/lib/liblua.a(llex.o)(.text+0x141f):/usr/include/runetype.h:96: undefined reference to `_ThreadRuneLocale' ../../liblua/lib/liblua.a(llex.o)(.text+0x14e2):/usr/include/runetype.h:96: undefined reference to `_ThreadRuneLocale' ../../liblua/lib/liblualib.a(lauxlib.o)(.text+0x355):/usr/include/runetype.h:96: more undefined references to `_ThreadRuneLocale' follow
Fix?
release line
|
|
|
 |
|
Similar Threads
|
Some errors in Virtous Source
02/26/2012 - Flyff Private Server - 4 Replies
Hellow how can I fix this errors.Here are the error logs http://www.mediafire.com/?xnry8m9m3i6n24i
How to fix this please because some players has random client crashes when they try to teleport to another map
|
[Source] Neuz Errors
08/09/2011 - Flyff Private Server - 2 Replies
Hey beim erstellen der Neuz tauchen bei mir diese 2 error's auf:
Neuz error LNK2019: unresolved external symbol "public: __thiscall CWndJobChangeEx::CWndJobChangeEx(void)" (??0CWndJobChangeEx@@QAE@XZ) referenced in function "public: int __thiscall CMover::SetExperience(__int64,int)" (?SetExperience@CMover@@QAEH_JH@Z)
Neuz fatal error LNK1120: 1 unresolved externals
Diese tauchen erst nachdem ich quick jobchange eingebaut habe auf..
Bitte um hilfe /:
|
Help Source Errors
08/03/2011 - CO2 Programming - 2 Replies
The server is ready for connections.
Always close the server by pressing Enter, or the important data wont't save.
System.BadImageFormatException: An attempt was made to load a program with an in
correct format. (Exception from HRESULT: 0x8007000B)
at NewestCOServer.Native.BF_set_key(IntPtr _key, Int32 len, Byte data)
at NewestCOServer.Main.GameClient..ctor(Boolean Robot) in C:\Griffin\Conquer
stuff\CO2 source\rikardo updated\Main\GameClient.cs:line 48...
|
[Help]Errors (Impulse's Source)
10/06/2010 - CO2 Private Server - 2 Replies
http://s4.postimage.org/kGv8i.jpg
What does that errors means? Where should I look to fix them?
As title says, I'm using Impulse's source!
|
this big errors in source 5165
12/15/2009 - CO2 Private Server - 4 Replies
hey all
this is the big errors in source 5165
1-acc reb no stuff kill acc full 2soc full +12 non reb 1 hit
2- you can attack with you on horse
3-when kill in guild arena or arena your items drop
4- when red or black name and some one kill you your stuff drop
thanks for red my topic but if you know how to fix it wright you fix here
thanks
sorry for some bad english but some words i dont know how to type
|
All times are GMT +1. The time now is 17:59.
|
|