Vykimo Posted October 22, 2018 Posted October 22, 2018 4 hours ago, Normynator said: Discord API requires a websocket and http. That’s what the bridge is for. But this version will be abondend soon in favor of a pure C++ version, which you can find here: https://github.com/Normynator/roCORD/tree/development?files=1 I understand, but good choice I think to make a pure C++ version! Quote
Normynator Posted January 8, 2019 Author Posted January 8, 2019 Dropped support for Version 1. Added reference links for Version 2. Quote
CyberDevil Posted February 19, 2019 Posted February 19, 2019 I have many failures to install these patches and then I tried to do it manually but the .diff files are not very detailed and I do not know where to add the code having many different files from the original rAthena files. Quote
Normynator Posted February 19, 2019 Author Posted February 19, 2019 You are using v1, v1 is no longer supported. Please use v2 (https://github.com/Normynator/roCORD) Quote
CyberDevil Posted February 20, 2019 Posted February 20, 2019 (edited) ok now it's ok but but I have a doubt... in the map.cpp file where I have to put the line "discord_init();" /// Called when a terminate signal is received. void do_shutdown(void) { if( runflag != MAPSERVER_ST_SHUTDOWN ) { runflag = MAPSERVER_ST_SHUTDOWN; ShowStatus("Shutting down...\n"); { struct map_session_data* sd; struct s_mapiterator* iter = mapit_getallusers(); for( sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); sd = (TBL_PC*)mapit_next(iter) ) clif_GM_kick(NULL, sd); mapit_free(iter); flush_fifos(); } chrif_check_shutdown(); } } map.cpp Edited February 20, 2019 by CyberDevil Quote
Normynator Posted February 20, 2019 Author Posted February 20, 2019 Into the do_init function. 1 Quote
CyberDevil Posted February 20, 2019 Posted February 20, 2019 (edited) 3 hours ago, Normynator said: Into the do_init function. ...like this is correct? int do_init(int argc, char *argv[]) { discord_init(); runflag = MAPSERVER_ST_STARTING; #ifdef GCOLLECT GC_enable_incremental(); #endif INTER_CONF_NAME="conf/inter_athena.conf"; LOG_CONF_NAME="conf/log_athena.conf"; etc... etc... etc... EDIT: I have re-try to recompile with this corrction but I recive all time this errors: Quote /usr/bin/ld: obj/map.o: in function `do_init(int, char**)': /root/rAthena/src/map/map.cpp:5184: undefined reference to `discord_init()' /usr/bin/ld: obj/script.o: in function `buildin_discord(script_state*)': /root/rAthena/src/map/script.cpp:23953: undefined reference to `discord_script(char const*, char const*)' /usr/bin/ld: obj/channel.o: in function `channel_send(Channel*, map_session_data*, char const*)': /root/rAthena/src/map/channel.cpp:458: undefined reference to `discord_send(char const*, char const*, char const*)' Edited February 20, 2019 by CyberDevil Quote
Foob Posted April 23, 2019 Posted April 23, 2019 (edited) Hello, @Normynator I'm having this error below. However, if I try to recompile on a debian, it works perfectly fine. Here's what I found out: 1. During the make install process the login-server is created but after finishing it, it is automatically deleted or removed. What could be the reason for it? Posted a detailed issue on the Github Repo Edited April 23, 2019 by iAmGnome Added more information. Quote
Normynator Posted April 23, 2019 Author Posted April 23, 2019 Try only make, instead of make install 1 Quote
Gerzzie Posted April 23, 2019 Posted April 23, 2019 Can i test this on my localhost? Is there a Windows Guide? Quote
Normynator Posted April 23, 2019 Author Posted April 23, 2019 On 4/23/2019 at 8:14 PM, Gerzzie said: Can i test this on my localhost? Is there a Windows Guide? There is no windows guide available. A patch file for a recent rAthena version was added by @sctnightcore. It can be found here: https://github.com/Normynator/roCORD/tree/master/diff/user_patches If you are using this project with a rAthena hash which is not available in the repository feel free to create a PR. It would be highly appreciated. ~norm Quote
BFPkiller Posted March 4, 2020 Posted March 4, 2020 (edited) hi! im trying to install this , i have allot of errors allready fixed but still im getting new ones like : obj/channel.o: In function channel_send(Channel*, map_session_data*, char const*)': /src/map/channel.cpp:460: undefined reference to discord_send(char const, char const, char const)' obj/script.o: In function `buildin_discord(script_state)': /src/map/script.cpp:23944: undefined reference to `discord_script(char const, char const)' can someone help me out ?? Edited March 5, 2020 by BFPkiller Quote
biali Posted March 29, 2020 Posted March 29, 2020 (edited) Hi! I am getting an error when I try to make (or make install) rathena/src/map/discord/discord_core.cpp:259:68: error: no matching function for call to ‘regex_replace(std::string&, std::regex, const char [1]’ content = std::regex_replace(content, std::regex("^\\s|\\s$"), ""); Centos7 cmake version 3.6.2 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) any help would be greately appreciated! Edited March 29, 2020 by biali Quote
Normynator Posted March 29, 2020 Author Posted March 29, 2020 Update your gcc https://stackoverflow.com/questions/12530406/is-gcc-4-8-or-earlier-buggy-about-regular-expressions Quote
Akbare Posted September 24, 2020 Posted September 24, 2020 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 root@ubuntu:/home/rathena# and where file name index.js ?? thx for answer Quote
Ryoma27 Posted January 27, 2022 Posted January 27, 2022 i got this error i'm using latest rathena trunk Quote
cook1e Posted May 25, 2022 Posted May 25, 2022 18 hours ago, qtdan said: @Normynator having this error on latest git. That part should be added on map.cpp. https://github.com/Normynator/roCORD/blob/master/diff/rev2/map.diff Also Normynator said he don't support roCORD anymore, so don't expect help. Quote
shatowolf Posted May 28, 2022 Posted May 28, 2022 this topic should be closed or move. since the creator discontinue the project. Thanks! Quote
Emistry Posted July 9, 2023 Posted July 9, 2023 This topic has been moved to the "Abandoned Projects" sub-forum. If the author is still working on this project, they may request that a moderator moves the topic back and removes this post. Quote
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.