I know this is a bad workaround, but you could set the column owner_id to be a unique index. this would cause all inserts where owner_id already exists to fail.
That or you could just have a stored proc run every day or so that deletes all but the newest X tents per player ID.
One thing I...
assuming you are running a dedicated server and or know how to access your database, they are located in the instance_vehicles table. Delete the rows from there and you can spawn more.
edit:
Instance_Vehicle.World_Vehicle_ID -> World_Vehicle.ID, World_Vehicle.Vehicle_ID -> Vehicle.ID...
you only need to edit one of these. config.sqf calls arma2_CO_objects.sqf so no need to place vehicles in two spots.
Personally, I just use arma2_CO_objects.sqf for my vehicles.
look in your config file for this:
equalModRequired = 0;// Outdated. If set to 1, player has to use exactly the same -mod= startup parameter as the server.
IDK if this will do what you want but it seems to be a step in the right direction
your entire tutorial was how to spawn a vehicle through the database.
You also edited the mod file so if I'm not mistaken the key signatures won't match for players connecting.
hey Seven, I have a question for you about modifying loot types.
I see below that there is a blank itemclass with a type of "hospital". How do I modify what loot is defined in this item? The reason I ask is because I have m107 magazines spawning in with no m107 being in the loot tables as I...
so you're saying my moving the addons from the beta\expansion to addons\ it will unlock vehicles for me to spawn via the database?
If so, do I need to do anything else? I see you mention a .pbo in your first post but I am unclear exactly what pbo you are referring to and what to do with it...
I wrote a workaround script to accomplish this. I have working 18 hours light and 6 hours darkness.
Gotta have two sets of ini files and set the time offset different for each one. Create a batch file to rotate the scripts at the appropriate time.
They have a 30 day full featured free trial. That is what I downloaded. Legally. I liked the software so much I decided to keep using it and paid full price for it.
Keep telling yourself you didn't steal that software. Whatever helps you sleep at night.
Was going to say good work until you admitted to pirating software. It costs $30 and is well worth the money. If you can't afford $30 what are you doing renting a dedicated server/vps?
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.