Jump to content
  • 0

Chat


ryusama2007

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  102
  • Reputation:   0
  • Joined:  04/20/12
  • Last Seen:  

Help me to change no longer shows the number of people in chat please.

 

Screen:

75c4ee3032d2b74ef714d319d1bb69d9.jpg

Edited by ryusama2007
Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

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)?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   1
  • Joined:  01/20/13
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  102
  • Reputation:   0
  • Joined:  04/20/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   1
  • Joined:  01/20/13
  • Last Seen:  

do you want a new NPC ? or edit you NPC(arena mvp)?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  102
  • Reputation:   0
  • Joined:  04/20/12
  • Last Seen:  

I want to be like that char 0/4 instead of 1/4 because it does not have anyone apra records one already.

Link to comment
Share on other sites


  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

The NPC itself counts as 1, which is why it shows 1/4 even though no players are in it. This is official behavior.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  102
  • Reputation:   0
  • Joined:  04/20/12
  • Last Seen:  

yes I know, but I want help to stop as before without showing 1 of NPC.

Edited by ryusama2007
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  102
  • Reputation:   0
  • Joined:  04/20/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  102
  • Reputation:   0
  • Joined:  04/20/12
  • Last Seen:  

ok, but it does diminish as each other thereby also 0/3

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...