Jump to content

Recommended Posts

VS 2013 compile error:
 

16>  UserInterface.cpp

16>....sourceUserInterfaceUserInterface.cpp(721): error C2440: '=' : cannot convert from 'void (__cdecl *)(granny_log_message_type,granny_log_message_origin,const char *,granny_int32x,const char *,void *)' to 'granny_log_function (__cdecl *)'
16>          This conversion requires a reinterpret_cast, a C-style cast or function-style cast

 

Here a solution to hide all the useless error of Granny.

 

Open UserInterface.cpp from UserInterface, after have doing the tutorial search: void GrannyError(granny_log_message_type Type,

 

and comment the contents like it:

//static void GrannyError(granny_log_message_type Type,
// granny_log_message_origin Origin,
// char const*  File,
// granny_int32x Line,
// char const* Message,
// void * UserData)
//{
// TraceError("GRANNY: %s", Message);
//}

and a little down:

// granny_log_callback Callback;
//   Callback.Function = GrannyError;
//   Callback.UserData = 0;
//   GrannySetLogCallback(&Callback);
return 1;

Regards, Vamos.

 

then the process

VS 2013 error:
 

16>BSCMAKE : warning BK4502: truncated .SBR file 'ReleaseAccountConnector.sbr' not in C:UsersYasinDesktopclient_reboot_devbinaryMetin2Release.bsc
16>BSCMAKE : error BK1513: nonincremental update requires all .SBR files
========== Rebuild All: 15 succeeded, 1 failed, 0 skipped ==========

But exe occurred
 

Client syssser:
 

0602 21:29:06351 :: 
networkModule.py(line:208) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:30) ?
system.py(line:130) __pack_import
system.py(line:110) _process_result
interfaceModule.py(line:12) ?
system.py(line:130) __pack_import
system.py(line:110) _process_result
uiInventory.py(line:22) ?
 
networkModule.SetSelectCharacterPhase - exceptions.NameError:name 'True' is not defined
 
0602 21:29:06352 :: ============================================================================================================
0602 21:29:06352 :: Abort!!!!
 

4LXo3J.jpg
Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/7097-update-granny-24-to-29/
Share on other sites

  • Replies 12
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Former Staff

for the VS 2013 error just clean the solution and build the program or just rebuild the solution

.....

this is for the second problem 

unpack the root . open all the .py files and change the True to TRUE

Edited by flygun
Link to comment
https://metin2.dev/topic/7097-update-granny-24-to-29/#findComment-44929
Share on other sites

Sure that your D:/ymir work is empty or renamed?

installed the metin2 to get there

Sysser:

 

0603 00:26:25412 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
0603 00:26:29940 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
0603 00:28:02768 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
0603 00:28:10595 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
0603 00:30:53008 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
0603 00:37:16319 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
0603 00:37:20518 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
0603 00:41:36024 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
0603 00:44:51845 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
0603 00:26:06203 :: Phase HandShake does not handle this header (header: 82, last: 250, 82)
0603 00:26:49993 :: Traceback (most recent call last):
 
0603 00:26:49994 ::   File "game.py", line 1296, in OnKeyUp
 
0603 00:26:49994 :: TypeError
0603 00:26:49994 :: : 
0603 00:26:49994 :: unsubscriptable object
0603 00:26:49994 :: 
 
0603 00:27:50968 :: Traceback (most recent call last):
 
0603 00:27:50969 ::   File "game.py", line 1296, in OnKeyUp
 
0603 00:27:50969 :: TypeError
0603 00:27:50969 :: : 
0603 00:27:50969 :: unsubscriptable object
0603 00:27:50969 :: 
 
0603 00:27:04011 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
0603 00:27:05911 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
Link to comment
https://metin2.dev/topic/7097-update-granny-24-to-29/#findComment-44949
Share on other sites

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.