Brainzaw Posted June 29, 2015 Report Share Posted June 29, 2015 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 More sharing options...
0 Brainzaw Posted June 29, 2015 Author Report Share Posted June 29, 2015 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 More sharing options...
0 cen Posted June 29, 2015 Report Share Posted June 29, 2015 Change the trader_data AFILE to be trade_items_old Link to comment Share on other sites More sharing options...
0 Brainzaw Posted June 29, 2015 Author Report Share Posted June 29, 2015 Really? just that? Thanks! But why _old? Link to comment Share on other sites More sharing options...
0 fr1nk Posted June 29, 2015 Report Share Posted June 29, 2015 I don't remember the exact reason, but something was changed a while back that broke using gems as currency...so the Epoch team added the _old suffix for this purpose. Link to comment Share on other sites More sharing options...
0 Brainzaw Posted June 30, 2015 Author Report Share Posted June 30, 2015 Allright all gems AFILE are changed to trade_items_old. But still nothing shows up... Any clue? TID and ID are correct... Link to comment Share on other sites More sharing options...
0 calamity Posted July 1, 2015 Report Share Posted July 1, 2015 Allright all gems AFILE are changed to trade_items_old. But still nothing shows up... Any clue? TID and ID are correct... fr1nk is correct however this may help Link to comment Share on other sites More sharing options...
0 Brainzaw Posted July 1, 2015 Author Report Share Posted July 1, 2015 thanks you very much sir :) Cheers Link to comment Share on other sites More sharing options...
0 ElDubya Posted July 1, 2015 Report Share Posted July 1, 2015 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 More sharing options...
0 Brainzaw Posted July 2, 2015 Author Report Share Posted July 2, 2015 HA, then it all makes sense to me :lol: Thanks for your help guys! Link to comment Share on other sites More sharing options...
Question
Brainzaw
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:
Skins on top line:
I am using phpmyadmin and in server_traders it says:
in Trader_Tids:
It works fine for now, but as i said, there are no objects in the Gems menu...
In Trader_Data:
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
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 accountSign in
Already have an account? Sign in here.
Sign In Now