- Added printing out whenever the irc-module attempts to connect, to debug whether the map-server lag is due to this or not.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8537 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
499e88f059
commit
20bb25e81d
@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
|||||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
2006/08/29
|
2006/08/29
|
||||||
|
* Added printing out whenever the irc-module attempts to connect, to debug
|
||||||
|
whether the map-server lag is due to this or not. [Skotlex]
|
||||||
* Mobs will now always chase players using hard-path seeks. [Skotlex]
|
* Mobs will now always chase players using hard-path seeks. [Skotlex]
|
||||||
* monster_ai&1 now only signals whether mobs should update their target
|
* monster_ai&1 now only signals whether mobs should update their target
|
||||||
cell while chasing more frequently (rather than being state-driven like
|
cell while chasing more frequently (rather than being state-driven like
|
||||||
|
@ -48,10 +48,15 @@ int irc_connect_timer(int tid, unsigned int tick, int id, int data)
|
|||||||
{
|
{
|
||||||
if(irc_si && session[irc_si->fd])
|
if(irc_si && session[irc_si->fd])
|
||||||
return 0;
|
return 0;
|
||||||
|
//Ok, this ShowInfo and printf are a little ugly, but they are meant to
|
||||||
|
//debug just how long the code freezes here. [Skotlex]
|
||||||
|
ShowInfo("(IRC) Connecting to %s... ", irc_ip_str);
|
||||||
irc_fd = make_connection(irc_ip,irc_port);
|
irc_fd = make_connection(irc_ip,irc_port);
|
||||||
if(irc_fd > 0){
|
if(irc_fd > 0){
|
||||||
|
printf("ok\n");
|
||||||
session[irc_fd]->func_parse = irc_parse;
|
session[irc_fd]->func_parse = irc_parse;
|
||||||
}
|
} else
|
||||||
|
printf("failed\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user