Jump to content
  • 0
SgtSparraGump

Final server cleanup Part 1 - Trader Items

Question

Hi everyone,

 

This will be part of my 4 part post on final issues being worked out on my server before it is completed.

 

I have added items to the hero traders (4 guns, 1 heli and 1 car) They can all be bought no problems however they cannot be sold?

 

Specifically the M249 Saw, M110 NV and the M4A3 Acog GL.

 

They show up can be bought just not sold and cannot figure out why.

 

Can anyone please help?

 

Regards, 

 

SG.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

This is all there is under the usual "Strange convex component" and I see nothing that would stop it from working.

 

8:20:42 "Res3tting B!S effects..."


8:20:42 "\z\addons\dayz_code\system\REsec.sqf:Monitoring Remote Exe..."
8:20:42 ["AI Crates Started"]
8:20:42 Error in expression clearWeaponCargoGlobal _wbox2;
clearMagazineCargoGlobal _wbox2;>
8:20:42 Error position: <_wbox2;
clearMagazineCargoGlobal _wbox2;>
8:20:42 Error Undefined variable in expression: _wbox2
8:20:42 File z\addons\dayz_server\init\crates.sqf, line 25
8:20:42 Error in expression if ((getPlayerUID player) in AdminList || (getPlayerUID player) in Mo>
8:20:42 Error position:
8:20:42 Error Undefined variable in expression: adminlist
8:20:42 File mpmissions\__cur_mp.Chernarus\admintools\Activate.sqf, line 1
8:20:42 "HIVE: Starting"
8:20:42 "HIVE: trying to get objects"
8:20:43 ["AI Crates Spawning Complete"]
8:20:43 Error in expression _wbox2 addMagazineCargoGlobal [_Baseloot>
8:20:43 Error position: <_wbox2 addMagazineCargoGlobal [_Baseloot>
8:20:43 Error Undefined variable in expression: _wbox2
8:20:43 File z\addons\dayz_server\init\crates.sqf, line 148
8:20:43 Cannot create non-ai vehicle Land_WarfareBFieldhHospital_Base_EP1,
8:20:43 "HIVE: found 1877 objects"
8:20:43 "HIVE: Commence Object Streaming..."
8:20:44 Warning: z\addons\dayz_communityassets\models\compass.p3d:0 Error while trying to generate ST for points: 863, 853, 852
8:20:53 "HIVE: got 893 Epoch Objects and 984 Vehicles"
8:21:19 AH6X_DZ: FLIR_turret - unknown animation source FLIR_turret
8:21:19 AH6X_DZ: FLIR_gun - unknown animation source FLIR_gun
8:21:24 class HitPoints::HitLF2Wheel not found in policecar
8:21:24 class HitPoints::HitRF2Wheel not found in policecar
8:21:24 class HitPoints::HitLMWheel not found in policecar
8:21:24 class HitPoints::HitRMWheel not found in policecar
8:21:32 UH1Y_DZE: ObsTurret - unknown animation source ObsTurret
8:21:32 UH1Y_DZE: ObsGun - unknown animation source ObsGun
8:21:36 Error in expression
8:21:36 Error position:
8:21:36 Error Undefined variable in expression: menu_sniper1_dz
8:21:36 "HIVE: Vehicle Spawn limit reached!"
8:21:36 "HIVE: Spawning # of Debris: 500"
8:21:36 "HIVE: Spawning # of Ammo Boxes: 9"
8:21:36 "HIVE: Spawning # of Veins: 50"
8:21:36 "Total Number of spawn locations 5"
8:21:37 "EPOCH EVENTS INIT"
8:21:56 "TIME SYNC: Local Time set to [2013,8,3,8,21]"
8:21:57 "WAI: AI Config File Loaded"
8:22:00 "WAI: AI Monitor Started"
8:22:11 "WAI: Mission Config File Loaded"
8:22:15 "WAI: Starting AI Missions Moniter"
8:22:47 [DZMS]: Starting DayZ Mission System.
8:22:47 [DZMS]: WickedAI Found! Using WickedAI's Relations!
8:22:47 [DZMS]: Currently Running Version: 1.1FIN
8:22:47 [DZMS]: Mission and Extended Configuration Loaded!
8:22:47 [DZMS]: chernarus Detected. Map Specific Settings Adjusted!
8:22:47 [DZMS]: DayZ Epoch Detected! Some Scripts Adjusted!
8:22:50 [DZMS]: Loading ExecVM Functions.
8:22:50 [DZMS]: Loading Compiled Functions.
8:22:50 [DZMS]: Loading All Other Functions.
8:22:50 [DZMS]: Mission Functions Script Loaded!
8:22:54 [DZMS]: Major Mission Clock Starting!
8:22:54 [DZMS]: Mission Marker Loop for JIPs Starting!
8:22:54 [DZMS]: Minor Mission Clock Starting!
8:23:28 "WAI: Spawned a group of 14 Bandits at [13640.6,3163.77,0]"
8:23:29 "WAI: Spawned a group of 6 Bandits at [13501.8,3241.99,0.00214005]"
8:23:29 "WAI: Spawned a group of 3 Bandits at [13385.3,2761.11,0.00140667]"
8:23:29 "WAI: Spawned a group of 3 Bandits at [13469.3,2786.52,0.00154924]"
8:23:30 "WAI: Spawned a group of 3 Bandits at [13469.3,2786.52,0.00154924]"
8:23:30 "WAI: Spawned a group of 3 Bandits at [13628.9,3224.51,0.00119019]"
8:23:30 "WAI: Sapwned in 1 M2StaticMG"
8:23:31 "WAI: Sapwned in 5 M2StaticMG"
8:23:31 "WAI: Sapwned in 5 M2StaticMG"
8:23:32 "WAI: Sapwned in 5 M2StaticMG"
8:23:32 "WAI: Sapwned in 4 M2StaticMG"
8:23:33 "WAI: Spawned a group of 5 Bandits at [4473.35,8569.33,9.15527e-005]"
8:23:33 "WAI: Spawned a group of 5 Bandits at [4414.82,8502.65,13.4563]"
8:23:34 "WAI: Spawned a group of 5 Bandits at [4372.95,8604.39,16.6437]"
8:23:35 "WAI: Spawned a group of 5 Bandits at [4074.42,8627.63,0]"
8:23:36 "WAI: Spawned a group of 5 Bandits at [4057.66,8591.54,0]"
8:23:37 "WAI: Spawned a group of 5 Bandits at [4065.57,8607.28,3.05176e-005]"
8:23:37 "WAI: Spawned a group of 5 Bandits at [4069.5,8618.46,6.10352e-005]"
8:23:38 "WAI: Spawned a group of 5 Bandits at [4034.11,8598.19,0]"
8:23:38 "WAI: Spawned a group of 5 Bandits at [4046.56,8583.2,3.05176e-005]"
8:23:39 "WAI: Spawned a group of 5 Bandits at [4079.74,8591.79,0]"
8:23:40 "WAI: Spawned a group of 5 Bandits at [4102.69,8618.41,-0.00012207]"
8:23:41 "WAI: Spawned a group of 5 Bandits at [4164.83,8626.2,-3.05176e-005]"
8:23:42 "WAI: Spawned a group of 5 Bandits at [4182.17,8569.63,9.15527e-005]"
8:23:42 "WAI: Spawned a group of 5 Bandits at [4389.47,8677.58,0]"
8:23:43 "WAI: Spawned a group of 5 Bandits at [4251.38,8591.6,-9.15527e-005]"
8:23:44 "WAI: Spawned a group of 5 Bandits at [4213.05,8436.2,-3.05176e-005]"
8:23:45 "WAI: Spawned a group of 5 Bandits at [4235.2,8427.53,0]"
8:23:45 "WAI: Spawned a group of 5 Bandits at [4260.44,8431.77,-3.05176e-005]"
8:23:46 "WAI: Spawned a group of 5 Bandits at [4344.12,8348.69,-6.10352e-005]"
8:23:47 "WAI: Spawned a group of 5 Bandits at [4390.74,8376.76,-6.10352e-005]"
8:23:48 "WAI: Spawned a group of 5 Bandits at [4399.19,8519.48,0]"
8:23:49 "WAI: Spawned a group of 5 Bandits at [4406,8555.97,3.05176e-005]"
8:23:50 "WAI: Spawned a group of 5 Bandits at [4445.71,8499.4,0]"
8:23:51 "WAI: Spawned a group of 5 Bandits at [4513.37,8444.32,0]"
8:23:52 "WAI: Spawned a group of 5 Bandits at [4524.33,8593.15,0]"
8:23:53 "WAI: Spawned a group of 5 Bandits at [4431.11,8652.11,9.15527e-005]"
8:24:02 "162 Active ground units"
8:24:02 "20 Active emplacement units"
8:24:02 "9 Active chopper patrol units (Crew)"
8:24:02 "0 Active vehicle patrol units (Crew)"
8:24:56 "SAFE UNLOCKED: ID:2257 UID:0 BY Anttz...(76561197981068240)"
8:24:59 "CLEANUP: INITIALIZING CLEANUP SCRIPT"
8:25:02 Server: Object 3:10 not found (message 94)

;>;>"

Share this post


Link to post
Share on other sites
  • 0

Using HeidiSQL with current epoch and arma 2 mod.
The following item has been added to a trader, nice to buy but can't be sold can someone please explain what each line means?
To me it means

8006 - Number in the traders_data
["M4A3_RCO_GL_EP1 ",3] - Item ID name (dont know what the number 3 means at the end)
254 - Items available to buy
[1,"ItemGoldBar10oz",1] - Cost of item
[1,"ItemGoldBar10oz",1] - Sale price
- No idea
602 - TID
trade_weapons Trader classification.

Obviously in heidiSQL I can just duplicate and item, assign the next number in the traders_data list and change the prices to suit.

but why is it not selling to people?

This is a major issue for the server can someone please check to make sure my data is correct for inputting items into traders, FYI I use no scripts or anything to put it in, just create a new data line or duplicate and change the data to suit.

 

test_zps047f97ff.jpg

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By Brian Soanes
      To unlock vehicles left in your traders over a server restart, open your epoch_server.pbo

      In epoch_server\compile\epoch_vehicle\EPOCH_load_vehicles.sqf
      Find
      if (_allowDamage) then { Just above that, add this
      A3E_SafeZonePosArray = [ [[18451.9,14278.1,0]], //Altis East trader [[13333.5,14494.3,0]], //Altis Central trader [[6192.46,16834,0]] //Altis West trader ]; { if (_vehicle distance (_x select 0) < 200) then { _vehicle lock false; diag_log format["Vehicle %1 left in trader unlocked @ %2", _class, mapGridPosition _vehicle]; }; } forEach A3E_SafeZonePosArray; Pack pbo and you're good to go
    • By Thug
      In the file server_spawnTraders.sqf
      private "_trader"; { _trader = createAgent [_x select 0,_x select 1,[],0,"CAN_COLLIDE"]; {_trader removeMagazine _x;} count magazines _trader; removeAllItems _trader; // removeAllWeapons _trader;//this is commented out so traders have weapons removeBackpack _trader; _trader switchMove ""; _trader setDir (_x select 2); _trader setVehicleInit "this disableAI 'ANIM'; this disableAI 'AUTOTARGET'; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; this allowDamage false;"; _trader setUnitAbility 0.6; _trader disableAI "ANIM"; _trader disableAI "AUTOTARGET"; _trader disableAI "FSM"; _trader disableAI "MOVE"; _trader disableAI "TARGET"; _trader setBehaviour "CARELESS"; _trader forceSpeed 0; _trader allowDamage false; _trader enableSimulation false; } count _this; processInitCommands; What would I have to do to get the Traders to move like they did in v1.0.5.1
      I have tried but can not get it to work.
    • By Thug
      I have an overpoch Sauerland server. The vehicle traders are not spawning when you buy. The SOB takes your money and gives you a key, but no vehicle.  The arrow comes up for about 12 seconds.  After the restart, they are there, all on top of each other.
      NO, I do not have infistar installed.  It brakes the server. No admin tools at all.
      Here are my server and client RPTs. Can someone please take a look for me?
      Client
      Server
      All other traders work.
       
    • By blueman
      I made some changes to the traders inventory.
      So they they have 15 drinks, and 15 food.
      However, when I restart server, and check, the inventory was just like it was before restart.
      I have a feeling I don't understand the loot system yet, and the traders.
      Looks like it's a running tally of what ever gets sold to them, and it carries over through restarts.
      Probably only resets after it reaches a certain point (amount of items).

      What I'd like to do, is have the traders have a minimum of 15 food and 15 drink at all times is that possible?
      Thanks,
    • By harcosgoogle
      You will be allowed(permission) to enter vehicle in trader?
       
      Group (F5 ) Only Allowed just?
       
      So only your friend can sit beside him
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...