ryusama2007 Posted February 28, 2013 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 102 Reputation: 0 Joined: 04/20/12 Last Seen: January 14, 2014 Share Posted February 28, 2013 (edited) Help me to change no longer shows the number of people in chat please. Screen: Edited February 28, 2013 by ryusama2007 Quote Link to comment Share on other sites More sharing options...
Thanna Posted March 7, 2013 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 271 Reputation: 7 Joined: 01/06/12 Last Seen: May 16, 2015 Share Posted March 7, 2013 change the value send to client in clif.c::clif_dispchat --- Base (BASE) +++ Locally Modified (Based On LOCAL) @@ -3538,7 +3538,7 @@ WBUFL(buf, 4) = cd->owner->id; WBUFL(buf, 8) = cd->bl.id; WBUFW(buf,12) = cd->limit; - WBUFW(buf,14) = (cd->owner->type == BL_NPC) ? cd->users+1 : cd->users; + WBUFW(buf,14) = cd->users; WBUFB(buf,16) = type; memcpy((char*)WBUFP(buf,17), cd->title, strlen(cd->title)); // not zero-terminated nb. this will affect all npc chat but you can add more condition if you wish to I'll just ask sir, this will remove the NPC count on the chat so it will make it (0/4)? Quote Link to comment Share on other sites More sharing options...
xcoms Posted March 1, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 19 Reputation: 1 Joined: 01/20/13 Last Seen: April 7, 2019 Share Posted March 1, 2013 where is a any script ? waitingroom "Arena MvP ["+getmapusers("map_name")+"]",0; this scrip show you how many people in map! http://rathena.org/wiki/Waitingroom Quote Link to comment Share on other sites More sharing options...
ryusama2007 Posted March 1, 2013 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 102 Reputation: 0 Joined: 04/20/12 Last Seen: January 14, 2014 Author Share Posted March 1, 2013 I want the NPC and takes this kind of chat so fourth and so want you to be 0/4 this and due to the new update but I want to leave as said 0/4. Quote Link to comment Share on other sites More sharing options...
xcoms Posted March 1, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 19 Reputation: 1 Joined: 01/20/13 Last Seen: April 7, 2019 Share Posted March 1, 2013 do you want a new NPC ? or edit you NPC(arena mvp)? Quote Link to comment Share on other sites More sharing options...
ryusama2007 Posted March 1, 2013 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 102 Reputation: 0 Joined: 04/20/12 Last Seen: January 14, 2014 Author Share Posted March 1, 2013 I want to be like that char 0/4 instead of 1/4 because it does not have anyone apra records one already. Quote Link to comment Share on other sites More sharing options...
Aleos Posted March 1, 2013 Group: Development Manager Topic Count: 56 Topics Per Day: 0.01 Content Count: 732 Reputation: 525 Joined: 12/13/11 Last Seen: June 13, 2024 Share Posted March 1, 2013 The NPC itself counts as 1, which is why it shows 1/4 even though no players are in it. This is official behavior. Quote Link to comment Share on other sites More sharing options...
ryusama2007 Posted March 1, 2013 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 102 Reputation: 0 Joined: 04/20/12 Last Seen: January 14, 2014 Author Share Posted March 1, 2013 (edited) yes I know, but I want help to stop as before without showing 1 of NPC. Edited March 1, 2013 by ryusama2007 Quote Link to comment Share on other sites More sharing options...
Lighta Posted March 6, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted March 6, 2013 change the value send to client in clif.c::clif_dispchat --- Base (BASE) +++ Locally Modified (Based On LOCAL) @@ -3538,7 +3538,7 @@ WBUFL(buf, 4) = cd->owner->id; WBUFL(buf, 8) = cd->bl.id; WBUFW(buf,12) = cd->limit; - WBUFW(buf,14) = (cd->owner->type == BL_NPC) ? cd->users+1 : cd->users; + WBUFW(buf,14) = cd->users; WBUFB(buf,16) = type; memcpy((char*)WBUFP(buf,17), cd->title, strlen(cd->title)); // not zero-terminated nb. this will affect all npc chat but you can add more condition if you wish to Quote Link to comment Share on other sites More sharing options...
ryusama2007 Posted March 7, 2013 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 102 Reputation: 0 Joined: 04/20/12 Last Seen: January 14, 2014 Author Share Posted March 7, 2013 change the value send to client in clif.c::clif_dispchat --- Base (BASE) +++ Locally Modified (Based On LOCAL) @@ -3538,7 +3538,7 @@ WBUFL(buf, 4) = cd->owner->id; WBUFL(buf, 8) = cd->bl.id; WBUFW(buf,12) = cd->limit; - WBUFW(buf,14) = (cd->owner->type == BL_NPC) ? cd->users+1 : cd->users; + WBUFW(buf,14) = cd->users; WBUFB(buf,16) = type; memcpy((char*)WBUFP(buf,17), cd->title, strlen(cd->title)); // not zero-terminated nb. this will affect all npc chat but you can add more condition if you wish to Became too cool, as has now take one another example ta thereby a four leaves just one of three? 1/4 = 1/3 ............. 1/4 = 0/4 completed Quote Link to comment Share on other sites More sharing options...
ryusama2007 Posted March 7, 2013 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 102 Reputation: 0 Joined: 04/20/12 Last Seen: January 14, 2014 Author Share Posted March 7, 2013 ok, but it does diminish as each other thereby also 0/3 Quote Link to comment Share on other sites More sharing options...
ryusama2007 Posted March 10, 2013 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 102 Reputation: 0 Joined: 04/20/12 Last Seen: January 14, 2014 Author Share Posted March 10, 2013 ??? Quote Link to comment Share on other sites More sharing options...
Question
ryusama2007
Help me to change no longer shows the number of people in chat please.
Screen:

Edited by ryusama2007Link to comment
Share on other sites
11 answers to this question
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.