[SAMMELTHREAD] Metin2 Source Compile Tips/Tuts

02/08/2014 00:08 .Risan.#391
steht doch da, das ihm werte fehlen bzw. nicht übergeben kann..
02/08/2014 13:39 kicskarii#392
I have "Unknow packet header: xy xy" problem, with compiled mainline game file and db, with official metin2.hu GF client, I only changed the ip in the client...
02/10/2014 00:06 Structurix#393
auf welche art bekommt man dabei das beste ergebniss?Habe mir mal alles durch gelesen einige machen das mit vs und widerum andere mit freebsd

MFG
02/10/2014 18:55 TheMarv :<#394
When I compile the client I get this error: [Only registered and activated users can see links. Click Here To Register...]
I tested it with a lot of python22.dll and it never worked, I changed the python22.lib to the current from the python website, still no change

When I compile the WorldEditor I get ~1,300 Linker errors...
02/10/2014 19:35 CryPrime#395
Kann mir mal jemand sagen wie man VC90 bekommen kann xD!
02/11/2014 19:31 LastSpartan300#396
game - > mainline

I cant find that file at all :)


78 IntelliSense: cannot open source file "CheckServerKey.h" \core\mainline\srcs\server\game\src\check_server.h 6
02/11/2014 19:49 adi97ida#397
Here is the CheckServerKey.h (You must place it in libserverkey directory!)
02/11/2014 22:02 LastSpartan300#398
Quote:
Originally Posted by adi97ida View Post
Here is the CheckServerKey.h (You must place it in libserverkey directory!)
Ty, solved it.


Now i have 1 more problem :

Error 488 fatal error C1083: Cannot open include file: 'atlenc.h': No such file or directory
02/12/2014 11:05 levietano#399
Hi..i've compiled game and db novaline but when compile a quest in my server and when login crash client with this syserr:
0212 10:51:56827 :: Source file has no content
0212 10:51:56828 :: Unknown packet header: 181, last: 45 81

i use client GF or client Arkosia but is the same .....plz can you help me?
Sorry for my bad english!!ç_ç
02/12/2014 11:13 atag#400
181 is really an unknown packet. It want to be 81 (HEADER_GC_QUEST_INFO) but (i think) the packet struct is different in client/server.

server:
Code:
struct packet_quest_info
{
	BYTE header;
	WORD size;
	WORD index;
	WORD c_index;
	BYTE flag;
};
client:
Code:
typedef struct packet_quest_info
{
	BYTE header;
	WORD size;
	WORD index;
	BYTE flag;
} TPacketGCQuestInfo;
Use the Server from mainline, it's fully compatible with novas client.
02/12/2014 19:24 levietano#401
Quote:
Originally Posted by atag View Post
181 is really an unknown packet. It want to be 81 (HEADER_GC_QUEST_INFO) but (i think) the packet struct is different in client/server.

server:
Code:
struct packet_quest_info
{
	BYTE header;
	WORD size;
	WORD index;
	WORD c_index;
	BYTE flag;
};
client:
Code:
typedef struct packet_quest_info
{
	BYTE header;
	WORD size;
	WORD index;
	BYTE flag;
} TPacketGCQuestInfo;
Use the Server from mainline, it's fully compatible with novas client.
Danke, but i've all (server game and DB) novaline without client novaline XD EDIT: Fixed the problem with launcher Arkosia now work very well but
i've problem with the launcher compilated mainline_released is this [Only registered and activated users can see links. Click Here To Register...] :| ...help pz... because i've a problem for compile the client DEV and client novaline here
1>.\PythonGraphic.cpp(294) : error C2664: 'CPythonGraphic::SaveJPEG' : cannot convert parameter 2 from 'char *' to 'LPBYTE'
02/13/2014 18:46 callmax#402
Quote:
/usr/bin/ld: cannot find -lIL
Ich versuch grad ne kompilierfähige Maschine auf 10.0 einzurichten, nur weiß ich nichtmehr welcher port das war und finds grad auch iwie nicht raus, weiß das vilt grad wer?
02/14/2014 09:53 atag#403
Quote:
Originally Posted by levietano View Post
1>.\PythonGraphic.cpp(294) : error C2664: 'CPythonGraphic::SaveJPEG' : cannot convert parameter 2 from 'char *' to 'LPBYTE'
I gave this (and many linker errors after some repair) by the "bad" python-2.2 includes. Use WorldEditor's python includes/libs.
02/14/2014 22:06 .Captor#404
Habe auf FreeBSD 9.2 diesen Fehler:

Code:
main.cpp: In function 'int main(int, char**)':
main.cpp:524: error: '__P4_VERSION__' was not declared in this scope
Bekomme ihn einfach nicht weg.
02/14/2014 22:26 .Risan.#405
STEHT DOCH DA; nicht deklariert..! Deklariere es oder pass es an.. is ne Variable....