chowking Posted December 3, 2013 Share Posted December 3, 2013 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... Quote Link to comment Share on other sites More sharing options...
1 Lilith Posted December 4, 2013 Share Posted December 4, 2013 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 2 1 Quote Link to comment Share on other sites More sharing options...
Norse Posted December 4, 2013 Share Posted December 4, 2013 True,it doesn't work Quote Link to comment Share on other sites More sharing options...
Norse Posted December 5, 2013 Share Posted December 5, 2013 Thanks Quote Link to comment Share on other sites More sharing options...
chowking Posted December 8, 2013 Author Share Posted December 8, 2013 Thank you Lilith, Quote Link to comment Share on other sites More sharing options...
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
Also included in: conf/msg_conf/import/map_msg_eng_conf.txt
Error in Map server:
Link to comment
Share on other sites