Aples

CBA causing exile lag..

9 posts in this topic

CBA causing exile lag.. i dunno why but whenever i implement CBA on my exile server it started to lag spikes every 2-3 seconds any ideas why this happens?

Share this post


Link to post
Share on other sites
Advertisement

Servermod sir what am i suppose to be using? 

How are you loading cba. -mod or -servermod

Share this post


Link to post
Share on other sites

Am using -Servermod for CBA too. Do not seem to see any lag on the server ..

Edited by dobrowney

Share this post


Link to post
Share on other sites

I am using CBA for Blastcore and Dragonfyre and notice no lag at all. I am only using the keys though, not loading stuff into -mod or -servermod. 

Share this post


Link to post
Share on other sites

Sorry to ask, I'm working on trying to get the battleye filters for CBA to work (or at least attempting to :$) , any chance someone could post the exceptions for it? If not its all good, ill keep trying make them

Share this post


Link to post
Share on other sites

Sorry to ask, I'm working on trying to get the battleye filters for CBA to work (or at least attempting to :$) , any chance someone could post the exceptions for it? If not its all good, ill keep trying make them

Im not sure, but maybe have mistakes, there is for TFAR exceptions too

Default EXILE + CBA + TFAR

 

//new2
7 ctrlCreate !="_ListGroup = _display ctrlCreate [\"RscControlsGroupNoHScrollbars\"" !"_prevButton = _display ctrlCreate [\"RscButtonMenu\", 90110, _dbg];"
7 createUnit !="createunit [\"Logic" !"createunit [position _logic, _grp,"
7 createTeam
7 createAgent
7 createVehicleLocal !="createVehicleLocal [0,0,0]" !="createVehicleLocal ExileClientModelBoxPosition" !="\"#lightpoint\" createVehicleLocal" !="cba_xeh_init_obj = SLX_XEH_DUMMY createVehicleLocal [0, 0, 0];" !="_o = SLX_XEH_DUMMY createVehicleLocal [0, 0, 0];" !="_logic = SLX_XEH_DUMMY createVehicleLocal [0, 0, 0];" !="CBA_eventHandlers = \"Logic\" createVehicleLocal [0, 0];" !"TF_defaultWestAirborneRadio createVehicleLocal" !"SLX_XEH_DUMMY createVehicleLocal [0, 0, 0];"
7 callExtension !"\"task_force_radio_pipe\" callExtension _request;" !"\"task_force_radio_pipe\" callExtension _speakers;" !"\"task_force_radio_pipe\" callExtension"
7 "setVariable [\"ExileIsLocked"
7 "setVariable [\"ExileTerritorySize"
7 "setVariable [\"ExileTerritoryBuildRights"
7 "setVariable [\"ExileTerritoryModerator"
7 "setVariable [\"ExileTerritoryLevel"
7 "setVariable [\"ExileTerritoryName"
7 "setVariable [\"ExileTerritoryMaintenanceDue"
7 "setVariable [\"ExileOwnerUID"
7 showCommandingMenu
7 setUnitRecoilCoefficient
7 setWeaponReloadingTime
7 addAction !="ExileClientInteractionHandles pushBack (_object addAction" !"(cba_common_actionIndexes) pushBack ( (vehicle player) addAction _value)" !"WHKAction = player addAction [\"<t color='#C67171'>Toggle WHK Debug\""
7 remoteexec !="ssionId, _messageName, _messageParameters];\n_publicMessage remoteExecCall [\"ExileServer_system_network_dispatchIncomingMessage\"," !"cba_fnc_remoteExecute"
7 drawline3d
7 onEachFrame !="onEachFrame {};" !="[\"CBA_DC\", \"onEachFrame\"," !="[\"CBA_PFH\", \"onEachFrame\", \"cba_common_fnc_onFrame\"] call BIS_fnc_addStackedEventHa\"" !"[\"CBA_PFH\", \"onEachFrame\", \"cba_common_fnc_onFrame\"]" !"\"oneachframe\", \"onpreloadstarted\"" !"\"onEachFrame\", \"TFAR_fnc_processPlayerPositions\"" !"[\"HCWHKDEBUGGER\", \"onEachFrame\""
7 removeAllItems
7 removeAllActions
7 addbackpack !="_player addBackpackGlobal _itemClassName;" !="_player addBackpackGlobal (backpack _target);" !="_container addBackpackCargoGlobal [_itemClassName, 1];" !"TFAR_currentUnit addBackpack ((call TFAR_fnc_getDefaultRadioClasses)"
7 compile !="er = -1;};\n_number\n};\n\ncase (typename \"\"): {\n_number = call compile _number;\nif (isnil {_number}) then {_number = -1;};\n_number\n" !="issionnamespace do {\n_input = ctrltext _input;\n_inputCode = compile _input;\n\nswitch _mode do {\n\ncase 0: {call _inputCode;};\n\ncas" !="call compile (getText" !="compileFinal" !="recompile" !="compile loadFile \"\A3\animals_f\Snakes\scripts\randomize.sqf\";" !="compile preprocessfilelinenumbers _scriptPath;" !="Limit) || (!(isNil 'BIS_fnc_advHint_HPressed')) || (call (compile _condF))}" !="ocalize _x;\n_argArray = _argArray + [_res]\n} else {\n_code = compile _x;\n_res = call _code;\n_argArray = _argArray + [_res]\n}\n} el" !="\n\nif (typename _colorR == typename \"\") then {_colorR = call compile _colorR};\nif (typename _colorG == typename \"\") then {_colorG" !="_x == typename \"\") then {_colorText set [_forEachIndex,call compile _x];};\n} foreach _colorText;\nif (count _colorText > 0) then " !="_Inits pushBack compile(getText _entry);" !="call compile preProcessFileLineNumbers '\x\cba\addons\common\XEH_preInit.sqf'" !="\"eEngine.sqf', 'cba_common_fnc_perFrameEngine'] call SLX_XEH_COMPILE_NEW;" !="call compile preProcessFileLineNumbers '\x\cba\addons\common\XEH_preClientInit.sqf'" !="call compile preProcessFileLineNumbers '\x\cba\addons\common\init_actionm\"" !="call compile preProcessFileLineNumbers '\x\cba\addons\events\XEH_preInit.sqf'" !="\"ventTOR.sqf', 'cba_events_fnc_NetRunEventTOR'] call SLX_XEH_COMPILE_NEW;" !"SLX_XEH_COMPILE_NEW" !"call compile preProcessFileLineNumbers" !"if (_handler == SLX_XEH_STR) then { nil } else { compile _handler }]" !"_init = compile(getText _cfgEntry);" !"[_x, compile format["_this call SLX_XEH_EH_%1", _x]"
7 compileFinal !="compileFinal preprocessFileLineNumbers" !="compileFinal (" !="compileFinal \"(_this select 1) call ExileClient_system_network_dispatc" !="compilefinal \"true\";" !="BIS_fnc_MP_packet = compileFinal ''"; !="BIS_fnc_initParams_paramsArray = compilefinal str paramsArray" !"WHKSyncArrays = compileFinal"
7 onMapSingleClick !"\"onmapsingleclick\", \"onplayerconnected\""
7 loadFile !="loadFile \"\A3\animals_f\Snakes\scripts\randomize.sqf"
7 createMarker !="[\"\x\cba\addons\common\fnc_createMarker.sqf\",\".sqf\",0,false,false,false,\"CBA\",\"Misc\",\"createMarker\"]" !="cba_fCreateMarker = {["x\cba\addons\common\XEH_preInit.sqf"" !"cba_fCreateMarker"
7 createVehicleCrew
7 deleteVehicleCrew !="BIS_fnc_deleteVehicleCrew" !="[\"exile_client\trashBin\fn_deleteVehicleCrew.sqf\",\".sqf\",0,false,false,false,\"A3\",\"MP\","deleteVehicleCrew\""
7 allMissionObjects !="ystem_territory_createLocationForTerritory;\n}\nforEach (allMissionObjects \"Exile_Construction_Flag_Static\")" !="ryDropDown lbSetData [_index, netId _x];\n};\n}\nforEach (allMissionObjects \"Exile_Construction_Flag_Static\")" !="opDown lbSetData [_index, netId _flag]; \n};\n}\nforEach (allMissionObjects \"Exile_Construction_Flag_Static\");\n_kickButton = _displ" !="opDown lbSetData [_index, netId _flag]; \n};\n}\nforEach (allMissionObjects \"Exile_Construction_Flag_Static\");\n_currencyDropDown = " !="ndex, netId _x];\n_hasTerritories = true;\n};\n}\nforEach (allMissionObjects \"Exile_Construction_Flag_Static\");\n_grantTerritoryBuild"
7 setAmmo
7 setDammage 
7 setDamage !="player setdamage 1" !="player setDamage (1 - (ExileClientPlayerAttributes select 0) / 100);" !="_vehicle setDamage 0;player removeMagazine \"Exile_Item_DuctTape\";" !="xile_Item_DuctTape\" in _equippedMagazines) then\n{\n_vehicle setDamage 0;\nplayer removeMagazine \"Exile_Item_DuctTape\";\n}\nelse \n{\n[" !="ns.sqf\"\nif (isServer) then {\n_col = _this select 0;\n{\n{\n_x setDamage 1;\n} forEach (_col nearObjects _x);\n} forEach (getArray (co" !="cba_xeh_init_obj setDamage 1;" !"(_this select 2) setDamage 1;" !"CBA_EVENT_KEY_LOGIC setDamage 1;"
7 allVariables
7 allPlayers !="[_index, [225/255, 65/255, 65/255, 1]];\n};\n};\n};\n}\nforEach allPlayers;\n};\n_partyButton = _display displayCtrl 4112;\n_partyButton" !="To _playerUID)exitWith\n{\n_playerObject = _x;\n};\n} \nforEach allPlayers;\n_playerObject"
7 playableUnits !"(_unit in playableUnits || {isPlayer _unit} || {_unit == player})" !"\"2\":[\"playableUnits\",\"%5\"], \"3\":[\"allUnits\",\"%6\"]" !"count playableUnits,"
7 allUnits !"\"2\":[\"playableUnits\",\"%5\"], \"3\":[\"allUnits\",\"%6\"]" !"_other_units = allUnits - tf_nearPlayers;" !"_allUnits = TFAR_currentUnit nearEntities" !"{local _x} count allUnits;"
7 isPlayer !=";\nif (!isNull cameraOn) then\n{\n{\nif (!isNull _x) then\n{\nif (isPlayer _x) then\n{\n_distance = cameraOn distance _x;\n_alpha = (1-(_" !="s\"];\n\n_unit = _this select 0;\n_task = _this select 1;\n\nif !(isPlayer _unit) exitWith {};\n\n_newCurrent = \"\";\n_prevCurrent = missi" !="do {\nprivate [\"_display\",\"_veh\",\"_vehType\",\"_uavPosition\",\"_isPlayerInAV\",\"_icon\"];\n\n_display = _params select 0;\n_veh = vehicle" !"(_unit in playableUnits || {isPlayer _unit} || {_unit == player})" !"private [\"_event\", \"_curEvt\", \"_isPlayer\", \"_i\"];" !"((isPlayer _x) and {!_spectator})" !"((isPlayer _x) and {alive _x})" !"(!(isPlayer _lead) and (_leadHeadless == -1)"
7 Exile_unit_player !="ame,1,0.04];\n};\n};\n}\nforEach ((cameraOn nearEntities[['Exile_Unit_Player', 'LandVehicle', 'Ship', 'Air'], _espRenderRange]) - [c"
7 execVM !="_dummy = ['Init', _params] execVM '\A3\ui_f\scripts\pauseLoadinit.sqf';" !="all bis_fnc_progressloadingscreen;\n\n\nif (isserver) then {\n[] execvm \"initServer.sqf\";\n\"initServer.sqf\" call bis_fnc_logFormat;\n}" !="ript != \"\") then\n{\nprivate [\"_handle\"];\n_handle = [_display] execVM _script;\n} else {\n_scripts = getArray(missionConfigFile >> \"" !="BIS_fnc_execVM" !"execVM \"\A3\Structures_F\scripts" !="[\"exile_client\trashBin\fn_execVM.sqf\",\".sqf\",0,false,false,false,\"A3\",\"MP\",\"execVM\"]" !="_sxr = _this execvm \"\GNT_C185\scr\C185Init.sqf\";" !="[_this select 0] execvm \"\GNT_C185\scr\G_CheckEngine.sqf\"" !="([this, 1] execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\")" !="[(_this select 0)] execVM \"\A3\Structures_F\Ind\PowerLines\Scripts\column_ruins.sqf\"" !="([this, 0] execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\")" !"execVM \"addons\werthleshc\WerthlesHeadless.sqf"
7 camCreate !="\"camera\" camCreate ExileClientModelBoxCameraPosition;" !="([this, 1] execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\")"
7 ExileClient_gui_safezone_safeESP !="20 call ExileClient_gui_safezone_safeESP" !="ExileClient_gui_safezone_safeESP = compileFinal preprocessFileLineNumbers" !="exile_client\code\ExileClient_gui_safezone_safeESP.sqf"
7 eventHandler !=";\n};\n\n\n[_display] call _fnc_animate;\n{\n_display displayaddeventhandler [_x,_fnc_animate];\n} foreach [\"mousemoving\",\"mouseholding\"" !=" { !(IsNull findDisplay 46) };\n(findDisplay 46) displayAddEventHandler [\"KeyDown\", { _this call ExileClient_gui_hud_event_onKeyD" !="lePlayerInSafezone = true;\nExileSafeZoneEspEH = addMissionEventHandler [\"Draw3D\",{20 call ExileClient_gui_safezone_safeESP}];\nEx" !=" { !(IsNull findDisplay 46) };\n(findDisplay 46) displayAddEventHandler [\"KeyDown\", { _this call ExileClient_gui_hud_event_onKeyD" !="ocessing_toggleDialogBackgroundBlur;\n_ctrlButtonOK ctrlSetEventHandler [\"ButtonClick\",\"call ExileClient_gui_keypadDialog_event_o" !="hen {\n\"BIS_fnc_getServerVariable_packet\" addpublicvariableeventhandler {\n_packet = _this select 1;\n_target = _packet select 0;\n_" !="functions_f\Missions\fn_missionHandlers.sqf\"\n\n\n\naddMissionEventHandler [\n\"ended\",\n{\n\nBIS_fnc_missionHandlers_end = _this;\nBIS_fn" !="_colorConfigToRGBA\",\"BIS_fnc_keyCode\",\"BIS_fnc_addScriptedEventHandler\",\"BIS_fnc_removeScriptedEventHandler\",\"BIS_fnc_removeAllS" !="[\"A3\functions_f\Misc\fn_addScriptedEventHandler.sqf\",\".sqf\",0,false,false,false,\"A3\",\"Misc\",\"addScriptedEventHandler\"]" !="[\"A3\functions_f\Misc\fn_removeScriptedEventHandler.sqf\",\".sqf\",0,false,false,false,\"A3\",\"Misc\",\"removeScriptedEventHandler\"]" !="[\"A3\functions_f\Misc\fn_removeAllScriptedEventHandlers.sqf\",\".sqf\",0,false,false,false,\"A3\",\"Misc\",\"removeAllScriptedEventHandl" !="[\"A3\functions_f\Misc\fn_callScriptedEventHandler.sqf\",\".sqf\",0,false,false,false,\"A3\",\"Misc\",\"callScriptedEventHandler\"]" !="[\"A3\functions_f_EPA\Misc\fn_addStackedEventHandler.sqf\",\".sqf\",0,false,false,false,\"A3_EPA\",\"Misc\",\"addStackedEventHandler\"]" !="[\"A3\functions_f_EPA\Misc\fn_executeStackedEventHandler.sqf\",\".sqf\",0,false,false,false,\"A3_EPA\",\"Misc\",\"executeStackedEventHand" !="[\"A3\functions_f_EPA\Misc\fn_removeStackedEventHandler.sqf\",\".sqf\",0,false,false,false,\"A3_EPA\",\"Misc\",\"removeStackedEventHandle"  !="il { !(isNull player) };\n\"PublicMessage\" addPublicVariableEventHandler compileFinal \"(_this select 1) call ExileClient_system_ne" !="ocessing_toggleDialogBackgroundBlur;\n_ctrlButtonOK ctrlSetEventHandler [\"ButtonClick\",\"call ExileClient_gui_keypadDialog_event_o" !="eLocal = _display displayctrl 1;\n_ctrlExecuteLocal ctrladdeventhandler [\"buttonclick\",\"with uinamespace do {['executeButton',[_t" !="eLocal = _display displayctrl 1;\n_ctrlExecuteLocal ctrladdeventhandler [\"buttonclick\",\"with uinamespace do {['executeButton',[_t" !="trolSuicide ctrlSetText \"Respawn\";\n_controlSuicide ctrlSetEventHandler [\"ButtonClick\", \"[] call ExileClient_gui_escape_respawn\"]" !="utton = _display displayctrl         21995;\n_assetsButton ctrladdeventhandler [\"buttonclick\",\"with uinamespace do {['DLCTabClicked',_th" !="ion select 4) == \"Development\") then\n{\n_display displayaddeventhandler [\n\"keydown\",\n" !="] call bis_fnc_MP;\n};\n};\n\n\nif (isServer) then\n{\naddMissionEventHandler[\"HandleDisconnect\",\n{\nprivate[\"_unit\",\"_unitVar\",\"_side\"]" !="le [\"BIS_fnc_feedback_postResetHandler\", true];\nplayer addeventhandler [\"PostReset\",{BIS_EnginePPReset = true;} ];\n};\n\n\n[\"Health" !="mData\",_customData];\n\nsleep 0.1;\n};\n};\n};" !="addMissionEventHandler [\"Draw3D\",\n{\nprivate[\"_customData\",\"_tasks\",\"_task\",\"_dat" !="AI \"TARGET\";\n_trader allowDamage false; \n_trader removeAllEventHandlers \"HandleDamage\";\n_trader setFace _traderFace;\nif (isNull " !="leClient_object_player_event_hook.sqf\"\n\n\n\n\n\n\n\n\n\nplayer addEventHandler [\"Killed\", { _this call ExileClient_object_player_event_o" !=" - Playing intro...\";\n\n\nplayMusic \"ExileTrack01\";\naddMusicEventHandler [\"MusicStop\", {[] spawn {sleep 10; playMusic \"ExileTrack0" !="tText (toUpper (ctrlText _control));\n\n\n_display displayaddeventhandler\n[\n\"mousemoving\",\n\"\n				_display = _this select 0;\n				(_d" !="le \"BIS_RscMissionScreen_video\") displayctrl 1100) ctrladdeventhandler [\"videoStopped\",\"bis_fnc_playvideo_videoStopped = true; \"" !="\nExileClientLastMusicmode = \"\";\n0 fadeMusic 0.01;\nsetMusicEventHandler [\"MusicStart\",\"ExileClientCurrentMusic = _this select 0\"]" !="\n\nBIS_fnc_advHint_hintHandlers = true;\n_display displayAddEventHandler [\n\"KeyDown\",\n\"\n								_key = _this select 1;\n								\n		" !="e\", -1];\n\n_idc = 1001;\n(_display displayctrl _idc) ctrlAddEventHandler [\"LBSelChanged\",\n{\nprivate[\"_ctrl\",\"_lbIndex\",\"_lbData\"];" !=" 24003;\n_spawnButton ctrlEnable false;\n_display displayAddEventHandler [\"KeyDown\", \"_this call ExileClient_gui_loadingScreen_eve" !="utton = _display displayctrl 	21995;\n_assetsButton ctrladdeventhandler [\"buttonclick\",\"with uinamespace do {['DLCTabClicked',_th" !="100;\n_ctrlMap = _display displayctrl 101;\n_ctrlMap ctrladdeventhandler [\n\"draw\",\nformat [\n\"\n							with uinamespace do {\n							" !="	\n\n\n_control = _display displayctrl 2400;\n_control ctrladdeventhandler [\"buttonclick\",\"with uinamespace do {['keyboardGroup',_th" !="\n\n\n_control = _display displayctrl 2406; \n_control ctrladdeventhandler [\"buttonclick\",\"with uinamespace do {['hide',_this,''] ca" !="nLoad\":\n{\n_display = _params select 0;\n_display displayaddeventhandler [\"keydown\",\"with uinamespace do {['keyDown',_this,''] cal" !="Message_defaultPositions\",_positions];\n_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMessage_d" !="};\n\n\n_control = _display displayctrl 105;\n_control ctrladdeventhandler [\"MouseButtonUp\",\"with uinamespace do {['pipClicked',_thi" !="D\", \"PLAIN\", 1, false];  \nExileHudEventHandle = addMissionEventHandler [\"Draw3D\", { _this call ExileClient_gui_hud_event_onDraw3" !="live player) then\n{\nplayer allowDamage true;\nplayer removeEventHandler [\"Fired\",ExileSafeZoneFiredEH];\nplayer addEventHandler [\"" !="splay = _params select 0;\n_ehKeyDown = _display displayaddeventhandler [\"keydown\",\"with uinamespace do {['keyDown',_this,''] cal" !="t_gui_notification_event_addNotification;\n};\nremoveMissionEventHandler [\"Draw3D\",ExileSafeZoneEspEH];\nplayer allowDamage true;\np" !="[\"\x\cba\addons\events\fnc_addEventHandler.sqf\",\".sqf\",0,false,false,false,\"CBA\",\"Events\",\"addEventHandler\"]" !="[\"\x\cba\addons\events\fnc_addLocalEventHandler.sqf\",\".sqf\",0,false,false,false,\"CBA\",\"Events\",\"addLocalEventHandler\"]" !="[\"\x\cba\addons\events\fnc_removeEventHandler.sqf\",\".sqf\",0,false,false,false,\"CBA\",\"Events\",\"removeEventHandler\"]" !="[\"\x\cba\addons\events\fnc_removeLocalEventHandler.sqf\",\".sqf\",0,false,false,false,\"CBA\",\"Events\",\"removeLocalEventHandler\"]" !="[\"\x\cba\addons\events\fnc_addClientToServerEventhandler.sqf\",\".sqf\",0,false,false,false,\"CBA\",\"Events\",\"addClientToServerEventh\"" !="[\"\x\cba\addons\events\fnc_addReceiverOnlyEventhandler.sqf\",\".sqf\",0,false,false,false,\"CBA\",\"Events\",\"addReceiverOnlyEventhandl\"" !="[\"task_force_radio\functions\fn_addEventHandler.sqf\",\".sqf\",0,false,false,false,\"TFAR\",\"Radio\",\"addEventHandler\"]" !="[\"task_force_radio\functions\fn_fireEventHandlers.sqf\",\".sqf\",0,false,false,false,\"TFAR\",\"Radio\",\"fireEventHandlers\"]" !="[\"task_force_radio\functions\fn_removeEventHandler.sqf\",\".sqf\",0,false,false,false,\"TFAR\",\"Radio\",\"removeEventHandler\"]" !="SLX_XEH_STR_INIT_EH = \"Extended_Init_EventHandlers\";" !"BIS_fnc_removeStackedEventHandler" !"BIS_fnc_addStackedEventHandler" !"TFAR_fnc_fireEventHandlers" !"CBA_eventHandlers" !"CBA_fnc_localEvent" !"\"Super = inheritsFrom(configFile/"CfgVehicles"/_unitClass/"EventHandlers\");"

[/spoiler]

Edited by Kensai

Share this post


Link to post
Share on other sites

YOU ARE A GOD, thanks im gonna give it a shot! =)

+1

Edit: Quick question, are these all your lines of code for the "script.txt"? cause there are only 46 lines of code here ha mine has 61 (technically 44 lines and 59) =P just wondering, but thanks again for posting that, it will help me a lot

Edited by Tradewell20

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.