Skip to main content

📚 DAILY REWARD SYSTEM

Quick Description​

The Daily Reward System gives players automatic rewards for logging in each day! Players receive progressively better rewards over 38 consecutive days, with different reward tiers based on Account Level (AL0-AL3). Supports items, WCoins, and custom rewards.


How it works​

  • Players automatically receive rewards upon daily login
  • 38 days of consecutive rewards (over 1 month)
  • Each day has a different reward (items, coins, etc.)
  • Account Level determines reward quality (AL0 = Free, AL3 = VIP)
  • The sequence is maintained and the player will not lose the reward.
  • Visual calendar shows all upcoming rewards
  • Customizable rewards with full item properties

Main features​

  • 38-day reward cycle - full month+ of daily incentives
  • Account Level tiers - AL0 (Free), AL1 (VIP), AL2 (VIP 2), AL3 (VIP 3)
  • Item rewards - Weapons, armor, jewels with full customization
  • Currency rewards - WCoinC, WCoinP, GoblinPoint, Ruud
  • Visual display - Client shows item preview with scale adjustment
  • Streak tracking - Encourages consecutive logins
  • Flexible configuration - Easy to customize all 38 days or more

Reward structure​

Each day can reward:

  • Items - Any game item with full properties
  • Currencies - WCoinC, WCoinP, GoblinPoint, Ruud
  • Multiple items - Give several items in one day

Quick config (DailyRewardConfig.lua)​

Config = {
Switch = true, -- Enable/disable system

-- Reward tables by Account Level
RewardDays = {
[0] = BaseTableFree, -- AL0 (Free accounts)
[1] = BaseTableFree, -- AL1 (VIP tier 1)
[2] = BaseTableFree, -- AL2 (VIP tier 2)
[3] = BaseTableFree, -- AL3 (VIP tier 3)
}
}

-- Example reward structure (38 days)
BaseTableFree = {
-- Day 1: Item reward
[1] = {
SendInfo = {
ToolTip = "Empty", -- Tooltip text
Info = "Dragon Armor", -- Display name
Value = 1, -- Quantity shown
Index = 8*512+1, -- Item index (Section*512+ID)
Level = 0, -- Item level
Skill = 0, -- Skill option
Luck = 0, -- Luck option
Option = 0, -- Additional option
Exc = 0, -- Excellent options
Anc = 0, -- Ancient option
Socket1 = 255, -- Socket 1 (255 = empty)
Socket2 = 255, -- Socket 2
Socket3 = 255, -- Socket 3
Socket4 = 255, -- Socket 4
Socket5 = 255, -- Socket 5
SocketBonus = 0, -- Socket bonus
ItemScale = "0.7" -- Visual scale (client display)
},
Reward = {
ItemGive = {
{Section = 8, ID = 1}, -- Dragon Armor
},
},
},

-- Day 7: Currency reward
[7] = {
SendInfo = {
ToolTip = "Empty",
Info = "500 WCoin",
Value = 1,
Index = -1, -- -1 = No item preview
Level = 0, Skill = 0, Luck = 0, Option = 0, Exc = 0, Anc = 0,
Socket1 = 255, Socket2 = 255, Socket3 = 255, Socket4 = 255, Socket5 = 255,
SocketBonus = 0,
ItemScale = "0.7"
},
Reward = {
WCoinC = 500, -- 500 WCoin C
},
},
}

Reward types explained​

1. Item rewards​

[1] = {
SendInfo = {
Info = "Dragon Armor +9 +Luck +Opt",
Index = 8*512+1, -- Dragon Armor (Section 8, ID 1)
Level = 9, -- +9 item
Skill = 1, -- With skill
Luck = 1, -- With luck
Option = 4, -- +16 additional option
Exc = 63, -- All 6 excellent options
Anc = 5, -- Ancient level 5
Socket1 = 38, -- Fire socket
Socket2 = 39, -- Water socket
Socket3 = 40, -- Ice socket
Socket4 = 41, -- Wind socket
Socket5 = 42, -- Lightning socket
SocketBonus = 255, -- Max socket bonus
ItemScale = "1.0" -- Normal size
},
Reward = {
ItemGive = {
{Section = 8, ID = 1, Level = 9, Skill = 1, Luck = 1, Option = 4, Exc = 63}
}
}
}

2. Currency rewards​

