Jump to content
  • 0

How do I delete showing numbers of players online?


Question

Posted (edited)

At the Server Selection screen (client side), there is a (0) showing next to the server name (which shows the number of players online).

For example:

SampleRO(76)

How do I delete that so that only the server name shows?

Thanks in advance!

Edited by Xephyras

7 answers to this question

Recommended Posts

Posted

It is hardcoded to the client.. But you can force it to display 0 always..

Index: login.c
===================================================================
--- login.c (revision 16690)
+++ login.c (working copy)
@@ -1197,7 +1197,7 @@
  WFIFOL(fd,47+n*32) = htonl((subnet_char_ip) ? subnet_char_ip : server[i].ip);
  WFIFOW(fd,47+n*32+4) = ntows(htons(server[i].port)); // [!] LE byte order here [!]
  memcpy(WFIFOP(fd,47+n*32+6), server[i].name, 20);
-  WFIFOW(fd,47+n*32+26) = server[i].users;
+  WFIFOW(fd,47+n*32+26) = 0;
  WFIFOW(fd,47+n*32+28) = server[i].type;
  WFIFOW(fd,47+n*32+30) = server[i].new_;
  n++;

Posted

Well, I haven't used eAthena for years right now, so I forgot...

But all I remember is that in eAthena you only had to change a value to remove it, but that might have been changed too perhaps.

Solved it by replacing

(%d)#

with

#

in "msgstringtable"

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...