ChaosCastle.dat
Chaos Castle event configuration: entry timing, schedule, per-tier experience reward tables, and per-tier coin rewards.
File Location#
Data/Event/ChaosCastle.dat
Loaded once at GameServer startup. Gated by Event.dat ChaosCastleEvent. Changes require a restart.
Event Summary#
Chaos Castle is a solo free-for-all arena with 7 tiers (0-6), each mapped to a dedicated instance map (maps 18-23 plus map 53 for tier 6). Tier eligibility is decided by configurable bracket bounds on level, reset, grand reset, and master reset. The vanilla brackets below apply when every ChaosCastleTier<N>... key in Event.dat is -1; setting any bound activates configured brackets for every tier and syncs them to the client (entry dialog and Armor of Guardsman tooltip).
Vanilla fallback brackets:
| Tier | DK / BK / ME / MU / SM / GM / ELF / MUSE / HE / SUM / BS Level | MG / DL / RF Level |
|---|---|---|
| 0 | 10 - 49 | 10 - 29 |
| 1 | 50 - 119 | 30 - 99 |
| 2 | 120 - 179 | 100 - 159 |
| 3 | 180 - 239 | 160 - 219 |
| 4 | 240 - 299 | 220 - 279 |
| 5 | 300 - MaxLevel | 280 - MaxLevel |
| 6 | Any character with 2nd or later Master (ChangeUp >= 2) | Any character with 2nd or later Master |
Entry requires the Armor of Guardsman ticket (item 13, 29). Chaos Castle entry is blocked for characters that are in a party, in a guild war, in a duel, running a personal shop, or mid class-change. It also blocks re-entry from any other event map. A per-tier entry fee (in zen) is charged on entry: 25000 / 80000 / 150000 / 250000 / 400000 / 650000 / 1000000 for tiers 0 through 6. Set ChaosCastleMasterAnyTier = 1 to let master characters pick any tier; set ChaosCastlePerIpCharCap to limit alt-stacking from one IP.
Monsters and other players are valid targets; the last fighter alive wins. Damage scaling inside the arena is controlled by ChaosCastleDamageRate in Character.dat.
Sections#
Sections are numbered 0-3 and terminated with end.
Section 0 - Timing#
0
//WarningTime NotifyTime EventTime CloseTime
5 1 10 4
end
| Column | Unit | Effect |
|---|---|---|
WarningTime | minutes | Pre-event entry window during which minute-countdowns are broadcast and tickets can be used |
NotifyTime | minutes | Short entry-open announcement window |
EventTime | minutes | Main round duration |
CloseTime | minutes | Post-event hold before survivors are teleported out and the instance is cleaned |
Section 1 - Schedule#
1
//Year Month Day DoW Hour Minute Second
* * * * 1 0 0
* * * * 3 0 0
...
end
The shipped template runs 12 times per day on odd hours (01:00, 03:00, 05:00, ..., 23:00).
| Column | Type | Meaning |
|---|---|---|
Year | int or * | 4-digit year |
Month | 1-12 or * | Month |
Day | 1-31 or * | Day of month |
DoW | 1-7 or * | Day of week (1 = Sunday, 7 = Saturday) |
Hour | 0-23 or * | Hour |
Minute | 0-59 or * | Minute |
Second | 0-59 or * | Second |
Section 2 - Experience Rewards#
Per-tier XP granted at event end.
2
//Level ExperienceTable1 ExperienceTable2
0 1000 500
1 1500 100
...
6 4000 3500
end
| Column | Effect |
|---|---|
Level | Chaos Castle tier (0-6) |
ExperienceTable1 | XP for the winner (the last fighter alive) |
ExperienceTable2 | XP for every other surviving participant |
The final granted XP is further multiplied by the account-level event-XP rate from Common.dat.
Section 3 - Coin Rewards#
3
//Level WC WP GP
0 0 0 0
...
6 0 0 0
end
Per-tier cash-coin reward paid at event end. Four columns: the tier number followed by WCoin (WC), WCoin-Premium (WP), Goblin Point (GP). All zero in the shipped template.
Cross-File Dependencies#
| Value | Related in |
|---|---|
| Enable flag | Event.dat ChaosCastleEvent |
| Minimum participants | Event.dat ChaosCastleMinUser |
| Knock-off rate | Event.dat ChaosCastleBlowUserRate |
| PK access toggle | Common.dat PkCanEnterCC |
| Damage scaling inside Chaos Castle | Character.dat ChaosCastleDamageRate |
| Instance map rules | MapManager.xml entries for maps 18-23 and 53 |
| Arena monster stats | Monster.xml |
| Completion reward bags | Event item bags 20-26 in EventItemBag |
Common Issues#
- Event never starts despite schedule -
ChaosCastleMinUser(Event.dat) requires more participants than joined. - Winners get no reward - all tiers in section 2 and 3 show zero; fill in the expected values.
- Damage feels off -
ChaosCastleDamageRatein Character.dat set to0or a very low percentage. - Players knocked off too often -
ChaosCastleBlowUserRateabove 50%; lower it. - Ticket holders cannot enter - they are in a party, in a guild war, in a duel, on an event map, or their zen balance is below the per-tier entry fee.