[7] = {
SendInfo = {
Info = "1000 WCoin + 500 GoblinPoint",
Index = -1, -- No item preview
ItemScale = "0.7"
},
Reward = {
WCoinC = 1000, -- WCoin C
WCoinP = 500, -- WCoin P
GoblinPoint = 250, -- Goblin Points
Ruud = 50000 -- Ruud
}
}

3. Multiple items​

[10] = {
SendInfo = {
Info = "Jewel Package",
Index = 14*512+13, -- Show Bless icon
ItemScale = "0.8"
},
Reward = {
ItemGive = {
{Section = 14, ID = 13, Durability = 10}, -- 10 Bless
{Section = 14, ID = 14, Durability = 10}, -- 10 Soul
{Section = 12, ID = 15, Durability = 5}, -- 5 Chaos
{Section = 14, ID = 16, Durability = 3}, -- 3 Life
}
}
}

Item Index calculation​

Index = Section * 512 + ID

-- Examples:
-- Dragon Armor (Section 8, ID 1)
Index = 8 * 512 + 1 = 4097

-- Bless (Section 14, ID 13)
Index = 14 * 512 + 13 = 7181

-- Jewel of Chaos (Section 12, ID 15)
Index = 12 * 512 + 15 = 6159

-- Sword of Destruction (Section 0, ID 25)
Index = 0 * 512 + 25 = 25

Quick reference:

  • Section 0 = Swords
  • Section 2 = Axes
  • Section 4 = Maces/Scepters
  • Section 5 = Bows/Crossbows
  • Section 6 = Staffs
  • Section 7 = Shields
  • Section 8 = Armors
  • Section 9 = Pants
  • Section 10 = Gloves
  • Section 11 = Boots
  • Section 12 = Wings/Jewels/Misc
  • Section 13 = Pets/Rings
  • Section 14 = Jewels/Potions
  • etc

Excellent options (Exc)​

Excellent options are stored as binary flags:

Exc = 1   -- Option 1 only (Mana +8)
Exc = 2 -- Option 2 only (HP +8)
Exc = 3 -- Options 1+2 (Mana +8, HP +8)
Exc = 4 -- Option 3 only
Exc = 7 -- Options 1+2+3
Exc = 15 -- Options 1+2+3+4
Exc = 31 -- Options 1+2+3+4+5
Exc = 63 -- All 6 excellent options

Common combinations:

Exc = 0   -- No excellent options
Exc = 63 -- Full excellent (all 6)
Exc = 31 -- 5 options
Exc = 15 -- 4 options

Example reward schedules​

Conservative rewards (free-to-play friendly)​

[1] = {Info = "10 Bless", Reward = {ItemGive = {{Section = 14, ID = 13, Durability = 10}}}},
[2] = {Info = "10 Soul", Reward = {ItemGive = {{Section = 14, ID = 14, Durability = 10}}}},
[3] = {Info = "5 Chaos", Reward = {ItemGive = {{Section = 12, ID = 15, Durability = 5}}}},
[7] = {Info = "100 WCoin", Reward = {WCoinC = 100}},
[14] = {Info = "Dragon Set +0", Reward = {ItemGive = {{Section = 8, ID = 1}}}},
[30] = {Info = "500 WCoin", Reward = {WCoinC = 500}},
[38] = {Info = "Dragon Set +9", Reward = {ItemGive = {{Section = 8, ID = 1, Level = 9, Exc = 63}}}},

Generous rewards (high rate server)​

[1] = {Info = "50 Bless", Reward = {ItemGive = {{Section = 14, ID = 13, Durability = 50}}}},
[7] = {Info = "1000 WCoin", Reward = {WCoinC = 1000}},
[14] = {Info = "Dragon Set +11 Full Exc", Reward = {ItemGive = {{Section = 8, ID = 1, Level = 11, Exc = 63}}}},
[30] = {Info = "5000 WCoin", Reward = {WCoinC = 5000}},
[38] = {Info = "Ancient Set + Wings", Reward = {ItemGive = {
{Section = 8, ID = 1, Level = 13, Exc = 63, Anc = 5},
{Section = 12, ID = 3, Level = 13} -- Wings of Elf +13
}}},

Progressive rewards (gradual improvement)​

-- Week 1 (Days 1-7): Basic jewels
[1] = {Info = "5 Bless", Reward = {ItemGive = {{Section = 14, ID = 13, Durability = 5}}}},
[7] = {Info = "50 WCoin", Reward = {WCoinC = 50}},

