Newbie Spellweaver
- Joined
- Feb 10, 2026
- Messages
- 16
- Reaction score
- 22
Hi everyone,
I don't know if something similar already exists on the forum, but I've been working on an application to help manage and generate some server data, and I’m currently running a few tests. The goal is to make it easier to handle things like items, shop products, and other related configurations.
It’s not ready for public use yet, but I plan to share it here on the forum soon so others can try it as well.
During testing I noticed a few things that may need attention:
Once I finish a few more tests and organize the project a bit better, I’ll post it here so you can try it out and give feedback.
Test SQL Script
If anyone would like to test the generated data on their own database, I’ve included a SQL script that can be executed manually.
Important:
Before running the script, please make sure to create a full backup of your database. The script will insert item and shop data.
The item data included in this script is based on Combat Arms version 2508.02, so some entries may require adjustments depending on the server files or database structure you are using.
Exec1_AddTo_CBT_ItemInfo
Exec2_AddTo_CBT_ProductInfo
If you encounter any issues or notice something that needs to be corrected, please let me know so I can improve the tool and the generated data.
Thanks to anyone willing to test and provide feedback
I don't know if something similar already exists on the forum, but I've been working on an application to help manage and generate some server data, and I’m currently running a few tests. The goal is to make it easier to handle things like items, shop products, and other related configurations.
It’s not ready for public use yet, but I plan to share it here on the forum soon so others can try it as well.
- Some data may need to be corrected directly in the database for everything to work properly.
- Cosmetic items may require a few adjustments in the DB depending on the server files.
- Supply Cases / MYST crates need to have their items added to the CBT_ItemInfo_GachaponInfo_Product table, otherwise the crate rewards will not work correctly.
Once I finish a few more tests and organize the project a bit better, I’ll post it here so you can try it out and give feedback.
Test SQL Script
If anyone would like to test the generated data on their own database, I’ve included a SQL script that can be executed manually.
Before running the script, please make sure to create a full backup of your database. The script will insert item and shop data.
The item data included in this script is based on Combat Arms version 2508.02, so some entries may require adjustments depending on the server files or database structure you are using.
Exec1_AddTo_CBT_ItemInfo
SQL:
IF NOT EXISTS ( SELECT 1 FROM CBT_ItemInfo WHERE ItemNo = 10333)
BEGIN
INSERT INTO CBT_ItemInfo (ItemNo, Name, ItemType, Detailtype, Functioninfo, OptionType, SlotNum, GPUnlock, NXUnlock, ClanUnlock, ItemGrade)
VALUES (10333, 'Character Harlequin', 22, 0, -1, 0, 0, 0, 0, 0, 7)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ItemInfo WHERE ItemNo = 17292)
BEGIN
INSERT INTO CBT_ItemInfo (ItemNo, Name, ItemType, Detailtype, Functioninfo, OptionType, SlotNum, GPUnlock, NXUnlock, ClanUnlock, ItemGrade)
VALUES (17292, 'Harlequin''s ARX-160', 0, 0, -1, 0, 0, 0, 0, 0, 7)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ItemInfo WHERE ItemNo = 17293)
BEGIN
INSERT INTO CBT_ItemInfo (ItemNo, Name, ItemType, Detailtype, Functioninfo, OptionType, SlotNum, GPUnlock, NXUnlock, ClanUnlock, ItemGrade)
VALUES (17293, 'Harlequin''s MP7MOD', 1, 0, -1, 0, 0, 0, 0, 0, 7)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ItemInfo WHERE ItemNo = 17294)
BEGIN
INSERT INTO CBT_ItemInfo (ItemNo, Name, ItemType, Detailtype, Functioninfo, OptionType, SlotNum, GPUnlock, NXUnlock, ClanUnlock, ItemGrade)
VALUES (17294, 'Harlequin''s Dual Pistol', 4, 0, -1, 0, 0, 0, 0, 0, 7)
END
Exec2_AddTo_CBT_ProductInfo
SQL:
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20647)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20647, 'Harlequin''s ARX-160', 1, 36, 36, 0, 1, 17292, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20648)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20648, 'Harlequin''s ARX-160', 1, 88, 88, 0, 1, 17292, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20649)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20649, 'Harlequin''s ARX-160', 1, 196, 196, 0, 1, 17292, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20650)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20650, 'Harlequin''s ARX-160', 1, 295, 295, 0, 1, 17292, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20651)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20651, 'Harlequin''s ARX-160', 1, 553, 553, 0, 1, 17292, 0, 999, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20652)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20652, 'Harlequin''s MP7MOD', 1, 36, 36, 0, 1, 17293, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20653)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20653, 'Harlequin''s MP7MOD', 1, 88, 88, 0, 1, 17293, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20654)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20654, 'Harlequin''s MP7MOD', 1, 196, 196, 0, 1, 17293, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20655)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20655, 'Harlequin''s MP7MOD', 1, 295, 295, 0, 1, 17293, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20656)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20656, 'Harlequin''s MP7MOD', 1, 553, 553, 0, 1, 17293, 0, 999, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20657)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20657, 'Harlequin''s Dual Pistol', 1, 18, 18, 0, 1, 17294, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20658)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20658, 'Harlequin''s Dual Pistol', 1, 68, 68, 0, 1, 17294, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20659)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20659, 'Harlequin''s Dual Pistol', 1, 128, 128, 0, 1, 17294, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20660)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20660, 'Harlequin''s Dual Pistol', 1, 184, 184, 0, 1, 17294, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20661)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20661, 'Harlequin''s Dual Pistol', 1, 240, 240, 0, 1, 17294, 0, 999, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20667)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20667, 'Character Harlequin', 1, 45, 45, 0, 1, 10333, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20668)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20668, 'Character Harlequin', 1, 153, 153, 0, 1, 10333, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20669)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20669, 'Character Harlequin', 1, 255, 255, 0, 1, 10333, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20670)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20670, 'Character Harlequin', 1, 320, 320, 0, 1, 10333, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
IF NOT EXISTS ( SELECT 1 FROM CBT_ProductInfo WHERE ProductID = 20671)
BEGIN
INSERT INTO CBT_ProductInfo (ProductID, ProductName, SaleType, Price, SalePrice, BonusGP, ItemNum, ItemNo00, ConsumeType00, Period00, ItemNo01, ConsumeType01, Period01, ItemNo02, ConsumeType02, Period02, ItemNo03, ConsumeType03, Period03, ItemNo04, ConsumeType04, Period04, ActivationUnlock, InboxGift )
VALUES (20671, 'Character Harlequin', 1, 675, 675, 0, 1, 10333, 0, 999, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
END
If you encounter any issues or notice something that needs to be corrected, please let me know so I can improve the tool and the generated data.
Thanks to anyone willing to test and provide feedback

