Jump to content

Search the Community

Showing results for 'make server ubuntu'.

  • Search By Author

Content Type


Forums

  • Announcements
    • Rules & Guidelines
    • Community News
    • Development News
    • Ragnarok News
    • Community Crowdfunding
  • Support & Releases
    • General
    • Scripting
    • Database
    • Source
    • Graphic Enhancements
    • Web
    • Client-side
    • Third Party
    • Projects
  • Discussion & Suggestions
    • Database Discussion
    • Script Discussion
    • Source Discussion
    • Renewal Discussion
    • Archives
  • Community
    • rAthena General
    • Arts & Writings
    • Off Topic
  • International Forums
    • Filipino Support
    • German Support
    • Indonesian/Malaysian Support
    • Portuguese Support
    • Russian Support (Русский)
    • Spanish Support
  • IPS Community's General IPS Help
  • IPS Community's IPS.Downloads
  • IPS Community's IPS.Pages
  • IPS Community's Customising
  • The Anime Club's Anime Games
  • The Anime Club's Recommendations
  • The Anime Club's News
  • The Anime Club's Manga
  • The Anime Club's General
  • PEENOISE CLUB's Topics
  • Brazilian's Topics
  • GFX Design Club's Graphics Showcase
  • Garuda Raya's Mini Forum

Categories

  • Server Resources
    • Server Managers/Editors
    • Scripts
    • Source Modifications
  • Web Resources
    • General Website Templates
    • Forum Templates
    • FluxCP Themes
    • FluxCP Addons
    • Other Web/CP Scripts
  • Graphics Resources
    • Sprites & Palettes
    • Maps & 3D Resources
    • Other Graphics
  • Client Resources
    • GRF Files
    • Client Tools
    • Spriting & Paletting Tools
    • Texture & Mapping Tools
    • Editors
    • Patchers

Categories

  • Low Rate
  • Mid Rate
  • High Rate
  • Super High Rate

Categories

  • Records Test
  • Complete Installation Guides
  • Client Guides
    • Data Folder
  • MySQL Guides
  • Database Guides
  • Map Guides

Product Groups

  • Advertisement Space
  • rAthena Merch

Categories

  • rAthena Forums
  • rAthena Development
  • FluxCP Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


Server


Github


Discord


Interests


Website URL


Yahoo


Skype

