Napster Posted September 23, 2014 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 196 Reputation: 72 Joined: 12/12/11 Last Seen: November 6, 2016 Share Posted September 23, 2014 (edited) [sRC] Market Clone 1.2ref topic : http://hercules.ws/board/topic/7242-market-clone/credits : [AnnieRuru/Dastgir] Hercules Last update : 28/10/2014 Support : rAthena SVN revision 12540 Feature : Create clone player with chat room How to use this ?You can enable or disable this feature // Market Clone [AnnieRuru/Dastgir] // Can use @market all map // Default use for town flag map (Set : no) market_can_anywhere: no // Delay for use command market clone // Default = 10 Second market_clone_delay: 10 // Pay zeny when use command @market // Default = no (Disable) market_clone_pay_zeny: no How to create clone @market "room title" "msg" How to kill clone @marketkill Change log market clone 1.21. fix map server crash when @killmonster / killmonster22. add battle conf feature3. fix market clone not show hpmeter when use mob show infomarket clone 1.3.11. cleanup support rAthena revision 12540 enjoy! Market_clone_1.2_rA_r12425.patch Market_clone_1.3.1_rA_r12540.patch Edited October 28, 2014 by Napster 1 Quote Link to comment Share on other sites More sharing options...
Darkpurple Posted September 23, 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 September 23, 2014 [sRC] Market Clone 1.2 ref topic : http://hercules.ws/board/topic/7242-market-clone/ credits : [AnnieRuru/Dastgir] Hercules Last update : 23/09/2014 Support : rAthena SVN revision 12425 Feature : Create clone player with chat room How to use this ? You can enable or disable this feature // Market Clone [AnnieRuru/Dastgir] // Can use @market all map // Default use for town flag map (Set : no) market_can_anywhere: no // Delay for use command market clone // Default = 10 Second market_clone_delay: 10 // Pay zeny when use command @market // Default = no (Disable) market_clone_pay_zeny: no How to create clone @market "room title" "msg" How to kill clone @marketkill Change log market clone 1.21. fix map server crash when @killmonster / killmonster2 2. add battle conf feature 3. fix market clone not show hpmeter when use mob show info enjoy! Bug: showed the hp 100% with the clone... Quote Link to comment Share on other sites More sharing options...
Napster Posted September 23, 2014 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 196 Reputation: 72 Joined: 12/12/11 Last Seen: November 6, 2016 Author Share Posted September 23, 2014 @Darkpurpleyou use config battle/monster.conf or not ? // Display some mob info next to their name? (add as needed) // (does not works on guardian or Emperium) // 1: Display mob HP (Hp/MaxHp format) // 2: Display mob HP (Percent of full life format) // 4: Display mob's level show_mob_info: 2 Quote Link to comment Share on other sites More sharing options...
Darkpurple Posted September 23, 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 September 23, 2014 @Darkpurple you use config battle/monster.conf or not ? // Display some mob info next to their name? (add as needed) // (does not works on guardian or Emperium) // 1: Display mob HP (Hp/MaxHp format) // 2: Display mob HP (Percent of full life format) // 4: Display mob's level show_mob_info: 2 Yes, my setting is same as you show_mob_info: 2. But it showed HP: 100% Near my clone name.... Quote Link to comment Share on other sites More sharing options...
Napster Posted September 23, 2014 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 196 Reputation: 72 Joined: 12/12/11 Last Seen: November 6, 2016 Author Share Posted September 23, 2014 no problem for mehttps://www.dropbox.com/s/tbi2ux3jpaoocf4/screenrAthena001.jpg?dl=0https://www.dropbox.com/s/wn7bc8kj58zfh4w/screenrAthena002.jpg?dl=0 Quote Link to comment Share on other sites More sharing options...
Darkpurple Posted September 23, 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 September 23, 2014 (edited) no problem for me https://www.dropbox.com/s/tbi2ux3jpaoocf4/screenrAthena001.jpg?dl=0 https://www.dropbox.com/s/wn7bc8kj58zfh4w/screenrAthena002.jpg?dl=0 I really add your patch in this part, but I don't know if the bug exist in Last Git... case BL_MOB: { struct mob_data *md = (struct mob_data *)bl; nullpo_retv(md); memcpy(WBUFP(buf,6), md->name, NAME_LENGTH); if( md->guardian_data && md->guardian_data->guild_id ) { WBUFW(buf, 0) = cmd = 0x195; WBUFB(buf,30) = 0; memcpy(WBUFP(buf,54), md->guardian_data->guild_name, NAME_LENGTH); memcpy(WBUFP(buf,78), md->guardian_data->castle->castle_name, NAME_LENGTH); } else if( battle_config.show_mob_info && !md->market_chat_id ) // Market Clone [AnnieRuru/Dastgir] { char mobhp[50], *str_p = mobhp; WBUFW(buf, 0) = cmd = 0x195; if( battle_config.show_mob_info&4 ) str_p += sprintf(str_p, "Lv. %d | ", md->level); if( battle_config.show_mob_info&1 ) str_p += sprintf(str_p, "HP: %u/%u | ", md->status.hp, md->status.max_hp); if( battle_config.show_mob_info&2 ) str_p += sprintf(str_p, "HP: %u%% | ", get_percentage(md->status.hp, md->status.max_hp)); //Even thought mobhp ain't a name, we send it as one so the client //can parse it. [Skotlex] if( str_p != mobhp ) { *(str_p-3) = '\0'; //Remove trailing space + pipe. memcpy(WBUFP(buf,30), mobhp, NAME_LENGTH); WBUFB(buf,54) = 0; WBUFB(buf,78) = 0; } } } break; Edit : Okay now. I updated to the Last updated GIt to fixed it. Edited September 23, 2014 by Darkpurple Quote Link to comment Share on other sites More sharing options...
Napster Posted September 23, 2014 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 196 Reputation: 72 Joined: 12/12/11 Last Seen: November 6, 2016 Author Share Posted September 23, 2014 ok sir Quote Link to comment Share on other sites More sharing options...
Darkpurple Posted September 23, 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 September 23, 2014 ok sir Do you have free time to transfer this: (or do you think this is useful or not ?..) http://hercules.ws/board/topic/7127-maintenance-mode/ Quote Link to comment Share on other sites More sharing options...
Napster Posted September 23, 2014 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 196 Reputation: 72 Joined: 12/12/11 Last Seen: November 6, 2016 Author Share Posted September 23, 2014 when free time i check it 1 Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted September 23, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted September 23, 2014 (edited) when free time i check itwait until I make version 1.3 then only start convert currently the patch is quite a mess (it was made just to debug for the plugin file) since you are interested to convert to rathena, I should at least make the code more understandable EDIT: btw I noticed your way in deleting a zeny doesn't sound right it should only deleted the zeny when the clone has successfully spawn, but your patch will removed the zeny regardless its success or failed Edited September 23, 2014 by AnnieRuru Quote Link to comment Share on other sites More sharing options...
Pillows Posted September 23, 2014 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 26 Reputation: 2 Joined: 08/12/12 Last Seen: January 10, 2015 Share Posted September 23, 2014 So this creates a clone, of any job, to vend? Quote Link to comment Share on other sites More sharing options...
darking123 Posted September 24, 2014 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share Posted September 24, 2014 [sRC] Market Clone 1.2 ref topic : http://hercules.ws/board/topic/7242-market-clone/ credits : [AnnieRuru/Dastgir] Hercules Last update : 23/09/2014 Support : rAthena SVN revision 12425 Feature : Create clone player with chat room How to use this ? You can enable or disable this feature // Market Clone [AnnieRuru/Dastgir] // Can use @market all map // Default use for town flag map (Set : no) market_can_anywhere: no // Delay for use command market clone // Default = 10 Second market_clone_delay: 10 // Pay zeny when use command @market // Default = no (Disable) market_clone_pay_zeny: no How to create clone @market "room title" "msg" How to kill clone @marketkill Change log market clone 1.21. fix map server crash when @killmonster / killmonster2 2. add battle conf feature 3. fix market clone not show hpmeter when use mob show info enjoy! how about credits to the person who shared his idea? haha kidding. annieRuru released a 1.3 update. could you update the .diff patch also? thank you sir Napster. how about when the player logout, does the clone disappear also? Quote Link to comment Share on other sites More sharing options...
simplexjay2 Posted September 24, 2014 Group: Members Topic Count: 56 Topics Per Day: 0.01 Content Count: 224 Reputation: 4 Joined: 02/09/12 Last Seen: April 20, 2024 Share Posted September 24, 2014 Not working svn 17704 Quote Link to comment Share on other sites More sharing options...
Fluffle Puff Posted October 9, 2014 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 375 Reputation: 88 Joined: 12/30/11 Last Seen: May 3, 2016 Share Posted October 9, 2014 mob.c: In function ‘mob_clone_spawn_market’:mob.c:3999: error: too few arguments to function ‘clif_sitting’ in this line: clif_sitting( &md->bl ); Quote Link to comment Share on other sites More sharing options...
t3quila Posted October 12, 2014 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 36 Reputation: 4 Joined: 04/16/12 Last Seen: December 9, 2018 Share Posted October 12, 2014 can use it in last git? Quote Link to comment Share on other sites More sharing options...
darking123 Posted November 3, 2014 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share Posted November 3, 2014 Market_clone_1.3.1_rA_r12540.patch under script.c in // Market Clone [AnnieRuru/Dastgir] if ( md->market_chat_id ) return 0 change it to // Market Clone [AnnieRuru/Dastgir] if ( md->market_chat_id ) return 0; Quote Link to comment Share on other sites More sharing options...
darking123 Posted November 4, 2014 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share Posted November 4, 2014 Market_clone_1.3.1_rA_r12540.patch = if your out of sight of your clone pub. the pub disappears but the clone is still there Quote Link to comment Share on other sites More sharing options...
Dev Denz Posted April 27, 2015 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 23 Reputation: 0 Joined: 08/03/13 Last Seen: October 10, 2015 Share Posted April 27, 2015 (edited) Good Day Sir Napster im having a problem with this scirpt when i compile the mob.c get error Error 1 error C2198: 'clif_sitting' : too few arguments for call d:\pro\trunk\src\map\mob.c 3967 1 map-server_sql how can i fixed that!? I can Fixed that by commenting this line LINE: clif_sitting( &md->bl ); //at mob.c but my problem when i reconnect server map is getting down Anyone can Help me to this topic? i already Fixed my BUG ahaha im using latest RaMOD Edited April 26, 2015 by Turkumturk Quote Link to comment Share on other sites More sharing options...
Ammyd Posted June 5, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 12 Reputation: 1 Joined: 04/04/16 Last Seen: June 19, 2017 Share Posted June 5, 2017 On 11/5/2014 at 12:06 AM, glemor123 said: Market_clone_1.3.1_rA_r12540.patch = if your out of sight of your clone pub. the pub disappears but the clone is still there Hello ! i'm having this kind of error , had you already fix this issue when warping or out of sight the pub ? please help me BUMP can anyone fix this please Quote Link to comment Share on other sites More sharing options...
Jhun Posted September 13, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 07/27/17 Last Seen: February 9, 2018 Share Posted September 13, 2017 Can anyone update this pls thanks Quote Link to comment Share on other sites More sharing options...
idLaZ Posted March 22, 2019 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 93 Reputation: 6 Joined: 12/10/11 Last Seen: September 28, 2024 Share Posted March 22, 2019 Can anyone update this to the latest rev? Thank you. Bump! Anyone can update it to latest rev? Thanks! Quote Link to comment Share on other sites More sharing options...
Loke Posted June 23, 2019 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 174 Reputation: 6 Joined: 12/20/11 Last Seen: July 20, 2024 Share Posted June 23, 2019 Update please Quote Link to comment Share on other sites More sharing options...
Takuyakii Posted September 24, 2019 Group: Members Topic Count: 41 Topics Per Day: 0.02 Content Count: 215 Reputation: 11 Joined: 08/30/19 Last Seen: March 6 Share Posted September 24, 2019 Any update regarding this file ? im using the latest svn. but im having an error CXX atcommand.cpp atcommand.cpp: In function \u2018int atcommand_market(int, map_session_data*, const char*, const char*)\u2019: atcommand.cpp:10088:28: error: \u2018class std::unordered_map<short int, int>\u2019 has no member named \u2018town\u2019 if ( !map[sd->bl.m].flag.town ) { ^~~~ make[1]: *** [Makefile:84: obj/atcommand.o] Error 1 make[1]: Leaving directory '/root/trunk/src/map' make: *** [Makefile:50: map] Error 2 can someone update this to latest ? Thanks! Quote Link to comment Share on other sites More sharing options...
kalabasa Posted February 2, 2021 Group: Members Topic Count: 123 Topics Per Day: 0.05 Content Count: 478 Reputation: 14 Joined: 11/30/17 Last Seen: January 23 Share Posted February 2, 2021 update please!~ Quote Link to comment Share on other sites More sharing options...
mhielo12 Posted April 15, 2022 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 114 Reputation: 4 Joined: 08/28/14 Last Seen: Yesterday at 10:15 AM Share Posted April 15, 2022 Hope to get this updated.. ty 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.