Jump to content
  • 0

(Yggberry) Message Delay Wrong


Radian

Question


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

Hi I am having this message while using yggberry it should be the delay message but instead this show up.

 

I'm using 2015-05-13 ragexe client

 

w3PeYqV.png

 

== Update ==

 

It was a client side problem with the msgstring

Tz7bwz1.png

 

Question : how can i put the item name?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

Try this...

db/pre-re/item_delay.txt or db/re/item_delay.txt

// SC_REUSE_LIMIT_F
607,5000,SC_REUSE_LIMIT_F	//Yggdrasil_Berry

change it to..

// SC_REUSE_LIMIT_F
607,5000    //Yggdrasil_Berry

becuase if you add the "SC_REUSE_LIMIT_F" it will read the msgstringtable.txt but if you remove that it will read map_msg.conf

also i tryed editing the msgstringtable.txt with adding '%s' or [%s] but as a result the client crashes upon using the item.

%d seconds left until you can use '%s'#
%d seconds left until you can use [%s]#
Edited by Lelouch vi Britannia
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

Can u upload your pc.c?

 

i think you have to edit the part 

uint8 pc_itemcd_add
if( e_tick > 99 )
					sprintf(e_msg,msg_txt(sd,379), // Item Failed. [%s] is cooling down. Wait %.1f minutes.
									itemdb_jname(sd->item_delay[i].nameid), (double)e_tick / 60);
				else
					sprintf(e_msg,msg_txt(sd,380), // Item Failed. [%s] is cooling down. Wait %d seconds.
									itemdb_jname(sd->item_delay[i].nameid), e_tick+1);
				clif_colormes(sd->fd,color_table[COLOR_YELLOW],e_msg);
				return 1; // Delay has not expired yet
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

 

Can u upload your pc.c?

 

i think you have to edit the part 

uint8 pc_itemcd_add
if( e_tick > 99 )
					sprintf(e_msg,msg_txt(sd,379), // Item Failed. [%s] is cooling down. Wait %.1f minutes.
									itemdb_jname(sd->item_delay[i].nameid), (double)e_tick / 60);
				else
					sprintf(e_msg,msg_txt(sd,380), // Item Failed. [%s] is cooling down. Wait %d seconds.
									itemdb_jname(sd->item_delay[i].nameid), e_tick+1);
				clif_colormes(sd->fd,color_table[COLOR_YELLOW],e_msg);
				return 1; // Delay has not expired yet

 

here's a part of my pc.c

					sprintf(e_msg,msg_txt(sd,379), // Item Failed. [%s] is cooling down. Wait %.1f minutes.
									itemdb_jname(sd->item_delay[i].nameid), (double)e_tick / 60);
				else
					sprintf(e_msg,msg_txt(sd,380), // Item Failed. [%s] is cooling down. Wait %d seconds.
									itemdb_jname(sd->item_delay[i].nameid), e_tick+1);
				clif_colormes(sd->fd,color_table[COLOR_YELLOW],e_msg);
				return 1; // Delay has not expired yet

 

Try this...

db/pre-re/item_delay.txt or db/re/item_delay.txt

// SC_REUSE_LIMIT_F
607,5000,SC_REUSE_LIMIT_F	//Yggdrasil_Berry

change it to..

// SC_REUSE_LIMIT_F
607,5000    //Yggdrasil_Berry

becuase if you add the "SC_REUSE_LIMIT_F" it will read the msgstringtable.txt but if you remove that it will read map_msg.conf

also i tryed editing the msgstringtable.txt with adding '%s' or [%s] but as a result the client crashes upon using the item.

%d seconds left until you can use '%s'#
%d seconds left until you can use [%s]#

 

Yes its true that it will crashed your client and let me check that one.. 

 

Update thanks Lelouch vi Britannia solved.

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