Found 23 results

  1. Edit: I somehow got a bad version of the files from GitHub, after re-cloning the git it worked fine. I am having issues compiling the server. I am running on Ubuntu and even after Rebooting/Updating/Upgrading/Fresh Pull from Git/etc. I am having errors during the build and I'm not sure what I'm doing wrong. Attached is the output from make. make[1]: Entering directory '/root/rathena/src/map' MKDIR obj CXX achievement.cpp In file included from achievement.cpp:21: battle.hpp:714:9: error: invalid digit "8" in octal constant 714 | >>>>>>> 0828ff00c630d6bcfa7a42826919867f0b8e5250 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from itemdb.hpp:16, from achievement.cpp:25: status.hpp:95:9: error: invalid digit "8" in octal constant 95 | >>>>>>> 0828ff00c630d6bcfa7a42826919867f0b8e5250 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ status.hpp:115:9: error: invalid digit "8" in octal constant 115 | >>>>>>> 0828ff00c630d6bcfa7a42826919867f0b8e5250 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from achievement.cpp:29: pc.hpp:396:9: error: invalid digit "8" in octal constant 396 | >>>>>>> 0828ff00c630d6bcfa7a42826919867f0b8e5250 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from achievement.cpp:29: pc.hpp:1079:9: error: invalid digit "8" in octal constant 1079 | >>>>>>> 0828ff00c630d6bcfa7a42826919867f0b8e5250 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from achievement.cpp:21: battle.hpp:692:1: error: version control conflict marker in file 692 | <<<<<<< HEAD | ^~~~~~~ battle.hpp:713:1: error: version control conflict marker in file 713 | ======= | ^~~~~~~ In file included from itemdb.hpp:16, from achievement.cpp:25: status.hpp:92:1: error: version control conflict marker in file 92 | <<<<<<< HEAD | ^~~~~~~ status.hpp:94:1: error: version control conflict marker in file 94 | ======= | ^~~~~~~ status.hpp:102:1: error: version control conflict marker in file 102 | <<<<<<< HEAD | ^~~~~~~ status.hpp:109:1: error: version control conflict marker in file 109 | ======= | ^~~~~~~ status.hpp:111:30: error: ‘YAML’ does not name a type 111 | uint64 parseBodyNode( const YAML::Node& node ); | ^~~~ status.hpp:111:40: error: expected unqualified-id before ‘&’ token 111 | uint64 parseBodyNode( const YAML::Node& node ); | ^ status.hpp:111:40: error: expected ‘)’ before ‘&’ token 111 | uint64 parseBodyNode( const YAML::Node& node ); | ~ ^ | ) status.hpp:111:40: error: expected ‘;’ at end of member declaration 111 | uint64 parseBodyNode( const YAML::Node& node ); | ^ | ; status.hpp:111:42: error: ‘node’ does not name a type 111 | uint64 parseBodyNode( const YAML::Node& node ); | ^~~~ status.hpp:114:39: error: ‘std::shared_ptr<s_refine_level_info> RefineDatabase::findLevelInfo(const item_data&, item&)’ cannot be overloaded with ‘std::shared_ptr<s_refine_level_info> RefineDatabase::findLevelInfo(const item_data&, item&)’ 114 | std::shared_ptr<s_refine_level_info> findLevelInfo( const struct item_data& data, struct item& item ); | ^~~~~~~~~~~~~ status.hpp:107:39: note: previous declaration ‘std::shared_ptr<s_refine_level_info> RefineDatabase::findLevelInfo(const item_data&, item&)’ 107 | std::shared_ptr<s_refine_level_info> findLevelInfo( const struct item_data& data, struct item& item ); | ^~~~~~~~~~~~~ status.hpp:115:1: error: version control conflict marker in file 115 | >>>>>>> 0828ff00c630d6bcfa7a42826919867f0b8e5250 | ^~~~~~~ status.hpp:118:23: error: cannot declare variable ‘refine_db’ to be of abstract type ‘RefineDatabase’ 118 | extern RefineDatabase refine_db; | ^~~~~~~~~ status.hpp:89:7: note: because the following virtual functions are pure within ‘RefineDatabase’: 89 | class RefineDatabase : public TypesafeYamlDatabase<uint16, s_refine_info>{ | ^~~~~~~~~~~~~~ In file included from achievement.hpp:15, from achievement.cpp:4: ../common/database.hpp:77:28: note: ‘virtual const string YamlDatabase::getDefaultLocation()’ 77 | virtual const std::string getDefaultLocation() = 0; | ^~~~~~~~~~~~~~~~~~ In file included from achievement.cpp:29: pc.hpp:390:1: error: version control conflict marker in file 390 | <<<<<<< HEAD | ^~~~~~~ pc.hpp:395:1: error: version control conflict marker in file 395 | ======= | ^~~~~~~ In file included from achievement.cpp:29: pc.hpp:1063:1: error: version control conflict marker in file 1063 | <<<<<<< HEAD | ^~~~~~~ pc.hpp: In function ‘bool pc_cant_act(map_session_data*)’: pc.hpp:1073:37: error: ‘pc_cant_act2’ was not declared in this scope 1073 | return sd->npc_id || sd->chatID || pc_cant_act2( sd ); | ^~~~~~~~~~~~ pc.hpp:1073:37: note: the macro ‘pc_cant_act2’ had not yet been defined pc.hpp:1078: note: it was later defined here 1078 | #define pc_cant_act2(sd) ( (sd)->state.vending || (sd)->state.buyingstore || ((sd)->sc.opt1 && (sd)->sc.opt1 != OPT1_BURNING) || (sd)->state.trading || (sd)->state.storage_flag || (sd)->state.prevend || (sd)->state.refineui_open ) | pc.hpp: At global scope: pc.hpp:1075:1: error: version control conflict marker in file 1075 | ======= | ^~~~~~~ make[1]: *** [Makefile:84: obj/achievement.o] Error 1 make[1]: Leaving directory '/root/rathena/src/map' make: *** [Makefile:50: map] Error 2
  2. Hello can anyone help me. I've tried everything.. both on ubuntu server and on CentOS but when I compile [[email protected] ~]$ ./configure -bash: ./configure: No such file or directory " -------later----- [[email protected] rAthena]$ make clean server make: *** No rule to make target `clean'. Stop. -------later----- [[email protected] rAthena]$ make server make: *** No rule to make target `server'. Stop. [[email protected] rAthena]$ "It doesn't work and when I try to start it appears" [[email protected] rAthena]$ chmod a+x athena-start [[email protected] rAthena]$ ./athena-start start rAthena is starting... (c) 2021 rAthena Project checking... login-server does not exist... exiting... [[email protected] rAthena]$ please some blessed soul to help me? explain to me what is going on?
  3. Hello. Decided to try to run a server and encountered some issues while running make server. Here's a little information on the steps I took: 1. apt-get install php5 phpmyadmin mysql-server mysql-client git make gcc libmysqlclient-dev zlib1g-dev libpcre3-dev 2. sudo apt-get install php5 phpmyadmin mysql-server mysql-client git make gcc libmysqlclient-dev zlib1g-dev libpcre3-dev 3. git clone https://github.com/rathena/rathena.git ~/rAthena 4. all kinds of other db stuff and conf file stuff 5. ./configure --enable-packetver=20170614 6. make clean 7. make server That is when the errors occur. I have searched through the forums and have not found a concrete answer or situation similar to mine. In file included from clif.cpp:21:0: clif.cpp: In function ‘void clif_npc_market_open(map_session_data*, npc_data*)’: clif.cpp:2158:58: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ) ); ^ ../common/socket.hpp:30:71: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }while(0) ^~~~ clif.cpp:2158:126: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN_sub’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ) ); ^ ../common/socket.hpp:30:71: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }while(0) ^~~~ clif.cpp:2158:58: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ) ); ^ ../common/socket.hpp:30:126: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }while(0) ^~~~ clif.cpp:2158:126: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN_sub’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ) ); ^ ../common/socket.hpp:30:126: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }while(0) ^~~~ clif.cpp:2160:3: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->packetType = HEADER_ZC_NPC_MARKET_OPEN; ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2160:18: error: ‘HEADER_ZC_NPC_MARKET_OPEN’ was not declared in this scope p->packetType = HEADER_ZC_NPC_MARKET_OPEN; ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2160:18: note: suggested alternative: ‘PACKET_ZC_NPC_MARKET_OPEN’ p->packetType = HEADER_ZC_NPC_MARKET_OPEN; ^~~~~~~~~~~~~~~~~~~~~~~~~ PACKET_ZC_NPC_MARKET_OPEN clif.cpp:2176:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].nameid = client_nameid( item->nameid ); ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2177:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].type = itemtype( item->nameid ); ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2178:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].price = item->value; ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2179:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].qty = item->qty; ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2180:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].weight = id->weight; ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2184:3: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->packetLength = sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ); ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2184:61: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->packetLength = sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ); ^ clif.cpp:2184:118: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN_sub’ p->packetLength = sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ); ^ clif.cpp:2185:17: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPE’ WFIFOSET( fd, p->packetLength ); ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from clif.cpp:21:0: clif.cpp: In function ‘void clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)’: clif.cpp:2212:69: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + n * sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT_sub ) ); ^ ../common/socket.hpp:30:71: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }while(0) ^~~~ clif.cpp:2212:69: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + n * sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT_sub ) ); ^ ../common/socket.hpp:30:126: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }while(0) ^~~~ clif.cpp:2214:3: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->PacketType = HEADER_ZC_NPC_MARKET_PURCHASE_RESULT; ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2214:18: error: ‘HEADER_ZC_NPC_MARKET_PURCHASE_RESULT’ was not declared in this scope p->PacketType = HEADER_ZC_NPC_MARKET_PURCHASE_RESULT; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2214:18: note: suggested alternative: ‘PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->PacketType = HEADER_ZC_NPC_MARKET_PURCHASE_RESULT; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PACKET_ZC_NPC_MARKET_PURCHASE_RESULT clif.cpp:2219:3: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->result = ( res == 0 ? 1 : 0 ); ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2224:7: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ if( p->result ){ ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2233:5: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->list[count].ITID = client_nameid( list[i].nameid ); ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2234:5: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->list[count].qty = list[i].qty; ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2235:5: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->list[count].price = nd->u.shop.shop_item[j].value; ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2240:3: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->PacketLength = sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT_sub ); ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2240:72: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->PacketLength = sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT_sub ); ^ clif.cpp:2241:17: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ WFIFOSET( fd, p->PacketLength ); ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp: In function ‘void clif_hotkeys_send(map_session_data*, int)’: clif.cpp:10836:37: error: aggregate ‘clif_hotkeys_send(map_session_data*, int)::PACKET_ZC_SHORTCUT_KEY_LIST p’ has incomplete type and cannot be defined struct PACKET_ZC_SHORTCUT_KEY_LIST p; ^ clif.cpp:10838:17: error: ‘HEADER_ZC_SHORTCUT_KEY_LIST’ was not declared in this scope p.packetType = HEADER_ZC_SHORTCUT_KEY_LIST; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:10838:17: note: suggested alternative: ‘PACKET_ZC_SHORTCUT_KEY_LIST’ p.packetType = HEADER_ZC_SHORTCUT_KEY_LIST; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ PACKET_ZC_SHORTCUT_KEY_LIST clif.cpp:10852:50: error: ‘MAX_HOTKEYS_PACKET’ was not declared in this scope for( int i = 0, offset = tab * MAX_HOTKEYS; i < MAX_HOTKEYS_PACKET; i++ ){ ^~~~~~~~~~~~~~~~~~ clif.cpp:10852:50: note: suggested alternative: ‘MAX_HOTKEYS_DB’ for( int i = 0, offset = tab * MAX_HOTKEYS; i < MAX_HOTKEYS_PACKET; i++ ){ ^~~~~~~~~~~~~~~~~~ MAX_HOTKEYS_DB clif.cpp:10858:58: error: invalid application of ‘sizeof’ to incomplete type ‘clif_hotkeys_send(map_session_data*, int)::PACKET_ZC_SHORTCUT_KEY_LIST’ clif_send( &p, sizeof(struct PACKET_ZC_SHORTCUT_KEY_LIST), &sd->bl, SELF ); ^ Makefile:83: recipe for target 'obj/clif.o' failed make[1]: *** [obj/clif.o] Error 1 make[1]: Leaving directory '/home/chappo/Repos/rathena/src/map' Makefile:50: recipe for target 'map' failed make: *** [map] Error 2 chmod: cannot access 'map-server': No such file or directory To attempt to remedy this issue I have: deleted the clone and re-pulled chmod -R 777 the entire repo (why not?) ensured that the clif.cpp and socket.hpp exist down/upgraded from gcc/g++ 5-8 (currently back to 5) Searched the following: search 1 search 2 google search Any help would be appreciated. Notes: o LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) This is what it looks like now. (I am still messing around trying to get it working) Thanks! socket.hpp clif.cpp
  4. Sory how to solve this?? CXX unit.cpp CXX vending.cpp LD map-server obj/channel.o: In function `channel_send(Channel*, map_session_data*, char const*)': /home/rathena/src/map/channel.cpp:460: undefined reference to `discord_send(char const*, char const*, char const*)' obj/map.o: In function `do_init(int, char**)': /home/rathena/src/map/map.cpp:5257: undefined reference to `discord_init()' obj/mob.o: In function `mob_dead(mob_data*, block_list*, int)': /home/rathena/src/map/mob.cpp:2802: undefined reference to `discord_announce_drop(char const*)' obj/script.o: In function `buildin_discord(script_state*)': /home/rathena/src/map/../custom/script.inc:27: undefined reference to `discord_script(char const*, char const*)' collect2: error: ld returned 1 exit status Makefile:72: recipe for target 'map-server' failed make[1]: *** [map-server] Error 1 make[1]: Leaving directory '/home/rathena/src/map' Makefile:50: recipe for target 'map' failed make: *** [map] Error 2 [email protected]:/home/rathena# and where file name index.js ?? thx for answer
  5. So I decided to start from scratch. Spun up a new 18.04 and installed only what was needed. I am still having the same issue with (I believe) no interfering applications. I've attached a full copy of the output for review as well. Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.5.0-12ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.5.0 20171010 (Ubuntu 5.5.0-12ubuntu1) Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.5.0-12ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.5.0 20171010 (Ubuntu 5.5.0-12ubuntu1) [email protected]:~/Repos/rathena/shell-scripts$ make-server-dump.txt
  6. I'm currently trying to build my server on a PC with Ubuntu But when I try to "make server" it shows a lot of warning and Makefile 50 : recipe for target 'map' failed (as shown in the picture) Seems like it fail to create the "map server" I was following the tutorial from here: https://www.vultr.com/docs/setup-ragnarok-online-server-on-ubuntu-14-04-x64 Is there anything wrong in the tutorial? or in what part I probably mess up?
  7. Hi, first of all, this package just for "education purposes". The main mission of it does not give you or any other guy a complete solution, but just give you simple entry point to start from. I know how hard for newbies do everything that done by 10-15 minutes by me in the package without proper documentation and so on. This is just very primitive template how +- everything looks like. Nothing more. If you wish to make a RO server where others will connect to from their homes, you should follow the template, edit some settings and make your own one and host it on linux server (Digital Ocean for example). The main ideas and "howtos" explained in the first post of the topic. Rest is on users own. But the abstract basic things will be always the same. That means you always need some mysql-like server, some client, server-side compiled (for linux platform, or for windows, depends on where will you host the server), you need configuring clientinfo.xml in your grf and etc. So, if answer directly to your question "Could others connect to this server in the package from their homes"? I will answer -> yes they can. Easier way -> make sure you have white IP (IP address which is accessed from the internet) or you have rent windows server (which is costly to be clear) and just follow few mini-steps explained in the first post (like you do it when launching on windows) but with only one difference. You should edit inside grf clientinfo.xml and change 127.0.0.1 to your public ip address of your white ip address to make able others to connect. But this is very insecure, and not recommend method at all. The "true" way how to make an RO server is: Buy any linux-based VPS (cent-os, or ubuntu, or debian) with at least 1GB of RAM (there are really a lot of providers which selling it) Follow official guide and try to setup everything (install mysql server, install important software required for server compiling) Configure server-side config files to make able others to connect to the server Configure mysql-server, create databases, create users with permissions which will be able to connect to mysql-server and read/write to the database setup client test everything play
  8. Hi there, I'm having an issue compiling the latest build on Ubuntu, full compile is below; [email protected]:/home/rathena# git pull Already up-to-date. [email protected]:/home/rathena# ./configure --enable-64bit --with-MYSQL_LIBS=/usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether make sets $(MAKE)... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for ar... /usr/bin/ar checking whether byte ordering is bigendian... no checking whether gcc produces 32bit code... no checking whether gcc supports __thread specifier (TLS)... yes checking whether gcc supports -ffat-lto-objects... yes checking whether gcc supports -flto -fuse-linker-plugin... yes checking whether gcc supports -Wno-unused-parameter... yes checking whether gcc can actually use -Wno-unused-parameter... not needed but enabled checking whether gcc supports -Wempty-body... yes checking whether gcc supports -Wno-switch... yes checking whether gcc supports -Wno-missing-field-initializers... yes checking whether compiler is clang... no checking whether gcc supports -Wno-maybe-uninitialized... yes checking whether gcc supports -Wno-clobbered... yes checking whether gcc supports -Wshadow... yes checking whether gcc can efficiently use -Wshadow... yes checking whether gcc supports -fPIC... yes checking how to make shared objects... not supported configure: compiler is unable to generate shared objects, disabled plugins (optional) checking whether gcc supports -fno-strict-aliasing... yes checking for setrlimit... yes checking for strnlen... yes checking for uselocale... yes checking for newlocale... yes checking for freelocale... yes checking for xlocale.h... yes checking for library containing inflateEnd... -lz checking for zlib.h... yes checking for library containing sqrt... none required checking for library containing clock_gettime... none required checking whether CLOCK_MONOTONIC is supported and works... yes checking for library containing pthread_create... -lpthread checking for library containing pthread_sigmask... none required checking for library containing pthread_attr_init... none required checking for library containing pthread_attr_setstacksize... none required checking for library containing pthread_attr_destroy... none required checking for library containing pthread_cancel... none required checking for library containing pthread_join... none required checking for mysql_config... /usr/bin/mysql_config checking for mysql_init in -lmysqlclient... yes checking mysql.h usability... yes checking mysql.h presence... no configure: WARNING: mysql.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: mysql.h: proceeding with the compiler's result checking for mysql.h... yes checking MySQL library (required)... yes (5.5.57) checking for library containing pcre_study... -lpcre checking PCRE library (optional)... yes (8.31) checking host OS... Linux checking for MinGW... no configure: Configure finish configure: CPPFLAGS= -DMAXCONN=16384 -I../common -DHAS_TLS -DHAVE_SETRLIMIT -DHAVE_STRNLEN -I/usr/include -DHAVE_MONOTONIC_CLOCK configure: CFLAGS= -flto -fuse-linker-plugin -g -O2 -pipe -ffast-math -Wall -Wempty-body -Wno-switch -Wno-missing-field-initializers -Wno-maybe-uninitialized -Wno-clobbered -Wshadow -fno-strict-aliasing configure: CFLAGS_AR= -flto -fuse-linker-plugin -ffat-lto-objects -flto -fuse-linker-plugin -g -O2 -pipe -ffast-math -Wall -Wempty-body -Wno-switch -Wno-missing-field-initializers -Wno-maybe-uninitialized -Wno-clobbered -Wshadow -fno-strict-aliasing configure: LDFLAGS= -L/usr/lib configure: output name = login-server, char-server, map-server configure: creating ./config.status config.status: creating Makefile config.status: creating src/common/Makefile config.status: creating 3rdparty/mt19937ar/Makefile config.status: creating 3rdparty/libconfig/Makefile config.status: creating 3rdparty/yaml-cpp/Makefile config.status: creating src/char/Makefile config.status: creating src/login/Makefile config.status: creating src/map/Makefile config.status: creating src/tool/Makefile [email protected]:/home/rathena# make clean make[1]: Entering directory `/home/rathena/src/common' CLEAN common make[1]: Leaving directory `/home/rathena/src/common' make[1]: Entering directory `/home/rathena/3rdparty/mt19937ar' CLEAN mt19937ar make[1]: Leaving directory `/home/rathena/3rdparty/mt19937ar' make[1]: Entering directory `/home/rathena/3rdparty/libconfig' CLEAN libconfig make[1]: Leaving directory `/home/rathena/3rdparty/libconfig' make[1]: Entering directory `/home/rathena/3rdparty/yaml-cpp' CLEAN yaml-cpp make[1]: Leaving directory `/home/rathena/3rdparty/yaml-cpp' make[1]: Entering directory `/home/rathena/src/login' CLEAN login make[1]: Leaving directory `/home/rathena/src/login' make[1]: Entering directory `/home/rathena/src/char' CLEAN char make[1]: Leaving directory `/home/rathena/src/char' make[1]: Entering directory `/home/rathena/src/map' CLEAN map make[1]: Leaving directory `/home/rathena/src/map' make[1]: Entering directory `/home/rathena/src/tool' CLEAN tool make[1]: Leaving directory `/home/rathena/src/tool' [email protected]:/home/rathena# make server make[1]: Entering directory `/home/rathena/3rdparty/mt19937ar' CC mt19937ar.c make[1]: Leaving directory `/home/rathena/3rdparty/mt19937ar' make[1]: Entering directory `/home/rathena/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 `/home/rathena/3rdparty/libconfig' make[1]: Entering directory `/home/rathena/3rdparty/yaml-cpp' MKDIR obj/src/contrib CXX src/memory.cpp In file included from include/yaml-cpp/node/detail/node.h:14:0, from src/memory.cpp:2: include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_mark(const YAML::Mark&)': include/yaml-cpp/node/detail/node_ref.h:33:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void set_mark(const Mark& mark) { m_pData->set_mark(mark); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_type(YAML::NodeType::value)': include/yaml-cpp/node/detail/node_ref.h:34:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void set_type(NodeType::value type) { m_pData->set_type(type); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_tag(const string&)': include/yaml-cpp/node/detail/node_ref.h:35:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow] void set_tag(const std::string& tag) { m_pData->set_tag(tag); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_scalar(const string&)': include/yaml-cpp/node/detail/node_ref.h:37:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow] void set_scalar(const std::string& scalar) { m_pData->set_scalar(scalar); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_style(YAML::EmitterStyle::value)': include/yaml-cpp/node/detail/node_ref.h:38:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow] void set_style(EmitterStyle::value style) { m_pData->set_style(style); } ^ In file included from src/memory.cpp:2:0: include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_mark(const YAML::Mark&)': include/yaml-cpp/node/detail/node.h:69:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void set_mark(const Mark& mark) { m_pRef->set_mark(mark); } ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_type(YAML::NodeType::value)': include/yaml-cpp/node/detail/node.h:71:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void set_type(NodeType::value type) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_scalar(const string&)': include/yaml-cpp/node/detail/node.h:80:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow] void set_scalar(const std::string& scalar) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_tag(const string&)': include/yaml-cpp/node/detail/node.h:84:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow] void set_tag(const std::string& tag) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_style(YAML::EmitterStyle::value)': include/yaml-cpp/node/detail/node.h:90:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow] void set_style(EmitterStyle::value style) { ^ CXX src/stream.cpp CXX src/exp.cpp CXX src/scanner.cpp src/scanner.cpp: In member function 'void YAML::Scanner::ThrowParserException(const string&) const': src/scanner.cpp:379:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] Mark mark = Mark::null_mark(); ^ CXX src/parse.cpp In file included from include/yaml-cpp/node/detail/node.h:14:0, from include/yaml-cpp/node/impl.h:13, from src/parse.cpp:7: include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_mark(const YAML::Mark&)': include/yaml-cpp/node/detail/node_ref.h:33:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void set_mark(const Mark& mark) { m_pData->set_mark(mark); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_type(YAML::NodeType::value)': include/yaml-cpp/node/detail/node_ref.h:34:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void set_type(NodeType::value type) { m_pData->set_type(type); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_tag(const string&)': include/yaml-cpp/node/detail/node_ref.h:35:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow] void set_tag(const std::string& tag) { m_pData->set_tag(tag); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_scalar(const string&)': include/yaml-cpp/node/detail/node_ref.h:37:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow] void set_scalar(const std::string& scalar) { m_pData->set_scalar(scalar); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_style(YAML::EmitterStyle::value)': include/yaml-cpp/node/detail/node_ref.h:38:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow] void set_style(EmitterStyle::value style) { m_pData->set_style(style); } ^ In file included from include/yaml-cpp/node/impl.h:13:0, from src/parse.cpp:7: include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_mark(const YAML::Mark&)': include/yaml-cpp/node/detail/node.h:69:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void set_mark(const Mark& mark) { m_pRef->set_mark(mark); } ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_type(YAML::NodeType::value)': include/yaml-cpp/node/detail/node.h:71:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void set_type(NodeType::value type) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_scalar(const string&)': include/yaml-cpp/node/detail/node.h:80:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow] void set_scalar(const std::string& scalar) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_tag(const string&)': include/yaml-cpp/node/detail/node.h:84:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow] void set_tag(const std::string& tag) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_style(YAML::EmitterStyle::value)': include/yaml-cpp/node/detail/node.h:90:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow] void set_style(EmitterStyle::value style) { ^ CXX src/node.cpp CXX src/regex_yaml.cpp CXX src/singledocparser.cpp CXX src/node_data.cpp In file included from include/yaml-cpp/node/detail/node.h:14:0, from src/node_data.cpp:7: include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_mark(const YAML::Mark&)': include/yaml-cpp/node/detail/node_ref.h:33:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void set_mark(const Mark& mark) { m_pData->set_mark(mark); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_type(YAML::NodeType::value)': include/yaml-cpp/node/detail/node_ref.h:34:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void set_type(NodeType::value type) { m_pData->set_type(type); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_tag(const string&)': include/yaml-cpp/node/detail/node_ref.h:35:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow] void set_tag(const std::string& tag) { m_pData->set_tag(tag); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_scalar(const string&)': include/yaml-cpp/node/detail/node_ref.h:37:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow] void set_scalar(const std::string& scalar) { m_pData->set_scalar(scalar); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_style(YAML::EmitterStyle::value)': include/yaml-cpp/node/detail/node_ref.h:38:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow] void set_style(EmitterStyle::value style) { m_pData->set_style(style); } ^ In file included from src/node_data.cpp:7:0: include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_mark(const YAML::Mark&)': include/yaml-cpp/node/detail/node.h:69:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void set_mark(const Mark& mark) { m_pRef->set_mark(mark); } ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_type(YAML::NodeType::value)': include/yaml-cpp/node/detail/node.h:71:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void set_type(NodeType::value type) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_scalar(const string&)': include/yaml-cpp/node/detail/node.h:80:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow] void set_scalar(const std::string& scalar) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_tag(const string&)': include/yaml-cpp/node/detail/node.h:84:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow] void set_tag(const std::string& tag) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_style(YAML::EmitterStyle::value)': include/yaml-cpp/node/detail/node.h:90:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow] void set_style(EmitterStyle::value style) { ^ src/node_data.cpp: In member function 'void YAML::detail::node_data::set_mark(const YAML::Mark&)': src/node_data.cpp:31:42: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void node_data::set_mark(const Mark& mark) { m_mark = mark; } ^ src/node_data.cpp: In member function 'void YAML::detail::node_data::set_type(YAML::NodeType::value)': src/node_data.cpp:33:46: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void node_data::set_type(NodeType::value type) { ^ src/node_data.cpp: In member function 'void YAML::detail::node_data::set_tag(const string&)': 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) { ^ CXX src/emitter.cpp CXX src/convert.cpp In file included from include/yaml-cpp/node/detail/node.h:14:0, from include/yaml-cpp/node/impl.h:13, from include/yaml-cpp/node/convert.h:18, from src/convert.cpp:3: include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_mark(const YAML::Mark&)': include/yaml-cpp/node/detail/node_ref.h:33:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void set_mark(const Mark& mark) { m_pData->set_mark(mark); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_type(YAML::NodeType::value)': include/yaml-cpp/node/detail/node_ref.h:34:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void set_type(NodeType::value type) { m_pData->set_type(type); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_tag(const string&)': include/yaml-cpp/node/detail/node_ref.h:35:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow] void set_tag(const std::string& tag) { m_pData->set_tag(tag); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_scalar(const string&)': include/yaml-cpp/node/detail/node_ref.h:37:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow] void set_scalar(const std::string& scalar) { m_pData->set_scalar(scalar); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_style(YAML::EmitterStyle::value)': include/yaml-cpp/node/detail/node_ref.h:38:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow] void set_style(EmitterStyle::value style) { m_pData->set_style(style); } ^ In file included from include/yaml-cpp/node/impl.h:13:0, from include/yaml-cpp/node/convert.h:18, from src/convert.cpp:3: include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_mark(const YAML::Mark&)': include/yaml-cpp/node/detail/node.h:69:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void set_mark(const Mark& mark) { m_pRef->set_mark(mark); } ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_type(YAML::NodeType::value)': include/yaml-cpp/node/detail/node.h:71:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void set_type(NodeType::value type) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_scalar(const string&)': include/yaml-cpp/node/detail/node.h:80:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow] void set_scalar(const std::string& scalar) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_tag(const string&)': include/yaml-cpp/node/detail/node.h:84:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow] void set_tag(const std::string& tag) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_style(YAML::EmitterStyle::value)': include/yaml-cpp/node/detail/node.h:90:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow] void set_style(EmitterStyle::value style) { ^ CXX src/emitterutils.cpp CXX src/contrib/graphbuilderadapter.cpp CXX src/contrib/graphbuilder.cpp CXX src/simplekey.cpp CXX src/scantag.cpp CXX src/nodeevents.cpp In file included from include/yaml-cpp/node/detail/node.h:14:0, from src/nodeevents.cpp:4: include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_mark(const YAML::Mark&)': include/yaml-cpp/node/detail/node_ref.h:33:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void set_mark(const Mark& mark) { m_pData->set_mark(mark); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_type(YAML::NodeType::value)': include/yaml-cpp/node/detail/node_ref.h:34:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void set_type(NodeType::value type) { m_pData->set_type(type); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_tag(const string&)': include/yaml-cpp/node/detail/node_ref.h:35:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow] void set_tag(const std::string& tag) { m_pData->set_tag(tag); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_scalar(const string&)': include/yaml-cpp/node/detail/node_ref.h:37:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow] void set_scalar(const std::string& scalar) { m_pData->set_scalar(scalar); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_style(YAML::EmitterStyle::value)': include/yaml-cpp/node/detail/node_ref.h:38:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow] void set_style(EmitterStyle::value style) { m_pData->set_style(style); } ^ In file included from src/nodeevents.cpp:4:0: include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_mark(const YAML::Mark&)': include/yaml-cpp/node/detail/node.h:69:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void set_mark(const Mark& mark) { m_pRef->set_mark(mark); } ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_type(YAML::NodeType::value)': include/yaml-cpp/node/detail/node.h:71:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void set_type(NodeType::value type) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_scalar(const string&)': include/yaml-cpp/node/detail/node.h:80:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow] void set_scalar(const std::string& scalar) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_tag(const string&)': include/yaml-cpp/node/detail/node.h:84:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow] void set_tag(const std::string& tag) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_style(YAML::EmitterStyle::value)': include/yaml-cpp/node/detail/node.h:90:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow] void set_style(EmitterStyle::value style) { ^ CXX src/scanscalar.cpp CXX src/parser.cpp CXX src/emitfromevents.cpp CXX src/tag.cpp CXX src/ostream_wrapper.cpp src/ostream_wrapper.cpp: In member function 'void YAML::ostream_wrapper::write(const string&)': src/ostream_wrapper.cpp:21:51: warning: declaration of 'str' shadows a member of 'this' [-Wshadow] void ostream_wrapper::write(const std::string& str) { ^ src/ostream_wrapper.cpp: In member function 'void YAML::ostream_wrapper::write(const char*, std::size_t)': src/ostream_wrapper.cpp:34:62: warning: declaration of 'str' shadows a member of 'this' [-Wshadow] void ostream_wrapper::write(const char* str, std::size_t size) { ^ CXX src/scantoken.cpp src/scantoken.cpp: In member function 'void YAML::Scanner::ScanDocStart()': src/scantoken.cpp:68:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] Mark mark = INPUT.mark(); ^ src/scantoken.cpp: In member function 'void YAML::Scanner::ScanDocEnd()': src/scantoken.cpp:81:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] Mark mark = INPUT.mark(); ^ src/scantoken.cpp: In member function 'void YAML::Scanner::ScanFlowStart()': src/scantoken.cpp:94:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] Mark mark = INPUT.mark(); ^ src/scantoken.cpp: In member function 'void YAML::Scanner::ScanFlowEnd()': src/scantoken.cpp:120:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] Mark mark = INPUT.mark(); ^ src/scantoken.cpp: In member function 'void YAML::Scanner::ScanFlowEntry()': src/scantoken.cpp:147:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] Mark mark = INPUT.mark(); ^ src/scantoken.cpp: In member function 'void YAML::Scanner::ScanBlockEntry()': src/scantoken.cpp:167:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] Mark mark = INPUT.mark(); ^ src/scantoken.cpp: In member function 'void YAML::Scanner::ScanKey()': src/scantoken.cpp:186:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] Mark mark = INPUT.mark(); ^ src/scantoken.cpp: In member function 'void YAML::Scanner::ScanValue()': src/scantoken.cpp:215:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] Mark mark = INPUT.mark(); ^ src/scantoken.cpp: In member function 'void YAML::Scanner::ScanAnchorOrAlias()': src/scantoken.cpp:231:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] Mark mark = INPUT.mark(); ^ src/scantoken.cpp: In member function 'void YAML::Scanner::ScanPlainScalar()': src/scantoken.cpp:314:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] Mark mark = INPUT.mark(); ^ src/scantoken.cpp: In member function 'void YAML::Scanner::ScanQuotedScalar()': src/scantoken.cpp:355:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] Mark mark = INPUT.mark(); ^ src/scantoken.cpp: In member function 'void YAML::Scanner::ScanBlockScalar()': src/scantoken.cpp:383:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] Mark mark = INPUT.mark(); ^ CXX src/directives.cpp CXX src/binary.cpp CXX src/null.cpp CXX src/exceptions.cpp CXX src/emitterstate.cpp CXX src/emit.cpp CXX src/nodebuilder.cpp In file included from include/yaml-cpp/node/detail/node.h:14:0, from src/nodebuilder.cpp:5: include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_mark(const YAML::Mark&)': include/yaml-cpp/node/detail/node_ref.h:33:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void set_mark(const Mark& mark) { m_pData->set_mark(mark); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_type(YAML::NodeType::value)': include/yaml-cpp/node/detail/node_ref.h:34:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void set_type(NodeType::value type) { m_pData->set_type(type); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_tag(const string&)': include/yaml-cpp/node/detail/node_ref.h:35:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow] void set_tag(const std::string& tag) { m_pData->set_tag(tag); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_scalar(const string&)': include/yaml-cpp/node/detail/node_ref.h:37:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow] void set_scalar(const std::string& scalar) { m_pData->set_scalar(scalar); } ^ include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_style(YAML::EmitterStyle::value)': include/yaml-cpp/node/detail/node_ref.h:38:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow] void set_style(EmitterStyle::value style) { m_pData->set_style(style); } ^ In file included from src/nodebuilder.cpp:5:0: include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_mark(const YAML::Mark&)': include/yaml-cpp/node/detail/node.h:69:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void set_mark(const Mark& mark) { m_pRef->set_mark(mark); } ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_type(YAML::NodeType::value)': include/yaml-cpp/node/detail/node.h:71:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void set_type(NodeType::value type) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_scalar(const string&)': include/yaml-cpp/node/detail/node.h:80:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow] void set_scalar(const std::string& scalar) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_tag(const string&)': include/yaml-cpp/node/detail/node.h:84:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow] void set_tag(const std::string& tag) { ^ include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_style(YAML::EmitterStyle::value)': include/yaml-cpp/node/detail/node.h:90:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow] void set_style(EmitterStyle::value style) { ^ AR obj/yaml-cpp.a make[1]: Leaving directory `/home/rathena/3rdparty/yaml-cpp' make[1]: Entering directory `/home/rathena/src/common' MKDIR obj CXX core.cpp CC socket.c CC timer.c CC db.c CC nullpo.c CC malloc.c CC showmsg.c CC strlib.c CC utils.c CC grfio.c CC mapindex.c CC ers.c CC md5calc.c CXX core.cpp CC socket.c CC malloc.c CC random.c CC des.c CC conf.c CC thread.c CC mutex.c CC raconf.c CC mempool.c CC msg_conf.c CC cli.c CC sql.c CXX yamlwrapper.cpp In file included from ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h:14:0, from ../../3rdparty/yaml-cpp/include/yaml-cpp/node/impl.h:13, from ../../3rdparty/yaml-cpp/include/yaml-cpp/yaml.h:17, from yamlwrapper.h:32, from yamlwrapper.cpp:23: ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_mark(const YAML::Mark&)': ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h:33:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void set_mark(const Mark& mark) { m_pData->set_mark(mark); } ^ ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_type(YAML::NodeType::value)': ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h:34:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void set_type(NodeType::value type) { m_pData->set_type(type); } ^ ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_tag(const string&)': ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h:35:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow] void set_tag(const std::string& tag) { m_pData->set_tag(tag); } ^ ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_scalar(const string&)': ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h:37:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow] void set_scalar(const std::string& scalar) { m_pData->set_scalar(scalar); } ^ ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_style(YAML::EmitterStyle::value)': ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h:38:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow] void set_style(EmitterStyle::value style) { m_pData->set_style(style); } ^ In file included from ../../3rdparty/yaml-cpp/include/yaml-cpp/node/impl.h:13:0, from ../../3rdparty/yaml-cpp/include/yaml-cpp/yaml.h:17, from yamlwrapper.h:32, from yamlwrapper.cpp:23: ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_mark(const YAML::Mark&)': ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h:69:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow] void set_mark(const Mark& mark) { m_pRef->set_mark(mark); } ^ ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_type(YAML::NodeType::value)': ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h:71:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow] void set_type(NodeType::value type) { ^ ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_scalar(const string&)': ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h:80:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow] void set_scalar(const std::string& scalar) { ^ ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_tag(const string&)': ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h:84:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow] void set_tag(const std::string& tag) { ^ ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_style(YAML::EmitterStyle::value)': ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h:90:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow] void set_style(EmitterStyle::value style) { ^ AR obj/common.a make[1]: Leaving directory `/home/rathena/src/common' make[1]: Entering directory `/home/rathena/src/login' MKDIR obj CC account.c CC ipban.c CC loginchrif.c CC loginclif.c CC logincnslif.c CC loginlog.c CXX login.cpp LD login-server make[1]: Leaving directory `/home/rathena/src/login' make[1]: Entering directory `/home/rathena/src/char' MKDIR obj CC char_clif.c CC char_cnslif.c CC char_logif.c CC char_mapif.c CC int_achievement.c CC int_auction.c CC int_clan.c CC int_elemental.c CC int_guild.c CC int_homun.c CC int_mail.c CC int_mercenary.c CC int_party.c CC int_pet.c CC int_quest.c CXX char.cpp CXX int_storage.cpp CXX inter.cpp LD char-server make[1]: Leaving directory `/home/rathena/src/char' make[1]: Entering directory `/home/rathena/src/map' MKDIR obj CC achievement.c CC atcommand.c CC battle.c CC battleground.c CC buyingstore.c CC cashshop.c CC channel.c CC chat.c CC chrif.c CC clan.c CC date.c CC duel.c CC elemental.c CC guild.c CC homunculus.c CC instance.c CC intif.c CC itemdb.c CC log.c CC mail.c CC mapreg.c CC mercenary.c CC mob.c CC npc.c CC npc_chat.c CC party.c CC path.c CC pc.c CC pc_groups.c CC pet.c CC quest.c CC searchstore.c CC skill.c CC status.c status.c: In function 'status_yaml_readdb_refine_sub': status.c:14239:3: error: 'for' loop initial declarations are only allowed in C99 mode for (yamlwrapper* type = yaml_iterator_first(it); yaml_iterator_has_next(it); type = yaml_iterator_next(it)) { ^ status.c:14239:3: note: use option -std=c99 or -std=gnu99 to compile your code status.c:14273:3: error: 'for' loop initial declarations are only allowed in C99 mode for (yamlwrapper* level = yaml_iterator_first(it); yaml_iterator_has_next(it); level = yaml_iterator_next(it)) { ^ status.c: In function 'status_yaml_readdb_refine': status.c:14323:2: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < ARRAYLENGTH(labels); i++) { ^ make[1]: *** [obj/status.o] Error 1 make[1]: Leaving directory `/home/rathena/src/map' make: *** [map] Error 2 [email protected]:/home/rathena# Any help would be appreciated! Thanks in advance! -Keanu
  9. erm.. all linux distro has GUI (Desktop version) & non GUI (Server version). but if u gonna rent a vps, it will always be ubuntu server or centos server.. it is just rarely for the vps to put desktop version for linux. to compile it? by using terminal. just execute ./configure && make clean server
  10. just go for ubuntu... if u working on rAthena using git diff command, u will see the diff more clearly on ubuntu.. the diff on ubuntu comes with green & red color which make u easier to notice the changes.. see the below screenshot... if u really optimize & utilize git diff & git status command, u will loves using ubuntu.. there are some mores advantages using ubuntu rather than on centos... customization & modification of apache webserver (adding virtual server) & phpmyadmin.. but for these 2, i don't think u will go that far for the customization & modification.. i'm prefer ubuntu not because of its stability reason, but bcoz it is more on handy & easy to use & manage (if u loves doing lots of customization & modification). if just doing default setup, i think it shouldn't be a problem (especially for beginners who are just to get things work around)
  11. After I have updated the emulator and the database, I proceed to compile and get the following errors, after using the make server command: script.c: In function ‘script_getitem_randomoption’: script.c:6730:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] it->option[i].id = (short)__64BPRTSIZE(get_val2(st,reference_uid(opt_id_id,opt_id_idx+i),opt_id_ref)); ^ script.c:6732:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] it->option[i].value = (short)__64BPRTSIZE(get_val2(st,reference_uid(opt_val_id,opt_val_idx+i),opt_val_ref)); ^ script.c:6734:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] it->option[i].param = (char)__64BPRTSIZE(get_val2(st,reference_uid(opt_param_id,opt_param_idx+i),opt_param_ref)); I compiled using the following command line: ./configure --enable-packetver=20150513 --disable-64bit make clean make server I installed g ++, solved conflicts after update... Ubuntu 16.04 lts 32 bits Renewal Please help :c Regards!
  12. Hi guys, Ive been trying to add this to the end of script.c at line 23440 int viewpointmap_sub(struct block_list *bl, va_list ap) { struct map_session_data *sd; int npc_id, type, x, y, id, color; npc_id = va_arg(ap, int); type = va_arg(ap, int); x = va_arg(ap, int); y = va_arg(ap, int); id = va_arg(ap, int); color = va_arg(ap, int); sd = (struct map_session_data *)bl; clif_viewpoint(sd, npc_id, type, x, y, id, color); return 0; } BUILDIN_FUNC(viewpointmap) { int type, x, y, id, color, m; const char *map_name; map_name = script_getstr(st, 2); if ((m = map_mapname2mapid(map_name)) < 0) return true; // Invalid Map type = script_getnum(st, 3); x = script_getnum(st, 4); y = script_getnum(st, 5); id = script_getnum(st, 6); color = script_getnum(st, 7); map_foreachinmap(viewpointmap_sub, m, BL_PC, st->oid, type, x, y, id, color); return true; } // Add this to the list of script commands defined, look through the code, should be self explanitory. BUILDIN_DEF(viewpointmap,"siiiii"), but i receive this error script.c:23441:2: error: expected expression before ‘int’ int viewpointmap_sub(struct block_list *bl, va_list ap) { ^ Makefile:76: recipe for target 'obj/script.o' failed make[1]: *** [obj/script.o] Error 1 make[1]: Leaving directory '/home/rob/rathena/src/map' Makefile:51: recipe for target 'map' failed make: *** [map] Error 2 the file i got the code from ask me to add the code anywhere in between BUILDING_FUNC's i believe i have done that but obviously i haven't as it is giving errors out while compiling on Ubuntu server Any help will be appreciated Kind regards
  13. How to "Clean" my emulator ? Congrats for the post, i should trying forever without this information. Since now Thank you Edited: "Make Clean" is the awnser but still having the error... already tryeed all of https://k3dt.eu/Ragexe/unpacked/ with nemo, xdiffv2 etc... becoming boredd and pissed =/ By "Disable Packet Encryption in the xDiffPatcher" i got another packet error with same client... Already tryed Hercules Judas pack and nothing... its like 3 entires nights, like a 10000 virus, 10000 rebuilds, 4 ro folders with kro and bro and i can't log in... Any good place to find more ragexe ? It's a server problem ? Ech new try i do in ubuntu: ./configure --enable-packetver=20130807 make clean make server chmod a+x login-server && chmod a+x char-server && chmod a+x map-server ./athena-start start Change the <version> in clientinfo.xml <?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <servicetype>korea</servicetype> <servertype>primary</servertype> <connection> <display>Test</display> <desc>As DESCRIPTION</desc> <address>192.168.155.128</address> <port>6900</port> <version>45</version> <langtype>12</langtype> <registrationweb></registrationweb> <aid> <admin></admin> </aid> </connection> </clientinfo> and diff the ragexe with recomended features and after select my char it still: [Info]: clif_parse: Disconnecting session #8 with unknown packet version (p:0x0XXX,l:19). [Info]: Closed connection from '192.168.155.1'. and with some ragexes: [Info]: clif_parse: Disconnecting session #8 with unknown packet version (p:0xXXXX,l:19). [Info]: Closed connection from '192.168.155.1'. Am I missing something ?
  14. can anyone help? I'm having issue on compiling sudo make server chmod a+x login-server && chmod a+x char-server && chmod a+x map-server I keep getting this error make[1]: Leaving directory '/home/skeith/Ragnarok/rAthena/src/map' building conf/import, conf/msg_conf/import and db/import folder... make: *** No rule to make target 'chmod'. Stop. OS is Ubuntu 16.04 LTS 64-bit
  15. Hi, guys! I'm trying to install rAthena on a ubuntu machine and utilizes roBrowser as client in other to make a server that would be "client-less". But I do not have idea of how things exactally work, and then I got stuck because I guess I installed both rA and roBrowser right, so it should return an error at login saying wrong username or something like that as my players database is empty. But in says "Please wait ..." forever. Does someone here ever used roBrowser? Or know how do I know were is the problem (maybe network configuration)? I've done this on my home computer and when I do start Athena it does not notice any errors. (I do not have any windows machines avaliable at the moment, but I can get a VM in some weeks if it's really needed, also attached a dump of the console) dump.txt
  16. No its 512mb 728mb burst.Cheap server just to make sure they were stable before getting decent package. EDIT: I finally got it complied.But now when i start it i get [Fatal Error]: Memory manager::memmgr_alloc failed (allocating 56+421888 bytes at script.c:759). So my question is 512mb not even enough to start a server for 1 person just so i can test latency and stuff before upgrading It's obvious that the ram is insufficient to run the server. If I'm still updated, a 512 MB - Linux VPS will be able to do it. But, I'm not somehow sure about now. Are you running another services? like apache, KVM, or such things like GUI Environment (I mean Desktop, that thing, what is it? KDE thing?) or others? try to shut them down first then run it again. By the way, If you're using Ubuntu, then you may need more. I still believe that the server will run in a 512MB Centos.
  17. Skorm

    website panel

    Alright here's some notes I recorded for myself when installing a server... GL installing Ragnarok Server on Ubuntu: Installing Mysql: sudo apt-get install mysql-server sudo netstat -tap | grep mysql sudo /etc/init.d/mysql restart mysql -u root -p (mysql -u root if you didn't make a password) create database ragnarok; create database log; grant usage on *.* to [email protected] identified by ‘passwordhere’; grant all privileges on ragnarok.* to [email protected] ; grant all privileges on log.* to [email protected] ; use ragnarok; source path/to/sql-files/main.sql; use log; source path/to/sql-files/log.sql; Installing C Compiler: sudo apt-get update sudo apt-get -yqq install libc6-dev g++ gcc sudo apt-get install zlib1g-dev apt-get install libmysqlclient-dev chmod 775 for promissions chmod -R 755 *.sh if files aren't meant for Unix sudo apt-get dos2unix dose2unix filename ./filename 1. cd Path/RO/trunk 2. chmod +x configure 3. ./configure 4. make clean 5. make sql 6. ./athena-start restart install Webserver for flux: sudo apt-get update sudo apt-get aptitude sudo aptitude install apache2 sudo aptitiude install php5 libapache2-mod-php5 sudo apt-get php5-mysql sudo a2enmod php5 sudo apache2ctl restart You might also need to add the following to /etc/php5/apache2/php.ini extension=pdo.so extension=pdo_mysql.so if /usr/lib/php5/20060613+lfs/pdo.so or pdo_mysql.so are missing from the file directory add them. if you're still having problems try: sudo apt-get install libmysqlclient15-dev sudo apt-get install pdo_mysql sudo apache2ctl restart Installing and configuring SSH: sudo apt-get update sudo apt-get install openssh-server sudo groupadd groupnamehere cat /etc/group (group id is at the bottom) sudo useradd [user name] -d / -g [groupnamehere group id] -M -N -o -u [groupnamehere group id] sudo passwd [user name] (will display command to enterpassword) sudo apt-get update sudo apt-get nano sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak sudo nano +76 /etc/ssh/sshd_config The line Subsystem sftp /usr/lib/openssh/sftp-server Needs to be replaced with Subsystem sftp internal-sftp CTRL+O to save CTRL+X to exit sudo mkdir /var/www cd /var/www sudo mkdir flux sudo chown root:sftponly flux ( Alternativly sudo chown -R owned directory ) sudo chmod -R 775 flux sudo /etc/init.d/ssh restart ip -o -f inet addr (if you need the IP address) Then download WinSCP or FileZilla and input your info.
  18. To help double-check each commit and also test compatibility on other operating systems, we have setup a BuildBot. http://build.rathena.org/ These are the current BuildSlave operating systems we test rAthena on: CentOS x64 (provided by @Maki) Debian (provided by @Gepard) Ubuntu (provided by @Maki) Ubuntu x64 (provided by @Maki) Windows (provided by @flaviojs) If you would like to contribute a VPS or server for running a BuildSlave, please read on. BuildSlave requirements: internet connection (it's okay if the computer is behind a router) BuildBot installed (http://trac.buildbot.net/) all programs required to checkout/compile/run rAthena installed (optional) If you want us to configure BuildBot - SSH access or Remote Desktop for Windows buildslaves turned on 24/7 - its important the buildslaves are always online so as soon as a commit is made, the buildslaves can test it. (i.e. a desktop computer you only turn on 4 hours a day would not meet this requirement) (recommended) 256 MB of ram. 1 GB free disk space After you setup the VPS/server to meet those requirements, please: Create a non-root account (recommended username: buildslave). Make sure the buildslave user has at least 1 GB free space in its home dir (disk space will be used to checkout and compile rAthena). Make sure BuildBot is installed: buildbot --version test and make sure you can checkout and compile rAthena svn co https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/ cd trunk/ ./configure make sql Send me a PM with the following info: Thank you for helping make rAthena better! Post here if you have any questions. PS: we would prefer if YOU installed BuildBot and everything (less work for us, and less access to your server), but if you are lazy or are having trouble installing BuildBot, we'll do our best to help.
  19. **I just followed this post, because I want make server on my Ubuntu too at least for my offline**
  20. No. Probably not, since adaboost already ran 'dpkg' and showed he has all the MySQL stuff installed.Also, 'apt-get update' only fetches the update list. You have to do upgrade to install them: apt-get update apt-get [email protected]: I'm not sure why it's not working for you.When I setup rAthena on Ubuntu/Debian (with an external MySQL Server), these are the only packages I have to install: apt-get install cmake gcc libmysqlclient-dev libpcre3-dev make subversion
  21. I think Ubuntu Server is light then centOS. First time when i met linux for RO Server is centOS that make me feel slow, then i come to Ubuntu Server and i like it. Anyway when i use ./configure, do i need to ./configure --enable-64bit? What version of centOS you used?
  22. Hi, i'm trying to use eAthena's latest revision (trunk 15192) with an old client (Xray 2007-09-04, supposed to be packet ver 8) and I can't get it to work. I tried to change the packetver in mmo.h to a couple of thing, with no success. I tried: #ifndef PACKETVER #define PACKETVER 20070904 #endif and: #ifndef PACKETVER #define PACKETVER 8 #endif But it did not work at all. I was able to connect threw the login and char server, but i get the "Failed to connect to server" error on the map server. To make sure that the client was the real problem, I tried the same settings with another client (Xray 2008-01-02, supposed to be packet ver 9). Then, i was able to connect to the server, but every NPC and monsters where missings. I read on some other topics that the "invisible" npc and monsters problem were a packet problem, so I figured that the packet compatibility was the real issue. Also, if that can be of some help, i'm running the server on Ubuntu server LTS and i'm running eAthena SQL. So yeah... Is there any way to make the newer revision compatible with packet version 8? Thanks for helping me!
  23. Either your mysql server is not running or not listening on localhost. To make it listen, open /etc/mysql/my.conf search: bind-address = 127.0.0.1 and change it to: #bind-address = 127.0.0.1 To verify, use: netstat -tap then, restart the mysql server: Ubuntu: sudo service mysql reload sudo service mysql restart
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.