jahangir13 Posted April 12, 2014 Report Share Posted April 12, 2014 Hi Guys, does anybody else have the problem that vehicles bought at a trader (or locked vehicles spawed via an ingame admin tool) sometimes do not spawn directly? After a server restart the vehicles then are there. While buying/spawning these I see the red arrow pointing to where they will/should spawn very very shortly and nothing happens. This is not the case all the time...sometimes they directly spawn and then I see the red arrow for a longer time and the vehicle appears but very often only after a restart. If anybody else does have this and maybe also a solution please let me know. EDIT: That is the message I get in the dump.log: 14:55:48 "EPOCH SERVERTRADE: Player: [666] jahan (95996806) bought a SUV_Charcoal in/at Klen for 2x ItemGoldBar10oz" 14:55:48 "CHILD:398:5666:0:" 14:55:48 "PUBLISH: Attempt cfabee0# 1058121: arrow_down_large_ep1.p3d REMOTE" 14:55:48 "CHILD:308:11:SUV_Charcoal:0:8677:[58,[11455.5,11341.2,0]]:[]:[]:1:1145551134120217:" 14:55:48 "LOAD OBJECT ID: \cache\objects\1145551134120217.sqf" 14:55:48 Warning Message: Script cache\objects\1145551134120217.sqf not found Jahan Link to comment Share on other sites More sharing options...
Triage Posted April 12, 2014 Report Share Posted April 12, 2014 What admin tool are you using? Link to comment Share on other sites More sharing options...
Turtle Posted April 12, 2014 Report Share Posted April 12, 2014 Same problem man. I have no idea how to fix it. But, recently I've realized how shitty my ingame performance on my own server is compared to others, so I did a little testing and found out its my mission files that are causing it. Today I will try and zero in on exactly what it is that is causing my problems. I feel confident that if I find it my vehicle problem should also go away. My question is what scripts are you running? Link to comment Share on other sites More sharing options...
jahangir13 Posted April 12, 2014 Author Report Share Posted April 12, 2014 I am running a lot of script actually...but that problem I recognized from the first minute I had a fresh install of the linux server. Installed the server, went to a trader and sometimes cars appear at the trader sometimes not. First I thought it's related to the classname of the car...but after trying a bit the same cars sometimes spawed. For whatever reason I DO NOT have any issues with spawning a Temp Vehicle (without a key). So these vehicles always spawn correctly and directly. (It's the admin tool here: (by Gregarious). @Triage: does your questions mean that you never had an issue with this? Link to comment Share on other sites More sharing options...
jahangir13 Posted April 13, 2014 Author Report Share Posted April 13, 2014 Ok, as often the problem lies between the ears ;) I guess some time ago I've updated the WAI to a newer version and with that custom_publishVehicle.sqf was copied over which prevented Vehicles to spawn correctly. I downloaded the Devd file again from Githib and now it's working again. So issue solved again as it seems. Link to comment Share on other sites More sharing options...
Turtle Posted April 13, 2014 Report Share Posted April 13, 2014 where is the file located? Link to comment Share on other sites More sharing options...
jahangir13 Posted April 13, 2014 Author Report Share Posted April 13, 2014 dayz_server/WAI/mission/compiles I don't know if that is also your issue here. First I thought it's related to my degug monitor. Did you update the WAI to a newer version on your server? Link to comment Share on other sites More sharing options...
Turtle Posted April 13, 2014 Report Share Posted April 13, 2014 No, I have the old version Link to comment Share on other sites More sharing options...
jahangir13 Posted April 13, 2014 Author Report Share Posted April 13, 2014 It's still the same. I think this afternoon I was just lucky while testing this. 20:45:38 "EPOCH SERVERTRADE: Player: [666] jahan (95996806) bought a S1203_ambulance_EP1 in/at Klen for 6x ItemGoldBar" 20:45:38 "CHILD:398:5631:0:" 20:45:39 "PUBLISH: Attempt 109833a8# 1058789: arrow_down_large_ep1.p3d REMOTE" 20:45:39 "CHILD:308:11:S1203_ambulance_EP1:0:796:[13,[11455.5,11341.2,0]]:[]:[]:1:11455511341202126:" 20:45:39 "LOAD OBJECT ID: \cache\objects\11455511341202126.sqf" 20:45:39 Warning Message: Script cache\objects\11455511341202126.sqf not found 20:45:39 "OBJECT ID CACHE: " 20:45:39 "OBJECT ID NOT FOUND" 20:45:39 "CUSTOM: failed to get id for : "11455511341202126"" But as I said before...that happens only sometimes. The next 10 bought verhicles did spawn. Link to comment Share on other sites More sharing options...
jahangir13 Posted April 19, 2014 Author Report Share Posted April 19, 2014 I have still no idea why the cache file cannot be found properly. 17:02:08 "CHILD:306:673:[]:0:" 17:02:12 Warning Message: Script cache\objects\1145551134120785.sqf not found 17:02:12 "OBJECT ID CACHE: " 17:02:17 Warning Message: Script cache\objects\1145551134120785.sqf not found 17:02:17 "OBJECT ID CACHE: " 17:02:22 Warning Message: Script cache\objects\1145551134120785.sqf not found 17:02:22 "OBJECT ID CACHE: " 17:02:27 Warning Message: Script cache\objects\1145551134120785.sqf not found 17:02:27 "OBJECT ID CACHE: " 17:02:32 Warning Message: Script cache\objects\1145551134120785.sqf not found 17:02:32 "OBJECT ID CACHE: " 17:02:37 Warning Message: Script cache\objects\1145551134120785.sqf not found 17:02:37 "OBJECT ID CACHE: " 17:02:42 Warning Message: Script cache\objects\1145551134120785.sqf not found 17:02:42 "OBJECT ID CACHE: " 17:02:47 Warning Message: Script cache\objects\1145551134120785.sqf not found 17:02:47 "OBJECT ID CACHE: " 17:02:52 Warning Message: Script cache\objects\1145551134120785.sqf not found 17:02:52 "OBJECT ID CACHE: " 17:02:57 Warning Message: Script cache\objects\1145551134120785.sqf not found 17:02:57 "OBJECT ID CACHE: " 17:03:02 Warning Message: Script cache\objects\1145551134120785.sqf not found 17:03:02 "OBJECT ID CACHE: " 17:03:07 Warning Message: Script cache\objects\1145551134120785.sqf not found 17:03:07 "OBJECT ID CACHE: " I created a while loop around the part in publish_vehicles2.sqf to give it the chance to try again. On the file system the file is there: -rw-r--r-- 1 dayzepoch users 14 Apr 19 17:01 cache/objects/1145551134120785.sqf I thought maybe it takes a bit until it's available but it has been created at 17:01 but the dump.log shows that server_publishVehicles2.sqf does not find it still at 17:03. It is always the first car I buy which does not work. The next one I buy spawns. 17:01:34 "CHILD:308:11:SUV_Blue:0:3705:[7,[11455.5,11341.2,0]]:[]:[]:1:1145551134120617:" 17:01:34 "JAHAN Test publishVehicle2" 17:01:34 "LOAD OBJECT ID: cache\objects\1145551134120617.sqf" 17:01:34 "OBJECT ID CACHE: ["PASS","673"]" What could be the reason here? Any idea? Link to comment Share on other sites More sharing options...
Turtle Posted April 20, 2014 Report Share Posted April 20, 2014 I've got the fix for this problem guys: Link to comment Share on other sites More sharing options...
jahangir13 Posted April 21, 2014 Author Report Share Posted April 21, 2014 That did not help for me when I saw your post there. As I've mentioned....the file cannot be found for some reason (the cache file). So I don't think that deleting the vehicle could be the reason. It's not appearing for a short time and then disappearing. Link to comment Share on other sites More sharing options...
Turtle Posted April 21, 2014 Report Share Posted April 21, 2014 My suggestion is do a fresh install of your pbo's then install all your scripts again 1 by 1. Because there is a good possibility that is script related. Link to comment Share on other sites More sharing options...
jahangir13 Posted April 21, 2014 Author Report Share Posted April 21, 2014 Maybe I've fixed it now (maybe as it does not always happen which makes it difficult to test ;) ). I changed the preprocessFile function in server_ublishverhicles2.sqf to loadFile as I've read that preprocessFunction should not be used in time critical tasks (even if I think that the one line in this file should be irrelevant). And I send a message to the client when server cleanup is finished and from then cars should be bought at traders again. I think that the server handles too many things directly after a restart and I always tested buying cars shortly after a restart. Did not have any problems again since then, hm. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now