Welcome!

Join our community of MMORPG enthusiasts and private server developers! By registering, you'll gain access to in-depth discussions on source codes, binaries, and the latest developments in MMORPG server files. Collaborate with like-minded individuals, explore tutorials, and share insights on building and optimizing private servers. Join us today and unlock the full potential of MMORPG server development!

Join Today!

Info on S2 Libconfig

Newbie Spellweaver
Joined
Aug 5, 2015
Messages
7
Reaction score
2
Hello there so I decided to put some info here of what I learned hosting a public server for 2 months, I am sure it might be valuable to some people out there.
Nothing was translated, I have done quite a few updates to this Libconfig file and I will be leaving it here for other people.

Simply follow this guide from @iceblade112 to setup the server on your home computer/VPS.My files are only compatible with the files from his thread.To host the server for public you mostly likely need a VPS/static IP, there are cheap hosting servers out there,others more reliable than others of course being cheap has its cons.Something to note down is that you will need to portforward and to make sure your firewall isn't blocking the ports.

I will updating more with the Tables. This libconfig is only guaranteed compatible with the files from iceblade112.


TablesInfo
Always keep the same size on the Libconfig file, for example when I edited a lot and needed to keep the size I would go to another
table, note down the values and delete them leaving only 1 space to avoid a null error. Same thing to when you lack, make spaces somewhere.
Not sure if I am supposed to do this, but it worked for 2 months.

PartyMonQuestInfo -> Table for all PQs, take a look and it is pretty much self explanatory. You can do a lot in here.

ScenarioQuestInfo -> || for all Episode quests, same thing above. I believe SrcGelder is the amount of galders that they can give.
ResultTable: Basically tells you the table with the info of what you wil lget once you turn in the quest.
Ex: QuestResult_1079 ->
Count: How many times you are required to turn in the quest.
Item0-3: The items you need to give to the NPC.
Cnt0-3: Amount.

MonsterQuestInfo -> Table for all Monster Quests, same thing.

QuestInfo -> All the misc quests if I am correct.

ExchangeShopContents -> Table for all NPCs that exchange items.
ResID1-3 -> The item ID that you will get in exchange.
ReqID1-5 -> The item IDs that you need to get the ResID item.
Fee -> How much it will cost.

TM_LEVEL2 -> Table with the required TM experience for the next level.

ItemParamCM2 -> Table containing all the MyShop items.
ID: Id of the item.
Class: I would love to know more about this.
Type: ||
SubType: It changes the equip slot I believe. 53 is the equip slot for Speed Acc Slot.
Options: I believe this controls if it can be droppable/untradable. At least I know when I edit to 2/32 or 2/16 the item can be dropped and tradeable.
ExistType: 0 makes the item permanent and 1 timed.
Most of the other fields are self explanatory.

ItemParamEx2 -> Table containing all equips from normal, old, gloom, ultimate, powerful and etc except for uniques.

PresentItemParam2 -> Contains all the boxes stuff.
ID -> Id of the box.
DropId_0-19 -> Items you can get out of the box.
DropRate_0-19 -> Drop rate of the item when you open the box.
ItemCnt_0-19 -> Amount of the item.

This is for the Equip_Property table (IDs):

AP: 10000
AC: 10001
DX: 10002
MP: 10003
MA: 10004
MD: 10005
WT: 10006
DA: 10007
LK: 10008
HP: 10009
DP: 10010
HV: 10011

Soil: 20000
Water: 20001
Air: 20002
Fire: 20003 (I think this one might be Soil instead)
Elec: 20004
Light: 20005
Dark: 20006

DrillGradeExpRate table affects the drilling EXP of each drill grade.

Default:

- 5 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190


MapItem_All for some drill items

