Spudnik Studios Posted January 10, 2017 Share Posted January 10, 2017 Hey! I was wondering if there was a way to put in dlc? Say, restricting and area unless they have x file or something, idk. Any help is arreptiated. Best Grammar Link to comment Share on other sites More sharing options...
2 Chronos Posted January 10, 2017 Share Posted January 10, 2017 Not currently, or by default. Though you could restrict people with the event system or add something similar yourself in the future. Â I would highly suggest not leaving it on the client-side though, as people can just create these files themselves or copy them to other people. It should be an unlock at the account level on the server. Link to comment Share on other sites More sharing options...
1 Chronos Posted January 10, 2017 Share Posted January 10, 2017 Do what? Adding the feature yourself or using the event system? Neither are currently fully possible as they'd require custom code to be written for your game to handle the payment portion and setting the right variables, but you could basically have events that teleport the player to a new area, but only if a specific variable or switch is set to the right value. (e.g. only if OwnsDLC1 equals True the Captain will sail you to the new island) Â As I said though, there's currently no way to process payments or set these variables from outside sources. So you'd have to wait for the engine to go open source and then add this in yourself. How you'd implement this is up to you and your requirements. Link to comment Share on other sites More sharing options...
1 jcsnider Posted January 10, 2017 Share Posted January 10, 2017 Premium systems are something I am against in the base code but you will likely see a lot of source tutorials for something like this once the source is actually released. Â DLC for online games does not work like single player. Â You don't want person X getting into restricted sections for free because person Y bought the dlc file and just send it to him. Instead you'd set up a switch or variable for players like Chronos said. In theory this could be done now as long as your payment processing system could edit the character_switches table in the Sqlite database. Link to comment Share on other sites More sharing options...
0 Spudnik Studios Posted January 10, 2017 Author Share Posted January 10, 2017 How would I do that? Link to comment Share on other sites More sharing options...
0 Chronos Posted January 11, 2017 Share Posted January 11, 2017 7 hours ago, jcsnider said: -SNIP- Instead you'd set up a switch or variable for players like Chronos said. In theory this could be done now as long as your payment processing system could edit the character_switches table in the Sqlite database. And here I figured you'd mucked with those in a weird format as well, guess I was wrong there. Â Link to comment Share on other sites More sharing options...
0 jcsnider Posted January 11, 2017 Share Posted January 11, 2017 Blobs only used for objects like maps, items, resources, spells, etc. Anything related to the actual players or accounts was done correctly. (Or can at least be managed normally) Chronos 1 Link to comment Share on other sites More sharing options...
0 Spudnik Studios Posted January 14, 2017 Author Share Posted January 14, 2017 Ok thx Link to comment Share on other sites More sharing options...
Question
Spudnik Studios
Hey! I was wondering if there was a way to put in dlc? Say, restricting and area unless they have x file or something, idk. Any help is arreptiated. Best Grammar
Link to comment
Share on other sites
7 answers to this question
Recommended Posts