Skip to main content
The Chaotic Squares feature provides an equipment crafting and enhancement system with configurable success rates. Players can use fortune money and crafting hammers to improve their chances of successful enhancement.

Overview

Chaotic Squares allows players to:
  • Craft and enhance equipment using chaotic squares
  • Increase success rates with fortune money
  • Use crafting hammers for additional success bonuses
  • Configure enhancement parameters via INI file
The library expects ChaoticSquare.ini to be in the PSM_Client/Bin/Data directory.

Configuration

File Location

Configuration File Path
PSM_Client/Bin/Data/ChaoticSquare.ini
1

Create Configuration File

Create or edit ChaoticSquare.ini with your desired enhancement settings.
2

Configure Success Rates

Set base success rates and modifiers for different enhancement levels.
3

Place Configuration File

Place the file in PSM_Client/Bin/Data/ChaoticSquare.ini on the server.
4

Restart Server

Restart the game service to load the new configuration.

Fortune Money

Fortune Money is a currency that can be used to increase the success rate of chaotic square enhancements.

Default Configuration

Default Value
number
100,000,000 (100 million)
Requirements
constraints
  • Value must be nonzero
  • Value must be evenly divisible by 100

Success Rate Calculation

The fortune money contribution to success rate is calculated as follows:
Fortune Money Success Rate Bonus
// Chance increases by 1% per whole value given (can be fractional)
// Maximum bonus is limited to 5%

auto fortuneMoneyBonus = min(moneyContributed / fortuneMoneyDefault, 5.0);
The success rate bonus from fortune money is capped at 5%. Contributing more than 5x the default value provides no additional benefit.

Examples

Money ContributedBonus PercentageNotes
00%No bonus
100,000,0001%1x default value
200,000,0002%2x default value
300,000,0003%3x default value
400,000,0004%4x default value
500,000,0005%5x default value (maximum)
600,000,0005%Capped at maximum

Crafting Hammers

Crafting hammers provide an additional success rate bonus when used during chaotic square enhancement.

Available Hammers

Item IDEffectReqVgSuccess Bonus
10207410255%
1020751021010%
The library multiplies the ReqVg value by 100 to calculate the success bonus percentage.

Bonus Calculation

Crafting Hammer Success Bonus
// The ReqVg value is multiplied by 100
auto hammerBonus = item.ReqVg * 100;

// Example: Item 102074 with ReqVg = 5
auto bonus = 5 * 100; // 500 basis points = 5%

// Example: Item 102075 with ReqVg = 10
auto bonus = 10 * 100; // 1000 basis points = 10%

Hammer Usage

1

Acquire Crafting Hammer

Obtain a crafting hammer (Item ID 102074 or 102075).
2

Access Chaotic Squares

Open the chaotic squares enhancement interface.
3

Add Hammer to Enhancement

Place the crafting hammer in the appropriate slot during enhancement.
4

Benefit from Bonus

The success rate will increase by the hammer’s bonus percentage.

Success Rate Modifiers

Total Success Rate Calculation

Total Success Rate Formula
auto baseRate = /* configured in ChaoticSquare.ini */;
auto fortuneMoneyBonus = min(moneyContributed / 100000000, 5.0);
auto hammerBonus = craftingHammer.ReqVg * 100;

auto totalSuccessRate = baseRate + fortuneMoneyBonus + hammerBonus;

Example Calculation

ComponentValueNotes
Base Rate30%From configuration
Fortune Money3%300,000,000 contributed
Crafting Hammer10%Using Item 102075
Total Success Rate43%Sum of all modifiers

Item Database Configuration

Ensure crafting hammers are properly configured in your item database:
Crafting Hammer Configuration
-- Configure crafting hammers
UPDATE Items SET ItemEffect = 102, ReqVg = 5 WHERE ItemID = 102074;
UPDATE Items SET ItemEffect = 102, ReqVg = 10 WHERE ItemID = 102075;
The ReqVg value must be set correctly for the success bonus to work. The value is multiplied by 100 to determine the percentage bonus.

Free Combination

Free Combination will not be implemented.
The free combination feature mentioned in some EP6 documentation is not supported by this implementation and will not be added in future updates.

Configuration File Example

ChaoticSquare.ini - Example Configuration
[GENERAL]
FortuneMoney = 100000000

[ENHANCEMENT_1]
BaseRate = 80
MinLevel = 0
MaxLevel = 5

[ENHANCEMENT_2]
BaseRate = 60
MinLevel = 6
MaxLevel = 10

[ENHANCEMENT_3]
BaseRate = 40
MinLevel = 11
MaxLevel = 15

[ENHANCEMENT_4]
BaseRate = 20
MinLevel = 16
MaxLevel = 20

Best Practices

To maximize your chances of successful enhancement:
  1. Use the highest tier crafting hammer available (Item 102075 for +10%)
  2. Contribute 500,000,000 fortune money for the maximum +5% bonus
  3. Plan enhancements during events if your server offers rate bonuses
  4. Consider the base rate for your current enhancement level
Server administrators should consider:
  • The default fortune money value affects the in-game economy
  • Higher requirements = stronger gold sink
  • Lower requirements = more accessible enhancements
  • Balance fortune money costs with overall server economy
When configuring items:
  • Ensure ReqVg values are divisible by the intended bonus percentage
  • Test all crafting hammers after configuration changes
  • Verify item effects match the expected behavior
  • Document custom item configurations for future reference

Troubleshooting

Verify:
  • File is named exactly ChaoticSquare.ini (case-sensitive on some systems)
  • File is in the correct directory: PSM_Client/Bin/Data/
  • File uses proper INI format with sections and key=value pairs
  • Server has been restarted after configuration changes
Check:
  • Fortune money value is nonzero in configuration
  • Fortune money value is evenly divisible by 100
  • Player has contributed enough money to receive a bonus (100M for 1%)
  • Success rate cap of 5% is not already reached
Verify:
  • Item has correct ItemEffect value (102)
  • ReqVg value is set correctly in the database
  • Item is being placed in the correct slot during enhancement
  • Server is using the latest compiled version with crafting hammer support
Remember:
  • Success rates are probabilities, not guarantees
  • Observe multiple attempts to verify actual rate
  • Check that all modifiers are being calculated correctly
  • Verify base rates in ChaoticSquare.ini are as expected
  • Rune Combination: Alternative enhancement system using runes and vials
  • Item Ability Move: Transfer equipment abilities between items
  • Perfect Lapisian: Lapisian enhancement with guaranteed success rates

Build docs developers (and LLMs) love