Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

Inter Server Core Routines.
[Inter Server Routines.]


Functions

void inter_init (const char *file)
 Initializes the server.
 TIMER_FUNC (check_ttl_wisdata)
 Delete elapsed wisps (with no answer).
void inter_save ()
 Commits save file writing.
int inter_parse_frommap (int fd)
 The packet parser for packets from Map Servers.
void inter_mapif_init (int fd)
 Resets variables.
void mapif_parse_AccRegRequest (int fd, int account_id)
void inter_log (char *fmt,...)
 Logging function.
void send_alone_map_server_flag ()
 Sends flag 'map_is_alone' to all map-servers.

Variables

short party_share_level
 Max level difference for exp share.
short guild_extension_bonus
 Extra member space for every level of extension.

Function Documentation

void inter_init const char *  file  ) 
 

Initializes the server.

This will load configuration, initialize SQL connections, and loads database.

Parameters:
file Inter Server config file.

void inter_mapif_init int  fd  ) 
 

Resets variables.

This is used to reset guild castles.

See also:
inter_guild_mapif_init()

int inter_parse_frommap int  fd  ) 
 

The packet parser for packets from Map Servers.

Parameters:
fd The socket.
Returns:
0: unknown packet, 1: packet processed, 2: need more packet.

void inter_save  ) 
 

Commits save file writing.

This is only used when saving to plaintexts (TXT mode).

TIMER_FUNC check_ttl_wisdata   ) 
 

Delete elapsed wisps (with no answer).

Called periodically, hooked on init.


Generated on Fri Apr 28 10:20:06 2006 for OpenAthena by  doxygen 1.4.4