-- Week 2 (Days 8-14): Better jewels + items
[8] = {Info = "10 Bless", Reward = {ItemGive = {{Section = 14, ID = 13, Durability = 10}}}},
[14] = {Info = "Dragon Set +6", Reward = {ItemGive = {{Section = 8, ID = 1, Level = 6}}}},

-- Week 3 (Days 15-21): Excellent items
[15] = {Info = "20 Soul", Reward = {ItemGive = {{Section = 14, ID = 14, Durability = 20}}}},
[21] = {Info = "Dragon Set +9 Exc", Reward = {ItemGive = {{Section = 8, ID = 1, Level = 9, Exc = 31}}}},

-- Week 4+ (Days 22-38): Premium rewards
[30] = {Info = "500 WCoin", Reward = {WCoinC = 500}},
[38] = {Info = "Ancient Set + 1000 WCoin", Reward = {
ItemGive = {{Section = 8, ID = 1, Level = 11, Exc = 63, Anc = 5}},
WCoinC = 1000
}},

Account Level differentiation​

Create different rewards for each account level:

-- Free players (AL0)
local BaseTableFree = {
[1] = {Info = "5 Bless", Reward = {ItemGive = {{Section = 14, ID = 13, Durability = 5}}}},
[38] = {Info = "Dragon Set +6", Reward = {ItemGive = {{Section = 8, ID = 1, Level = 6}}}},
}

-- VIP tier 1 (AL1)
local BaseTableVIP1 = {
[1] = {Info = "10 Bless", Reward = {ItemGive = {{Section = 14, ID = 13, Durability = 10}}}},
[38] = {Info = "Dragon Set +9", Reward = {ItemGive = {{Section = 8, ID = 1, Level = 9, Exc = 31}}}},
}

-- VIP tier 2 (AL2)
local BaseTableVIP2 = {
[1] = {Info = "20 Bless", Reward = {ItemGive = {{Section = 14, ID = 13, Durability = 20}}}},
[38] = {Info = "Dragon Set +11", Reward = {ItemGive = {{Section = 8, ID = 1, Level = 11, Exc = 63}}}},
}

-- VIP tier 3 (AL3)
local BaseTableVIP3 = {
[1] = {Info = "50 Bless", Reward = {ItemGive = {{Section = 14, ID = 13, Durability = 50}}}},
[38] = {Info = "Ancient Set +13", Reward = {ItemGive = {{Section = 8, ID = 1, Level = 13, Exc = 63, Anc = 5}}}},
}

Config = {
Switch = true,
RewardDays = {
[0] = BaseTableFree,
[1] = BaseTableVIP1,
[2] = BaseTableVIP2,
[3] = BaseTableVIP3,
}
}

Visual display settings​

ItemScale parameter​

Controls how large the item appears in the client UI:

ItemScale = "0.5"  -- Small (50%)
ItemScale = "0.7" -- Default (70%)
ItemScale = "1.0" -- Normal (100%)
ItemScale = "1.5" -- Large (150%)
ItemScale = "2.0" -- Extra large (200%)

Recommendations:

  • Jewels/small items: "0.7" or "0.8"
  • Weapons: "1.0" or "1.2"
  • Armor sets: "0.7" or "0.8"
  • Wings: "1.5" or "2.0"

ToolTip parameter​

ToolTip = "Empty"                    -- No tooltip
ToolTip = "Login reward for Day 1" -- Custom tooltip
ToolTip = "VIP exclusive reward!" -- Special message

Common item configurations​

Jewels​

-- Bless
{Section = 14, ID = 13, Durability = 10} -- 10 Bless

-- Soul
{Section = 14, ID = 14, Durability = 10} -- 10 Soul

-- Chaos
{Section = 12, ID = 15, Durability = 5} -- 5 Chaos

-- Life
{Section = 14, ID = 16, Durability = 3} -- 3 Life

-- Creation
{Section = 14, ID = 22, Durability = 1} -- 1 Creation

Armor sets​

-- Dragon Set
{Section = 8, ID = 1, Level = 9, Exc = 63} -- Armor
{Section = 9, ID = 1, Level = 9, Exc = 63} -- Pants
{Section = 10, ID = 1, Level = 9, Exc = 63} -- Gloves
{Section = 11, ID = 1, Level = 9, Exc = 63} -- Boots
{Section = 7, ID = 1, Level = 9, Exc = 63} -- Helm

Wings​

-- Wings of Elf
{Section = 12, ID = 3, Level = 13}

-- Wings of Heaven
{Section = 12, ID = 4, Level = 13}

