Alina 234 Posted April 1, 2015 Author Share Posted April 1, 2015 cmd_gm.cpp:1237: error: 'struct TPacketGGMonarchNotice' has no member named 'bIsBig' You must do the following: First open packet.h Search for SPacketGGNotice and add the following variable: bool bIsBig; Maybe you just missed it Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted April 1, 2015 Premium Share Posted April 1, 2015 cmd_gm.cpp:1237: error: 'struct TPacketGGMonarchNotice' has no member named 'bIsBig' You must do the following: First open packet.h Search for SPacketGGNotice and add the following variable: bool bIsBig; Maybe you just missed it Problem solved, my mistake Thank you Alina. Link to comment Share on other sites More sharing options...
Quai 6 Posted April 4, 2015 Share Posted April 4, 2015 (edited) notice_all in a function quest displayed big notice... Pls repair. SS: Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Alina 234 Posted April 4, 2015 Author Share Posted April 4, 2015 Make sure that in cmd.h you have changed the SendNotice definition like this: extern void SendNotice(const char * c_pszBuf, bool IsBig = false); questlua_global.cpp refers to SendNotice() function in cmd.h which in your case may have the bool variable set to true and therefore displays it like it's a big notice which isn't the case Link to comment Share on other sites More sharing options...
RachadoPT 26 Posted April 4, 2015 Share Posted April 4, 2015 For me it only appears as the /n notice :| I've done what you told daredevil09, but it still remains :x Link to comment Share on other sites More sharing options...
Premium .Avenue™ 782 Posted April 5, 2015 Premium Share Posted April 5, 2015 linking ../game_r40250_32... OBJDIR/BattleArena.o: In function `CBattleArena::Start(int)': /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/BattleArena.cpp:247: undefined reference to `BroadcastNotice(char const*, bool)' /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/BattleArena.cpp:248: undefined reference to `BroadcastNotice(char const*, bool)' OBJDIR/BattleArena.o: In function `battle_arena_event(boost::intrusive_ptr<event>, long)': /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/BattleArena.cpp:122: undefined reference to `BroadcastNotice(char const*, bool)' /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/BattleArena.cpp:112: undefined reference to `BroadcastNotice(char const*, bool)' /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/BattleArena.cpp:105: undefined reference to `BroadcastNotice(char const*, bool)' OBJDIR/castle.o:/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/castle.cpp:800: more undefined references to `BroadcastNotice(char const*, bool)' follow gmake: *** [../game_r40250_32] Error 1 I'm using mainline_released €dit: after gmake clean & then gmake I get new error: linking ../game_r40250_32... OBJDIR/main.o: In function `ShutdownOnFatalError()': /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/main.cpp:190: undefined reference to `SendNotice(char const*)' /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/main.cpp:192: undefined reference to `SendNotice(char const*)' /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/main.cpp:194: undefined reference to `SendNotice(char const*)' gmake: *** [../game_r40250_32] Error 1 Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted April 5, 2015 Premium Share Posted April 5, 2015 (edited) Fuu, Alina i can give you Team Viewer? :/ EDIT: Problem solved! Edited April 5, 2015 by .Avua Link to comment Share on other sites More sharing options...
Quai 6 Posted April 5, 2015 Share Posted April 5, 2015 (edited) Make sure that in cmd.h you have changed the SendNotice definition like this: extern void SendNotice(const char * c_pszBuf, bool IsBig = false); questlua_global.cpp refers to SendNotice() function in cmd.h which in your case may have the bool variable set to true and therefore displays it like it's a big notice which isn't the case I have added this function extern void SendNotice(const char * c_pszBuf, bool IsBig = false); notice_all in a function quest displayed big notice... Pls repair. SS: ref Please, repair function. Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Alina 234 Posted April 5, 2015 Author Share Posted April 5, 2015 Please send me screenshots or code quotes from the changes you made. Most likely you missed something accidentally Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted July 5, 2015 Premium Share Posted July 5, 2015 (edited) DELETE Edited July 5, 2015 by .Accelerator' Link to comment Share on other sites More sharing options...
Premium TAUMP 839 Posted July 5, 2015 Premium Share Posted July 5, 2015 compile cmd_gm.cppcmd_gm.cpp:1257: error: expected constructor, destructor, or type conversion bef ore '(' tokencmd_gm.cpp:1258: error: expected unqualified-id before '{' tokencmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':cmd_gm.cpp:3939: warning: NULL used in arithmeticgmake: *** [OBJDIR/cmd_gm.o] Error 1root@host:/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src # gmakecompile cmd_gm.cppcmd_gm.cpp:1257: error: expected constructor, destructor, or type conversion before '(' tokencmd_gm.cpp:1258: error: expected unqualified-id before '{' tokencmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':cmd_gm.cpp:3939: warning: NULL used in arithmeticgmake: *** [OBJDIR/cmd_gm.o] Error 1root@host:/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src # Please help me. Facepalm Ales ^^^^ use brain 1 Link to comment Share on other sites More sharing options...
Sr.Agente 24 Posted July 8, 2015 Share Posted July 8, 2015 Thanks for the tutorial, tested and everything worked as planned.thanks Link to comment Share on other sites More sharing options...
Premium HuNterukh 11 Posted July 31, 2015 Premium Share Posted July 31, 2015 Thank you, very helpful. Link to comment Share on other sites More sharing options...
Active Member ReFresh 2340 Posted October 13, 2015 Active Member Share Posted October 13, 2015 Can you somebody help me with this? Thanks I'll be always helpful! Link to comment Share on other sites More sharing options...
Premium r00t 123 Posted October 13, 2015 Premium Share Posted October 13, 2015 Can you somebody help Why do you have ; on the end of line1193? Link to comment Share on other sites More sharing options...
Active Member ReFresh 2340 Posted October 13, 2015 Active Member Share Posted October 13, 2015 Thanks for answer, I try delete this ; character. I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2340 Posted October 13, 2015 Active Member Share Posted October 13, 2015 I try this, but i got the same error. I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2340 Posted October 16, 2015 Active Member Share Posted October 16, 2015 #Push I'll be always helpful! Link to comment Share on other sites More sharing options...
Former Staff Shisui 491 Posted October 16, 2015 Former Staff Share Posted October 16, 2015 At last find ACMD(do_big_notice) And replace it's content with BroadcastNotice(argument, true); Read carefuly, you should change the content not the function's name. Like this ACMD(do_big_notice) { BroadcastNotice(argument, true); } Link to comment Share on other sites More sharing options...
Active Member ReFresh 2340 Posted October 17, 2015 Active Member Share Posted October 17, 2015 Thank you very much. Problem solved! I'll be always helpful! Link to comment Share on other sites More sharing options...
Cyxer 140 Posted January 27, 2016 Share Posted January 27, 2016 On 5/4/2015 at 4:38 AM, .Avenue™ said: linking ../game_r40250_32... OBJDIR/BattleArena.o: In function `CBattleArena::Start(int)': /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/BattleArena.cpp:247: undefined reference to `BroadcastNotice(char const*, bool)' /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/BattleArena.cpp:248: undefined reference to `BroadcastNotice(char const*, bool)' OBJDIR/BattleArena.o: In function `battle_arena_event(boost::intrusive_ptr<event>, long)': /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/BattleArena.cpp:122: undefined reference to `BroadcastNotice(char const*, bool)' /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/BattleArena.cpp:112: undefined reference to `BroadcastNotice(char const*, bool)' /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/BattleArena.cpp:105: undefined reference to `BroadcastNotice(char const*, bool)' OBJDIR/castle.o:/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/castle.cpp:800: more undefined references to `BroadcastNotice(char const*, bool)' follow gmake: *** [../game_r40250_32] Error 1 I'm using mainline_released €dit: after gmake clean & then gmake I get new error: linking ../game_r40250_32... OBJDIR/main.o: In function `ShutdownOnFatalError()': /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/main.cpp:190: undefined reference to `SendNotice(char const*)' /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/main.cpp:192: undefined reference to `SendNotice(char const*)' /usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/main.cpp:194: undefined reference to `SendNotice(char const*)' gmake: *** [../game_r40250_32] Error 1 same up!!!!!!!!!!!!!!!!!!!!!! Link to comment Share on other sites More sharing options...
Premium TAUMP 839 Posted January 29, 2016 Premium Share Posted January 29, 2016 Delete file main.o from objdir Link to comment Share on other sites More sharing options...
Cyxer 140 Posted January 29, 2016 Share Posted January 29, 2016 3 hours ago, .T4Ump said: Delete file main.o from objdir i use gmake clean.. is not same; Link to comment Share on other sites More sharing options...
Premium TAUMP 839 Posted January 29, 2016 Premium Share Posted January 29, 2016 And? delete fucking main.o Link to comment Share on other sites More sharing options...
emanuel 18 Posted January 2, 2018 Share Posted January 2, 2018 La 05.04.2015 la 18:51, Alina a spus: Please send me screenshots or code quotes from the changes you made. Most likely you missed something accidentally Hii,i install this succesfully,but one problem,i have in quests something like this with colors ,noticeall : Player x kill boss x When that notice is showed,it's showed like in /b command,it's not good like that,any solution ? Sorry for my eng Link to comment Share on other sites More sharing options...
Recommended Posts