Jump to content

[Release] Advanced Trading 2.1 !UPDATED!


Zupa

Recommended Posts

Hello Epoch community,
I have the following problem, what if I sell with Briefcase and saw briefcase in my vehicle I get the amount of Briefcase where is the vehicle back in my inventory.

Say I make now for example 5Briefcase in my vehicle and then sell something I get the Briefcase where the vehicle is in my credited inventory, but the Briefcase are still in the vehicle.

Can anyone tell me why this is the case and how can I fix this?

I thank in advance for the answer

sorry for my bad English :)

Link to comment
Share on other sites

23 hours ago, looter809 said:

is there any premade config trader with the normal prices?

or can you show me an example of how to do config trader?

edit: nvm, i got it.

Can you tell me how you got it? I have the exact same issue using the gold system. Im sure its something simple im missing but my head hurts so bad from installing scripts I cant take it any more. Thanks

Link to comment
Share on other sites

On 6/4/2016 at 3:33 AM, Zupa said:

You would need to use config traders, not databse traders

9 minutes ago, Chris Bacon said:

Can you tell me how you got it? I have the exact same issue using the gold system. Im sure its something simple im missing but my head hurts so bad from installing scripts I cant take it any more. Thanks

Because of an update from December, you now save mission files from servers for a faster loading time. I went to AppData>Local>Arma2OA>MPMissionCache and then found a server i had been on, opened it with PBO manager, and took their trader config file and edited it to my liking. saved me some time, but now that i have seen it, it wouldn't have been too hard to do.

Just make sure wherever you put the trader folder, that in the trader folder (you can name the folder anything) that you have a folder in said folder named "Category" and a "traders.hpp" that calls the files.

https://gyazo.com/eef58272e1604ee3059fd4528c34ab70

https://gyazo.com/152b9be8dbcfeafd56bc824fccf73c35

https://gyazo.com/47a85b3baabdac8d35d4d540eb2b99af

Link to comment
Share on other sites

9 minutes ago, looter809 said:

Because of an update from December, you now save mission files from servers for a faster loading time. I went to AppData>Local>Arma2OA>MPMissionCache and then found a server i had been on, opened it with PBO manager, and took their trader config file and edited it to my liking. saved me some time, but now that i have seen it, it wouldn't have been too hard to do.

Just make sure wherever you put the trader folder, that in the trader folder (you can name the folder anything) that you have a folder in said folder named "Category" and a "traders.hpp" that calls the files.

https://gyazo.com/eef58272e1604ee3059fd4528c34ab70

https://gyazo.com/152b9be8dbcfeafd56bc824fccf73c35

https://gyazo.com/47a85b3baabdac8d35d4d540eb2b99af

 

ok 

 

1. You've always stored mission files in appdata since forever.

 

2. snooping in peoples mission is frowned upon

Link to comment
Share on other sites

8 minutes ago, Pro_Speedy said:

 

ok 

 

1. You've always stored mission files in appdata since forever.

 

2. snooping in peoples mission is frowned upon

I didn't know the mission files always saved.

And i figured it's frowned upon, if it makes a difference the server i got it from use to be good friends of mine, just died out and isn't popular anymore.

Link to comment
Share on other sites

The config trader file are even inside the actual epochcode if i recall correctly. 

Enabling is just setting a config to true and adding the hpp or cpp? files to your description.ext. 

Link to comment
Share on other sites

Hello users. 

As most of people who installed this script, I have problem with empty space in traders menu. I don't have any items in this place.

http://screenshooter.net/102791733/yvtaams

But the problem is, I don't have InfiSTAR (because i set BattlEye off), I don't use Single Currency (Coins) and I don't have errors in my server RPT.

Please help me if you can :)

Link to comment
Share on other sites

On 19/4/2016 at 4:43 PM, juandayz said:

if u are using coins just open your custom compiles.. remove the fn_selfactions call and call it from your init.sqf --- add :

  Reveal hidden contents

progressLoadingScreen 0.5;
call compile preprocessFileLineNumbers "server_traders_cherno_11.sqf";                //Compile trader configs
call compile preprocessFileLineNumbers "admintools\config.sqf"; // Epoch admin Tools config file
call compile preprocessFileLineNumbers "admintools\variables.sqf"; // Epoch admin Tools variables
call compile preprocessFileLineNumbers "logistic\init.sqf";// TOW Y LIFT
progressLoadingScreen 1.0;

fnc_usec_selfActions = compile preprocessFileLineNumbers "custom\fn_selfActions.sqf";

 

if ure using gold system  then you need add the call from above and extract from dayz_epoch_b.pbo  your CfgServerTrader folder and place it on mpmissions\yourinstance\  

 path to Category folder:  \@DayZ_Epoch\addons\dayz_epoch_b\CfgServerTrader

Then in description.ext add 

#include "CfgServerTrader\cfgServerTrader.hpp"

@Endriex

Endriex

 

Link to comment
Share on other sites

Hey mates!

When i try to buy a Primary Weapon to my gear AT says: 
 

Quote

 

"You can only buy 1 primary, 1 sidearm and -2 tools in your gear.

You could not buy these items because the container lacks space to hold them"

 

 

But i have no primary in gear! I have a pistol as second gun but no primary.. :(

When i buy it for my backpack it works, but not for my gear.

Selling items works like a charm but buying weapons not.

Normal trading without Zupas AT still works. Also that AT says that i can buy -2 tools is a weird...

I have no coin system btw ;)

 

Does anyone had the same issue?

Link to comment
Share on other sites

6 hours ago, Endriex said:

@juandayz

I had to install single currency from zupa, and now I can see items but i have next problem. If i buy any item i get it for free and at the bottom of my screen i see this info:

http://screenshooter.net/102844072/jqtbfep

Dont know if this can halp you but....try open your \MPMissions\DayZ_Epoch_11.Chernarus\zupa\advancedTrading\config.sqf  and change false by true.. in this line:

Spoiler

Z_SingleCurrency = true; // Does your server use a single currency system.

*Another thing about Coins... goes to your @DayzEpoch_Server\...\dayz_server\system\server_monitor.sqf and change all words called "itentory" by "inventory"

Link to comment
Share on other sites

i have an issues with this. installed with currency 3.0. load server and get waiting for host.   other mods, wicked ai, dzai, dz missions. 3.0 coins and infistar is on it as well.

Spoiler

by ca\wheeled_e\v3s\config.bin/CfgVehicles/V3S_Base_EP1/

Updating base class ->V3S_Base_EP1, by ca\wheeled_e\v3s\config.bin/CfgVehicles/V3S_Refuel_TK_GUE_EP1/

Updating base class AKS_BASE->AK_BASE, by vilas_aks_cfg\config.cpp/cfgWeapons/AKS_74_UN_kobra/

Updating base class House->DZE_OpenHouse, by warehouse\config.bin/CfgVehicles/Land_Ind_Pec_03/

Updating base class ->C130J_base, by ca\air_e\config.bin/CfgVehicles/C130J_US_EP1/

Updating base class ->Helicopter, by ca\air_e\ah6j\config.bin/CfgVehicles/AH6_Base_EP1/

Updating base class ->Plane, by ca\air_e\an2\config.bin/CfgVehicles/An2_Base_EP1/

Updating base class ->CH47_base_EP1, by ca\air_e\ch47\config.bin/CfgVehicles/CH_47F_EP1/

Updating base class ViewOptics->, by ca\air_e\uh1h\config.bin/CfgVehicles/UH1H_base/Turrets/MainTurret/ViewOptics/

Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Crew_PMC/

Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_TL_PMC/

Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Bodyguard_M4_PMC/

Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Bodyguard_AA12_PMC/

Updating base class ->BAF_Soldier_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_W/

Updating base class ->BAF_Soldier_L_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_L_W/

Updating base class ->BAF_Soldier_Officer_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_Officer_W/

Updating base class ->BAF_Soldier_SniperH_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_SniperH_W/

Updating base class ->M113Ambul_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113Ambul_UN_EP1/

Updating base class ->M113_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113_UN_EP1/

Updating base class ->M113Ambul_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113Ambul_TK_EP1/

