speedshooter
Member-
Content Count
15 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout speedshooter
-
Rank
Private First Class
-
Arma2MySQL
speedshooter replied to firefly2442's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I need some help, I have tried recompiling and using the original ones but nothing seems to work. When it tries to I guess contact the database my RPT gets spammed with this: 12:01:18 Error in expression <throw "System.Reflection.TargetInvocatio> 12:01:18 Error position: <throw "System.Reflection.TargetInvocatio> 12:01:18 Error 12:01:18 Error in expression <throw "System.Reflection.TargetInvocatio> 12:01:18 Error position: <throw "System.Reflection.TargetInvocatio> 12:01:18 Error 12:01:18 Error in expression <throw "System.Reflection.TargetInvocatio> 12:01:18 Error position: <throw "System.Reflection.TargetInvocatio> 12:01:18 Error 12:01:18 Error in expression <throw "System.Reflection.TargetInvocatio> 12:01:18 Error position: <throw "System.Reflection.TargetInvocatio> 12:01:18 Error 12:01:18 Error in expression <throw "System.Reflection.TargetInvocatio> 12:01:18 Error position: <throw "System.Reflection.TargetInvocatio> 12:01:18 Error 12:01:18 Error in expression <throw "System.Reflection.TargetInvocatio> 12:01:18 Error position: <throw "System.Reflection.TargetInvocatio> 12:01:18 Error 12:01:18 Error in expression <throw "System.Reflection.TargetInvocatio> 12:01:18 Error position: <throw "System.Reflection.TargetInvocatio> 12:01:18 Error 12:01:18 Error in expression <throw "System.Reflection.TargetInvocatio> 12:01:18 Error position: <throw "System.Reflection.TargetInvocatio> 12:01:18 Error 12:01:18 Error in expression <throw "System.Reflection.TargetInvocatio> 12:01:18 Error position: <throw "System.Reflection.TargetInvocatio> 12:01:18 Error 12:01:18 Error in expression <throw "System.Reflection.TargetInvocatio> 12:01:18 Error position: <throw "System.Reflection.TargetInvocatio> 12:01:18 Error 12:01:18 Error in expression <throw "System.Reflection.TargetInvocatio> 12:01:18 Error position: <throw "System.Reflection.TargetInvocatio> 12:01:18 Error 12:01:18 Error in expression <throw "System.Reflection.TargetInvocatio> 12:01:18 Error position: <throw "System.Reflection.TargetInvocatio> 12:01:18 Error 12:01:18 Error in expression <throw "System.Reflection.TargetInvocatio> 12:01:18 Error position: <throw "System.Reflection.TargetInvocatio> 12:01:18 Error 12:01:18 Error in expression <throw "System.Reflection.TargetInvocatio> 12:01:18 Error position: <throw "System.Reflection.TargetInvocatio> 12:01:18 Error And when I open the ArmA2NetExplorer And Load the Addins this appears in the log: 02/08/2014 12:44:53 Arma2NET 2.3.0.0 running on CLR 4.0.30319.1008 02/08/2014 12:44:53 Loaded into process Arma2NetExplorer 02/08/2014 12:44:53 Loading add-ins 02/08/2014 12:44:53 Caught exception of type System.Reflection.TargetInvocationException while loading add-in Arma2NetExplorer.exe 02/08/2014 12:44:53 System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'System.Data.SQLite, Version=1.0.89.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. Attempt to load an unverifiable executable with fixups (IAT with more than 2 sections or a TLS section.) (Exception from HRESULT: 0x80131019) ---> System.IO.FileLoadException: Attempt to load an unverifiable executable with fixups (IAT with more than 2 sections or a TLS section.) (Exception from HRESULT: 0x80131019) --- End of inner exception stack trace --- at System.Reflection.RuntimeAssembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark, Boolean fIntrospection, SecurityContextSource securityContextSource) at System.Reflection.Assembly.Load(Byte[] rawAssembly) at Arma2Net.Managed.AddInManager.DomainLoadAddIn(String assemblyFile) --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Delegate.DynamicInvokeImpl(Object[] args) at Arma2Net.Managed.AddInManager.DomainDoCallback() at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate) at Arma2Net.Managed.AddInManager.DoCallbackImpl(AppDomain domain, Delegate func, Object arg) at Arma2Net.Managed.AddInManager.DoCallbackWithResult[T,TResult](AppDomain domain, Func`2 func, T arg) at Arma2Net.Managed.AddInManager.LoadAddIn(String assemblyFile) 02/08/2014 12:44:53 Domain Name Version Publisher Description 02/08/2014 12:44:53 Arma2NetExplorer.exe Arma2NETMySQL 0.1.0.0 firefly2442 Runs MySQL procedure commands. 02/08/2014 12:44:53 Arma2NetExplorer.exe Arma2NETMySQLCommand0.1.0.0 firefly2442 Runs raw MySQL/SQLite commands 02/08/2014 12:44:53 Arma2NetExplorer.exe Arma2NETMySQLCommandAsync0.1.0.0 firefly2442 Runs asynchronous raw MySQL/SQLite commands 02/08/2014 12:44:53 Arma2NetExplorer.exe ClrVersion 2.0.0.0 Scott_NZ Retrieves the version of the Common Language Runtime. 02/08/2014 12:44:53 Arma2NetExplorer.exe CompareVersion 2.0.0.0 Scott_NZ Compares two version strings and returns an integer indicating how they compare. 02/08/2014 12:44:53 Arma2NetExplorer.exe Version 2.0.0.0 Scott_NZ Returns the version of Arma2NET. 02/08/2014 12:44:53 Arma2NetExplorer.exe GetClipboardText 1.0.0.0 Scott_NZ Gets the clipboard text value. 02/08/2014 12:44:53 Arma2NetExplorer.exe SetClipboardText 1.0.0.0 Scott_NZ Sets the clipboard to a text value. 02/08/2014 12:44:53 Arma2NetExplorer.exe CommandLine 2.0.0.0 Scott_NZ Returns the command line used to start the application. 02/08/2014 12:44:53 Arma2NetExplorer.exe DateTime 2.0.0.0 Scott_NZ Returns the current date and time. 02/08/2014 12:44:53 Arma2NET initialized in 00:00:00.0564219 02/08/2014 12:44:53 function: Load 02/08/2014 12:44:53 maxResultSize: 4095 02/08/2014 12:44:53 Result size: 0 02/08/2014 12:44:53 Result: <null> Any help would be great :) ---------- Post added at 14:07 ---------- Previous post was at 13:49 ---------- Never Mind, Just found the solution in this thread :| Sorry for the post ---------- Post added at 14:12 ---------- Previous post was at 14:07 ---------- EDIT: Sqlite error fixed but not the rpt -
Arma 2 OA Constant Hint
speedshooter replied to speedshooter's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks for all your help :D -
Arma 2 OA Constant Hint
speedshooter replied to speedshooter's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks A Bunch! Ill try this out and let you know! ---------- Post added at 15:55 ---------- Previous post was at 15:30 ---------- Could you show me how i would get it as a fnc with a parseText format? -
Hi, I have seen this done before so i know its possible. Does anyone know how to make a "custom" hint so where the hint box does not reset. So for instance one hint can say "Welcome" then when you get anyother hint it shows up in the same hint box but below it. So it would be "Welcome" - New line "New Hint". If you dont understand what i am saying please say so. An Example of how to call it would be [format["Welcome To The Server", name player],"#FFFFFF"] call ultrp_hint; - Any help is great -SpeedShooter
-
Move a player into car
speedshooter replied to speedshooter's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Ill give it a try EDIT: Will this work MP? -
Hi, im trying to move a player into the back of a car using a script. It knows the player is near but it will not move him in. Heres what i have got. Action: CopAction9 = player addaction ["Put Civilian in Car","Ultimate-RP\Police\preArrest.sqf",[],1,true,true,"",'_vcl = (nearestobjects [getpos player, ["Air", "Ship", "LandVehicle"], 3] select 0);player distance _vcl < 5 and RPM_Cop']; PreArrest.sqf private ["_vcl","_target","_cop"]; _target = objNull; _cop = _this select 0; _vcl = (nearestobjects [getpos _cop, ["Air", "Ship", "LandVehicle"], 3] select 0); { if(_x distance _vcl < 10)then { if(animationstate _x == "actspercmstpsnonwrfldnon_interrogate02_forgoten")then { _target = _x; }; }; }forEach RPM_POBJArrCiv; if(isNull _target)then { _cop sideChat "No Civilians restrained Close to Vehicle"; }else{ [_target,[_vcl, _target],"Ultimate-RP\Police\ClientArrest.sqf"] execVM "Ultimate-RP\CB.sqf"; }; ClientArrest.sqf private ["_vcl","_target"]; _vcl = _this select 0; _target = _this select 1; _target moveInCargo _vcl; CB.sqf if(local(_this select 0))then { (_this select 1) execVM (_this select 2) ; }else{ CodeBroadcast = _this; publicVariable "CodeBroadcast"; };
-
hideObject Map ID
speedshooter replied to speedshooter's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Lol thanks ill try that ---------- Post added at 16:52 ---------- Previous post was at 16:50 ---------- same error :( -
hideObject Map ID
speedshooter replied to speedshooter's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
am i able to place this in a trigger or do i have to do it some other way? EDIT: Wait, just saw game logic -.- ---------- Post added at 16:17 ---------- Previous post was at 16:12 ---------- Getting a script error, not working :( ---------- Post added at 16:22 ---------- Previous post was at 16:17 ---------- error type object, expected number -
Is it possible to hide a building on a map by its id?
-
Error Zero Divisor !!HELP!!
speedshooter posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Im getting a Error Zero Divisor in my .RPT file. I cannot figure out why. If you need anymore info let me know RPT FILE: Error in expression <en { _ret = (((UltRP_AllMissionObjects) select _itemid) select 1) select 8; }; _> Error position: <select _itemid) select 1) select 8; }; _> Error Zero divisor File C:\Users\Admin\Documents\ArmA 2 Other Profiles\HunterJ\mpmissions\UltRP_Alpha_1.Chernarus\UltRP\Global\FNC_Items.sqf, line 208 FNC_Items.sqf [Line 208]: UltRP_Cfg_Items_GetString = { private ["_ret","_itemid"]; _ret = ""; _itemid = _this select 0; if (typeName(_itemid) == "SCALAR") then { _ret = (((UltRP_AllMissionObjects) select _itemid) select 1) select 8; }; _ret; }; Here is how it creates the array [ultRP_AllMissionObjects] UltRP_AllMissionObjects = UltRP_AllWeaponObjects + UltRP_AllMagazineObjects + UltRP_AllVehiclesObjects + UltRP_AllItemsArray + UltRP_AllUnitsArray; This is an example of whats in one of the arrays: [437, [2, TRUE, 20000, "2000", ["lic_car"], [[1,15]], [], "LAMBORGHINI_MURCIELAGO", "Lamborghini Murcielago", ""]], -
Returning Random Letter [HELP!!]
speedshooter replied to speedshooter's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks! -
Returning Random Letter [HELP!!]
speedshooter replied to speedshooter's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
_letters = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]; _letter = _letters select (floor count _letters); _l1 = _letter; _l2 = _letter; _l3 = _letter; _l4 = _letter; _n1 = ceil(random 9) call ISSE_str_IntToStr; _n2 = ceil(random 9) call ISSE_str_IntToStr; _n3 = ceil(random 9) call ISSE_str_IntToStr; _PLetters = _l1 + _l2 + _l3 + _l4; _PNumbers = _n1 + _n2 + _n3; _Plate = _PLetters + PNumbers; newVehicle setVariable ["Licence", _Plate, true]; plates.sqf _type = _this select 0; _type2 = typeOf _type; hintSilent parseText format["<t valign='middle' underline='1' color='#ff0000'>VEHICLE-REGISTRATION</t><br/><br/><t valign='middle' color='#15c73b'>Plate Number: %2<br/>Type: %1",_type2,_type getVariable "Licence",_businfo]; This is returning "scalar" in the hint -
Returning Random Letter [HELP!!]
speedshooter posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
_letters = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]; _l1 = random(_letters); _l2 = random(_letters); _l3 = random(_letters); _l4 = random(_letters); -
Objects Not Showing Up In Game
speedshooter replied to speedshooter's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
No im using the sp editor. I should add that it is not a ArmA made object. its a object that was made by me. It appears on every other mission execpt the one im working on. -
Objects Not Showing Up In Game
speedshooter posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi, Im making a mission and when i place a object down on the map they do not appear in-game.