Jump to content
  • 0

announce not displayed on chat


Question

Posted

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.

7 answers to this question

Recommended Posts

  • 0
Posted (edited)

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
  • 0
Posted

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.
 

  • 0
Posted
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?

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