Moody Posted January 31, 2015 Report Share Posted January 31, 2015 Script log please... scripts.txt Link to comment Share on other sites More sharing options...
SadBoy1981 Posted January 31, 2015 Report Share Posted January 31, 2015 In script.txt add !"_this select 0 addMagazines [_this select 5, 1];" line starting with addMagazine Must be line 25 or somewhere near my looks like this: 1 addMagazine !="_this select 0 addMagazines [_this select 5, 1];" !"addMagazineCargo" !="player addMagazine _craftItem;" !="player addMagazine \"jerrycanE_epoch\";" !="player addMagazine \"emptyjar_epoch\";" !="player addMagazine \"jerrycan_epoch\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine [(_x select 0),(_x select 1)]" !="player addMagazine _x;" Link to comment Share on other sites More sharing options...
Moody Posted January 31, 2015 Report Share Posted January 31, 2015 In script.txt add !"_this select 0 addMagazines [_this select 5, 1];" line starting with addMagazine Must be line 25 or somewhere near my looks like this: 1 addMagazine !="_this select 0 addMagazines [_this select 5, 1];" !"addMagazineCargo" !="player addMagazine _craftItem;" !="player addMagazine \"jerrycanE_epoch\";" !="player addMagazine \"emptyjar_epoch\";" !="player addMagazine \"jerrycan_epoch\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine [(_x select 0),(_x select 1)]" !="player addMagazine _x;" Now i get script restriction #28 lol! Link to comment Share on other sites More sharing options...
SadBoy1981 Posted January 31, 2015 Report Share Posted January 31, 2015 Now i get script restriction #28 lol! just give log and i will help u Link to comment Share on other sites More sharing options...
Moody Posted January 31, 2015 Report Share Posted January 31, 2015 just give log and i will help u scripts.txt Link to comment Share on other sites More sharing options...
SadBoy1981 Posted January 31, 2015 Report Share Posted January 31, 2015 7 removeAllWeapons !"removeAllWeapons _this;" 7 removeAllItems !"removeAllItemsWithMagazines _ai5;" !"removeAllItems _this;" 7 removeBackpack !="removeBackpackGlobal _unit;" !"removeBackpackGlobal _ai5;" !"removeBackpackGlobal _this;" add all 3 lines around 28 29 30 Link to comment Share on other sites More sharing options...
Moody Posted January 31, 2015 Report Share Posted January 31, 2015 7 removeAllWeapons !"removeAllWeapons _this;" 7 removeAllItems !"removeAllItemsWithMagazines _ai5;" !"removeAllItems _this;" 7 removeBackpack !="removeBackpackGlobal _unit;" !"removeBackpackGlobal _ai5;" !"removeBackpackGlobal _this;" add all 3 lines around 28 29 30 Now i get #40 Wtf is this? xD scripts.txt Link to comment Share on other sites More sharing options...
SadBoy1981 Posted January 31, 2015 Report Share Posted January 31, 2015 Now i get #40 Wtf is this? xD Here is my script.txt you can check restriction lines and find out all what u need. Working with this mission, with blckeagls' missions and VEMF, also with blckeagls' Real Zombies 7 "BIS_fnc_" !"getCfgSubClasses" !"animalBehaviour" !"guiEffectTiles_coef" !"GUImessage" !"guiEffectTiles" !"param" !"setIDCStreamFriendly" !"overviewauthor" !"diagAARrecord" !"diagKey" !"feedbackMain" !"missionHandlers" !"getServerVariable" !"missionFlow" !"initParams" !"initRespawn" !"missionTasksLocal" !"missionConversationsLocal" !"missionCon" !"preload" !"logFormat" !"recompile" !"moduleInit" !"feedback_allowPP" !"feedback_allowDeathScreen" !"feedbackInit" !"initMultiplayer" !"MP" !"displayMission" !"feedback_fatiguePP" !"respawnBase" !"dirTo" !"secondsToString" !"guiMessage_status" !"selectRespawnTemplate" !"guiMessage_defaultPositions" !"startLoadingScreen_ids" !"damageChanged" !"incapacitatedEffect" !"invRemove" !"relpos" !"inString" !"findSafePos" !"isPosBlacklisted" !"timeToString" !"distance2D" !"effectKilled" !"dynamictext" !"inAngleSector" !="_this call (uinamespace getvariable 'BIS_fnc_effectFired');" !"bis_fnc_locWeaponInfo" !"_logic = "Logic" createVehicleLocal [0,0,0];" !"_logic attachTo [_vehicle,_localPosition];" !"_globalPosition = visiblePositio" 7 "BIS_fnc_dynamictext" !"] spawn bis_fnc_dynamicText;" !", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;" !", 0, 0.4, 5, 2, 0, 2] spawn bis_fnc_dynamictext;" !"snil '_fnc_scriptName') then {_fnc_scriptName}" !"neY, 1 * safezoneH + safezoneY], _tm, _FadeIn ] spawn BIS_fnc_dynamicText;" !"sleep (_tm+_FadeIn+4);" !"} forEach _ms;" 7 forceRespawn 7 moveIn !"_unit moveindriver _para;" !"_ai5 moveInAny _veh;" !="\"A3\functions_f\Misc\fn_moveIn.sqf\"" !="\"A3\functions_f\arrays\fn_removeIndex.sqf\"" !="player moveInAny _vehicle;\nEPOCH_antiWallCount = EPOCH_antiWallCount + 1;" !="[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];\n_driver moveInAny _unit;" !="(_this select 1) moveInCargo (_this select 0);" 7 attachTo !"_source01 attachto [_object,[0,0,0]];" !"_objet attachTo" !"player attachTo" !"_objet attachTo [R3F_LOG_PUBVAR_point_attache, [] call R3F_LOG_FNCT_3D_tire" !"_objet attachTo [R3F_LOG_PUBVAR_point_attache, _position_attache];" !"EP_light attachTo [player];" !"_bomb attachTo [_unit, [0,0,0],\"Pelvis\"];" !"_dogHolder attachTo [_dog, [-0.2,1.2,0.7]];" !"EPOCH_staticTarget attachTo[player];" !"EPOCH_target attachTo[player];" 7 enableCollisionWith 7 hideObject !="_dogHolder hideobject true;" !="_dogHolder hideobject false;" !"_logic hideobject true;" 7 setFriend 7 setAmmo 7 setvelocity !"[_objet, "detachSetVelocity", [0, 0, 0.1]] call R3F_LOG_FNCT_exec_commande_MP;" !="_bolt setPosATL _pos;\n_bolt setVelocity [0, 0, -10];" !="EPOCH_target setvelocitytransformation" !="_currentTarget setVelocity [0,0,-0.01];" !="_head setVelocity [random 2,random 2,10];" !="_vel = velocity this; _dir = getDir player; this setVelocity[(_vel select 0)+(sin _dir * 2),(_vel select 1)+(cos _dir * 2),(_vel select 2)];" !"setVectorUp (_Gvel call BIS_fnc_unitVector)" !"setVelocity _Gvel" 7 RscDebugConsole_watch 7 enableFatigue !"_zombie enableFatigue false;" 7 setUnitRecoilCoefficient 7 allMissionObjects 7 callExtension 7 showCommandingMenu !"showCommandingMenu "#USER:newspawn";" 7 assignAs 7 playableunits !"ФПС: %1 | ИГРОКИ: %2 | РЕСТАРТ ЧЕРЕЗ %3 МИНУТ | %4 |", round diag_fps, count playableUnits,(240-(round(serverTime/60))), _pos, _counter];" !"{getplayeruid _x == _ownerVar} count playableunits" !="lbSetData[21500, _index, netId _x];\n} forEach(playableUnits - [player]);" ФПС: %1 | ИГРОКИ: %2 | РЕСТАРТ ЧЕРЕЗ %3 МИНУТ | vk.com/stay_alive_rus | TS - ruts1.gameservers.com:9244 ", round diag_fps, count playableUnits, (240-(round(serverTime/60))), _counter]; 7 allUnits !""_allunits"," !"else {allUnits}" !="{_x allowFleeing 0} forEach allUnits;" !="EPOCH_ESPMAP_TARGETS = allUnits + vehicles;" 7 allowDamage !"_objet allowDamage false;" !="player allowDamage true;vehicle player allowDamage true;" !"execVM "EPOCH_allowPlayerDamage\initAllowDamage.sqf";" 7 exec !"execVM "EPOCH_allowPlayerDamage\initAllowDamage.sqf";" !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\"" !"if (isServer) then {[] execVM 'run.sqf';};" !"preprocessfilelinenumbers \"A3\ui_f\scripts\initDisplay.sqf\";execVM \"\x\addons\a3_epoch_code\system\dummy.sqf\"},{[\"onUnload\",_t" !="execVM \"\MPMissions\epoch.altis\scripts\fn_statusBar.sqf\"" !"mpmissions\__CUR_MP.Altis\init.sqf" !"[] execVM "scripts\fn_statusBar.sqf";" !"if(isDedicated)exitWith{};" !"waitUntil{!" !"[] execVM "custom\welcome.sqf";" !"[] execVM "hello.sqf";" 7 addWeaponCargo 7 onMapSingleClick !="onMapSingleClick '';" !""oneachframe", "onpreloadstarted", "onpreloadfinished", "onmapsingleclick", "onplayerconnected", "onplayerdisconnected"];" 1 addMagazine !="_this select 0 addMagazines [_this select 5, 1];" !"addMagazineCargo" !="player addMagazine _craftItem;" !="player addMagazine \"jerrycanE_epoch\";" !="player addMagazine \"emptyjar_epoch\";" !="player addMagazine \"jerrycan_epoch\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine [(_x select 0),(_x select 1)]" !="player addMagazine _x;" 1 addMagazineCargo !"_dogHolder addMagazineCargo [\"RabbitCarcass_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"Pelt_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"Venom_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"SnakeCarcass_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"ChickenCarcass_EPOCH\", 1]" 1 addItem !="player addItem _craftItem;" !="player addItem _x;" 1 addBackPack 7 removeAllWeapons !"removeAllWeapons _this;" 7 removeAllItems !"removeAllItemsWithMagazines _ai5;" !"removeAllItems _this;" 7 removeBackpack !="removeBackpackGlobal _unit;" !"removeBackpackGlobal _ai5;" !"removeBackpackGlobal _this;" 7 removeAllActions 7 setTerrainGrid !="setTerrainGrid 25;" 7 setViewDistance !"setViewDistance 1600" 7 createGroup !="_grp = createGroup RESISTANCE;" !="if (isserver) then {\n_group = creategroup sidelogic;" !"_group = creategroup DCLcivilianside;" 7 createVehicleCrew 7 createVehicleLocal !"_objet = _classe_a_visualiser createVehicleLocal _position_attache;" !"\"#particlesource\" createVehicleLocal" !"\"#lightpoint\" createVehicleLocal" !"\"BloodSplat\" createVehicleLocal" !"[\"lightning1_F\", \"lightning2_F\"] call BIS_fnc_selectRandom;\n_lighting = _class createVehicleLocal" 7 createUnit !""O_G_Soldier_SL_F" createUnit [_safepos, _aiGroup, "_ai5 = this", 0.1, "PRIVATE"];" !="_unit = _grp createUnit[(_arrUnits select _i), _pos, [], 0, \"FORM\"];" !="_driver = _grp createUnit[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];" 7 createAgent !="_unit = createAgent[_unitClass, _targetPos, [], 256, \"FORM\"];" !="_unit = createAgent [_unitClass, _targetPos, [], 120, \"FORM\"];" !="_animal = createAgent[_randomAIClass, _animalPos, [], 5, \"NONE\"];" !="_unit = createAgent [\"Epoch_Cloak_F\", _pos, [], 0, \"CAN_COLLIDE\"];" 7 createTeam 7 createDialog !"createDialog "R3F_LOG_dlg_contenu_vehicule";" !="createDialog \"InteractBank\";" !="createdialog \"SelectGender\";" !="_handled = createdialog _dialog;" !="if (!dialog) then {createDialog 'Skaronator_AdminMenu'};" !"createdialog 'AdminMenu';[] call fnc_addMenuMapHandler;" !"RscDisplayLocWeaponInfo" !"RscFunctionsViewer" !="if !(createdialog \"InteractItem\") exitWith {};" !="createDialog \"TapOut\";" !="if !(createdialog \"Trade\") exitWith {};" !="_ok = createdialog \"Interact\";" !="_ok = createdialog \"TradeNPCMenu\";" !="createDialog \"Epoch_myGroup\";" !="createDialog (if ((Epoch_my_GroupUID == \"\") && (Epoch_my_Group isEqualTo [])) then {\"EPOCH_createGrp\"} else {\"Epoch_myGroup\"});" !="createDialog \"GroupRequests\";" 7 deleteMarker !="deleteMarkerLocal \"MissionMarker\"" !"Marker = createMarker ["MainMarker", Ccoords];" !"_MainMarker setMarkerColor "ColorWhite";" !"_MainMarker setMarkerShape "ELLIPSE";" !"_MainMarker setMarkerBrush "Grid";" !"_MainMarker setMarkerSize [175,175];" !"createMarker" !"_MainMarker = createMarker ["MainMarker2", C2coords];" !"_MainMarker75 = createMarker["MainMarker75", MCoords];" !"_MainMarker75 = createMarker["MainMarker752", M2Coords];" !"_MainMarker = createMarker ["MainMarker", _this];" 7 setMarker !="_marker setMarkerPosLocal _markerPos" !="_marker setMarkerTypeLocal \"hd_destroy\"" !="_marker setMarkerTextLocal format[\"%1\",_markerName]" !="_marker setMarkerColorLocal \"ColorRed\"" !="_marker setMarkerDirLocal -37" !="_marker setMarkerSizeLocal [0.8,0.8]" !"Marker = createMarker ["MainMarker", Ccoords];" !"_MainMarker setMarkerColor "ColorWhite";" !"_MainMarker setMarkerShape "ELLIPSE";" !"_MainMarker setMarkerBrush "Grid";" !"_MainMarker setMarkerSize [175,175];" !"createMarker" !"_MainMarker = createMarker ["MainMarker2", C2coords];" !"_MainMarker75 = createMarker["MainMarker75", MCoords];" !"_MainMarker75 = createMarker["MainMarker752", M2Coords];" !"_MainMarker = createMarker ["MainMarker", _this];" 1 createMarker !="createMarkerLocal [\"MissionMarker\", _markerPos]" !"Marker = createMarker ["MainMarker", Ccoords];" !"_MainMarker setMarkerColor "ColorWhite";" !"_MainMarker setMarkerShape "ELLIPSE";" !"_MainMarker setMarkerBrush "Grid";" !"_MainMarker setMarkerSize [175,175];" !"createMarker" !"_MainMarker = createMarker ["MainMarker2", C2coords];" !"_MainMarker75 = createMarker["MainMarker75", MCoords];" !"_MainMarker75 = createMarker["MainMarker752", M2Coords];" !"_MainMarker = createMarker ["MainMarker", _this];" 7 assignItem 1 forceAddUniform 7 removeAllMPEventHandlers !"_zombie addEventHandler ["hit",{(owner (_this select 1)) publicVariableClient "playZSoundHurt"}];" 7 setDamage !"_ai5 setDamage 1;" !="([4654.62,9593.63,0] nearestObject 145259) setDamage 1" !="([4654.62,9593.63,0] nearestObject 145260) setDamage 1" !="_sapper setDamage 1;\n_sBomb setDamage 1;" !"_lockedTarget setDamage" !"player setDamage 1;" !"_timer = 10;" 7 setDammage !"_x setdammage 1;" 7 displaySetEventHandler 7 ctrlSetEventHandler !"BIS_fnc_guiMessage_status" 7 addMPEventHandler !"_handler = _new addmpeventhandler ["mprespawn",{[_this,"bis_fnc_curatorrespawn",false] ca" 7 addEventHandler !"this addEventHandler ["HandleDamage", {0}];" !"Fired" !"displayAddEventHandler" !"ctrlAddEventHandler" !"FiredNear" !"EpeContactStart" !"InventoryClosed" !"GetOut" !"InventoryOpened" !"local" !"Respawn" !"Put" !"Take" !"Fired" !"Killed" !" [\"PostReset\",{BIS_EnginePPReset = true;} ];" !"_logic addeventhandler [\n\"local\"" !"_zombie addEventHandler" 7 displayAddEventHandler !"bis_fnc_halo_keydown_eh = (finddisplay 46) displayaddeventhandler ["keydown","_this call bis_fnc_halo_keydown;"];" !"[_display] call _fnc_animate;" !"tVersion select 4) == \"Development\") then" !"_display displayaddeventhandler\n[\n\"mousemoving\"," !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"_this call EPOCH_KeyDown\"];" !"_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !="findDisplay -1337 displayAddEventHandler ['Unload'" 7 ctrlAddEventHandler !"rCfg >> \"refreshDelay\");" !" [\n\"draw\"," !" [\"buttonclick\"," !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;" !"lbselchanged" 7 removeAllEventHandlers !"_x removeAllEventHandlers "Killed";" !="ctrlRemoveAllEventHandlers" !="_vehicle removeAllEventHandlers \"GetOut\";" 7 removeAllMissionEventHandlers 7 ctrlRemoveAllEventHandlers !="(uiNamespace getVariable 'ESP_map') ctrlRemoveAllEventHandlers 'Draw';" 7 removeEventHandler !"_x removeEventHandler ["HandleDamage", _x getVariable "R3F_LOG_idx_EH_Handle"" !="displayRemoveEventHandler" !="player removeEventHandler ['Fired', 0];" !"_currentTarget removeEventHandler[\"EpeContactStart\", _onContactEH]" !" [_adminVar,objnull];\npublicvariable _adminVar;\nplayer removeeventhandler [\"respawn\",_respawn];" 7 displayRemoveEventHandler !"BIS_fnc_guiMessage_status" !"(finddisplay 46) displayremoveeventhandler ["keydown",bis_fnc_halo_keydown_eh];" 7 switchCamera 7 remoteControl !"fn_moduleRemoteControl.sqf" 7 drawIcon3D !="drawIcon3D[\"\x\addons\a3_epoch_code\Data\Member.paa\",_color,_pos,1,1,0,_text,1,0.025,\"PuristaMedium\"];\n}forEach EPOCH_ESP_TARGETS;" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_stability],_color,(getPosATL EPOCH_stabilityTarget),5,5,0,\"\",1,0.05,\"PuristaMedium\"];" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_num],_color,_pos,4,4,0,\"\",1,0.05,\"PuristaMedium\"];" !"EPOCH_drawIcon3dStability" !"EPOCH_drawIcon3d" !"if (_condition) then {\ndrawIcon3D [_icon, _color, _position, _sizeX, _sizeY, _angle, _text," 7 drawLine3D !"{\nfor [{_i = 1}, {_i < count _x}, {_i = _i + 1}] do {\ndrawLine3D [_x select (_i - 1), _x select _i, ((BIS_tracedShooter getVari" 7 ctrlCreate !"_ctrl_titre = (findDisplay 46) ctrlCreate ["RscText", -1];" 7 ctrlDelete !"ctrlDelete _ctrl_titre;" !"ctrlDelete _ctrl_fond;" 7 ctrlClassName 7 ctrlModel 7 ctrlModelDirection 7 ctrlModelSide 7 ctrlModelUp 7 ctrlSetDirection 7 ctrlSetModel 7 deleteVehicleCrew !="[\"A3\functions_f\MP\fn_deleteVehicleCrew.sqf\",\".sqf\",0,false,false,false,\"A3\",\"MP\",\"deleteVehicleCrew\"]" 7 loadFile 7 selectPlayer !="selectPlayer _playerObject;" 7 setGroupIconsVisible 7 setGroupIconsSelectable 7 setGroupIconParams 7 addGroupIcon 7 EPOCH_whitelist 7 EPOCH_defaultVars_SEPXVar 7 EPOCH_group_upgrade_lvl_SVar 7 EPOCH_GROUP_Delete_PVS !="EPOCH_GROUP_Delete_PVS = [player,Epoch_personalToken];" 7 Dayz_GUI_R 7 dayz_originalPlayer 7 zZombie_Base 7 GodMode 7 shazbot 7 _typeofHookMonky 7 _allocMemory !"_allocMemory2" 7 _d3d9multipliervariable 7 _runASM 7 _addGFX_hookD3D9eventhandler 7 _BEhookBYPASSBOB 7 JJMMEE_INIT_MENU Link to comment Share on other sites More sharing options...
Moody Posted January 31, 2015 Report Share Posted January 31, 2015 Hey, thanks for that! I managed to enter my server without any script restrictions now. I editted the mission timer and number of people online for multiple missions to spawn, repacked and uploaded. So far nothing has happend(and it should, given the time server has been up now). Also, my statusbar got removed after updating the new SEM files :P Link to comment Share on other sites More sharing options...
SadBoy1981 Posted January 31, 2015 Report Share Posted January 31, 2015 Hey, thanks for that! I managed to enter my server without any script restrictions now. I editted the mission timer and number of people online for multiple missions to spawn, repacked and uploaded. So far nothing has happend(and it should, given the time server has been up now). Also, my statusbar got removed after updating the new SEM files :P Sam dont have multiple misions for now also try to run statusbar before u run misson My init.sqf [] execVM "scripts\status_bar.sqf"; [] execVM "scripts\sam.sqf"; [] execVM "scripts\VEMF.sqf"; [] execVM "scripts\markers.sqf"; [] execVM "scripts\zombie.sqf"; [] execVM "scripts\town_ai.sqf"; [] execVM "scripts\admin_base.sqf"; [] execVM "scripts\private_land.sqf"; [] execVM "scripts\Safe_zone.sqf"; [] execVM "scripts\watermark.sqf"; Link to comment Share on other sites More sharing options...
KiloSwiss Posted January 31, 2015 Author Report Share Posted January 31, 2015 Don't use old versions and remove old code before You add the new one. Your script restrictions are clearly from code of an old SEM version and should not be fixed by adding filters, but by cleaning up the mess in Your init.sqf by Yourself! Greez KiloSwiss Link to comment Share on other sites More sharing options...
Moody Posted January 31, 2015 Report Share Posted January 31, 2015 Don't use old versions and remove old code before You add the new one. Your script restrictions are clearly from code of an old SEM version and should not be fixed by adding filters, but by cleaning up the mess in Your init.sqf by Yourself! Greez KiloSwiss if(hasInterface)then{execVM "semClient.sqf"}; is in my init.sqf file But i think the problem is in the script.txt. ill take another look Link to comment Share on other sites More sharing options...
SadBoy1981 Posted January 31, 2015 Report Share Posted January 31, 2015 ohh, i show files from older version on my test server, my bad =) Link to comment Share on other sites More sharing options...
Moody Posted January 31, 2015 Report Share Posted January 31, 2015 in the description.ext it says: disabledAI = true; Is that correct? Link to comment Share on other sites More sharing options...
Moody Posted February 1, 2015 Report Share Posted February 1, 2015 (edited) seems like im getting close! Still got one problem to solve: Restriction #100!? wtf? :P EDIT, i can add that i have changed the SEM_AIdisableSniperDamage = false; // Set to false to allow sniper damage from any distance. to FALSE. Line #100 in my scripts.txt says the following: 7 playableunits !"{getplayeruid _x == _ownerVar} count playableunits" !="lbSetData[21500, _index, netId _x];\n} forEach(playableUnits - [player]); !="FPS: %1 | PLAYERS: %2 | DAMAGE: %3 | KRYPTO: %4 | HUNGER: %5 | THIRST: %6 | SOILED: %7 | GRIDREF: %8", round diag_fps, count playableUnits, damage player, EPOCH_playerCrypto, EPOCH_playerHunger, EPOCH_playerThirst, EPOCH_playerSoiled, mapGridPosition player, _counter"" What should i edit or put in there to make it work with my SEM_AIdisableSniperDamage = false; // Set to false to allow sniper damage from any distance Im guessing thats the problem right there or is line #100 in my script.txt something else? scripts.txt Edited February 1, 2015 by Moody Link to comment Share on other sites More sharing options...
KiloSwiss Posted February 1, 2015 Author Report Share Posted February 1, 2015 SEM does not use "playableUnits" neither server or clientsided. Link to comment Share on other sites More sharing options...
Moody Posted February 1, 2015 Report Share Posted February 1, 2015 SEM does nit use "playableUnits" neither server or clientsided. EDIT: Wrong logs, removed! See reply under for correct logs for script restriction #98 error. Link to comment Share on other sites More sharing options...
Moody Posted February 1, 2015 Report Share Posted February 1, 2015 i think i added wrong logs! sorry! scripts.txtscriptslog.txt Link to comment Share on other sites More sharing options...
Moody Posted February 1, 2015 Report Share Posted February 1, 2015 Can anyone help me with this? I have been up all night trying to figure it out, but i have no idea what command to put in line #98 to make it work =( Link to comment Share on other sites More sharing options...
pr0dukt Posted February 1, 2015 Report Share Posted February 1, 2015 Some good changes to the latest release. glad to see those mission names i suggested came back. =) Also liking the overlapping missions. Nice for big maps like Altis to have more than one up. Link to comment Share on other sites More sharing options...
cyncrwler Posted February 1, 2015 Report Share Posted February 1, 2015 Can anyone help me with this? I have been up all night trying to figure it out, but i have no idea what command to put in line #98 to make it work =( Moody, you shouldn't have to put anything in line 98. After looking at your files, something isn't right. You need to be using the current server version scripts.txt file. I'm not sure what happened to yours, but their is stuff in their that shouldn't be. I attached my scripts.txt file for you to see the difference I am talking about. I currently run blckeagls missions, VEMF, and SEM together without problems.scripts.txt Link to comment Share on other sites More sharing options...
Moody Posted February 1, 2015 Report Share Posted February 1, 2015 Im still getting that ****** error :P haha! 01.02.2015 14:45:53: Moody (80.86.211.229:2304) 9611679cdf4a106525777b4*********** - #99 "SEM_AIsniperDamageDistance)then[{ if(!isPlayer _x)then{_x allowDamage false}; },{ if(!isPlayer _x)then{_x allowDamage true}; }];" Why the heck wont it go away? :Pscripts.txtscriptslog.txt Link to comment Share on other sites More sharing options...
cyncrwler Posted February 1, 2015 Report Share Posted February 1, 2015 Look at your scripts.txt file. What is all that crap you have below line 96? Mine ends at 96. That should be your first indication of a problem. Link to comment Share on other sites More sharing options...
Moody Posted February 1, 2015 Report Share Posted February 1, 2015 Look at your scripts.txt file. What is all that crap you have below line 96? Mine ends at 96. That should be your first indication of a problem. Its lines that the statusbar by piX wanted me to add Link to comment Share on other sites More sharing options...
cyncrwler Posted February 1, 2015 Report Share Posted February 1, 2015 Yeah, but they didn't want you to add this, did they? 7 allowDamage !="player allowDamage true;vehicle player allowDamage true;" !="SEM_AIsniperDamageDistance)then[{if(!isPlayer _x)then{_x allowDamage false}; on line 100. Edit.. I would use a clean fresh copy of my scripts.txt file, and start over from scratch. It might be a pain, but you better get used to it, as there will be LOTS, of starting over, and redoing files as this mod progresses. Also this part can be a problem too: 7 exec !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\" !="execVM \"\MPMissions\epoch.altis\scripts\fn_statusBar.sqf\"" It's like you created another exec line at the bottom. You already have one by default on line 22 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