casper Posted November 3, 2024 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 38 Reputation: 2 Joined: 02/15/13 Last Seen: Friday at 04:40 PM Share Posted November 3, 2024 data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\group À¯ÀúÀÎÅÍÆäÀ̽º Is the folder named? Quote Link to comment Share on other sites More sharing options...
Akbare-2nd Posted November 3, 2024 Group: Members Topic Count: 6 Topics Per Day: 0.01 Content Count: 62 Reputation: 4 Joined: 06/11/23 Last Seen: 5 hours ago Share Posted November 3, 2024 8 hours ago, rmon said: clif.cpp Here you go try it clif.cpp Quote Link to comment Share on other sites More sharing options...
Kim Asura Games Posted November 6, 2024 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 3 Reputation: 0 Joined: 07/07/23 Last Seen: Thursday at 01:48 PM Share Posted November 6, 2024 Thank you! Quote Link to comment Share on other sites More sharing options...
LeonZ Posted November 20, 2024 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 22 Reputation: 13 Joined: 07/11/12 Last Seen: December 16, 2024 Share Posted November 20, 2024 It worked fine here. It's a shame it doesn't show the HP percentage of the mobs. Quote Link to comment Share on other sites More sharing options...
Pyumel Posted November 20, 2024 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 08/19/23 Last Seen: Monday at 10:24 PM Share Posted November 20, 2024 Can i actually change it to race group instead ele group? so i can display race of monster istead their elements Quote Link to comment Share on other sites More sharing options...
Yaziid91 Posted November 20, 2024 Group: Members Topic Count: 21 Topics Per Day: 0.01 Content Count: 66 Reputation: 0 Joined: 04/20/19 Last Seen: April 3 Share Posted November 20, 2024 17 hours ago, LeonZ said: It worked fine here. It's a shame it doesn't show the HP percentage of the mobs. what is name of your hat please Quote Link to comment Share on other sites More sharing options...
LeonZ Posted November 20, 2024 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 22 Reputation: 13 Joined: 07/11/12 Last Seen: December 16, 2024 Share Posted November 20, 2024 3 hours ago, Yaziid91 said: what is name of your hat please https://www.divine-pride.net/database/item/31979/ Quote Link to comment Share on other sites More sharing options...
Yaziid91 Posted November 21, 2024 Group: Members Topic Count: 21 Topics Per Day: 0.01 Content Count: 66 Reputation: 0 Joined: 04/20/19 Last Seen: April 3 Share Posted November 21, 2024 15 hours ago, LeonZ said: https://www.divine-pride.net/database/item/31979/ thanks Quote Link to comment Share on other sites More sharing options...
Pyumel Posted November 27, 2024 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 08/19/23 Last Seen: Monday at 10:24 PM Share Posted November 27, 2024 bump! someone please tell me, can i change this to mob race view instead of element view? i want change this to race monster view not element monster view Quote Link to comment Share on other sites More sharing options...
Louis T Steinhil Posted January 3 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 177 Reputation: 33 Joined: 06/22/13 Last Seen: 7 hours ago Share Posted January 3 (edited) Hmm I tried adding your patch to the show_mob_info. it works great although if the name of the monster is too long then few characters will be omitted. XD Clif.cpp case BL_MOB: { mob_data *md = (mob_data *)bl; char ele_name[8] = { 0 }; //char output[16] = { 0 }; if( md->guardian_data && md->guardian_data->guild_id ){ PACKET_ZC_ACK_REQNAMEALL packet = { 0 }; packet.packet_id = HEADER_ZC_ACK_REQNAMEALL; packet.gid = bl->id; safestrncpy( packet.name, md->name, NAME_LENGTH ); safestrncpy( packet.guild_name, md->guardian_data->guild_name, NAME_LENGTH ); safestrncpy( packet.position_name, md->guardian_data->castle->castle_name, NAME_LENGTH ); clif_send(&packet, sizeof(packet), src, target); }else if( battle_config.show_mob_info ){ PACKET_ZC_ACK_REQNAMEALL packet = { 0 }; packet.packet_id = HEADER_ZC_ACK_REQNAMEALL; packet.gid = bl->id; safestrncpy( packet.name, md->name, NAME_LENGTH ); char mobhp[50], *str_p = mobhp; switch (md->status.def_ele) { case 0: strcpy(ele_name, "Neutral");break; case 1: strcpy(ele_name, "Water");break; case 2: strcpy(ele_name, "Earth");break; case 3: strcpy(ele_name, "Fire");break; case 4: strcpy(ele_name, "Wind");break; case 5: strcpy(ele_name, "Poison");break; case 6: strcpy(ele_name, "Holy");break; case 7: strcpy(ele_name, "Shadow");break; case 8: strcpy(ele_name, "Ghost");break; case 9: strcpy(ele_name, "Undead");break; default: break; } if( battle_config.show_mob_info&4 ){ str_p += sprintf( str_p, "Lv. %d | ", md->level ); } if( battle_config.show_mob_info&1 ){ if (strlen(ele_name)) str_p += sprintf( str_p, "Ele: %s %d | ", ele_name, md->status.ele_lv); } 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. safestrncpy( packet.party_name, mobhp, NAME_LENGTH ); } clif_send(&packet, sizeof(packet), src, target); } Edited January 3 by Louis T Steinhil Quote Link to comment Share on other sites More sharing options...
Louis T Steinhil Posted January 3 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 177 Reputation: 33 Joined: 06/22/13 Last Seen: 7 hours ago Share Posted January 3 On 11/27/2024 at 4:17 PM, Pyumel said: bump! someone please tell me, can i change this to mob race view instead of element view? i want change this to race monster view not element monster view yes that's easy, change the value of elements to race. Quote Link to comment Share on other sites More sharing options...
Louis T Steinhil Posted January 4 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 177 Reputation: 33 Joined: 06/22/13 Last Seen: 7 hours ago Share Posted January 4 anyone happen to know how can i move the info like this? Quote Link to comment Share on other sites More sharing options...
WhiteEagle Posted January 4 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 11 hours ago Share Posted January 4 17 minutes ago, Louis T Steinhil said: anyone happen to know how can i move the info like this? For this i am lookging too since month. Quote Link to comment Share on other sites More sharing options...
Louis T Steinhil Posted January 5 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 177 Reputation: 33 Joined: 06/22/13 Last Seen: 7 hours ago Share Posted January 5 On 1/4/2025 at 11:37 AM, WhiteEagle said: For this i am lookging too since month. got it XD Quote Link to comment Share on other sites More sharing options...
Pyumel Posted January 5 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 08/19/23 Last Seen: Monday at 10:24 PM Share Posted January 5 (edited) On 1/4/2025 at 12:17 AM, Louis T Steinhil said: yes that's easy, change the value of elements to race. how can i detect this monster have demi-human race or fish race for example? because if i just change the value of the elements to race it mean i just change the display name not detect the monster race Edited January 5 by Pyumel Quote Link to comment Share on other sites More sharing options...
Pyumel Posted January 5 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 08/19/23 Last Seen: Monday at 10:24 PM Share Posted January 5 54 minutes ago, Louis T Steinhil said: got it XD share please sir Quote Link to comment Share on other sites More sharing options...
Louis T Steinhil Posted January 5 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 177 Reputation: 33 Joined: 06/22/13 Last Seen: 7 hours ago Share Posted January 5 22 minutes ago, Pyumel said: how can i detect this monster have demi-human race or fish race for example? because if i just change the value of the elements to race it mean i just change the display name not detect the monster race char race_name[9] = { 0 }; switch (md->status.race) { case 0: strcpy(race_name, "Formless");break; case 1: strcpy(race_name, "Undead");break; case 2: strcpy(race_name, "Brute");break; case 3: strcpy(race_name, "Plant");break; case 4: strcpy(race_name, "Insect");break; case 5: strcpy(race_name, "Fish");break; case 6: strcpy(race_name, "Demon");break; case 7: strcpy(race_name, "D-Human");break; case 8: strcpy(race_name, "Angel");break; case 9: strcpy(race_name, "Dragon");break; default: break; } str_p += sprintf( str_p, "Race: %s | ", race_name); Quote Link to comment Share on other sites More sharing options...
Louis T Steinhil Posted January 5 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 177 Reputation: 33 Joined: 06/22/13 Last Seen: 7 hours ago Share Posted January 5 14 minutes ago, Pyumel said: share please sir // 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. safestrncpy( packet.guild_name, mobhp, NAME_LENGTH ); } Quote Link to comment Share on other sites More sharing options...
Pyumel Posted January 5 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 08/19/23 Last Seen: Monday at 10:24 PM Share Posted January 5 1 hour ago, Louis T Steinhil said: // 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. safestrncpy( packet.guild_name, mobhp, NAME_LENGTH ); } thank sir, really appreciated Quote Link to comment Share on other sites More sharing options...
Pyumel Posted January 5 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 08/19/23 Last Seen: Monday at 10:24 PM Share Posted January 5 (edited) 1 hour ago, Louis T Steinhil said: char race_name[9] = { 0 }; switch (md->status.race) { case 0: strcpy(race_name, "Formless");break; case 1: strcpy(race_name, "Undead");break; case 2: strcpy(race_name, "Brute");break; case 3: strcpy(race_name, "Plant");break; case 4: strcpy(race_name, "Insect");break; case 5: strcpy(race_name, "Fish");break; case 6: strcpy(race_name, "Demon");break; case 7: strcpy(race_name, "D-Human");break; case 8: strcpy(race_name, "Angel");break; case 9: strcpy(race_name, "Dragon");break; default: break; } str_p += sprintf( str_p, "Race: %s | ", race_name); im sorry for bothering you, i mean i want change the "ele_group" to the race group so i can make icon for an races is that possible to do? if so what should i rewrite them? "race_group" ? and how much the number for races Edited January 5 by Pyumel Quote Link to comment Share on other sites More sharing options...
Boobzilon Posted Friday at 04:04 AM Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 04/18/25 Last Seen: Yesterday at 01:59 AM Share Posted Friday at 04:04 AM (edited) Hi someone can help me ? A. I need to copy part of the code inside the .diff with notepad++ and put inside the other file indicated there ? B. How to insert the code properly in the new file to ovoid an error? C. How to recompile ? thank you Edited Friday at 04:10 AM by Boobzilon Quote Link to comment Share on other sites More sharing options...
ADMSarah Posted yesterday at 01:57 AM Group: Members Topic Count: 18 Topics Per Day: 0.03 Content Count: 144 Reputation: 10 Joined: 08/19/23 Last Seen: 18 minutes ago Share Posted yesterday at 01:57 AM Any changes using latest commit? 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.