Jump to content
×
×
  • Create New...
  • 0

Update Granny (2.4 to 2.9)


MANYAK

Question

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
Link to comment
  • Answers 12
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

12 answers to this question

Recommended Posts

  • 0
  • 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
  • 0

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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.