Jump to content
Sign in to follow this  
hemagx

Items Serial Number

Recommended Posts

Hello,

 

Why not Hercules implement items serial number it's really important for lot things and officail ( exist in Aegis ) ?

 

:3

Share this post


Link to post
Share on other sites

src/config/core.h

/// Uncomment to enable Non Stackable items unique ID
/// By enabling it, the system will create an unique id for each new non stackable item created
//#define NSI_UNIQUE_ID

Share this post


Link to post
Share on other sites

src/config/core.h

 

/// Uncomment to enable Non Stackable items unique ID

/// By enabling it, the system will create an unique id for each new non stackable item created

//#define NSI_UNIQUE_ID

 

if you check it's from rAthena and it status Started so seems like that code not totally finished + i think it's not give serial number for old items aleardy server have ?

 

 

If it's on official servers, it should be enabled by default in my opinion...

 

yea , and finished XD

 

^ I agree.

 

 

@ot

Why does that awesome feature disabled anyway?

 

maybe coz it status started not finished and this code from rA

Share this post


Link to post
Share on other sites

The implementation present in hercules doesn't match the official as Yommy, Beret and hemagx have demonstrated in previous occasions. For example the current implementation does so only to non-stackable items, officially there is the option to do so to stackable items e.g. potions (would create a new stack for the serialised ones) besides the ability to disable or enable the feature on specific items.

Share this post


Link to post
Share on other sites

When you add support for all items, could add the item log as the aegis.

 

 

CREATE TABLE [dbo].[itemLog](	[index] [int] IDENTITY(1,1) NOT NULL,	[Ver] [int] NULL,	[SID] [int] NULL,	[Action] [int] NULL,	[logtime] [datetime] NULL,	[ip] [varchar](20) NULL,	[eventx] [int] NULL,	[eventy] [int] NULL,	[srcAccountID] [int] NULL,	[srcAccountName] [varchar](24) NULL,	[srcCharID] [int] NULL,	[srcCharName] [varchar](24) NULL,	[srcJobType] [int] NULL,	[srcLevel] [int] NULL,	[desAccountID] [int] NULL,	[desAccountName] [varchar](24) NULL,	[desCharID] [int] NULL,	[desCharName] [varchar](24) NULL,	[Serialcode] [bigint] NULL,	[ItemName] [varchar](24) NULL,	[ItemID] [int] NULL,	[ItemCount] [int] NULL,	[MapName] [varchar](24) NULL,	[price] [int] NULL,	[slot1] [int] NULL,	[slot2] [int] NULL,	[slot3] [int] NULL,	[slot4] [int] NULL,	[refiningLevel] [int] NULL,	[AuctionID] [int] NULL,	[ItemBuyCash] [int] NULL,	[Zeny] [int] NULL,	[DestZeny] [int] NULL,	[ItemHireExpireDate] [datetime] NULL,	[bizType] [int] NULL,	[identity] [bigint] NOT NULL, CONSTRAINT [PK_itemLog] PRIMARY KEY CLUSTERED 

Share this post


Link to post
Share on other sites

 

When you add support for all items, could add the item log as the aegis.

 

 

CREATE TABLE [dbo].[itemLog](	[index] [int] IDENTITY(1,1) NOT NULL,	[Ver] [int] NULL,	[SID] [int] NULL,	[Action] [int] NULL,	[logtime] [datetime] NULL,	[ip] [varchar](20) NULL,	[eventx] [int] NULL,	[eventy] [int] NULL,	[srcAccountID] [int] NULL,	[srcAccountName] [varchar](24) NULL,	[srcCharID] [int] NULL,	[srcCharName] [varchar](24) NULL,	[srcJobType] [int] NULL,	[srcLevel] [int] NULL,	[desAccountID] [int] NULL,	[desAccountName] [varchar](24) NULL,	[desCharID] [int] NULL,	[desCharName] [varchar](24) NULL,	[Serialcode] [bigint] NULL,	[ItemName] [varchar](24) NULL,	[ItemID] [int] NULL,	[ItemCount] [int] NULL,	[MapName] [varchar](24) NULL,	[price] [int] NULL,	[slot1] [int] NULL,	[slot2] [int] NULL,	[slot3] [int] NULL,	[slot4] [int] NULL,	[refiningLevel] [int] NULL,	[AuctionID] [int] NULL,	[ItemBuyCash] [int] NULL,	[Zeny] [int] NULL,	[DestZeny] [int] NULL,	[ItemHireExpireDate] [datetime] NULL,	[bizType] [int] NULL,	[identity] [bigint] NOT NULL, CONSTRAINT [PK_itemLog] PRIMARY KEY CLUSTERED 

 

+1

it's more useful than Hercules one.

Share this post


Link to post
Share on other sites

 

When you add support for all items, could add the item log as the aegis.

 

 

CREATE TABLE [dbo].[itemLog](	[index] [int] IDENTITY(1,1) NOT NULL,	[Ver] [int] NULL,	[SID] [int] NULL,	[Action] [int] NULL,	[logtime] [datetime] NULL,	[ip] [varchar](20) NULL,	[eventx] [int] NULL,	[eventy] [int] NULL,	[srcAccountID] [int] NULL,	[srcAccountName] [varchar](24) NULL,	[srcCharID] [int] NULL,	[srcCharName] [varchar](24) NULL,	[srcJobType] [int] NULL,	[srcLevel] [int] NULL,	[desAccountID] [int] NULL,	[desAccountName] [varchar](24) NULL,	[desCharID] [int] NULL,	[desCharName] [varchar](24) NULL,	[Serialcode] [bigint] NULL,	[ItemName] [varchar](24) NULL,	[ItemID] [int] NULL,	[ItemCount] [int] NULL,	[MapName] [varchar](24) NULL,	[price] [int] NULL,	[slot1] [int] NULL,	[slot2] [int] NULL,	[slot3] [int] NULL,	[slot4] [int] NULL,	[refiningLevel] [int] NULL,	[AuctionID] [int] NULL,	[ItemBuyCash] [int] NULL,	[Zeny] [int] NULL,	[DestZeny] [int] NULL,	[ItemHireExpireDate] [datetime] NULL,	[bizType] [int] NULL,	[identity] [bigint] NOT NULL, CONSTRAINT [PK_itemLog] PRIMARY KEY CLUSTERED 

+1!!!!!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.