PeeKay
Member-
Content Count
9 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout PeeKay
-
Rank
Private
-
Spawning objects ingame with subsequent names script
PeeKay replied to PeeKay's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Alright. Will do. Thanks alot guys! Thanks for the script Riouken! -
Spawning objects ingame with subsequent names script
PeeKay posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi guys, I am trying to alter this script where I spawn objects while in-game. consmkr.sqf: // Construction Interface // This script creates the objects. // By: Oliver 15th MEU(SOC) private ["_maker","_object","_padlistofobj"]; //_maker = _this select 0; _object = lbCurSel 1500; _padlistofobj =(count((getMarkerPos "coinpad") nearObjects 11)); If (_padlistofobj >= 53) exitWith {Hint "Please clear the Construction Pad before building more items!";}; switch (true) do { case (_object == 0) : { 0 = "_FORTIFICATIONS_" createVehicle (getMarkerPos "coinpad");}; case (_object == 1) : { 0 = "Land_HBarrier_large" createVehicle (getMarkerPos "coinpad");}; case (_object == 2) : { 0 = "Land_HBarrier5" createVehicle (getMarkerPos "coinpad");}; case (_object == 3) : { 0 = "Land_HBarrier3" createVehicle (getMarkerPos "coinpad");}; case (_object == 4) : { 0 = "Land_fort_bagfence_long" createVehicle (getMarkerPos "coinpad");}; case (_object == 5) : { 0 = "Land_fort_bagfence_corner" createVehicle (getMarkerPos "coinpad");}; case (_object == 6) : { 0 = "Land_fort_bagfence_round" createVehicle (getMarkerPos "coinpad");}; case (_object == 7) : { 0 = "Land_BagFenceLong" createVehicle (getMarkerPos "coinpad");}; case (_object == 8) : { 0 = "Land_BagFenceShort" createVehicle (getMarkerPos "coinpad");}; Since the objects aren't in the original mission.sqm I can't name them. I am wondering how to alter this script so the object is spawned along with a subsequent name ie. Barrier1 then Barrier2 then Barrier 3. I need to name them so the object will be saved in the my Persistent DB when I run the mission. Thanks in advance! -PeeKay -
ArmA2 Persistent Database Scripts - WIP
PeeKay replied to [kh]jman's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks for your time! I have it working now somehow.... I re-imported the sql file and some how it works this time. -
ArmA2 Persistent Database Scripts - WIP
PeeKay replied to [kh]jman's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks for the reply. Woops, forgot to mention I'm using MySQL Workbench 5.5 Is the EER Model the same as database? Because I used "Create EER Model from SQL Script" in Workbench. I also used the MSO PDB wiki. -
ArmA2 Persistent Database Scripts - WIP
PeeKay replied to [kh]jman's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi all, I am trying to setup Persistant DB for one of my mission/server. I'm really really new to MySQL and Arma2NET. I am getting this in the log: Info: 16:03:26 - Arma2NETMySQL Plugin Started. Info: 16:03:26 - Version number: 0.1.0.0 Info: 16:03:26 - Loading databases... Info: 16:03:26 - Database: arma IPAddress: 127.0.0.1 Port: 3306 Username: arma Password: NotShownForSecurityReasons Info: 16:03:27 - Unable to open connection to database, trying again in 10 seconds.MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown database 'arma' at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.AuthenticateNew(Boolean reset) at MySql.Data.MySqlClient.NativeDriver.Authenticate(Boolean reset) at MySql.Data.MySqlClient.NativeDriver.Open() at MySql.Data.MySqlClient.Driver.Open() at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() at MySql.Data.MySqlClient.MySqlPool.GetConnection() at MySql.Data.MySqlClient.MySqlConnection.Open() at Arma2NETMySQLPlugin.MySQL.OpenConnection(String connectionString) Info: 16:03:37 - Unable to open connection to database, trying again in 10 seconds.MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown database 'arma' at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.AuthenticateNew(Boolean reset) at MySql.Data.MySqlClient.NativeDriver.Authenticate(Boolean reset) at MySql.Data.MySqlClient.NativeDriver.Open() at MySql.Data.MySqlClient.Driver.Open() at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() at MySql.Data.MySqlClient.MySqlPool.GetConnection() at MySql.Data.MySqlClient.MySqlConnection.Open() It seems it is having troubles getting into the database. I am positive I followed the right directions on creating the database. Can anyone give me some advice on changing any settings in MySQL to allow proper connection please. I have done all steps on this. I read a lot of threads to the point my head is about to explode. Thank you for your time!! -
I think I have. I clicked "Create EER Model from SQL script" and used the "MSO(dat).sql" and saved the model as "arma".
-
Hi all, I am trying to setup Persistant DB for one of my mission/server. I'm really really new to MySQL and Arma2NET. I am getting this in the log: Info: 16:03:26 - Arma2NETMySQL Plugin Started. Info: 16:03:26 - Version number: 0.1.0.0 Info: 16:03:26 - Loading databases... Info: 16:03:26 - Database: arma IPAddress: 127.0.0.1 Port: 3306 Username: arma Password: NotShownForSecurityReasons Info: 16:03:27 - Unable to open connection to database, trying again in 10 seconds.MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown database 'arma' at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.AuthenticateNew(Boolean reset) at MySql.Data.MySqlClient.NativeDriver.Authenticate(Boolean reset) at MySql.Data.MySqlClient.NativeDriver.Open() at MySql.Data.MySqlClient.Driver.Open() at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() at MySql.Data.MySqlClient.MySqlPool.GetConnection() at MySql.Data.MySqlClient.MySqlConnection.Open() at Arma2NETMySQLPlugin.MySQL.OpenConnection(String connectionString) Info: 16:03:37 - Unable to open connection to database, trying again in 10 seconds.MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown database 'arma' at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.AuthenticateNew(Boolean reset) at MySql.Data.MySqlClient.NativeDriver.Authenticate(Boolean reset) at MySql.Data.MySqlClient.NativeDriver.Open() at MySql.Data.MySqlClient.Driver.Open() at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() at MySql.Data.MySqlClient.MySqlPool.GetConnection() at MySql.Data.MySqlClient.MySqlConnection.Open() It seems it is having troubles getting into the database. Can anyone give me some advice on changing any settings in MySQL to allow proper connection please. I have done all steps on this. I read a lot of threads to the point my head is about to explode. Please forgive me if this is in the wrong thread. I will gladly delete and repost elsewhere. Thank you for your time!!
-
Tophe's Arma Dedicated Server Tool (TADST)
PeeKay replied to tophe's topic in ARMA 3 - SERVERS & ADMINISTRATION
It says "add extra parameters not yet implemented". So parameter settings don't work or when you try to run multiple ones? -
Spawning Takistan insurgents
PeeKay replied to Rich_R's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
[getMarkerPos "spawnPoint3", EAST, ["TK_INS_Warlord_EP1","TK_INS_Soldier_AT_EP1"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; to specify which units you want.