Jump to content
  • 0

announce not displayed on chat


Kurofly

Question


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   31
  • Joined:  07/08/14
  • Last Seen:  

Hi there.

 

I'd like to be able to display an announce that can't be seen in the chat, the same way the hunting quests work (when you kill a monster in a hunting quest you see the amount you've killed on your screen but not in the chat, that allows you to display informations without flooding the chat, which I find quite nice that's the reason I'm looking for this).

 

I've already looked at this part of the clif.c :

/// Notification of an update to the hunting mission counter (ZC_UPDATE_MISSION_HUNT).
/// 02b5 <packet len>.W <mobs>.W { <quest id>.L <mob id>.L <total count>.W <current count>.W }*3
void clif_quest_update_objective(struct map_session_data * sd, struct quest * qd)
{
	int fd = sd->fd;
	int i;
	struct quest_db *qi = quest_search(qd->quest_id);
	int len = qi->num_objectives * 12 + 6;

	WFIFOHEAD(fd, len);
	WFIFOW(fd, 0) = 0x2b5;
	WFIFOW(fd, 2) = len;
	WFIFOW(fd, 4) = qi->num_objectives;

	for( i = 0; i < qi->num_objectives; i++ ) {
		WFIFOL(fd, i*12+6) = qd->quest_id;
		WFIFOL(fd, i*12+10) = qi->mob[i];
		WFIFOW(fd, i*12+14) = qi->count[i];
		WFIFOW(fd, i*12+16) = qd->count[i];
	}

	WFIFOSET(fd, len);
}

but I don't get anything about how the client manages to diplay messages  :lol:

 

That'd be nice to have a script command for this, that'd allow me not to use the official quest system anymore (I'm not a big fan of the official quest system because you can't make nice quests apart from 'go kill those monsters, I love blood!' which is a bit restrained ^^).

 

Thanks for reading and for your support.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  387
  • Reputation:   60
  • Joined:  10/08/13
  • Last Seen:  

use 

showscript

perhaps?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   31
  • Joined:  07/08/14
  • Last Seen:  

Thanks that seems to be what I'm looking for. I'll give it a try later on.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   11
  • Joined:  12/06/11
  • Last Seen:  

Showscript is just same with npctalk, however what he wants to achieved is when announce not displaying ln the screen only in the chat box this one requires source code.

Your same witht this guy what he looking for.

https://rathena.org/board/topic/105601-help-announce-edits/#entry301085

Edited by Keysito
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  387
  • Reputation:   60
  • Joined:  10/08/13
  • Last Seen:  

Showscript is just same with npctalk, however what he wants to achieved is when announce not displaying ln the screen only in the chat box this one requires source code.

Your same witht this guy what he looking for.

https://rathena.org/board/topic/105601-help-announce-edits/#entry301085

 

 

As i understand.

 

 

I'd like to be able to display an announce that can't be seen in the chat, the same way the hunting quests work (when you kill a monster in a hunting quest you see the amount you've killed on your screen but not in the chat, that allows you to display informations without flooding the chat, which I find quite nice that's the reason I'm looking for this). 
Edited by Elsa Mist
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   31
  • Joined:  07/08/14
  • Last Seen:  

Yes I"m willing to display a message on the screen and not in the chat, sorry if I didn't make myself clear.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  11/28/17
  • Last Seen:  

sorry for bumping old post, but has anyone solved this?

image.png.1ecb872d79e9361bc05db6c5057ae53b.png

the server im playing also has this problem where the chat box is flooded with PVP room and Welcome message that cant be hide.
GMs also dont know how to solve this atm, i hope someone can give some help. thanks.
 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.01
  • Content Count:  38
  • Reputation:   0
  • Joined:  11/22/16
  • Last Seen:  

On 10/11/2018 at 10:33 PM, satosoujirou said:

sorry for bumping old post, but has anyone solved this?

image.png.1ecb872d79e9361bc05db6c5057ae53b.png

the server im playing also has this problem where the chat box is flooded with PVP room and Welcome message that cant be hide.
GMs also dont know how to solve this atm, i hope someone can give some help. thanks.
 

Have you already fix this problem?

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