AinsLord Posted August 24, 2017 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Share Posted August 24, 2017 well im used to use the old rathena way back 3 or 4mos ago does the new rathena still supports 20120410 client??? if yes how can i do it any instructions guys?? thnx for the asnwers im trying to create a server using the new rathena version but it seems it changed a lot regarding the packet.h etc coz usually ill just change the packet ver on mmo.h but now its different any help with fellow devs here thnx Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted August 24, 2017 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1281 Reputation: 170 Joined: 06/12/12 Last Seen: 7 minutes ago Share Posted August 24, 2017 37 minutes ago, whodhell said: well im used to use the old rathena way back 3 or 4mos ago does the new rathena still supports 20120410 client??? if yes how can i do it any instructions guys?? thnx for the asnwers im trying to create a server using the new rathena version but it seems it changed a lot regarding the packet.h etc coz usually ill just change the packet ver on mmo.h but now its different any help with fellow devs here thnx You can see at this link client supported by rathena Quote Link to comment Share on other sites More sharing options...
0 M4karov Posted August 24, 2017 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 149 Reputation: 37 Joined: 04/01/13 Last Seen: June 18, 2024 Share Posted August 24, 2017 38 minutes ago, whodhell said: well im used to use the old rathena way back 3 or 4mos ago does the new rathena still supports 20120410 client??? if yes how can i do it any instructions guys?? thnx for the asnwers im trying to create a server using the new rathena version but it seems it changed a lot regarding the packet.h etc coz usually ill just change the packet ver on mmo.h but now its different any help with fellow devs here thnx To define the client used go to the file: src/config/packets.h #ifndef PACKETVER #define PACKETVER 20151104 #endif Quote Link to comment Share on other sites More sharing options...
0 AinsLord Posted August 24, 2017 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Author Share Posted August 24, 2017 (edited) 22 minutes ago, M4karov said: To define the client used go to the file: src/config/packets.h #ifndef PACKETVER #define PACKETVER 20151104 #endif what about the mmo.h?? ill just edit this line #ifndef PACKETVER #define PACKETVER 20151104 // change this to 20120410 something like that?? #endif Edited August 24, 2017 by whodhell Quote Link to comment Share on other sites More sharing options...
0 M4karov Posted August 24, 2017 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 149 Reputation: 37 Joined: 04/01/13 Last Seen: June 18, 2024 Share Posted August 24, 2017 9 minutes ago, whodhell said: E sobre o mmo.h ?? Acabei de editar esta linha The configuration that was previously in mmo.h is now there in this file. Do not forget to disable the obfuscation packet. Quote Link to comment Share on other sites More sharing options...
0 AinsLord Posted August 24, 2017 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Author Share Posted August 24, 2017 (edited) do i need to edit something once i've changed the #define PACKETVER 20151104 to 20120410 ? this is my packet.h right now // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef _CONFIG_PACKETS_H_ #define _CONFIG_PACKETS_H_ /** * rAthena configuration file (http://rathena.org) * For detailed guidance on these check http://rathena.org/wiki/SRC/config/ **/ #ifndef PACKETVER #define PACKETVER 20120410 #endif #ifndef PACKETVER_RE /// From this point on only kRO RE clients are supported #if PACKETVER > 20151104 #define PACKETVER_RE #endif #endif #if PACKETVER >= 20110817 /// Comment to disable the official packet obfuscation support. /// This requires PACKETVER 2011-08-17 or newer. // #ifndef PACKET_OBFUSCATION //#define PACKET_OBFUSCATION // Define these inside src/custom/defines_pre.h or src/custom/defines_post.h //#define PACKET_OBFUSCATION_KEY1 <key1> //#define PACKET_OBFUSCATION_KEY2 <key2> //#define PACKET_OBFUSCATION_KEY3 <key3> /// Comment this to disable warnings for missing client side encryption //#define PACKET_OBFUSCATION_WARN #endif #else // #if defined(PACKET_OBFUSCATION) #error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17. #endif #endif #ifndef DUMP_UNKNOWN_PACKET //#define DUMP_UNKNOWN_PACKET #endif #ifndef DUMP_INVALID_PACKET //#define DUMP_INVALID_PACKET #endif /** * No settings past this point **/ /// Check if the specified packetversion supports the pincode system #define PACKETVER_SUPPORTS_PINCODE PACKETVER >= 20110309 /// Check if the client needs delete_date as remaining time and not the actual delete_date (actually it was tested for clients since 2013) #define PACKETVER_CHAR_DELETEDATE (PACKETVER > 20130000 && PACKETVER <= 20141022) || PACKETVER >= 20150513 /// Check if the specified packetvresion supports the cashshop sale system #define PACKETVER_SUPPORTS_SALES PACKETVER >= 20131223 #endif // _CONFIG_PACKETS_H_ is this correct?? and i got this error on console after doing the make server command thnx for helping make[1]: Entering directory `/root/rathena.git/trunk/3rdparty/mt19937ar' CC mt19937ar.c make[1]: Leaving directory `/root/rathena.git/trunk/3rdparty/mt19937ar' make[1]: Entering directory `/root/rathena.git/trunk/3rdparty/libconfig' MKDIR obj CC grammar.c CC libconfig.c CC scanctx.c CC scanner.c CC strbuf.c AR obj/libconfig.a make[1]: Leaving directory `/root/rathena.git/trunk/3rdparty/libconfig' make[1]: Entering directory `/root/rathena.git/trunk/src/common' MKDIR obj CXX core.cpp make[1]: CXX@: Command not found make[1]: *** [obj/core.o] Error 127 make[1]: Leaving directory `/root/rathena.git/trunk/src/common' make: *** [common] Error 2 Edited August 24, 2017 by whodhell Quote Link to comment Share on other sites More sharing options...
0 M4karov Posted August 24, 2017 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 149 Reputation: 37 Joined: 04/01/13 Last Seen: June 18, 2024 Share Posted August 24, 2017 @whodhell // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef _CONFIG_PACKETS_H_ #define _CONFIG_PACKETS_H_ /** * rAthena configuration file (http://rathena.org) * For detailed guidance on these check http://rathena.org/wiki/SRC/config/ **/ #ifndef PACKETVER #define PACKETVER 20120410 #endif #ifndef PACKETVER_RE /// From this point on only kRO RE clients are supported #if PACKETVER > 20151104 #define PACKETVER_RE #endif #endif #if PACKETVER >= 20110817 /// Comment to disable the official packet obfuscation support. /// This requires PACKETVER 2011-08-17 or newer. #ifndef PACKET_OBFUSCATION //#define PACKET_OBFUSCATION // Define these inside src/custom/defines_pre.h or src/custom/defines_post.h //#define PACKET_OBFUSCATION_KEY1 <key1> //#define PACKET_OBFUSCATION_KEY2 <key2> //#define PACKET_OBFUSCATION_KEY3 <key3> /// Comment this to disable warnings for missing client side encryption //#define PACKET_OBFUSCATION_WARN #endif #else #if defined(PACKET_OBFUSCATION) #error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17. #endif #endif #ifndef DUMP_UNKNOWN_PACKET //#define DUMP_UNKNOWN_PACKET #endif #ifndef DUMP_INVALID_PACKET //#define DUMP_INVALID_PACKET #endif /** * No settings past this point **/ /// Check if the specified packetversion supports the pincode system #define PACKETVER_SUPPORTS_PINCODE PACKETVER >= 20110309 /// Check if the client needs delete_date as remaining time and not the actual delete_date (actually it was tested for clients since 2013) #define PACKETVER_CHAR_DELETEDATE (PACKETVER > 20130000 && PACKETVER <= 20141022) || PACKETVER >= 20150513 /// Check if the specified packetvresion supports the cashshop sale system #define PACKETVER_SUPPORTS_SALES PACKETVER >= 20131223 #endif // _CONFIG_PACKETS_H_ Quote Link to comment Share on other sites More sharing options...
0 AinsLord Posted August 24, 2017 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Author Share Posted August 24, 2017 MKDIR obj CC grammar.c CC libconfig.c CC scanctx.c CC scanner.c CC strbuf.c AR obj/libconfig.a make[1]: Leaving directory `/root/rathena.git/trunk/3rdparty/libconfig' make[1]: Entering directory `/root/rathena.git/trunk/src/common' MKDIR obj CXX core.cpp make[1]: CXX@: Command not found make[1]: *** [obj/core.o] Error 127 make[1]: Leaving directory `/root/rathena.git/trunk/src/common' make: *** [common] Error 2 got this error after compiling ./configure make clean make server Quote Link to comment Share on other sites More sharing options...
0 M4karov Posted August 24, 2017 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 149 Reputation: 37 Joined: 04/01/13 Last Seen: June 18, 2024 Share Posted August 24, 2017 4 minutes ago, whodhell said: MKDIR obj CC grammar.c CC libconfig.c CC scanctx.c CC scanner.c CC strbuf.c AR obj/libconfig.a make[1]: Leaving directory `/root/rathena.git/trunk/3rdparty/libconfig' make[1]: Entering directory `/root/rathena.git/trunk/src/common' MKDIR obj CXX core.cpp make[1]: CXX@: Command not found make[1]: *** [obj/core.o] Error 127 make[1]: Leaving directory `/root/rathena.git/trunk/src/common' make: *** [common] Error 2 got this error after compiling ./configure make clean make server Are you using which version of the emulator? And what is your operating system? Quote Link to comment Share on other sites More sharing options...
0 AinsLord Posted August 24, 2017 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Author Share Posted August 24, 2017 (edited) centOS 6.7 and yes im using the latest rathena emu on github Edited August 24, 2017 by whodhell Quote Link to comment Share on other sites More sharing options...
0 M4karov Posted August 24, 2017 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 149 Reputation: 37 Joined: 04/01/13 Last Seen: June 18, 2024 Share Posted August 24, 2017 30 minutes ago, whodhell said: CentOS 6.7 e sim estou usando o ultimo rathena emu no github What version of gcc / g ++? To compile the emulator it is necessary to have it installed in version 5 or higher. Quote Link to comment Share on other sites More sharing options...
0 AinsLord Posted August 24, 2017 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Author Share Posted August 24, 2017 (edited) i think i have 4.4 something how can i install the latest gcc?? i used this code sudo yum install gcc-c++ i get that one sudo yum install gcc-c++ Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile epel/metalink | 11 kB 00:00 * base: centos.mirror.colo-serv.net * epel: mirror.cogentco.com * extras: centos.mirror.globo.tech * updates: centos.mirror.colo-serv.net base | 3.7 kB 00:00 extras | 3.4 kB 00:00 updates | 3.4 kB 00:00 Package gcc-c++-4.4.7-18.el6.x86_64 already installed and latest version Nothing to do Edited August 24, 2017 by whodhell Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted August 24, 2017 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 11 hours ago Share Posted August 24, 2017 https://github.com/rathena/rathena/wiki/Install-on-Centos#install-prerequisites Quote Link to comment Share on other sites More sharing options...
0 AinsLord Posted August 25, 2017 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Author Share Posted August 25, 2017 (edited) i did that it gives the 4.4 something version ill try it again im gonna rebuild my server and use that im using CentOS 6.7 [root@localhost ~]# sudo yum install gcc-c++ Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: centos.mirror.colo-serv.net * extras: centos.mirror.globo.tech * updates: mirror.csclub.uwaterloo.ca Package gcc-c++-4.4.7-18.el6.x86_64 already installed and latest version Nothing to do [root@localhost ~]# gcc --version gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18) Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. that what happens after i typed the commands checking some threads here i found this it works but i got some errors like this src/node_data.cpp:64:47: warning: declaration of ‘tag’ shadows a member of 'this' [-Wshadow] void node_data::set_tag(const std::string& tag) { m_tag = tag; } ^ src/node_data.cpp: In member function ‘void YAML::detail::node_data::set_style(YAML::EmitterStyle::value)’: src/node_data.cpp:66:52: warning: declaration of ‘style’ shadows a member of 'this' [-Wshadow] void node_data::set_style(EmitterStyle::value style) { m_style = style; } ^ src/node_data.cpp: In member function ‘void YAML::detail::node_data::set_scalar(const string&)’: src/node_data.cpp:73:53: warning: declaration of ‘scalar’ shadows a member of 'this' [-Wshadow] void node_data::set_scalar(const std::string& scalar) { ^ shadows something Edited August 25, 2017 by whodhell Quote Link to comment Share on other sites More sharing options...
Question
AinsLord
well im used to use the old rathena way back 3 or 4mos ago
does the new rathena still supports 20120410 client???
if yes how can i do it any instructions guys??
thnx for the asnwers im trying to create a server using the new rathena version but it seems it changed a lot
regarding the packet.h etc coz usually ill just change the packet ver on mmo.h but now its different
any help with fellow devs here
thnx
Link to comment
Share on other sites
13 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.