-- Wings of Satan
{Section = 12, ID = 5, Level = 13}

Weapons​

-- Sword of Destruction
{Section = 0, ID = 25, Level = 13, Skill = 1, Luck = 1, Option = 7, Exc = 63}

-- Great Reign of Kundun
{Section = 0, ID = 26, Level = 13, Skill = 1, Luck = 1, Option = 7, Exc = 63}

Example full 38-day calendar​

BaseTableFree = {
-- Week 1
[1] = {Info = "5 Bless", Reward = {ItemGive = {{Section = 14, ID = 13, Durability = 5}}}},
[2] = {Info = "5 Soul", Reward = {ItemGive = {{Section = 14, ID = 14, Durability = 5}}}},
[3] = {Info = "3 Chaos", Reward = {ItemGive = {{Section = 12, ID = 15, Durability = 3}}}},
[4] = {Info = "50 WCoin", Reward = {WCoinC = 50}},
[5] = {Info = "10 Bless", Reward = {ItemGive = {{Section = 14, ID = 13, Durability = 10}}}},
[6] = {Info = "100 WCoin", Reward = {WCoinC = 100}},
[7] = {Info = "Dragon Armor", Reward = {ItemGive = {{Section = 8, ID = 1}}}},

-- Week 2
[8] = {Info = "10 Soul", Reward = {ItemGive = {{Section = 14, ID = 14, Durability = 10}}}},
[9] = {Info = "5 Chaos", Reward = {ItemGive = {{Section = 12, ID = 15, Durability = 5}}}},
[10] = {Info = "150 WCoin", Reward = {WCoinC = 150}},
[11] = {Info = "Dragon Pants", Reward = {ItemGive = {{Section = 9, ID = 1}}}},
[12] = {Info = "15 Bless", Reward = {ItemGive = {{Section = 14, ID = 13, Durability = 15}}}},
[13] = {Info = "200 WCoin", Reward = {WCoinC = 200}},
[14] = {Info = "Dragon Set", Reward = {ItemGive = {
{Section = 8, ID = 1},
{Section = 9, ID = 1},
{Section = 10, ID = 1},
{Section = 11, ID = 1}
}}},

-- Week 3
[15] = {Info = "20 Soul", Reward = {ItemGive = {{Section = 14, ID = 14, Durability = 20}}}},
[16] = {Info = "10 Chaos", Reward = {ItemGive = {{Section = 12, ID = 15, Durability = 10}}}},
[17] = {Info = "2 Life", Reward = {ItemGive = {{Section = 14, ID = 16, Durability = 2}}}},
[18] = {Info = "300 WCoin", Reward = {WCoinC = 300}},
[19] = {Info = "Dragon Armor +6", Reward = {ItemGive = {{Section = 8, ID = 1, Level = 6}}}},
[20] = {Info = "400 WCoin", Reward = {WCoinC = 400}},
[21] = {Info = "Dragon Set +6", Reward = {ItemGive = {
{Section = 8, ID = 1, Level = 6},
{Section = 9, ID = 1, Level = 6}
}}},

-- Continue to day 38...
[38] = {Info = "GRAND PRIZE: Ancient Dragon Set +11", Reward = {
ItemGive = {
{Section = 8, ID = 1, Level = 11, Exc = 63, Anc = 5},
{Section = 9, ID = 1, Level = 11, Exc = 63, Anc = 5}
},
WCoinC = 5000
}},
}

Advanced features​

Streak reset behavior​

  • Miss any day = streak resets to Day 1
  • Must login consecutively for 38 days to reach final reward
  • Encourages daily engagement

Multiple reward types​

[38] = {
Info = "Ultimate Package",
Reward = {
ItemGive = {
{Section = 8, ID = 1, Level = 13, Exc = 63, Anc = 5}, -- Ancient armor
{Section = 12, ID = 3, Level = 13}, -- Wings
},
WCoinC = 5000, -- + 5000 WCoin C
WCoinP = 2500, -- + 2500 WCoin P
GoblinPoint = 1000, -- + 1000 Goblin Points
Ruud = 100000 -- + 100,000 Ruud
}
}

Custom item properties​

-- Full customization example
{Section = 0, ID = 25, Level = 13, Skill = 1, Luck = 1, Option = 7, Exc = 63, Anc = 5,
Socket1 = 38, Socket2 = 39, Socket3 = 40, Socket4 = 41, Socket5 = 42, SocketBonus = 255}

See DailyRewardConfig.lua for all 38 days and complete configuration examples.