From dd49dbc3e8d2033c0dddc80f1d5b3c8e6710a419 Mon Sep 17 00:00:00 2001 From: Ibrahim Hossam Date: Tue, 8 Apr 2014 20:40:12 +0200 Subject: Rewritten NSI_UNIQUE_ID system to get rid of the cross-database interreg dependency - Removes the need for map-server to access the interreg table to store the last used ID. - Login, char and map databases can now be hosted separately. - Note: the unique_id structure has changed, and it now contains the generator character ID in its upper 32 bits. - Now NSI_UNIQUE_ID System is enabled always Special thanks to Haruna. --- src/common/mmo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/mmo.h') diff --git a/src/common/mmo.h b/src/common/mmo.h index 019472acb..0dd8d0f09 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -435,6 +435,8 @@ struct mmo_charstatus { unsigned short mod_exp,mod_drop,mod_death; unsigned char font; + + uint32 uniqueitem_counter; }; typedef enum mail_status { -- cgit v1.2.3-60-g2f50