ExpmapHelper to change EXP rates on maps (Fiesta maps I believe)
IDs
Item IDs:
Kitty Earring 180 = 19185
Kitty Earring 60 = 19159
Blank Card = 20400
Sky Blue's RuneStone = 435602
Flicker Drill = 19901
Daily Coupon = 63710
Danger Hat 70 = 14980
Shoo Hat 70 = 14982
Tiny Moon Hat 70 = 14983
Twinkle Star Hat 70 = 14981
Caballa Slate = 11928
Chaos Drill = 8008
Portable Port AD = 19501
Gold Tempering Gem = 19779
Lv. 15 GB = 7969
Lv. 20 GB = 7941
Lv. 40 GB = 7942
Pandro = 15914
Tropical Belt - 18052
Tropical Vest - 18053
Danger Hat 150 - 14968
Shoo Hat 150 - 14970
Tiny Moon Hat 150 - 14971
Twinkle Star Hat 150 - 14969
Kitty Earring 120 - 19184
Apprentice Witch Shield - 6777
Blood's Assault Pistol - 17459
Diablo Sword - 17009
Sweat Drop Mask - 15079
Raspberry Mask - 15080
Big Smile Mask - 15081
Emo Mask - 15082
Resurrect Scroll - 19645
Captain Skull Box 70 = 62911
Contains: Captain Skull 70 = 70876,
Captain Skull's Cutlass 70 = 75165,
Captain Skull's Hat 70 = 77151,
Captain Skull's Shield 70 = 78450,
Captain Skull's Pistol 70 = 76430,
Captain Skull's Anchor Necklace 70 = 79850,
Captain Skull's Marin Ring 70 = 79851,
Captain Skull's Cape 70 = 35209,
Erin's Secret Book = 19748,
Repair Powder = 19629
Portable Port AD = 19501
Captain Skull Box 130 = 62912
Contains: Captain Skull 130 = 70935,
Captain Skull's Cutlass 130 = 75195,
Captain Skull's Hat 130 = 77180,
Captain Skull's Shield 130 = 78479,
Captain Skull's Pistol 130 = 76441,
Captain Skull's Anchor Necklace 130 = 79952,
Captain Skull's Marin Ring 130 = 79954,
Captain Skull's Cape 130 = 35247,
Captain Skull Box 220 = 62913
Contains: Captain Skull 220 = 70963,
Captain Skull's Cutlass 220 = 75209,
Captain Skull's Hat 220 = 77194,
Captain Skull's Shield 220 = 78493,
Captain Skull's Pistol 220 = 76442,
Captain Skull's Anchor Necklace 220 = 79953,
Captain Skull's Marin Ring 220 = 79955,
Captain Skull's Cape 220 = 35248
Captain Skull Box 300 = 62914
Contains: Captain Skull 300 = 70964,
Captain Skull's Cutlass 300 = 75210,
Captain Skull's Hat 300 = 77195,
Captain Skull's Shield 300 = 78494,
Captain Skull's Pistol 300 = 76448,
Captain Skull's Anchor Necklace 300 = 79968,
Captain Skull's Marin Ring 300 = 79969,
Captain Skull's Cape 300 = 35263
Admiral Skulley Box 70 = 62907
Contains: Admiral Skulley 70 = 70875,
Admiral's Cutlass 70 = 75164,
Admiral's Hat 70 = 77150,
Admiral's Shield 70 = 78449,
Admiral's Pistol 70 = 76429,
Admiral's Anchor Necklace 70 = 79848,
Admiral's Marin Ring 70 = 79849,
Admiral's Cape 70 = 35208
Admiral Skulley Box 130 = 62908
Contains: Admiral Skulley 130 = 70934,
Admiral's Cutlass 130 = 75194,
Admiral's Hat 130 = 77179,
Admiral's Shield 130 = 78478,
Admiral's Pistol 130 = 76439,
Admiral's Anchor Necklace 130 = 79948,
Admiral's Marin Ring 130 = 79950,
Admiral's Cape 130 = 35245
Admiral Skulley Box 220 = 62909
Contains: Admiral Skulley 220 = 70961,
Admiral's Cutlass 220 = 75207,
Admiral's Hat 220 = 77192,
Admiral's Shield 220 = 78491,
Admiral's Pistol 220 = 76440,
Admiral's Anchor Necklace 220 = 79949,
Admiral's Marin Ring 220 = 79951,
Admiral's Cape 220 = 35246
Admiral Skulley Box 300 = 62910
Contains: Admiral Skulley 300 = 70962,
Admiral's Cutlass 300 = 75208,
Admiral's Hat 300 = 77193,
Admiral's Shield 300 = 78492,
Admiral's Pistol 300 = 76447,
Admiral's Anchor Necklace 300 = 79966,
Admiral's Marin Ring 300 = 79967,
Admiral's Cape 300 = 35262
Chaos's Feather 230 = 63146

