Jump to content

Source discussions, questions, answers


Recommended Posts

What? I'm working on novaline binary and everything is working on global client (metin2.de for example). All I needed was root and uiscript from source (also novaline). I have packed it and everything is working fine :) 0 .pyc at root

o.O on my client there was always a tracback lib error... for example on metin2.de client

Link to comment
Share on other sites

Hello guys,

 

after a long time of break, i decided to make a server again so i can test some changes in the game and for making some lua stuff.

I just have one question, i dont want to install hamachi on my computer again thats why i´m using the Windows version from metin2.

The Problem is that i have a Error called: INTERNAL_IP: 10.0.0.0.112 Can not get public ip adress.

I know why i have this Error but i dont know how to fix it.

I could just install hamachi again and it would work but i dont want to have hamachi on my computer like i said before.

I thought that i read something about that and it could be fixed if you change something in the source but i dont remember it.

It would be very great i somebody could teach my how i can fix this problem so i can use my files local.

 

Thanks for reading and sorry for my bad english. :)

Link to comment
Share on other sites

  • Bronze

You can use 2012 or 2013 too and I really recommend to use it, if you try it once you will feel the difference. Its like a dream to develop with 2012-2013 versions.

 

I use 2012 ultimate for a very long time to develop apps in vb.net, but I thought I have to install vs2008 for getting vc90 toolset :D

Link to comment
Share on other sites

Who can help me for my from errors?

ClientManagerPlayer.cpp: In member function 'char* CClientManager::GetCommand(char*)':
ClientManagerPlayer.cpp:433: warning: address of local variable 'command' returned
CsvReader.cpp: In member function 'const char* cCsvAlias::operator[](size_t) const':
CsvReader.cpp:72: warning: left-hand operand of comma has no effect
CsvReader.cpp:72: warning: right-hand operand of comma has no effect
CsvReader.cpp: In member function 'size_t cCsvAlias::operator[](const char*) const':
CsvReader.cpp:90: warning: left-hand operand of comma has no effect
CsvReader.cpp:90: warning: right-hand operand of comma has no effect

Thanks :)

Link to comment
Share on other sites

  • Bronze

Hello,

 

I tried to compile my source with this tutorial (click me) but I'm receiving these errors:

compile BattleArena.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from MarkImage.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from MarkManager.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from MarkConvert.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from OXEvent.cpp:9:
char.h:729: error: integer constant is too large for 'long' type
In file included from cipher.h:6,
                 from desc.h:7,
                 from OXEvent.cpp:12:
../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from OXEvent.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
compile arena.cpp
In file included from ani.cpp:11:
char.h:729: error: integer constant is too large for 'long' type
In file included from BattleArena.cpp:6:
char.h:729: error: integer constant is too large for 'long' type
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from BattleArena.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from ani.cpp:10:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
gmake: *** [OBJDIR/MarkImage.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [OBJDIR/MarkConvert.o] Error 1
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from TrafficProfiler.cpp:10:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from cipher.h:6,
                 from desc.h:7,
                 from arena.cpp:5:
../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type
gmake: *** [OBJDIR/MarkManager.o] Error 1
In file included from arena.cpp:9:
char.h:729: error: integer constant is too large for 'long' type
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from arena.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
gmake: *** [OBJDIR/TrafficProfiler.o] Error 1
gmake: *** [OBJDIR/ani.o] Error 1
In file included from cipher.h:6,
                 from desc.h:7,
                 from OXEvent.cpp:12:
../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type
gmake: *** [OBJDIR/BattleArena.o] Error 1
OXEvent.cpp: In member function 'void COXEventManager::WarpToAudience()':
OXEvent.cpp:375: warning: overflow in implicit constant conversion
OXEvent.cpp:376: warning: overflow in implicit constant conversion
OXEvent.cpp:377: warning: overflow in implicit constant conversion
OXEvent.cpp:378: warning: overflow in implicit constant conversion
OXEvent.cpp:379: warning: overflow in implicit constant conversion
In file included from cipher.h:6,
                 from desc.h:7,
                 from arena.cpp:5:
../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type
gmake: *** [OBJDIR/OXEvent.o] Error 1
arena.cpp: In function 'long int ready_to_start_event(LPEVENT, long int)':
arena.cpp:327: warning: overflow in implicit constant conversion
arena.cpp:328: warning: overflow in implicit constant conversion
gmake: *** [OBJDIR/arena.o] Error 1

Who can help me? :unsure:

 

Regards

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.