Anubis-K Posted October 2, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 60 Reputation: 21 Joined: 01/15/13 Last Seen: August 18, 2015 Share Posted October 2, 2014 (edited) File Name: BG Eamod File Submitter: Anubis-K File Submitted: 13 Sep 2014 File Category: Source Modifications Content Author: Zephyrus, recode AnubisK Hi,I'm not the autor, I just made the code compatible with rathena. All the credits go to the guy that developed Eamod, whoever Zephyrus is.I found this (original file): https://code.google.com/p/eamod-retail/source/browse/trunk/eAmod-A/Diffs/battleground/eAthena.patchAnd I was informed that the same file can be dowloaded from: http://eamod.wordpress.com/The BG NPCs are in: https://code.google.com/p/eamod-retail/source/browse/#svn%2Ftrunk%2FeAmod-A%2FDiffs%2Fbattleground%2Fnpc%2FbattlegroundCompare with rathena NPCs and modify acoording you need.I Just made it compatible and compilable, please inform any bug you find.Have fun.Note: compatible with 20ff69e Click here to download this file Note: This version does not have the guild system... yet Edited October 2, 2014 by Anubis-K 4 Quote Link to comment Share on other sites More sharing options...
RealB Posted October 2, 2014 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 04/07/14 Last Seen: April 11, 2024 Share Posted October 2, 2014 Thx Quote Link to comment Share on other sites More sharing options...
Radian Posted October 3, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted October 3, 2014 Wow this is nice. i will test this. Quote Link to comment Share on other sites More sharing options...
hikashin-rae Posted October 5, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 213 Reputation: 24 Joined: 01/14/13 Last Seen: Wednesday at 03:42 AM Share Posted October 5, 2014 Thanks sir thumbs up Quote Link to comment Share on other sites More sharing options...
krisnx Posted October 5, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 104 Reputation: 4 Joined: 06/23/12 Last Seen: October 20, 2022 Share Posted October 5, 2014 thanks for share and make it compatible for rathena Quote Link to comment Share on other sites More sharing options...
fictionx Posted October 6, 2014 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 122 Reputation: 17 Joined: 12/10/12 Last Seen: 11 hours ago Share Posted October 6, 2014 what is the guild system? Quote Link to comment Share on other sites More sharing options...
Radian Posted October 7, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted October 7, 2014 (edited) +1 Edited October 7, 2014 by Ginji Quote Link to comment Share on other sites More sharing options...
AngelaKiss Posted October 7, 2014 Group: Members Topic Count: 66 Topics Per Day: 0.01 Content Count: 223 Reputation: 4 Joined: 02/23/12 Last Seen: March 8 Share Posted October 7, 2014 i think you are not allowed to post this Quote Link to comment Share on other sites More sharing options...
Anubis-K Posted October 9, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 60 Reputation: 21 Joined: 01/15/13 Last Seen: August 18, 2015 Author Share Posted October 9, 2014 (edited) @fictionx: Guild system: That is the good think about Eamod BG. When you join the BG your char will be added to the teams which in that case are guilds. Then, the "guild master" (Team Leader) can use emergency call and the guild skills. That guild is a "Virtual Guild" just for the BG until you log out or the match end, you do not lose information about your own guild (if you have one). Edited October 9, 2014 by Anubis-K Quote Link to comment Share on other sites More sharing options...
Radian Posted October 9, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted October 9, 2014 @fictionx: Guild system: That is the good think about Eamod BG. When you join the BG your char will be added to the teams which in that case are guilds. Then, the "guild master" (Team Leader) can use emergency call and the guild skills. That guild is a "Virtual Guild" just for the BG until you log out or the match end, you do not lose information about your own guild (if you have one). will you implement that soon? Quote Link to comment Share on other sites More sharing options...
Anubis-K Posted October 9, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 60 Reputation: 21 Joined: 01/15/13 Last Seen: August 18, 2015 Author Share Posted October 9, 2014 I will say it like this: I will make a patch, but the implementation is already done by Zephyrus who developed eamod. Important is that I just fix the patch, the ideas and coding itself it are not mine, I want to make that really clear. Quote Link to comment Share on other sites More sharing options...
Radian Posted October 9, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted October 9, 2014 (edited) I will say it like this: I will make a patch, but the implementation is already done by Zephyrus who developed eamod. Important is that I just fix the patch, the ideas and coding itself it are not mine, I want to make that really clear. alright. thanks just confused how to apply the Guild System it needs client side right? Edited October 9, 2014 by Ginji Quote Link to comment Share on other sites More sharing options...
Promise Posted October 9, 2014 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 386 Reputation: 38 Joined: 04/28/13 Last Seen: March 22, 2024 Share Posted October 9, 2014 Man this is a payed emulator, did you asked Zephy if you can do it? They have maps, codes, etc only for they emulator. Quote Link to comment Share on other sites More sharing options...
Darkpurple Posted October 9, 2014 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 187 Reputation: 7 Joined: 09/04/12 Last Seen: May 9, 2022 Share Posted October 9, 2014 I will say it like this: I will make a patch, but the implementation is already done by Zephyrus who developed eamod. Important is that I just fix the patch, the ideas and coding itself it are not mine, I want to make that really clear. Hi, Anubis-K....I found your bg mod conflict with my code below: // createbgid <respawn map>, <respawn x>, <respawn y>, <On Quit event>, <On Death event>; BUILDIN_FUNC(createbgid) { unsigned int bg_id; if ( ( bg_id = bg_create( mapindex_name2id( script_getstr(st,2) ), script_getnum(st,3), script_getnum(st,4), script_getstr(st,5), script_getstr(st,6) ) ) > 0 ) script_pushint( st, bg_id ); else script_pushint( st, 0 ); return SCRIPT_CMD_SUCCESS; } It showed error: warning C4047: 'function' : 'int' differs in levels of indirection from 'const char *' warning C4024: 'bg_create' : different types for formal and actual parameter 4 error C2198: 'bg_create' : too few arguments for call How to solve it ? Thanks.... Quote Link to comment Share on other sites More sharing options...
fictionx Posted October 11, 2014 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 122 Reputation: 17 Joined: 12/10/12 Last Seen: 11 hours ago Share Posted October 11, 2014 @fictionx: Guild system: That is the good think about Eamod BG. When you join the BG your char will be added to the teams which in that case are guilds. Then, the "guild master" (Team Leader) can use emergency call and the guild skills. That guild is a "Virtual Guild" just for the BG until you log out or the match end, you do not lose information about your own guild (if you have one). Thanks for the reply . Quote Link to comment Share on other sites More sharing options...
Radian Posted October 12, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted October 12, 2014 I got a warning while compiling on VB 1>..\src\map\script.c(17619): warning C4101: 'sd' : unreferenced local variable Quote Link to comment Share on other sites More sharing options...
fictionx Posted October 13, 2014 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 122 Reputation: 17 Joined: 12/10/12 Last Seen: 11 hours ago Share Posted October 13, 2014 where can i find this maps ? map: bat_a03 map: bat_a04 map: bat_a05 map: bat_b03 map: bat_b04 map: bat_b05 map: schg_cas06 map: schg_cas07 map: schg_cas08 map: arug_cas06 map: arug_cas07 map: arug_cas08 map: rush_cas01 map: rush_cas02 map: rush_cas03 map: rush_cas04 map: bat_c03 map: bat_c04 map: bat_c05 map: bat_c06 map: bat_c07 map: bat_c08 map: region_8 Quote Link to comment Share on other sites More sharing options...
Anubis-K Posted October 13, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 60 Reputation: 21 Joined: 01/15/13 Last Seen: August 18, 2015 Author Share Posted October 13, 2014 @Darkpurple : what version of the emulator do you have? at least with 20ff69e, works ok. How did you applpy the patch? @Ginji: my bad, it is a duplicated line. if you take a look to the method where that line belongs, you will see it twice. @fictionx: In the same page of googlecode where I found the patch. Remember, those NPC may not work correctly (bugs). So you need to optimize them, and I'm not planning to do that. https://code.google.com/p/eamod-retail/source/browse/#svn%2Ftrunk%2FeAmod-A%2FClientSide Quote Link to comment Share on other sites More sharing options...
Radian Posted October 13, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted October 13, 2014 (edited) @Darkpurple : what version of the emulator do you have? at least with 20ff69e, works ok. How did you applpy the patch? @Ginji: my bad, it is a duplicated line. if you take a look to the method where that line belongs, you will see it twice. @fictionx: In the same page of googlecode where I found the patch. Remember, those NPC may not work correctly (bugs). So you need to optimize them, and I'm not planning to do that. https://code.google.com/p/eamod-retail/source/browse/#svn%2Ftrunk%2FeAmod-A%2FClientSide Anubis-k 1 question about this eAmod i was testing the script of bg_conquest it seems that its not working and here is the line - int x, y, mapindex = 0, bg_id, n; - unsigned char i; - - if( script_hasdata(st,7) ) - nd = npc_name2id(script_getstr(st,7)); - else - nd = (struct npc_data *)map_id2bl(st->oid); + int x, y, i, mapindex = 0, guild_index, bg_id; + struct map_session_data *sd; + nd = (struct npc_data *)map_id2bl(st->oid); and on my trunk // BG eAmod //int x, y, mapindex = 0, bg_id, n; //unsigned char i; //if( script_hasdata(st,7) ) // nd = npc_name2id(script_getstr(st,7)); //else // nd = (struct npc_data *)map_id2bl(st->oid); int x, y, i, mapindex = 0, guild_index, bg_id; struct map_session_data *sd; nd = (struct npc_data *)map_id2bl(st->oid); Edited October 13, 2014 by Ginji Quote Link to comment Share on other sites More sharing options...
Anubis-K Posted October 13, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 60 Reputation: 21 Joined: 01/15/13 Last Seen: August 18, 2015 Author Share Posted October 13, 2014 Did you add the maps to your mapcache and client? does it dive a console error? Quote Link to comment Share on other sites More sharing options...
Radian Posted October 13, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted October 13, 2014 Did you add the maps to your mapcache and client? does it dive a console error? No Error's in the map. but i did'nt add the map of eamod. instead i change them into the default map schg_cas06 = schg_cas01 Quote Link to comment Share on other sites More sharing options...
Darkpurple Posted October 13, 2014 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 187 Reputation: 7 Joined: 09/04/12 Last Seen: May 9, 2022 Share Posted October 13, 2014 @Darkpurple : what version of the emulator do you have? at least with 20ff69e, works ok. How did you applpy the patch? @Ginji: my bad, it is a duplicated line. if you take a look to the method where that line belongs, you will see it twice. @fictionx: In the same page of googlecode where I found the patch. Remember, those NPC may not work correctly (bugs). So you need to optimize them, and I'm not planning to do that. https://code.google.com/p/eamod-retail/source/browse/#svn%2Ftrunk%2FeAmod-A%2FClientSide Because I am using Annieruru's <battleground system without waitingroom> in here: http://rathena.org/board/topic/72571-battleground-system-without-waitingroom/ part of this: // createbgid <respawn map>, <respawn x>, <respawn y>, <On Quit event>, <On Death event>; BUILDIN_FUNC(createbgid) { unsigned int bg_id; if ( ( bg_id = bg_create( mapindex_name2id( script_getstr(st,2) ), script_getnum(st,3), script_getnum(st,4), script_getstr(st,5), script_getstr(st,6) ) ) > 0 ) script_pushint( st, bg_id ); else script_pushint( st, 0 ); return SCRIPT_CMD_SUCCESS; } It showed error: warning C4047: 'function' : 'int' differs in levels of indirection from 'const char *' warning C4024: 'bg_create' : different types for formal and actual parameter 4 error C2198: 'bg_create' : too few arguments for call Quote Link to comment Share on other sites More sharing options...
fictionx Posted October 14, 2014 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 122 Reputation: 17 Joined: 12/10/12 Last Seen: 11 hours ago Share Posted October 14, 2014 i can't patch the bg mod. i have many rejected from tortoise svn. Quote Link to comment Share on other sites More sharing options...
Radian Posted October 14, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted October 14, 2014 i can't patch the bg mod. i have many rejected from tortoise svn. Do it manually. even if its a long way of adding the code. Quote Link to comment Share on other sites More sharing options...
Anubis-K Posted October 16, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 60 Reputation: 21 Joined: 01/15/13 Last Seen: August 18, 2015 Author Share Posted October 16, 2014 @Darkpurple: I have never use that system, you should recode and make it compatible. The parameters for the method are not the same. @Ginji: I will take a look. Quote Link to comment Share on other sites More sharing options...
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.