Jump to content
  • 0

ask about dc_scream.txt on grf


Question

10 answers to this question

Recommended Posts

Posted

src\map\clif.c

	if( messagelen > CHAT_SIZE_MAX-1 )
{	// messages mustn't be too long
	// Normally you can only enter CHATBOX_SIZE-1 letters into the chat box, but Frost Joke / Dazzler's text can be longer.
	// Also, the physical size of strings that use multibyte encoding can go multiple times over the chatbox capacity.
	// Neither the official client nor server place any restriction on the length of the data in the packet,
	// but we'll only allow reasonably long strings here. This also makes sure that they fit into the `chatlog` table.
	ShowWarning("clif_process_message: Player '%s' sent a message too long ('%.*s')!\n", sd->status.name, CHAT_SIZE_MAX-1, message);
	return false;
}

quite impossible I think

I think the mechanic is ...

when a dancer scream it read a file from client\data\dc_scream.txt

and it just do the same as a player has just "talk"

anyone can change this file and her scream will just talk into the dialog the user modify

I remember there was an old bug report where a player modify this file, input a very very long line,

causing everyone around the bard/dancer doing frost-joke or scream to get gravity error

and it fixed ages ago by using CHAT_SIZE_MAX

since frost joke and scream is acted like *unittalk, its impossible to disable it from server side I guess

I tried to disable the file, or filled with empty lines

post-8685-0-04235600-1352893979_thumb.jpg

seems to be impossible

Posted (edited)

im working whit this hex on every server i play , works very good for me and never crashed due too this hex. this hex is pretty easy , you just telling the client that he don need to read the txt files

For Frostjoke search for

656E676C6973685C42415F66726F73746A6F6B652E747874

replace whit

000000000000000000000000000000000000000000000000

------------------------------------------------------------------------------------------------------
Search For

42415F66726F73746A6F6B652E747874

replace whit

00000000000000000000000000000000

For Scream

Search for

656E676C6973685C44435F73637265616D2E747874

replace

000000000000000000000000000000000000000000

--------------------------------------------------------------------------------------

search for

44435F73637265616D2E747874

replace whit

0000000000000000000000000000

Edited by ossi0110
  • Upvote 2

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