Jump to content
  • 0

Input at msg_conf doesn't work on langtype 0


chowking

Question


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

modified @warp command to show the actual time remaining on when they can use the command after hitting / getting hit, but when using the @warp/@go command after hitting / getting hit, map server displays error,

 

In: src/map/atcommand.c

if( !pc_get_group_level(sd) && DIFF_TICK(gettick(),sd->warpgodelay_tick) < 10000 ) {	
	sprintf(atcmd_output, msg_txt(sd,2000), sd->warpgodelay_tick);
	clif_displaymessage(fd,atcmd_output);
	return -1;
}

In: conf/msg_conf/map_msg.conf

2000: Cannot use @go for %s seconds.
2001: Cannot use @warp for %s seconds.

Also included in: conf/msg_conf/import/map_msg_eng_conf.txt

2000: Cannot use @go for %s seconds.
2001: Cannot use @warp for %s seconds.

Error in Map server:

[Debug]: Message #2000 not found for langtype 0.
[Debug]: Selected langtype 0 not loaded, trying fallback...
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

Because max count of messages in map-server is 1500.

src/map/map.c

#define MAP_MAX_MSG 1500

Just increase this define if u need

  • Upvote 2
  • MVP 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   0
  • Joined:  11/30/12
  • Last Seen:  

True,it doesn't work

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   0
  • Joined:  11/30/12
  • Last Seen:  

Thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

Thank you Lilith,

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