Star Conflict

Star Conflict

View Stats:
Battle Passes on local server
So I've gotten a slight grasp on how to work with databases and server internals, and I managed to turn on the battle pass.
However, only 3 stages are available with only one stage having defined rewards.

For quick reference, battle pass can be enabled in default_platform_config.lua at lines 17 and 18 by setting a valid range of dates.
I think the rewards can be edited by editing battle_pass.xml with valid names for stage rewards, plus maybe the aforementioned line 18 with more stages, but I have no idea how are the variables exactly defined or if there are defined stages beyond the 3 that are pre-written.

Has anyone done more digging and found out? I'd be happy to hear
< >
Showing 1-15 of 27 comments
The battlepass bundles are stored and defined in the store.xml file, you can search for defName="Bundle in it to see all bundles. Have you been able to modify the battlepass prices or items so far? I only managed to activate it.
Originally posted by 一只不想上班的猫:
The battlepass bundles are stored and defined in the store.xml file, you can search for defName="Bundle in it to see all bundles. Have you been able to modify the battlepass prices or items so far? I only managed to activate it.

Thank you so much for pointing me in the right direction, I'll rummage through store.xml as there seem to be all the items

As for your question, you can modify battle pass prices by editing the "cost" parameter next to individual rewards in battle_pass.xml

I'll try inserting a new stage into the xml and report back
Alright, after a bit of experimentation I found out battle_pass.xml gets overwritten after server restart...
I looked through the store.xml and each bundle is defined in 2 seperate ways, i think the price(xenochips) of it is also managed in the store.xml itself. Maybe the battlepass structure is in the mongodb database or another file. I don't have too much time today but I will try looking at it later/tomorrow.
After enabling "DEV" mode on all accounts by setting these 2 cvars to these exact values:
" cvars.store_allowAllItemsForBying = 1"
" cvars.sm_sandboxAccess = 0"
in default_platform_config.lua, the battlepass rewards do in fact appear in the game store.

So the battlepass itself acts/handles like the ingame store, you "buy" bundles/items with xenochips.
I added some xenochips to my account but they are kinda glitched.
minor update:

changes in store.xml DO NOT change battle pass prices in the battle pass, as it is handled via lua code in default_platform_config.lua

currently if anyone wants to dig deeper, looking where function calls on lines 247 and 1805 lead might yield more clues, as it seems to interact with shard server and quest server

or maybe looking into quests.xml...
Originally posted by 一只不想上班的猫:
After enabling "DEV" mode on all accounts by setting these 2 cvars to these exact values:
" cvars.store_allowAllItemsForBying = 1"
" cvars.sm_sandboxAccess = 0"
in default_platform_config.lua, the battlepass rewards do in fact appear in the game store.

So the battlepass itself acts/handles like the ingame store, you "buy" bundles/items with xenochips.
I added some xenochips to my account but they are kinda glitched.

Just a FYI.....

Doing this does open up the all the Store Bundles which can get you many things if you have the required "price". It also borks other parts of the game. The low rank starting ship will suddenly have listing for DEV items, GOD Tier items, and old out dated items. So be prepared to bork what ever account you test this on. Granted it will allow you to see what can be unlocked, and what things you can "regain" from our lost legacy accounts.

The prices sort of hint to what things are more more "broken/borked". So if it is stupidly high priced..... probably avoid it. Think Pandora's Box stuff.

:jericho: :federation: :empire: :starconf: <=== Best Emoticons EVAH!!!
edit the battle_pass.lua located in "star conflict\data\gamedata\shared"
Originally posted by Explosive Magician:
minor update:

changes in store.xml DO NOT change battle pass prices in the battle pass, as it is handled via lua code in default_platform_config.lua

currently if anyone wants to dig deeper, looking where function calls on lines 247 and 1805 lead might yield more clues, as it seems to interact with shard server and quest server

or maybe looking into quests.xml...
You do not edit the XML files, you need to edit the lua files found in Gamedata, usually in Shared, then run the prepared_shared.bat in the cloud folder after running the mongodb bat in order to commit them. This is explained on the official website outlining the server architechure.
Originally posted by FurryFailure:
You do not edit the XML files, you need to edit the lua files found in Gamedata, usually in Shared, then run the prepared_shared.bat in the cloud folder after running the mongodb bat in order to commit them. This is explained on the official website outlining the server architechure.

Thanks, I didn't realize there's more lua files.
I have a different problem though, that being xenochips - they aren't awarded after completing quests which are suppposed to give them, and they don't even appear at the top bar as a resource.
Originally posted by 一只不想上班的猫:
After enabling "DEV" mode on all accounts by setting these 2 cvars to these exact values:
" cvars.store_allowAllItemsForBying = 1"
" cvars.sm_sandboxAccess = 0"
in default_platform_config.lua, the battlepass rewards do in fact appear in the game store.

So the battlepass itself acts/handles like the ingame store, you "buy" bundles/items with xenochips.
I added some xenochips to my account but they are kinda glitched.


How did you add the xenochips?
Originally posted by Хан в Соло:
Originally posted by 一只不想上班的猫:
After enabling "DEV" mode on all accounts by setting these 2 cvars to these exact values:
" cvars.store_allowAllItemsForBying = 1"
" cvars.sm_sandboxAccess = 0"
in default_platform_config.lua, the battlepass rewards do in fact appear in the game store.

So the battlepass itself acts/handles like the ingame store, you "buy" bundles/items with xenochips.
I added some xenochips to my account but they are kinda glitched.


How did you add the xenochips?
I've got them to add once and ever since when I get any they don't add. I tried making a new account and they won't add at all to it. I'll update if I figure out how if someone else doesn't
Originally posted by liberator65853:
Originally posted by Хан в Соло:


How did you add the xenochips?
I've got them to add once and ever since when I get any they don't add. I tried making a new account and they won't add at all to it. I'll update if I figure out how if someone else doesn't

Did you use "EventCredits" ?
Originally posted by 一只不想上班的猫:
Originally posted by liberator65853:
I've got them to add once and ever since when I get any they don't add. I tried making a new account and they won't add at all to it. I'll update if I figure out how if someone else doesn't

Did you use "EventCredits" ?
Yep, they only show up to edit in the database once you receive them though and I've only been able to "receive" them to make the show up on one account so far. I have tried adding the line to shown currency on the other accounts too but it does nothing.
Originally posted by liberator65853:
Originally posted by 一只不想上班的猫:

Did you use "EventCredits" ?
Yep, they only show up to edit in the database once you receive them though and I've only been able to "receive" them to make the show up on one account so far. I have tried adding the line to shown currency on the other accounts too but it does nothing.

Oh ok I used an modified store bundle reward but they seem to glitch out or don't work correctly.
< >
Showing 1-15 of 27 comments
Per page: 1530 50