Updating base class ->M113_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113_TK_EP1/

Updating base class ->Helicopter, by ca\air_d_baf\config.bin/CfgVehicles/BAF_Merlin_HC3_D/

Updating base class AK_BASE->AKS_BASE, by ca\communityconfigurationproject_e\ai_madeaks74unkobrafullysilenced\config.bin/CfgWeapons/AKS_74_UN_kobra/

Updating base class ReammoBox->Small_items, by corepatch\corepatch_additionalobjects\config.cpp/CfgVehicles/CardboardBox/

Updating base class ->Mode_FullAuto, by corepatch\corepatch_ccp_68220\config.cpp/CfgWeapons/G36a/FullAuto/

Updating base class ->Mode_SemiAuto, by corepatch\corepatch_ccp_68220\config.cpp/CfgWeapons/G36a/Single/

Updating base class CA_Magazine->4000Rnd_762x51_M134, by corepatch\corepatch_ccp_71142_cit_13602_25047\config.cpp/CfgMagazines/2000Rnd_762x51_M134/

18:20:02 Initializing Steam server - Game Port: 2302, Steam Query Port: 2303

18:20:03 Connected to Steam servers

ErrorMessage: File mpmissions\__cur_mp.chernarus\zupa\advancedTrading\advancedTrading.hpp, line 0: .AT_Zupa_BlueButton: Undefined base class 'ZSC_RscButtonMenu'

rpt log in spoiler.      i have read over these pages.    early suggestions where discription not being right, so here is that as well.

Spoiler

#include "ZSC\config\cfgServerTrader.hpp"
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;

briefing = 0;
debriefing = 0;

onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";

class Header
{
 gameType = COOP;            //DM, Team, Coop, ...
 minPlayers = 1;             //min # of players the mission supports
 maxPlayers = 100;            //Max # of players the mission supports
};

aiKills = 1;
diagRadio = 1;
diagHit = 1;

class RscText
{
    type = 0;
    idc = -1;
    x = 0;
    y = 0;
    h = 0.037;
    w = 0.3;
    style = 0x100;
    font = Zeppelin32;
    SizeEx = 0.03921;
    colorText[] = {1,1,1,1};
    colorBackground[] = {0, 0, 0, 0};
    linespacing = 1;
};
class RscPicture
{
    access=0;
    type=0;
    idc=-1;
    style=48;
    colorBackground[]={0,0,0,0};
    colorText[]={1,1,1,1};
    font="TahomaB";
    sizeEx=0;
    lineSpacing=0;
    text="";
};
class RscLoadingText : RscText
{
    style = 2;
    x = 0.323532;
    y = 0.666672;
    w = 0.352944;
    h = 0.039216;
    sizeEx = 0.03921;
    colorText[] = {0.543,0.5742,0.4102,1.0};
};
class RscProgress
{
    x = 0.344;
    y = 0.619;
    w = 0.313726;
    h = 0.0261438;
    texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
    colorFrame[] = {0,0,0,0};
    colorBar[] = {1,1,1,1};
};
class RscProgressNotFreeze
{
    idc = -1;
    type = 45;
    style = 0;
    x = 0.022059;
    y = 0.911772;
    w = 0.029412;
    h = 0.039216;
    texture = "#(argb,8,8,3)color(0,0,0,0)";
};
//
// the loading screen itself
//
class CfgSounds
{
    sounds[] =
    {
        Radio_Message_Sound
    };
    class Radio_Message_Sound
    {
        name = "Radio_Message_Sound";
        sound[] = {custom\remote\radio.ogg,0.4,1};
        titles[] = {};
    };
};
class DayZ_loadingScreen
{
    idd = -1;
    duration = 10e10;
    fadein = 0;
    fadeout = 0;
    name = "loading screen";
    class controlsBackground
    {
        class blackBG : RscText
        {
            x = safezoneX;
            y = safezoneY;
            w = safezoneW;
            h = safezoneH;
            text = "";
            colorText[] = {0,0,0,0};
            colorBackground[] = {0,0,0,1};
        };
        /*
        class nicePic : RscPicture
        {
            style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
            x = safezoneX + safezoneW/2 - 0.25;
            y = safezoneY + safezoneH/2 - 0.2;
            w = 0.5;
            h = 0.4;
            text = "img\nicePic.paa";
        };
        */
    };
    class controls
    {
        class Title1 : RscLoadingText
        {
            text = "$STR_LOADING"; // "Loading" text in the middle of the screen
        };
        class CA_Progress : RscProgress // progress bar, has to have idc 104
        {
            idc = 104;
            type = 8; // CT_PROGRESS
            style = 0; // ST_SINGLE
            texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
        };
        class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
        {
            idc = 103;
        };
        class Name2: RscText // the text on the top-left
        {
            idc = 101;
            x = 0.05;
            y = 0.029412;
            w = 0.9;
            h = 0.04902;
            text = "";
            sizeEx = 0.05;
            colorText[] = {0.543,0.5742,0.4102,1.0};
        };
    };
};
class RscTitles
{
#include "ZSC\config\ZSChud.hpp"
};

#include "zupa\advancedTrading\advancedTrading.hpp"
#include "zupa\advancedTrading\ZSCdefines.hpp"                                // if u don't have it from ZSC
#include "ZSC\config\ZSCdialogs.hpp"

 

file where error is showing

Spoiler

class AT_Zupa_BlueButton: ZSC_RscButtonMenu {
    colorBackground[] = {0.2,0.75,1,1};
    colorText[] = {1,1,1,1};
    class Attributes
    {
        align = "center";
    };
};

class AdvancedTrading
{
    idd = 711197;
    onLoad = "uiNamespace setVariable ['AdvancedTrading', _this select 0]";
    class Controls {
        class RscText_ATBackground1: ZSC_RscText
        {
            idc = -1;
            x = 0.20 * safezoneW + safezoneX;
            y = 0.15 * safezoneH + safezoneY;
            w = 0.40 * safezoneW;
            h = 0.70 * safezoneH;
            colorBackground[] = {0.2,0.2,0.2,1};
        };
        class RscText_ATBackground2: ZSC_RscText
        {
            idc = -1;
            x = 0.60 * safezoneW + safezoneX;
            y = 0.15 * safezoneH + safezoneY;
            w = 0.20 * safezoneW;
            h = 0.70 * safezoneH;
            colorBackground[] = {0.1,0.1,0.1,1};
        };
    class RscText_AT2: ZSC_RscText
        {
            idc = -1;
            text = "Advanced Trading";
            x = 0.20 * safezoneW + safezoneX;
            y = 0.15 * safezoneH + safezoneY;
            w = 0.60 * safezoneW;
            h = 0.04 * safezoneH;
            colorBackground[] = {0.2,0.75,1,1};
            colorText[] = {1,1,1,1};
        };

