- Added "do_abort" function to the core. It is invoked when the server has received a Segmentation Fault or Floating Point Exception signal. Currently the only one that uses it is the map-server, which then attempts to save all online characters before aborting.
- Note that due to the current coding of the sig plugin, do_abort will not be invoked if you use it! This plugin needs to be updated... - Cleaned up a bit the change element code. val1 is the elemental level, val2 is the element now. - Hardcoded the element and elemental level of SC_CHANGEUNDEAD. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10089 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -3909,6 +3909,14 @@ void do_final(void) {
|
||||
|
||||
ShowInfo("ok! all done...\n");
|
||||
}
|
||||
|
||||
//------------------------------
|
||||
// Function called when the server
|
||||
// has received a crash signal.
|
||||
//------------------------------
|
||||
void do_abort(void) {
|
||||
}
|
||||
|
||||
#endif //TXT_SQL_CONVERT
|
||||
void sql_config_read(const char *cfgName){ /* Kalaspuff, to get login_db */
|
||||
char line[1024], w1[1024], w2[1024];
|
||||
|
||||
Reference in New Issue
Block a user