Zone IDs:
192 - Tut Boss Room Zone (Pyramid Dungeon 6 ??)

Boss Room IDs:

Tutankhamen = 192
Tombeth = 61
Captain Skull = 214
Pirate King Karan = 191
Tenter Lion = 200
Queen Odinea = 210
Soki = 217
Spicy Dragon = 201

Boss IDs:

- Tut: 2097
- Tomb: 2072
- Skull: 2213
- Karan: 2295
- Count Blood: 2138
- Tenter Lion: 2152
- Queen Odinea: 2123
- Soki: 2216
- Spicy Dragon: 2029
- Evil Don Giuvanni: 2962
Updates Done.
Modifications done on the libconfig.

Drop Rates:
- 30% drop rate increase on Fallen Watcher and Crystal Set.
- Tutankhamen's uniques drop rate slightly increased.
- Increased drop rate on most items dropped by monsters.
- Phantom Equips have increased drop rate.

Item Changes:
- Decreased cooldown time on driller pets.
- Added Anvil of Generations, Artisan's Flame, White/Green Elixer, Amethyst Elixer, Mic, TBN
Protein Candy, Growth Vitamin and Lock Candy to Lv. Up Gift Box.
- Created PandaTO Cape.
- Made Kitty Earring 60 equipable on the sprint slot.
- Kitty Earring 60 now is tradable and replaced DP with HP compoundable stat.
- Added Portable Port AD & Gold Tempering Gem to Lv. Up GB.
- Level Gift Boxes Adjustments:
15- Propeller Drill
20- Safe Protection
60- 3x 100k Galder Coupon
80- Evil Horns, 15x Tut Brooms
120- 90x Ressurect Scrolls
- Town Sets Adjustements:
- All 3 slots
- Each town weapon has elemental
- Created a custom pet, Pandro.
- Tropical Vest and Belt now have 3 slots instead of 2.
- Resurrect Scroll costs 25,000.
- Daily coupons are tradable.
- Tradeable:
- Caballa Slates.
- Oops Shells.
- Mermaid Scales.
- Desert Witch's Broom changed name to Boss 1-2 Broom
- Cave Witch's Broom changed name to Boss 3-4 Broom
- Coffin's Witch Broom changed name to Boss 5-6 Broom
- Volcano's Witch Broom changed name to End Bosses Broom
- Each broom randomly teleports to one of the both bosses rooms.
- Some unique hats have 4 slots instead of 2.
- Kitty Earring 120 & 180 now are LK & HP compoundable instead of MD & DP.
- Red & Orange Shoestring were increased to level 300 and increased stats.
- Fixed compoundables on Captain Skull & Admiral boxes equips.
- Phantom Equips no longer have negative stats.
- New custom unique accessory dropped by Evil Don G. is level 330.
- Another 3 custom uniques (Sword, Hat and Shield) are dropped by Spicy Dragon. Level 300.
- Vulpine boxes also have Hyperium potions, Master's Authority and Build Graph.


