Sign in to follow this  
Followers 0
Paul

Referencing prices in config.cpp

5 posts in this topic

Hi Guys

A quick question - instead of listing all of the prices for everything in config.cpp, can I put them all in an external file and just do #include mypricefile.hpp in the config file instead?

If I can do that, is it possible to list multiple files? So for example (we use EBM):
class CfgExileArsenal
{
    #include "EBM\prices.hpp"
    #include "mypricefile.hpp"
};

Thanks in advanced!

Paul

Share this post


Link to post
Share on other sites

You definitely can.  Red_Ned has a tutorial for this at Easy Trader Setup.  He has separate files for each addon that introduces new items.   Mine's been set up like this for nearly two years now.

Share this post


Link to post
Share on other sites
Advertisement

Awesome. I might do that instead then as it shortens the price file, and I can add my custom items into one file instead of tagging them onto the bottom.

Many thanks for the reply

Share this post


Link to post
Share on other sites

I did that a about a year ago - defenetly worth the time!

So much easier to handle.

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.