Jump to content

Blood bag problem


khalcifer

Recommended Posts

Hello who can help me?

I Can buy blood bag, but i can't sell

class Category_51 {
class ItemBloodbag {type="trade_items"; buy[] = {600,"Coins"}; sell[] = {300,"Coins"}; };
class ItemMorphine {type="trade_items"; buy[] = {400,"Coins"}; sell[] = {200,"Coins"}; };
class ItemEpinephrine {type="trade_items"; buy[] = {300,"Coins"}; sell[] = {150,"Coins"}; };
class ItemAntibiotic {type="trade_items"; buy[] = {600,"Coins"}; sell[] = {200,"Coins"}; };
class ItemBandage {type="trade_items"; buy[] = {50,"Coins"}; sell[] = {25,"Coins"}; };
class ItemPainkiller {type="trade_items"; buy[] = {100,"Coins"}; sell[] = {50,"Coins"}; };
class ItemHeatPack {type="trade_items"; buy[] = {20,"Coins"}; sell[] = {10,"Coins"}; };
class ItemKiloHemp {type="trade_items"; buy[] = {2000,"Coins"}; sell[] = {1000,"Coins"}; }; };

//DayZMod presets
dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite"

//Only need to edit if you are running a custom server.
if (dayz_presets == "Custom") then {
    dayz_enableGhosting = false; //Enable disable the ghosting system.
    dayz_ghostTimer = 60; //Sets how long in seconds a player must be disconnected before being able to login again.
    dayz_spawnselection = 1; //(Chernarus only) Turn on spawn selection 0 = random only spawns, 1 = spawn choice based on limits
    dayz_spawncarepkgs_clutterCutter = 0; //0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
    dayz_spawnCrashSite_clutterCutter = 0;    // heli crash options 0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
    dayz_spawnInfectedSite_clutterCutter = 0; // infected base spawn 0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
    dayz_bleedingeffect = 2; //1 = blood on the ground (negatively impacts FPS), 2 = partical effect, 3 = both
    dayz_OpenTarget_TimerTicks = 60 * 10; //how long can a player be freely attacked for after attacking someone unprovoked
    dayz_nutritionValuesSystem = true; //true, Enables nutrition system, false, disables nutrition system.
    dayz_classicBloodBagSystem = true; // disable blood types system and use the single classic ItemBloodbag
    dayz_enableFlies = false; // Enable flies on dead bodies (negatively impacts FPS).
};

Link to comment
Share on other sites

in your customconfig.sqf not a error you changed some thing to false

make sure got this to true like so DZE_ConfigTrader = true;

and make sure got the right classnames

Spoiler

    class bloodBagONEG {
        type = "trade_items";
        buy[] = {40,"worth"};
        sell[] = {20,"worth"};
    };
    class bloodBagANEG {
        type = "trade_items";
        buy[] = {20,"worth"};
        sell[] = {10,"worth"};
    };
    class bloodBagAPOS {
        type = "trade_items";
        buy[] = {20,"worth"};
        sell[] = {10,"worth"};
    };
    class bloodBagBNEG {
        type = "trade_items";
        buy[] = {20,"worth"};
        sell[] = {10,"worth"};
    };
    class bloodBagBPOS {
        type = "trade_items";
        buy[] = {20,"worth"};
        sell[] = {10,"worth"};
    };
    class bloodBagABNEG {
        type = "trade_items";
        buy[] = {20,"worth"};
        sell[] = {10,"worth"};
    };
    class bloodBagABPOS {
        type = "trade_items";
        buy[] = {20,"worth"};
        sell[] = {10,"worth"};
    };
    class bloodBagOPOS {
        type = "trade_items";
        buy[] = {20,"worth"};
        sell[] = {10,"worth"};
    };

 

Link to comment
Share on other sites

49 minutes ago, killerkiwi said:

in your customconfig.sqf not a error you changed some thing to false

make sure got this to true like so DZE_ConfigTrader = true;

and make sure got the right classnames

  Reveal hidden contents

    class bloodBagONEG {
        type = "trade_items";
        buy[] = {40,"worth"};
        sell[] = {20,"worth"};
    };
    class bloodBagANEG {
        type = "trade_items";
        buy[] = {20,"worth"};
        sell[] = {10,"worth"};
    };
    class bloodBagAPOS {
        type = "trade_items";
        buy[] = {20,"worth"};
        sell[] = {10,"worth"};
    };
    class bloodBagBNEG {
        type = "trade_items";
        buy[] = {20,"worth"};
        sell[] = {10,"worth"};
    };
    class bloodBagBPOS {
        type = "trade_items";
        buy[] = {20,"worth"};
        sell[] = {10,"worth"};
    };
    class bloodBagABNEG {
        type = "trade_items";
        buy[] = {20,"worth"};
        sell[] = {10,"worth"};
    };
    class bloodBagABPOS {
        type = "trade_items";
        buy[] = {20,"worth"};
        sell[] = {10,"worth"};
    };
    class bloodBagOPOS {
        type = "trade_items";
        buy[] = {20,"worth"};
        sell[] = {10,"worth"};
    };

 

Thx

Link to comment
Share on other sites

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
  • Advertisement
  • Discord

×
×
  • Create New...