- Updated the login/char sql servers to let the sql tables autogenerate the new id, and then retrieve said id using mysql_insert_id rather than playing smart and loading the next insert ID on startup.
- Tables affected are: account creation, char creation, party creation, pet creation and guild creation. - Also corrected some functions to be of type (void) rather than () git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5298 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
#define _INTER_H_
|
||||
|
||||
int inter_init(const char *file);
|
||||
void inter_final();
|
||||
void inter_final(void);
|
||||
int inter_parse_frommap(int fd);
|
||||
int inter_mapif_init(int fd);
|
||||
int mapif_send_gmaccounts();
|
||||
int mapif_send_gmaccounts(void);
|
||||
void mapif_send_maxid(int, int);
|
||||
int mapif_disconnectplayer(int fd, int account_id, int char_id, int reason);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user