Removed remaining unks

This commit is contained in:
stratic-dev
2024-05-08 20:28:09 +01:00
parent 2c4675ef66
commit aaf2af6d1d
3 changed files with 2 additions and 30 deletions

View File

@@ -3490,8 +3490,6 @@ INSERT INTO
item_type, item_type,
item_amount, item_amount,
item_no, item_no,
unk1,
unk2,
deadline deadline
) )
VALUES VALUES
@@ -3501,8 +3499,6 @@ VALUES
9, 9,
0, 0,
40218, 40218,
0,
0,
NOW() + INTERVAL '24 hours' NOW() + INTERVAL '24 hours'
), ),
( (
@@ -3511,8 +3507,6 @@ VALUES
9, 9,
0, 0,
40201, 40201,
0,
0,
NOW() + INTERVAL '24 hours' NOW() + INTERVAL '24 hours'
), ),
( (
@@ -3521,8 +3515,6 @@ VALUES
9, 9,
0, 0,
40174, 40174,
0,
0,
NOW() + INTERVAL '24 hours' NOW() + INTERVAL '24 hours'
), ),
( (
@@ -3531,8 +3523,6 @@ VALUES
9, 9,
0, 0,
40173, 40173,
0,
0,
NOW() + INTERVAL '24 hours' NOW() + INTERVAL '24 hours'
), ),
( (
@@ -3541,8 +3531,6 @@ VALUES
9, 9,
0, 0,
40161, 40161,
0,
0,
NOW() + INTERVAL '24 hours' NOW() + INTERVAL '24 hours'
), ),
( (
@@ -3551,8 +3539,6 @@ VALUES
9, 9,
0, 0,
40143, 40143,
0,
0,
NOW() + INTERVAL '24 hours' NOW() + INTERVAL '24 hours'
), ),
( (
@@ -3561,8 +3547,6 @@ VALUES
9, 9,
0, 0,
40141, 40141,
0,
0,
NOW() + INTERVAL '24 hours' NOW() + INTERVAL '24 hours'
), ),
( (
@@ -3571,8 +3555,6 @@ VALUES
9, 9,
0, 0,
40081, 40081,
0,
0,
NOW() + INTERVAL '24 hours' NOW() + INTERVAL '24 hours'
), ),
( (
@@ -3581,8 +3563,6 @@ VALUES
9, 9,
0, 0,
40080, 40080,
0,
0,
NOW() + INTERVAL '24 hours' NOW() + INTERVAL '24 hours'
), ),
( (
@@ -3591,8 +3571,6 @@ VALUES
9, 9,
0, 0,
40079, 40079,
0,
0,
NOW() + INTERVAL '24 hours' NOW() + INTERVAL '24 hours'
), ),
( (
@@ -3601,8 +3579,6 @@ VALUES
7, 7,
110, 110,
1859, 1859,
0,
0,
NOW() + INTERVAL '24 hours' NOW() + INTERVAL '24 hours'
), ),
( (
@@ -3611,8 +3587,6 @@ VALUES
8, 8,
1, 1,
96, 96,
0,
0,
NOW() + INTERVAL '24 hours' NOW() + INTERVAL '24 hours'
); );

View File

@@ -44,8 +44,6 @@ CREATE TABLE IF NOT EXISTS public.campaign_entries (
item_type INTEGER, item_type INTEGER,
item_amount INTEGER, item_amount INTEGER,
item_no INTEGER, item_no INTEGER,
unk1 INTEGER,
unk2 INTEGER,
deadline TIMESTAMP WITH TIME ZONE deadline TIMESTAMP WITH TIME ZONE
); );

View File

@@ -241,8 +241,8 @@ func handleMsgMhfEnumerateItem(s *Session, p mhfpacket.MHFPacket) {
bf.WriteUint8(item.ItemType) bf.WriteUint8(item.ItemType)
bf.WriteUint16(item.Amount) bf.WriteUint16(item.Amount)
bf.WriteUint16(item.ItemNo) //HACK:placed quest id in this field to fit with Item No pattern. however it could be another field... possibly the other unks. bf.WriteUint16(item.ItemNo) //HACK:placed quest id in this field to fit with Item No pattern. however it could be another field... possibly the other unks.
bf.WriteUint16(item.Unk4) bf.WriteUint16(0) //Unk4
bf.WriteUint32(item.Unk5) bf.WriteUint32(0) //Unk5
bf.WriteUint32(uint32(item.DeadLine.Unix())) bf.WriteUint32(uint32(item.DeadLine.Unix()))
} }
if len(items) == 0 { if len(items) == 0 {