One really odd thing about all of this is that when the syntax is correct a write does indeed occur then it immediately crashes the server with
Exception code: C0000005 ACCESS_VIOLATION at 57ECC778
Allocator: C:\Program Files (x86)\Steam\steamapps\common\Arma 2 Operation...
I have altered my code to this
_key = format["CHILD:999:UPDATE `dayz_chernarus`.`instance_deployable` SET `worldspace`='%1' WHERE `id`=%2:[]:",_worldspace,_objectid];
Still getting the access violation but the hive log now shows no issue even though it still kills the server and the sql...
Hmm not sure what to make of that but it would appear it does not like the format of worldspace
2013-05-28 03:28:57 HiveExt: [Debug] Original params: |CHILD:999:UPDATE `instance_deployable` SET `worldspace` = `[1,[13987.6,10755.2,104.37]]` WHERE id = 2:[]:|
2013-05-28 03:28:57 HiveExt...
The %1 %2 ect are just a way of saying hey I want to put something here and I will tell you what that is later in the statement. in this case the later is after the second " and comma. %1=first variable after comma %2 = second one after comma and so on.
I would guess this is to keep the sql...
Sarge,
Thank you for the reply. That does indeed make it less confusing but I am still having the issue.
I tried this
_key = format["CHILD:999:UPDATE `instance_deployable` SET `worldspace` = '%1' WHERE 'id' = %2:[]:",_worldspace,_objectid];
Still no dice as it kills the server every time. I...
I have been trying to update in the same fashion as listed here but the syntax on this just seems beyond me. Does anyone know where I might be going wrong?.
Here is my code.
_location = getPosATL _bomber;
_dir = getdir _bomber;
_worldspace =...
near as I can tell from the database structure you must have a spawn point in the world_vehicles table that links to a type number(unique vehicle class of uh1h or mi16_dz ect.) in the vehicles table. this will automatically add the item to the instance vehicles table on spawn for tracking. so...
Great stuff, I am using a modified version on mine and I really like this. I altered the files so the siren only starts 56 seconds before the first bomb hits with a 400m bombing radius so players really have to hustle right when the siren starts or risk being caught in the bombing. I did have...
I'm not sure if this makes a difference but at least I think we can be assured this is inherent to the engine at least with house lights of the current type. I have noticed the same phenomena on the metal vent on the air traffic control tower in nwaf. I was scoped in from cord(050,057). the area...
Great work axeman!!! It is almost perfect but for one minor issue I am having. I have this installed and working and was wondering if anyone else gets black flashing on the windows from far away. I noticed that when you look at a lit window they all have these black tiger stripes that go...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.