Jump to content

[rAthena] & [eAthena] nopub.patch


Jaburak

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

File Name: [rAthena] & [eAthena] nopub.patch

File Submitter: Anakid

File Submitted: 01 Jun 2013

File Category: Source Modifications

Content Author: Anakid

This mod hides the chat boards ingame.

Tested/Compatible with rAthena SVN r17324 and eAthena SVN.

Idea Credited To: http://rathena.org/board/topic/80276-novendingboards-novenders/

k1wnplc.jpg

1lZDwMU.jpg?1

Click here to download this file

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

Just an Idea.

 

Wouldn't it be cool if you could disable chatrooms, but for them to show up only if you HOVER over the person.

 

Other than then, nice idea.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

Just an Idea.

 

Wouldn't it be cool if you could disable chatrooms, but for them to show up only if you HOVER over the person.

 

Other than then, nice idea.

 

I think that idea needs a client hexing. But I'll try.

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  02/23/12
  • Last Seen:  

Just an Idea.

 

Wouldn't it be cool if you could disable chatrooms, but for them to show up only if you HOVER over the person.

 

Other than then, nice idea.

 

add from this command:

 

in function: clif_charnameack

after

if (g && ps >= 0 && ps < MAX_GUILDPOSITION)
{
memcpy(WBUFP(buf,54), g->name,NAME_LENGTH);
memcpy(WBUFP(buf,78), g->position[ps].name, NAME_LENGTH);
} else { //Assume no guild.
WBUFB(buf,54) = 0;
WBUFB(buf,78) = 0;
}

add

if(sd->state.nopub && ssd->chatID)
{
struct chat_data *cd = NULL;
cd = (struct chat_data*)map_id2bl(ssd->chatID);
clif_dispchat(cd, sd->fd);
add_timer(gettick()+500,refresh_timer,sd->bl.id,bl->id);
}

and before function: clif_charnameack

add

int refresh_timer(int tid, unsigned int tick, int id, intptr_t data)
{
struct map_session_data *sd = map_id2sd(id);
struct map_session_data *ssd = map_id2sd(data);
clif_clearunit_single(data,CLR_OUTSIGHT,sd->fd);
clif_getareachar_unit(sd,&ssd->bl);
return 0;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  379
  • Reputation:   304
  • Joined:  11/10/11
  • Last Seen:  

add from this command:

The client cache the character name to avoid spamming the network each time it hover a player.

So no, it will not be a good solution.

@Anakid

Nice idea :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  02/23/12
  • Last Seen:  

You can stop refresh after 2 seconds (after 4 refresh_timer), If mouse don't move.

And I think that the server will load only if 200 players (min) at the same time hover on player's with chat.

Edited by Racer
Link to comment
Share on other sites

  • 7 years later...

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.11
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

Sorry for bringing up this ancient post guys ..This still works in latest rA however, character gets frozen and cant move entirely after few seconds

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
Reply to this topic...

×   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...