Rosemary Exchanges:
- Rosemary now has Shoo Hat 70, Tiny Moon Hat 70, Twinkle Star Hat 70, Danger Hat 70, Flicker Drill and Kitty Earring 60 as exchange options.
- Added FartTO Cape to Rosemary.
- Tropical Vest
- Tropical Belt
- Danger Hat 150
- Shoo Hat 150
- Tiny Moon Hat 150
- Twinkle Star Hat 150
- Kitty Earring 120
- Added Hot Air Balloon, Mini Helicopter, Mini Plane, Kitty Earring 180, Orange Shoestring and Red Shoestring.


Miranda Watty Exchanges:
- Miranda Watty at Megalopolis Square has 2 new fuses.
- Magical Kitten Shield
- Apprentice Witch Shield
- Blood's Assault Pistol
- Diablo Sword
- Sweat Drop Mask
- Raspberry Mask
- Big Smile Mask
- Emo Mask
- Added Rainbow Balloons, Sleeping Devil Mask, Sleeping Angel Mask, Sleeping Bear Mask and Sleeping Kitty Mask.


Base Exp and TM Exp:
- Increased TM EXP on all quests until level 200, except Normal PQ.
- Increase TM EXP on all Mine PQs.
- Final Chapters from Episode 2 now give around 50m+ instead of 13m TM EXP.
- Made all items dropped by monsters higher rate and same ration and amount.
- Finished TM Exp requirement for next level. Gets a small "EXP RESET" Formula: round(pow((ceil(tm level) - (-20), power of 4.5) - (-150)))
- power of 4.5 -> 1-200
- power of 4.4 -> 201-300
- power of 4.3 -> 301-450
- power of 4.2 -> 451-500

Misc:
- Removed max level cap of every npc teleport.
- Increased tempering % stat ratio. (-25 ~ 35 to 5 ~ 50).
- Since there isn't many people doing PQ mines, reduced CF requirement to 1 from 3.
- Added Ressurect Scroll to the Item Girl on Mega Shop.
- Since we can't get past 100% in total of all uniques drop rate on the table, I also put the uniques to be dropped instead
where the ultimates are dropped.
- Reduced from 1 hour to 40 minutes, that equals to 1 day ingame.
- Karan's Unique Accessory Quest:
- Reduce the requirement by half.
- Unique Set Bonuses Changes:
- Pharaoh: + 60 AP, 4 AC, 8 MA, 8 DA, 4 LK, 70 MD
- Sacrifice: + 22 HV
- Pirate: + 1500 WT, 3 DA (18), 3 LK (18)
- Dread Pirate: +216 AP, 2000 WT, 9 DA (20) 10 LK (20) - 80 MD
- Cold Hearted: - 15 AC, 24/22 HV + 1960 MP, 7 MA (30), 7 LK (25) 940 HP (1960), 144 DP
- Guardian: + 125 AP, 9 AC, -1 DX, 860 WT, 9 DA.
- All MS Exchanges no longer require daily coupons.
- Spicy Dragon slightly buffed.
- Increased the value of the item Shadow to 150k (it was 100k). A decent solution to farm galders instead of drilling.
- Removed max level restriction on all mine PQs.


Drilling:
- Removed Rookie Compound Box from Desert Beach.
- AP, AC, DX, MA, DA, WT, LK, HP and HV Magic Stones:
- Lv. 110: Gate of Ghost Blue
- Lv. 125: Rose Garden Field 1 all except HV and DX, Field 2 for HV and DX
- Lv. 140: Gate of Black Swamp
- Lv. 110: Gate of Ghost Blue
- Lv. 125: Rose Garden Field 1 all except HV and DX, Field 2 for HV and DX
- Lv. 140: Gate of Black Swamp
- Vamp Dungeon 1: 170
- Ice Dungeon 1: 185
- Path to Techichi: 200
- Techichi Field 1: 215
- Black Ash Dungeon 1: 230
- Added Vulpine 170 & 260 box to all gate maps.

[STRIKE]View attachment LibconfigFiles.txt[/STRIKE] Dead link ~PyroSamurai
 
Last edited by a moderator:
nice release!

i have 1 question how to make shining crystal disappear when character die.
 
Back