Jump to content

Recommended Posts

Hello,

 

I'd like to ask for some help compiling the novaline server source.

I am using Visual Studio 2012 (Update 4, with .NET 4.5 Framework installed) and I am getting this error on the 'game' project, 'castle.cpp' source file:

 

Error C2371: 'POSITION' : redefinition; different basic types.
 
The error message points to this block on my file:
 
struct POSITION
{
int x, y;
};


static POSITION s_frog_pos[4][MAX_CASTLE_FROG] = {
// EMPIRE_NONE
{
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },


{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },


{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },

I have read MSDN and stackoverflow entries already, but none of them helped me.

I'd appreciate any help. 

Link to comment
https://metin2.dev/topic/2149-server-source-compiling-error/
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

{
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
 
 
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
 
 
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },

You are make multi dimensional dictionary?

 

Best Regards

Ellie

Do not be sorry, be better.

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.