Jump to content

Recommended Posts

Posted

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.

  • 1 month later...
Posted

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;
}
Posted

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

Posted (edited)

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
  • 7 years later...
Posted

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

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.

  • Recently Browsing   0 members

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