Jump to content
  • 0

[HELP] Trader Items?


Brainzaw

Question

Hello forum!  :D 

I have recently added 3 Gems trader to my Overpoch server.
My problem is that the items are not shown when i press on Gems in the trader menu.

Server_Traders.sqf looks like this, from the top:

// Gem Trader 1
menu_RU_Hooker1= [
    [["Gems",696]],
    [],
    "neutral"
];
// Gem Trader 2
Menu_RU_Hooker2= [
    [["Gems",697]],
    [],
    "neutral"
];
// Gem Trader 3
menu_RU_Hooker3= [
    [["Gems",698]],
    [],
    "neutral"

 

Skins on top line:

serverTraders = ["RU_Hooker1","RU_Hooker2","RU_Hooker3", and so on...


I am using phpmyadmin and in server_traders it says:

ID      CLASSNAME    INSTANCE         STATIC             DESCRIPTION 

336    RU_Hooker1           11            <is just blank>          Gem trader 1

(337 = RU_hooker2 = Gem trader 2)

(338 = RU_hooker3 = Gem trader 3)

 

in Trader_Tids:

ID    NAME  TRADER
696  Gems      336

697  Gems      337

698  Gems      338

 

It works fine for now, but as i said, there are no objects in the Gems menu...

 

In Trader_Data:

ID                 ITEM          QTY                 BUY                                          SELL                       TID        AFILE

10753   ["ItemRuby",1]   200   [12,"ItemBriefcase100oz",1]     [6,"ItemBriefcase100oz",1]     336     trade_items

10765   ["ItemRuby",1]   200   [12,"ItemBriefcase100oz",1]     [6,"ItemBriefcase100oz",1]     337     trade_items

10766   ["ItemRuby",1]   200   [12,"ItemBriefcase100oz",1]     [6,"ItemBriefcase100oz",1]     338     trade_items

 

Im using Advanced Trading and single currency too.
 

Can anyone help me and spot the error?  :blink: 
Because i can't...

Cheers

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

by the way!
In dayz_server/missions/DayZ_Epoch_11.Chernarus/missions.sqf.

the 3 traders are added to the bottom.   :) 
 

_unit_334 = objNull;
if (true) then
{
  _this = createAgent ["RU_Hooker1", [6629.03, 14262.2, 0], [], 0, "CAN_COLLIDE"];
  _unit_334 = _this;
  _this setDir 282.965;
  _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
  _this setUnitAbility 0.60000002;
  _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
 
_unit_335 = objNull;
if (true) then
{
  _this = createAgent ["RU_Hooker2", [6629.03, 14262.2, 0], [], 0, "CAN_COLLIDE"];
  _unit_335 = _this;
  _this setDir 282.965;
  _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
  _this setUnitAbility 0.60000002;
  _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
 
_unit_336 = objNull;
if (true) then
{
  _this = createAgent ["RU_Hooker3", [6629.03, 14262.2, 0], [], 0, "CAN_COLLIDE"];
  _unit_336 = _this;
  _this setDir 282.965;
  _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
  _this setUnitAbility 0.60000002;
  _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};

Link to comment
Share on other sites

  • 0

Ummmm .......... 

Im using Advanced Trading and single currency too.

Advanced Trading and Single Currency uses config traders, not database traders? Soooo, changing stuff in the database isn't going to achieve anything? Plus, single currency already has gems in it?

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...