Jump to content

build error input_main.cpp chatbuf_global len_global c++ does not support default int


Recommended Posts

help plese this input_main.cpp have global chat added

 

https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

 

chatbuf_global  len_global c++ does not support default int error

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
7 hours ago, DarkAng3l said:

@scrabbyyy seriously? Just replace word 'and' to && in statements where is the word 'and' underline red

sorry i now understand omg that just easily like this? ufff a lot of soruecs i pass just for this problem a lot of thanks deniisssssssss :):)

7 hours ago, DarkAng3l said:

@scrabbyyy seriously? Just replace word 'and' to && in statements where is the word 'and' underline red

ok i now understand thanks u too :)

 

btw edit // what i can do about  that warning  'DWORD' to 'BYTE', possible loss of data 

 

and i added this RegisterMysqlFunctionTable(); to questlua.cpp and questlua.h  but i got this error Error 1890 error LNK2001: unresolved external symbol "void __cdecl quest::RegisterMysqlFunctionTable(void)" (?RegisterMysqlFunctionTable@quest@@YAXXZ) D:\Work\sources\work\sv\Server\game\src\questlua.obj game

pic: https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

Edited by Metin2 Dev
Core X - External 2 Internal

You must define RegisterMysqlFunctionTable in somewhere.

'DWORD' to 'BYTE', possible loss of data 

If you're trying to convert DWORD to BYTE or assign it, compiler will give this warning to you. It often see with my_ulong (MySQL defined types)

Best Regards

Ken

  • Love 1

Do not be sorry, be better.

On 17.01.2016 at 9:07 PM, Ken said:

You must define RegisterMysqlFunctionTable in somewhere.


'DWORD' to 'BYTE', possible loss of data 

If you're trying to convert DWORD to BYTE or assign it, compiler will give this warning to you. It often see with my_ulong (MySQL defined types)

Best Regards

Ken

thanks ken why i cant use character skills always so that happening with alll soruces and other clients too when i use files like windows server files with compile vs 2013

 

thats maybe wrong about dword to byte convert because there happening 2000 warnings about this and that break skills stats tables?

25 minutes ago, Ken said:

There is a define flag for both platform. For windows, the compiler is using different define type for mysql functions .

Best Regards

Ken

that different from mysql functions i mean other problem: then that broke skills tables numbers and others and cant give points and unusable skills because i can using skills there not happening bug with compile freebsd

i think need make compitable sources for windows server files but i not have enought informations about this need do one developer this :(:(

If you can't give point to your skills, that means something is wrong in skill_proto. Every source is working fine on Windows. I don't think there is a problem just like that in the whole source files.

Best Regards

Ken

  • Love 1

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.