    class RscText_Zupa_1: ZSC_RscText
        {
            idc = 7408;
            text = "Selling from gear.";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.22 * safezoneH + safezoneY;
            w = 0.38 * safezoneW;
            h = 0.05 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class ZSC_RscButtonMenu_Z1: AT_Zupa_BlueButton
        {
            idc = -1;
            text =  "Gear";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.26 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[2] call Z_getContainer;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_Z2: AT_Zupa_BlueButton
        {
            idc = -1;
            text =  "Backpack";
            x = 0.31 * safezoneW + safezoneX;
            y = 0.26 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[0] call Z_getContainer;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_Z3: AT_Zupa_BlueButton
        {
            idc = -1;
            text =  "Vehicle";
            x = 0.41 * safezoneW + safezoneX;
            y = 0.26 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[1] call Z_getContainer;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_Z4: AT_Zupa_BlueButton
        {
            idc = 7416;
            text =  "Sell";
            x = 0.51 * safezoneW + safezoneX;
            y = 0.26 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "call Z_ChangeBuySell;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class RscText_AT6: ZSC_RscText
        {
            idc = 7412;
            text = "";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.30 * safezoneH + safezoneY;
            w = 0.30 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscText_AT7: ZSC_RscText
        {
            idc = 7413;
            text = "";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.33 * safezoneH + safezoneY;
            w = 0.30 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscText_AT8: ZSC_RscText
        {
            idc = -1;
            text = "Inventory";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.38 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscText_AT9: ZSC_RscText
        {
            idc = 7409;
            text = "Selling";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.38 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscBackgroundText_Zupa_1: ZSC_RscText
        {
            idc = -1;
            text = "";
            x = 0.21* safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            colorText[] = {1,1,1,1};
            colorBackground[] = {0.1,0.1,0.1,1};
        };
        class RscBackgroundText_Zupa_2: ZSC_RscText
        {
            idc = -1;
            text = "";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.41* safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            colorText[] = {1,1,1,1};
            colorBackground[] = {0.1,0.1,0.1,1};
        };

        class RscListbox_AT10: ZSC_RscListBox
        {
            idc = 7401;
            type = 5;
            idcLeft = -1;
      idcRight = -1;
            x = 0.21* safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            soundSelect[] = {"",0.1,1};
            colorBackground[] = {0.1,0.1,0.1,0.8};
            onLBSelChanged = "['sellable',(lbCurSel 7401)] call Z_getItemInfo";
            class ListScrollBar: ZSC_RscScrollBar{};
            class ScrollBar
            {
                color[] = {1,1,1,0.6};
                colorActive[] = {1,1,1,1};
                colorDisabled[] = {1,1,1,0.3};
                shadow = 0;
                thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
                arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
                arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
                border = "\ca\ui\data\ui_border_scroll_ca.paa";
            };
        };
        class RscListbox_AT11: ZSC_RscListBox
        {
            idc = 7402;
            x = 0.46 * safezoneW + safezoneX;
            y = 0.41* safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            soundSelect[] = {"",0.1,1};
            colorBackground[] = {0.1,0.1,0.1,0.8};
            onLBSelChanged = "['selling',(lbCurSel 7402)] call Z_getItemInfo";
            class ListScrollBar: ZSC_RscScrollBar{};
            class ScrollBar
            {
                color[] = {1,1,1,0.6};
                colorActive[] = {1,1,1,1};
                colorDisabled[] = {1,1,1,0.3};
                shadow = 0;
                thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
                arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
                arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
                border = "\ca\ui\data\ui_border_scroll_ca.paa";
            };
        };
        class RscListbox_AT20: ZSC_RscListBox
        {
            idc = 7421;
            type = 5;
            idcLeft = -1;
      idcRight = -1;
            x = 0.21* safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            soundSelect[] = {"",0.1,1};
            colorBackground[] = {0.1,0.1,0.1,0.8};
            onload = "ctrlShow [_this,false]";
            onLBSelChanged = "['buyable',(lbCurSel 7421)] call Z_getItemInfo";
            class ListScrollBar: ZSC_RscScrollBar{};
            class ScrollBar
            {
                color[] = {1,1,1,0.6};
                colorActive[] = {1,1,1,1};
                colorDisabled[] = {1,1,1,0.3};
                shadow = 0;
                thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
                arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
                arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
                border = "\ca\ui\data\ui_border_scroll_ca.paa";
            };
        };
        class RscListbox_AT21: ZSC_RscListBox
        {
            idc = 7422;
            x = 0.46 * safezoneW + safezoneX;
            y = 0.41* safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            soundSelect[] = {"",0.1,1};
            colorBackground[] = {0.1,0.1,0.1,0.8};
            onload = "ctrlShow [_this,false]";
            onLBSelChanged = "['buying',(lbCurSel 7422)] call Z_getItemInfo";
            class ScrollBar
            {
                color[] = {1,1,1,0.6};
                colorActive[] = {1,1,1,1};
                colorDisabled[] = {1,1,1,0.3};
                shadow = 0;
                thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
                arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
                arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
                border = "\ca\ui\data\ui_border_scroll_ca.paa";
            };
        };
        class RscSearchBackground: ZSC_RscText
        {
            idc = -1;
            x = 0.21 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
            colorBackground[] = {0.1,0.1,0.1,1};
        };
        class Zupa_Filter_Edit : ZSC_RscEdit {
            idc = 7444;
            colorText[] = {1,1,1,1};
            text = "";
            sizeEx = 0.030;
            x = 0.21 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.04;
        };
        class ZSC_RscButtonMenu_ATTFilter: AT_Zupa_BlueButton
        {
            idc = -1;
            text = "Filter";
      x = 0.21 * safezoneW + safezoneX;
            y = 0.77 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            onButtonClick = "[(ctrlText 7444)] call Z_filterList;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT12: AT_Zupa_BlueButton
        {
            idc = 7430;
            text =  " > ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[(lbCurSel 7401)] call Z_pushItemToList;";
            colorBackground[] =  {1,1,1,1};
        color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT14: AT_Zupa_BlueButton
        {
            idc = 7431;
            text = " >> ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.49 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "call Z_pushAllToList;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT13: AT_Zupa_BlueButton
        {
            idc = 7432;
            text = " < ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.57 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[(lbCurSel 7402)] call Z_removeItemFromList;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT15: AT_Zupa_BlueButton
        {
            idc = 7433;
            text = " << ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.65 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "call Z_removeAllToList;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_ATT1: AT_Zupa_BlueButton

        {
            idc = 7440;
            text = " > ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[(lbCurSel 7421),(ctrlText 7441)] call Z_toBuyingList;";
            onload = "ctrlShow [_this,false]";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class Zupa_Ammount_Edit : ZSC_RscEdit {
            idc = 7441;
            colorText[] = {1,1,1,1};
            text = "1";
            sizeEx = 0.030;
            x = 0.36 * safezoneW + safezoneX;
            y = 0.49 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            h = 0.03;
            onload = "ctrlShow [_this,false]";
        };
        class ZSC_RscButtonMenu_ATT3: AT_Zupa_BlueButton
        {
            idc = 7442;
            text = " < ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.57 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[(lbCurSel 7422)] call Z_removeItemFromBuyingList;";
            onload = "ctrlShow [_this,false]";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_ATT4: AT_Zupa_BlueButton
        {
            idc = 7443;
            text = " << ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.65 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "call Z_removeAllFromBuyingList;";
            onload = "ctrlShow [_this,false]";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class RscText_ATT8: ZSC_RscText
        {
            idc = 7404;
            text = "0/0/0";
            x = 0.45 * safezoneW + safezoneX;
            y = 0.32 * safezoneH + safezoneY;
            w = 0.15 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
            onload = "ctrlShow [_this,false]";
        };
        class RscSearchBackground2: ZSC_RscText
        {
            idc = -1;
            text = "";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
            colorBackground[] = {0.1,0.1,0.1,1};
        };
        class RscText_AT18: ZSC_RscText
        {
            idc = 7410;
            text = "Nothing";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class ZSC_RscButtonMenu_AT16: AT_Zupa_BlueButton
        {
            idc = 7435;
            text = "Sell";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.77 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            onButtonClick = "call Z_SellItems;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT27: AT_Zupa_BlueButton
        {
            idc = 7436;
            text = "Buy";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.77 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            onload = "ctrlShow [_this,false]";
            onButtonClick = "call Z_BuyItems;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT28: AT_Zupa_BlueButton
        {
            idc = -1;
            x = 0.63 * safezoneW + safezoneX;
            y = 0.77 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 9000);";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
      text = "Close";
        };
        class RscStrText_AT_PriceInfo: ZSC_RscStructuredText // todo
        {
            idc = 7451;
            text = "";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscText_AT_InfoLabel: ZSC_RscText
        {
            idc = -1;
            text = "   Item info";
            x = 0.60 * safezoneW + safezoneX;
            y = 0.38 * safezoneH + safezoneY;
            w = 0.20 * safezoneW;
            h = 0.03 * safezoneH;
            colorBackground[] = {0.2,0.75,1,1};
            colorText[] = {1,1,1,1};
        };
        class RscText_AT_BreakLine: ZSC_RscText
        {
                idc = -1;
                x = 0.60 * safezoneW + safezoneX;
                y = 0.15 * safezoneH + safezoneY;
                w = 0.0005 * safezoneW;
                h = 0.70 * safezoneH;
              colorBackground[] = {0.2,0.75,1,1};
        };
    class RscStrText_AT_ItemInfo: ZSC_RscStructuredText
    {
        idc = 7445;
        text = "";
        x = 0.61 * safezoneW + safezoneX;
        y = 0.43 * safezoneH + safezoneY;
        w = 0.19 * safezoneW;
        h = 0.59 * safezoneH;
        colorText[] = {1,1,1,1};
    };
        class RscStrText_AT_ContainerInfo: ZSC_RscStructuredText
        {
            idc = 7446;
            text = "";
            x = 0.61 * safezoneW + safezoneX;
            y = 0.24 * safezoneH + safezoneY;
            w = 0.19 * safezoneW;
            h = 0.35 * safezoneH;
            colorText[] = {1,1,1,1};
        };
    };
};

 

new to all this so please just tell me if you need anything else.   ty

Link to comment
Share on other sites

3 hours ago, outlawedz said:

i have an issues with this. installed with currency 3.0. load server and get waiting for host.   other mods, wicked ai, dzai, dz missions. 3.0 coins and infistar is on it as well.

  Reveal hidden contents


by ca\wheeled_e\v3s\config.bin/CfgVehicles/V3S_Base_EP1/


Updating base class ->V3S_Base_EP1, by ca\wheeled_e\v3s\config.bin/CfgVehicles/V3S_Refuel_TK_GUE_EP1/


Updating base class AKS_BASE->AK_BASE, by vilas_aks_cfg\config.cpp/cfgWeapons/AKS_74_UN_kobra/


Updating base class House->DZE_OpenHouse, by warehouse\config.bin/CfgVehicles/Land_Ind_Pec_03/


Updating base class ->C130J_base, by ca\air_e\config.bin/CfgVehicles/C130J_US_EP1/


Updating base class ->Helicopter, by ca\air_e\ah6j\config.bin/CfgVehicles/AH6_Base_EP1/


Updating base class ->Plane, by ca\air_e\an2\config.bin/CfgVehicles/An2_Base_EP1/


Updating base class ->CH47_base_EP1, by ca\air_e\ch47\config.bin/CfgVehicles/CH_47F_EP1/


Updating base class ViewOptics->, by ca\air_e\uh1h\config.bin/CfgVehicles/UH1H_base/Turrets/MainTurret/ViewOptics/


Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Crew_PMC/


Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_TL_PMC/


Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Bodyguard_M4_PMC/


Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Bodyguard_AA12_PMC/


Updating base class ->BAF_Soldier_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_W/


Updating base class ->BAF_Soldier_L_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_L_W/


Updating base class ->BAF_Soldier_Officer_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_Officer_W/


Updating base class ->BAF_Soldier_SniperH_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_SniperH_W/


Updating base class ->M113Ambul_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113Ambul_UN_EP1/


Updating base class ->M113_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113_UN_EP1/


Updating base class ->M113Ambul_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113Ambul_TK_EP1/


Updating base class ->M113_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113_TK_EP1/


Updating base class ->Helicopter, by ca\air_d_baf\config.bin/CfgVehicles/BAF_Merlin_HC3_D/


Updating base class AK_BASE->AKS_BASE, by ca\communityconfigurationproject_e\ai_madeaks74unkobrafullysilenced\config.bin/CfgWeapons/AKS_74_UN_kobra/


Updating base class ReammoBox->Small_items, by corepatch\corepatch_additionalobjects\config.cpp/CfgVehicles/CardboardBox/


Updating base class ->Mode_FullAuto, by corepatch\corepatch_ccp_68220\config.cpp/CfgWeapons/G36a/FullAuto/


Updating base class ->Mode_SemiAuto, by corepatch\corepatch_ccp_68220\config.cpp/CfgWeapons/G36a/Single/


Updating base class CA_Magazine->4000Rnd_762x51_M134, by corepatch\corepatch_ccp_71142_cit_13602_25047\config.cpp/CfgMagazines/2000Rnd_762x51_M134/


18:20:02 Initializing Steam server - Game Port: 2302, Steam Query Port: 2303


18:20:03 Connected to Steam servers


ErrorMessage: File mpmissions\__cur_mp.chernarus\zupa\advancedTrading\advancedTrading.hpp, line 0: .AT_Zupa_BlueButton: Undefined base class 'ZSC_RscButtonMenu'

rpt log in spoiler.      i have read over these pages.    early suggestions where discription not being right, so here is that as well.

  Reveal hidden contents

#include "ZSC\config\cfgServerTrader.hpp"
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;

briefing = 0;
debriefing = 0;

onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";

class Header
{
 gameType = COOP;            //DM, Team, Coop, ...
 minPlayers = 1;             //min # of players the mission supports
 maxPlayers = 100;            //Max # of players the mission supports
};

aiKills = 1;
diagRadio = 1;
diagHit = 1;

class RscText
{
    type = 0;
    idc = -1;
    x = 0;
    y = 0;
    h = 0.037;
    w = 0.3;
    style = 0x100;
    font = Zeppelin32;
    SizeEx = 0.03921;
    colorText[] = {1,1,1,1};
    colorBackground[] = {0, 0, 0, 0};
    linespacing = 1;
};
class RscPicture
{
    access=0;
    type=0;
    idc=-1;
    style=48;
    colorBackground[]={0,0,0,0};
    colorText[]={1,1,1,1};
    font="TahomaB";
    sizeEx=0;
    lineSpacing=0;
    text="";
};
class RscLoadingText : RscText
{
    style = 2;
    x = 0.323532;
    y = 0.666672;
    w = 0.352944;
    h = 0.039216;
    sizeEx = 0.03921;
    colorText[] = {0.543,0.5742,0.4102,1.0};
};
class RscProgress
{
    x = 0.344;
    y = 0.619;
    w = 0.313726;
    h = 0.0261438;
    texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
    colorFrame[] = {0,0,0,0};
    colorBar[] = {1,1,1,1};
};
class RscProgressNotFreeze
{
    idc = -1;
    type = 45;
    style = 0;
    x = 0.022059;
    y = 0.911772;
    w = 0.029412;
    h = 0.039216;
    texture = "#(argb,8,8,3)color(0,0,0,0)";
};
//
// the loading screen itself
//
class CfgSounds
{
    sounds[] =
    {
        Radio_Message_Sound
    };
    class Radio_Message_Sound
    {
        name = "Radio_Message_Sound";
        sound[] = {custom\remote\radio.ogg,0.4,1};
        titles[] = {};
    };
};
class DayZ_loadingScreen
{
    idd = -1;
    duration = 10e10;
    fadein = 0;
    fadeout = 0;
    name = "loading screen";
    class controlsBackground
    {
        class blackBG : RscText
        {
            x = safezoneX;
            y = safezoneY;
            w = safezoneW;
            h = safezoneH;
            text = "";
            colorText[] = {0,0,0,0};
            colorBackground[] = {0,0,0,1};
        };
        /*
        class nicePic : RscPicture
        {
            style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
            x = safezoneX + safezoneW/2 - 0.25;
            y = safezoneY + safezoneH/2 - 0.2;
            w = 0.5;
            h = 0.4;
            text = "img\nicePic.paa";
        };
        */
    };
    class controls
    {
        class Title1 : RscLoadingText
        {
            text = "$STR_LOADING"; // "Loading" text in the middle of the screen
        };
        class CA_Progress : RscProgress // progress bar, has to have idc 104
        {
            idc = 104;
            type = 8; // CT_PROGRESS
            style = 0; // ST_SINGLE
            texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
        };
        class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
        {
            idc = 103;
        };
        class Name2: RscText // the text on the top-left
        {
            idc = 101;
            x = 0.05;
            y = 0.029412;
            w = 0.9;
            h = 0.04902;
            text = "";
            sizeEx = 0.05;
            colorText[] = {0.543,0.5742,0.4102,1.0};
        };
    };
};
class RscTitles
{
#include "ZSC\config\ZSChud.hpp"
};

#include "zupa\advancedTrading\advancedTrading.hpp"
#include "zupa\advancedTrading\ZSCdefines.hpp"                                // if u don't have it from ZSC
#include "ZSC\config\ZSCdialogs.hpp"

 

file where error is showing

  Reveal hidden contents

class AT_Zupa_BlueButton: ZSC_RscButtonMenu {
    colorBackground[] = {0.2,0.75,1,1};
    colorText[] = {1,1,1,1};
    class Attributes
    {
        align = "center";
    };
};

class AdvancedTrading
{
    idd = 711197;
    onLoad = "uiNamespace setVariable ['AdvancedTrading', _this select 0]";
    class Controls {
        class RscText_ATBackground1: ZSC_RscText
        {
            idc = -1;
            x = 0.20 * safezoneW + safezoneX;
            y = 0.15 * safezoneH + safezoneY;
            w = 0.40 * safezoneW;
            h = 0.70 * safezoneH;
            colorBackground[] = {0.2,0.2,0.2,1};
        };
        class RscText_ATBackground2: ZSC_RscText
        {
            idc = -1;
            x = 0.60 * safezoneW + safezoneX;
            y = 0.15 * safezoneH + safezoneY;
            w = 0.20 * safezoneW;
            h = 0.70 * safezoneH;
            colorBackground[] = {0.1,0.1,0.1,1};
        };
    class RscText_AT2: ZSC_RscText
        {
            idc = -1;
            text = "Advanced Trading";
            x = 0.20 * safezoneW + safezoneX;
            y = 0.15 * safezoneH + safezoneY;
            w = 0.60 * safezoneW;
            h = 0.04 * safezoneH;
            colorBackground[] = {0.2,0.75,1,1};
            colorText[] = {1,1,1,1};
        };

    class RscText_Zupa_1: ZSC_RscText
        {
            idc = 7408;
            text = "Selling from gear.";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.22 * safezoneH + safezoneY;
            w = 0.38 * safezoneW;
            h = 0.05 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class ZSC_RscButtonMenu_Z1: AT_Zupa_BlueButton
        {
            idc = -1;
            text =  "Gear";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.26 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[2] call Z_getContainer;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_Z2: AT_Zupa_BlueButton
        {
            idc = -1;
            text =  "Backpack";
            x = 0.31 * safezoneW + safezoneX;
            y = 0.26 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[0] call Z_getContainer;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_Z3: AT_Zupa_BlueButton
        {
            idc = -1;
            text =  "Vehicle";
            x = 0.41 * safezoneW + safezoneX;
            y = 0.26 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[1] call Z_getContainer;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_Z4: AT_Zupa_BlueButton
        {
            idc = 7416;
            text =  "Sell";
            x = 0.51 * safezoneW + safezoneX;
            y = 0.26 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "call Z_ChangeBuySell;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class RscText_AT6: ZSC_RscText
        {
            idc = 7412;
            text = "";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.30 * safezoneH + safezoneY;
            w = 0.30 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscText_AT7: ZSC_RscText
        {
            idc = 7413;
            text = "";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.33 * safezoneH + safezoneY;
            w = 0.30 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscText_AT8: ZSC_RscText
        {
            idc = -1;
            text = "Inventory";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.38 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscText_AT9: ZSC_RscText
        {
            idc = 7409;
            text = "Selling";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.38 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscBackgroundText_Zupa_1: ZSC_RscText
        {
            idc = -1;
            text = "";
            x = 0.21* safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            colorText[] = {1,1,1,1};
            colorBackground[] = {0.1,0.1,0.1,1};
        };
        class RscBackgroundText_Zupa_2: ZSC_RscText
        {
            idc = -1;
            text = "";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.41* safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            colorText[] = {1,1,1,1};
            colorBackground[] = {0.1,0.1,0.1,1};
        };

        class RscListbox_AT10: ZSC_RscListBox
        {
            idc = 7401;
            type = 5;
            idcLeft = -1;
      idcRight = -1;
            x = 0.21* safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            soundSelect[] = {"",0.1,1};
            colorBackground[] = {0.1,0.1,0.1,0.8};
            onLBSelChanged = "['sellable',(lbCurSel 7401)] call Z_getItemInfo";
            class ListScrollBar: ZSC_RscScrollBar{};
            class ScrollBar
            {
                color[] = {1,1,1,0.6};
                colorActive[] = {1,1,1,1};
                colorDisabled[] = {1,1,1,0.3};
                shadow = 0;
                thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
                arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
                arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
                border = "\ca\ui\data\ui_border_scroll_ca.paa";
            };
        };
        class RscListbox_AT11: ZSC_RscListBox
        {
            idc = 7402;
            x = 0.46 * safezoneW + safezoneX;
            y = 0.41* safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            soundSelect[] = {"",0.1,1};
            colorBackground[] = {0.1,0.1,0.1,0.8};
            onLBSelChanged = "['selling',(lbCurSel 7402)] call Z_getItemInfo";
            class ListScrollBar: ZSC_RscScrollBar{};
            class ScrollBar
            {
                color[] = {1,1,1,0.6};
                colorActive[] = {1,1,1,1};
                colorDisabled[] = {1,1,1,0.3};
                shadow = 0;
                thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
                arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
                arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
                border = "\ca\ui\data\ui_border_scroll_ca.paa";
            };
        };
        class RscListbox_AT20: ZSC_RscListBox
        {
            idc = 7421;
            type = 5;
            idcLeft = -1;
      idcRight = -1;
            x = 0.21* safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            soundSelect[] = {"",0.1,1};
            colorBackground[] = {0.1,0.1,0.1,0.8};
            onload = "ctrlShow [_this,false]";
            onLBSelChanged = "['buyable',(lbCurSel 7421)] call Z_getItemInfo";
            class ListScrollBar: ZSC_RscScrollBar{};
            class ScrollBar
            {
                color[] = {1,1,1,0.6};
                colorActive[] = {1,1,1,1};
                colorDisabled[] = {1,1,1,0.3};
                shadow = 0;
                thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
                arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
                arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
                border = "\ca\ui\data\ui_border_scroll_ca.paa";
            };
        };
        class RscListbox_AT21: ZSC_RscListBox
        {
            idc = 7422;
            x = 0.46 * safezoneW + safezoneX;
            y = 0.41* safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            soundSelect[] = {"",0.1,1};
            colorBackground[] = {0.1,0.1,0.1,0.8};
            onload = "ctrlShow [_this,false]";
            onLBSelChanged = "['buying',(lbCurSel 7422)] call Z_getItemInfo";
            class ScrollBar
            {
                color[] = {1,1,1,0.6};
                colorActive[] = {1,1,1,1};
                colorDisabled[] = {1,1,1,0.3};
                shadow = 0;
                thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
                arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
                arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
                border = "\ca\ui\data\ui_border_scroll_ca.paa";
            };
        };
        class RscSearchBackground: ZSC_RscText
        {
            idc = -1;
            x = 0.21 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
            colorBackground[] = {0.1,0.1,0.1,1};
        };
        class Zupa_Filter_Edit : ZSC_RscEdit {
            idc = 7444;
            colorText[] = {1,1,1,1};
            text = "";
            sizeEx = 0.030;
            x = 0.21 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.04;
        };
        class ZSC_RscButtonMenu_ATTFilter: AT_Zupa_BlueButton
        {
            idc = -1;
            text = "Filter";
      x = 0.21 * safezoneW + safezoneX;
            y = 0.77 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            onButtonClick = "[(ctrlText 7444)] call Z_filterList;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT12: AT_Zupa_BlueButton
        {
            idc = 7430;
            text =  " > ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[(lbCurSel 7401)] call Z_pushItemToList;";
            colorBackground[] =  {1,1,1,1};
        color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT14: AT_Zupa_BlueButton
        {
            idc = 7431;
            text = " >> ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.49 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "call Z_pushAllToList;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT13: AT_Zupa_BlueButton
        {
            idc = 7432;
            text = " < ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.57 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[(lbCurSel 7402)] call Z_removeItemFromList;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT15: AT_Zupa_BlueButton
        {
            idc = 7433;
            text = " << ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.65 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "call Z_removeAllToList;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_ATT1: AT_Zupa_BlueButton

        {
            idc = 7440;
            text = " > ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[(lbCurSel 7421),(ctrlText 7441)] call Z_toBuyingList;";
            onload = "ctrlShow [_this,false]";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class Zupa_Ammount_Edit : ZSC_RscEdit {
            idc = 7441;
            colorText[] = {1,1,1,1};
            text = "1";
            sizeEx = 0.030;
            x = 0.36 * safezoneW + safezoneX;
            y = 0.49 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            h = 0.03;
            onload = "ctrlShow [_this,false]";
        };
        class ZSC_RscButtonMenu_ATT3: AT_Zupa_BlueButton
        {
            idc = 7442;
            text = " < ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.57 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[(lbCurSel 7422)] call Z_removeItemFromBuyingList;";
            onload = "ctrlShow [_this,false]";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_ATT4: AT_Zupa_BlueButton
        {
            idc = 7443;
            text = " << ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.65 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "call Z_removeAllFromBuyingList;";
            onload = "ctrlShow [_this,false]";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class RscText_ATT8: ZSC_RscText
        {
            idc = 7404;
            text = "0/0/0";
            x = 0.45 * safezoneW + safezoneX;
            y = 0.32 * safezoneH + safezoneY;
            w = 0.15 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
            onload = "ctrlShow [_this,false]";
        };
        class RscSearchBackground2: ZSC_RscText
        {
            idc = -1;
            text = "";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
            colorBackground[] = {0.1,0.1,0.1,1};
        };
        class RscText_AT18: ZSC_RscText
        {
            idc = 7410;
            text = "Nothing";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class ZSC_RscButtonMenu_AT16: AT_Zupa_BlueButton
        {
            idc = 7435;
            text = "Sell";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.77 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            onButtonClick = "call Z_SellItems;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT27: AT_Zupa_BlueButton
        {
            idc = 7436;
            text = "Buy";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.77 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            onload = "ctrlShow [_this,false]";
            onButtonClick = "call Z_BuyItems;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT28: AT_Zupa_BlueButton
        {
            idc = -1;
            x = 0.63 * safezoneW + safezoneX;
            y = 0.77 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 9000);";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
      text = "Close";
        };
        class RscStrText_AT_PriceInfo: ZSC_RscStructuredText // todo
        {
            idc = 7451;
            text = "";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscText_AT_InfoLabel: ZSC_RscText
        {
            idc = -1;
            text = "   Item info";
            x = 0.60 * safezoneW + safezoneX;
            y = 0.38 * safezoneH + safezoneY;
            w = 0.20 * safezoneW;
            h = 0.03 * safezoneH;
            colorBackground[] = {0.2,0.75,1,1};
            colorText[] = {1,1,1,1};
        };
        class RscText_AT_BreakLine: ZSC_RscText
        {
                idc = -1;
                x = 0.60 * safezoneW + safezoneX;
                y = 0.15 * safezoneH + safezoneY;
                w = 0.0005 * safezoneW;
                h = 0.70 * safezoneH;
              colorBackground[] = {0.2,0.75,1,1};
        };
    class RscStrText_AT_ItemInfo: ZSC_RscStructuredText
    {
        idc = 7445;
        text = "";
        x = 0.61 * safezoneW + safezoneX;
        y = 0.43 * safezoneH + safezoneY;
        w = 0.19 * safezoneW;
        h = 0.59 * safezoneH;
        colorText[] = {1,1,1,1};
    };
        class RscStrText_AT_ContainerInfo: ZSC_RscStructuredText
        {
            idc = 7446;
            text = "";
            x = 0.61 * safezoneW + safezoneX;
            y = 0.24 * safezoneH + safezoneY;
            w = 0.19 * safezoneW;
            h = 0.35 * safezoneH;
            colorText[] = {1,1,1,1};
        };
    };
};

 

new to all this so please just tell me if you need anything else.   ty

Try change priority .. see at the bottom of your description.ext

Spoiler

#include "zupa\advancedTrading\ZSCdefines.hpp"                                // if u don't have it from ZSC

#include "ZSC\config\ZSCdialogs.hpp"

#include "zupa\advancedTrading\advancedTrading.hpp"
 

or try use the hpp from coins system

Spoiler

#include "ZSC\config\ZSCdefines.hpp"  
#include "ZSC\config\ZSCdialogs.hpp"

//#include "zupa\advancedTrading\ZSCdefines.hpp"                                // DELETE ME

#include "zupa\advancedTrading\advancedTrading.hpp" //adv trading

 

Link to comment
Share on other sites

1 hour ago, juandayz said:

Try change priority .. see at the bottom of your description.ext

  Reveal hidden contents

#include "zupa\advancedTrading\ZSCdefines.hpp"                                // if u don't have it from ZSC

#include "ZSC\config\ZSCdialogs.hpp"

#include "zupa\advancedTrading\advancedTrading.hpp"
 

or try use the hpp from coins system

  Reveal hidden contents

#include "ZSC\config\ZSCdefines.hpp"  
#include "ZSC\config\ZSCdialogs.hpp"

//#include "zupa\advancedTrading\ZSCdefines.hpp"                                // DELETE ME

#include "zupa\advancedTrading\advancedTrading.hpp" //adv trading

 

tried both of these steps. still same issues. ty for advice. any other ideas out there?

 

Spoiler

 

Updating base class ->Plane, by ca\air_e\an2\config.bin/CfgVehicles/An2_Base_EP1/

Updating base class ->CH47_base_EP1, by ca\air_e\ch47\config.bin/CfgVehicles/CH_47F_EP1/

Updating base class ViewOptics->, by ca\air_e\uh1h\config.bin/CfgVehicles/UH1H_base/Turrets/MainTurret/ViewOptics/

Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Crew_PMC/

Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_TL_PMC/

Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Bodyguard_M4_PMC/

Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Bodyguard_AA12_PMC/

Updating base class ->BAF_Soldier_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_W/

Updating base class ->BAF_Soldier_L_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_L_W/

Updating base class ->BAF_Soldier_Officer_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_Officer_W/

Updating base class ->BAF_Soldier_SniperH_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_SniperH_W/

Updating base class ->M113Ambul_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113Ambul_UN_EP1/

Updating base class ->M113_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113_UN_EP1/

Updating base class ->M113Ambul_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113Ambul_TK_EP1/

Updating base class ->M113_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113_TK_EP1/

Updating base class ->Helicopter, by ca\air_d_baf\config.bin/CfgVehicles/BAF_Merlin_HC3_D/

Updating base class AK_BASE->AKS_BASE, by ca\communityconfigurationproject_e\ai_madeaks74unkobrafullysilenced\config.bin/CfgWeapons/AKS_74_UN_kobra/

Updating base class ReammoBox->Small_items, by corepatch\corepatch_additionalobjects\config.cpp/CfgVehicles/CardboardBox/

Updating base class ->Mode_FullAuto, by corepatch\corepatch_ccp_68220\config.cpp/CfgWeapons/G36a/FullAuto/

Updating base class ->Mode_SemiAuto, by corepatch\corepatch_ccp_68220\config.cpp/CfgWeapons/G36a/Single/

Updating base class CA_Magazine->4000Rnd_762x51_M134, by corepatch\corepatch_ccp_71142_cit_13602_25047\config.cpp/CfgMagazines/2000Rnd_762x51_M134/

18:20:02 Initializing Steam server - Game Port: 2302, Steam Query Port: 2303

18:20:03 Connected to Steam servers

ErrorMessage: File mpmissions\__cur_mp.chernarus\zupa\advancedTrading\advancedTrading.hpp, line 0: .AT_Zupa_BlueButton: Undefined base class 'ZSC_RscButtonMenu'

pt log in spoiler.      i have read over these pages.    early suggestions where discription not being right, so here is that as well.

 

Spoiler

#include "ZSC\config\cfgServerTrader.hpp"
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;

briefing = 0;
debriefing = 0;

onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";

class Header
{
 gameType = COOP;            //DM, Team, Coop, ...
 minPlayers = 1;             //min # of players the mission supports
 maxPlayers = 100;            //Max # of players the mission supports
};

aiKills = 1;
diagRadio = 1;
diagHit = 1;

class RscText
{
    type = 0;
    idc = -1;
    x = 0;
    y = 0;
    h = 0.037;
    w = 0.3;
    style = 0x100;
    font = Zeppelin32;
    SizeEx = 0.03921;
    colorText[] = {1,1,1,1};
    colorBackground[] = {0, 0, 0, 0};
    linespacing = 1;
};
class RscPicture
{
    access=0;
    type=0;
    idc=-1;
    style=48;
    colorBackground[]={0,0,0,0};
    colorText[]={1,1,1,1};
    font="TahomaB";
    sizeEx=0;
    lineSpacing=0;
    text="";
};
class RscLoadingText : RscText
{
    style = 2;
    x = 0.323532;
    y = 0.666672;
    w = 0.352944;
    h = 0.039216;
    sizeEx = 0.03921;
    colorText[] = {0.543,0.5742,0.4102,1.0};
};
class RscProgress
{
    x = 0.344;
    y = 0.619;
    w = 0.313726;
    h = 0.0261438;
    texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
    colorFrame[] = {0,0,0,0};
    colorBar[] = {1,1,1,1};
};
class RscProgressNotFreeze
{
    idc = -1;
    type = 45;
    style = 0;
    x = 0.022059;
    y = 0.911772;
    w = 0.029412;
    h = 0.039216;
    texture = "#(argb,8,8,3)color(0,0,0,0)";
};
//
// the loading screen itself
//
class CfgSounds
{
    sounds[] =
    {
        Radio_Message_Sound
    };
    class Radio_Message_Sound
    {
        name = "Radio_Message_Sound";
        sound[] = {custom\remote\radio.ogg,0.4,1};
        titles[] = {};
    };
};
class DayZ_loadingScreen
{
    idd = -1;
    duration = 10e10;
    fadein = 0;
    fadeout = 0;
    name = "loading screen";
    class controlsBackground
    {
        class blackBG : RscText
        {
            x = safezoneX;
            y = safezoneY;
            w = safezoneW;
            h = safezoneH;
            text = "";
            colorText[] = {0,0,0,0};
            colorBackground[] = {0,0,0,1};
        };
        /*
        class nicePic : RscPicture
        {
            style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
            x = safezoneX + safezoneW/2 - 0.25;
            y = safezoneY + safezoneH/2 - 0.2;
            w = 0.5;
            h = 0.4;
            text = "img\nicePic.paa";
        };
        */
    };
    class controls
    {
        class Title1 : RscLoadingText
        {
            text = "$STR_LOADING"; // "Loading" text in the middle of the screen
        };
        class CA_Progress : RscProgress // progress bar, has to have idc 104
        {
            idc = 104;
            type = 8; // CT_PROGRESS
            style = 0; // ST_SINGLE
            texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
        };
        class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
        {
            idc = 103;
        };
        class Name2: RscText // the text on the top-left
        {
            idc = 101;
            x = 0.05;
            y = 0.029412;
            w = 0.9;
            h = 0.04902;
            text = "";
            sizeEx = 0.05;
            colorText[] = {0.543,0.5742,0.4102,1.0};
        };
    };
};
class RscTitles
{
#include "ZSC\config\ZSChud.hpp"
};

#include "zupa\advancedTrading\advancedTrading.hpp"
#include "zupa\advancedTrading\ZSCdefines.hpp"                                // if u don't have it from ZSC
#include "ZSC\config\ZSCdialogs.hpp"

 

file where error is showing

Spoiler

class AT_Zupa_BlueButton: ZSC_RscButtonMenu {
    colorBackground[] = {0.2,0.75,1,1};
    colorText[] = {1,1,1,1};
    class Attributes
    {
        align = "center";
    };
};

class AdvancedTrading
{
    idd = 711197;
    onLoad = "uiNamespace setVariable ['AdvancedTrading', _this select 0]";
    class Controls {
        class RscText_ATBackground1: ZSC_RscText
        {
            idc = -1;
            x = 0.20 * safezoneW + safezoneX;
            y = 0.15 * safezoneH + safezoneY;
            w = 0.40 * safezoneW;
            h = 0.70 * safezoneH;
            colorBackground[] = {0.2,0.2,0.2,1};
        };
        class RscText_ATBackground2: ZSC_RscText
        {
            idc = -1;
            x = 0.60 * safezoneW + safezoneX;
            y = 0.15 * safezoneH + safezoneY;
            w = 0.20 * safezoneW;
            h = 0.70 * safezoneH;
            colorBackground[] = {0.1,0.1,0.1,1};
        };
    class RscText_AT2: ZSC_RscText
        {
            idc = -1;
            text = "Advanced Trading";
            x = 0.20 * safezoneW + safezoneX;
            y = 0.15 * safezoneH + safezoneY;
            w = 0.60 * safezoneW;
            h = 0.04 * safezoneH;
            colorBackground[] = {0.2,0.75,1,1};
            colorText[] = {1,1,1,1};
        };

    class RscText_Zupa_1: ZSC_RscText
        {
            idc = 7408;
            text = "Selling from gear.";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.22 * safezoneH + safezoneY;
            w = 0.38 * safezoneW;
            h = 0.05 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class ZSC_RscButtonMenu_Z1: AT_Zupa_BlueButton
        {
            idc = -1;
            text =  "Gear";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.26 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[2] call Z_getContainer;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_Z2: AT_Zupa_BlueButton
        {
            idc = -1;
            text =  "Backpack";
            x = 0.31 * safezoneW + safezoneX;
            y = 0.26 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[0] call Z_getContainer;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_Z3: AT_Zupa_BlueButton
        {
            idc = -1;
            text =  "Vehicle";
            x = 0.41 * safezoneW + safezoneX;
            y = 0.26 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[1] call Z_getContainer;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_Z4: AT_Zupa_BlueButton
        {
            idc = 7416;
            text =  "Sell";
            x = 0.51 * safezoneW + safezoneX;
            y = 0.26 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "call Z_ChangeBuySell;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class RscText_AT6: ZSC_RscText
        {
            idc = 7412;
            text = "";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.30 * safezoneH + safezoneY;
            w = 0.30 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscText_AT7: ZSC_RscText
        {
            idc = 7413;
            text = "";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.33 * safezoneH + safezoneY;
            w = 0.30 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscText_AT8: ZSC_RscText
        {
            idc = -1;
            text = "Inventory";
            x = 0.21 * safezoneW + safezoneX;
            y = 0.38 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscText_AT9: ZSC_RscText
        {
            idc = 7409;
            text = "Selling";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.38 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscBackgroundText_Zupa_1: ZSC_RscText
        {
            idc = -1;
            text = "";
            x = 0.21* safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            colorText[] = {1,1,1,1};
            colorBackground[] = {0.1,0.1,0.1,1};
        };
        class RscBackgroundText_Zupa_2: ZSC_RscText
        {
            idc = -1;
            text = "";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.41* safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            colorText[] = {1,1,1,1};
            colorBackground[] = {0.1,0.1,0.1,1};
        };

        class RscListbox_AT10: ZSC_RscListBox
        {
            idc = 7401;
            type = 5;
            idcLeft = -1;
      idcRight = -1;
            x = 0.21* safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            soundSelect[] = {"",0.1,1};
            colorBackground[] = {0.1,0.1,0.1,0.8};
            onLBSelChanged = "['sellable',(lbCurSel 7401)] call Z_getItemInfo";
            class ListScrollBar: ZSC_RscScrollBar{};
            class ScrollBar
            {
                color[] = {1,1,1,0.6};
                colorActive[] = {1,1,1,1};
                colorDisabled[] = {1,1,1,0.3};
                shadow = 0;
                thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
                arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
                arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
                border = "\ca\ui\data\ui_border_scroll_ca.paa";
            };
        };
        class RscListbox_AT11: ZSC_RscListBox
        {
            idc = 7402;
            x = 0.46 * safezoneW + safezoneX;
            y = 0.41* safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            soundSelect[] = {"",0.1,1};
            colorBackground[] = {0.1,0.1,0.1,0.8};
            onLBSelChanged = "['selling',(lbCurSel 7402)] call Z_getItemInfo";
            class ListScrollBar: ZSC_RscScrollBar{};
            class ScrollBar
            {
                color[] = {1,1,1,0.6};
                colorActive[] = {1,1,1,1};
                colorDisabled[] = {1,1,1,0.3};
                shadow = 0;
                thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
                arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
                arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
                border = "\ca\ui\data\ui_border_scroll_ca.paa";
            };
        };
        class RscListbox_AT20: ZSC_RscListBox
        {
            idc = 7421;
            type = 5;
            idcLeft = -1;
      idcRight = -1;
            x = 0.21* safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            soundSelect[] = {"",0.1,1};
            colorBackground[] = {0.1,0.1,0.1,0.8};
            onload = "ctrlShow [_this,false]";
            onLBSelChanged = "['buyable',(lbCurSel 7421)] call Z_getItemInfo";
            class ListScrollBar: ZSC_RscScrollBar{};
            class ScrollBar
            {
                color[] = {1,1,1,0.6};
                colorActive[] = {1,1,1,1};
                colorDisabled[] = {1,1,1,0.3};
                shadow = 0;
                thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
                arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
                arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
                border = "\ca\ui\data\ui_border_scroll_ca.paa";
            };
        };
        class RscListbox_AT21: ZSC_RscListBox
        {
            idc = 7422;
            x = 0.46 * safezoneW + safezoneX;
            y = 0.41* safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.30 * safezoneH;
            soundSelect[] = {"",0.1,1};
            colorBackground[] = {0.1,0.1,0.1,0.8};
            onload = "ctrlShow [_this,false]";
            onLBSelChanged = "['buying',(lbCurSel 7422)] call Z_getItemInfo";
            class ScrollBar
            {
                color[] = {1,1,1,0.6};
                colorActive[] = {1,1,1,1};
                colorDisabled[] = {1,1,1,0.3};
                shadow = 0;
                thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
                arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
                arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
                border = "\ca\ui\data\ui_border_scroll_ca.paa";
            };
        };
        class RscSearchBackground: ZSC_RscText
        {
            idc = -1;
            x = 0.21 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
            colorBackground[] = {0.1,0.1,0.1,1};
        };
        class Zupa_Filter_Edit : ZSC_RscEdit {
            idc = 7444;
            colorText[] = {1,1,1,1};
            text = "";
            sizeEx = 0.030;
            x = 0.21 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.04;
        };
        class ZSC_RscButtonMenu_ATTFilter: AT_Zupa_BlueButton
        {
            idc = -1;
            text = "Filter";
      x = 0.21 * safezoneW + safezoneX;
            y = 0.77 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            onButtonClick = "[(ctrlText 7444)] call Z_filterList;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT12: AT_Zupa_BlueButton
        {
            idc = 7430;
            text =  " > ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[(lbCurSel 7401)] call Z_pushItemToList;";
            colorBackground[] =  {1,1,1,1};
        color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT14: AT_Zupa_BlueButton
        {
            idc = 7431;
            text = " >> ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.49 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "call Z_pushAllToList;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT13: AT_Zupa_BlueButton
        {
            idc = 7432;
            text = " < ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.57 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[(lbCurSel 7402)] call Z_removeItemFromList;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT15: AT_Zupa_BlueButton
        {
            idc = 7433;
            text = " << ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.65 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "call Z_removeAllToList;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_ATT1: AT_Zupa_BlueButton

        {
            idc = 7440;
            text = " > ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.41 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[(lbCurSel 7421),(ctrlText 7441)] call Z_toBuyingList;";
            onload = "ctrlShow [_this,false]";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class Zupa_Ammount_Edit : ZSC_RscEdit {
            idc = 7441;
            colorText[] = {1,1,1,1};
            text = "1";
            sizeEx = 0.030;
            x = 0.36 * safezoneW + safezoneX;
            y = 0.49 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            h = 0.03;
            onload = "ctrlShow [_this,false]";
        };
        class ZSC_RscButtonMenu_ATT3: AT_Zupa_BlueButton
        {
            idc = 7442;
            text = " < ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.57 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "[(lbCurSel 7422)] call Z_removeItemFromBuyingList;";
            onload = "ctrlShow [_this,false]";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_ATT4: AT_Zupa_BlueButton
        {
            idc = 7443;
            text = " << ";
            x = 0.36 * safezoneW + safezoneX;
            y = 0.65 * safezoneH + safezoneY;
            w = 0.08 * safezoneW;
            onButtonClick = "call Z_removeAllFromBuyingList;";
            onload = "ctrlShow [_this,false]";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class RscText_ATT8: ZSC_RscText
        {
            idc = 7404;
            text = "0/0/0";
            x = 0.45 * safezoneW + safezoneX;
            y = 0.32 * safezoneH + safezoneY;
            w = 0.15 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
            onload = "ctrlShow [_this,false]";
        };
        class RscSearchBackground2: ZSC_RscText
        {
            idc = -1;
            text = "";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
            colorBackground[] = {0.1,0.1,0.1,1};
        };
        class RscText_AT18: ZSC_RscText
        {
            idc = 7410;
            text = "Nothing";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class ZSC_RscButtonMenu_AT16: AT_Zupa_BlueButton
        {
            idc = 7435;
            text = "Sell";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.77 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            onButtonClick = "call Z_SellItems;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT27: AT_Zupa_BlueButton
        {
            idc = 7436;
            text = "Buy";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.77 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            onload = "ctrlShow [_this,false]";
            onButtonClick = "call Z_BuyItems;";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
        };
        class ZSC_RscButtonMenu_AT28: AT_Zupa_BlueButton
        {
            idc = -1;
            x = 0.63 * safezoneW + safezoneX;
            y = 0.77 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 9000);";
            colorBackground[] =  {1,1,1,1};
            color[] = {0,0,0,1};
      text = "Close";
        };
        class RscStrText_AT_PriceInfo: ZSC_RscStructuredText // todo
        {
            idc = 7451;
            text = "";
            x = 0.46 * safezoneW + safezoneX;
            y = 0.72 * safezoneH + safezoneY;
            w = 0.13 * safezoneW;
            h = 0.03 * safezoneH;
            colorText[] = {1,1,1,1};
        };
        class RscText_AT_InfoLabel: ZSC_RscText
        {
            idc = -1;
            text = "   Item info";
            x = 0.60 * safezoneW + safezoneX;
            y = 0.38 * safezoneH + safezoneY;
            w = 0.20 * safezoneW;
            h = 0.03 * safezoneH;
            colorBackground[] = {0.2,0.75,1,1};
            colorText[] = {1,1,1,1};
        };
        class RscText_AT_BreakLine: ZSC_RscText
        {
                idc = -1;
                x = 0.60 * safezoneW + safezoneX;
                y = 0.15 * safezoneH + safezoneY;
                w = 0.0005 * safezoneW;
                h = 0.70 * safezoneH;
              colorBackground[] = {0.2,0.75,1,1};
        };
    class RscStrText_AT_ItemInfo: ZSC_RscStructuredText
    {
        idc = 7445;
        text = "";
        x = 0.61 * safezoneW + safezoneX;
        y = 0.43 * safezoneH + safezoneY;
        w = 0.19 * safezoneW;
        h = 0.59 * safezoneH;
        colorText[] = {1,1,1,1};
    };
        class RscStrText_AT_ContainerInfo: ZSC_RscStructuredText
        {
            idc = 7446;
            text = "";
            x = 0.61 * safezoneW + safezoneX;
            y = 0.24 * safezoneH + safezoneY;
            w = 0.19 * safezoneW;
            h = 0.35 * safezoneH;
            colorText[] = {1,1,1,1};
        };
    };
};

 

new to all this so please just tell me if you need anything else.

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
×
×
  • Create New...