AdvancedSlingLoading
AdvancedSlingLoading copied to clipboard
Setting server side files?
Hi Sethduda,
This looks great work btw mate well done. I am just getting into mission building again and would love this in my script. The problem is where do I place these files on the server mate?
I have never used add-ons before so it's a little confusing lol. Maybe a run down to us total newbies would be a lovely addition to your read me :)
P.s sorry this isn't a issue or anything, just literally found this add-on on github n didn't know how to contact you 😊
Regards TheMagpieNinja
Ok so i have the files uploaded to the server, and can see the option in the player menu for deploy ropes. As soon as i click deploy i get kicked for remoteexec #0.
I have followed the steps in the read me for such issues and i have the following code as is.
description.ext
class CfgRemoteExec // applies only to clients
{
class Functions
{
#ifndef A3W_DEBUG
mode = 1; // 0 = block all, 1 = whitelist, 2 = allow all
#else
mode = 2; // debug mode, don't touch
#endif
#include "client\CfgRemoteExec_fnc.hpp"
// Advanced Sling Loading
//Start
class ASL_Pickup_Ropes { allowedTargets=2; };
class ASL_Deploy_Ropes_Index { allowedTargets=2; };
class ASL_Rope_Set_Mass { allowedTargets=2; };
class ASL_Extend_Ropes { allowedTargets=2; };
class ASL_Shorten_Ropes { allowedTargets=2; };
class ASL_Release_Cargo { allowedTargets=2; };
class ASL_Retract_Ropes { allowedTargets=2; };
class ASL_Deploy_Ropes { allowedTargets=2; };
class ASL_Attach_Ropes { allowedTargets=2; };
class ASL_Drop_Ropes { allowedTargets=2; };
class ASL_Hint { allowedTargets=1; };
class ASL_Hide_Object_Global { allowedTargets=2; };
//End
};
class Commands
{
#ifndef A3W_DEBUG
mode = 1; // 0 = block all, 1 = whitelist, 2 = allow all
#else
mode = 2; // debug mode, don't touch
#endif
};
};
// class CfgRemoteExec
// {
// class Functions
// {
// class ASL_Pickup_Ropes { allowedTargets=2; };
// class ASL_Deploy_Ropes_Index { allowedTargets=2; };
// class ASL_Rope_Set_Mass { allowedTargets=2; };
// class ASL_Extend_Ropes { allowedTargets=2; };
// class ASL_Shorten_Ropes { allowedTargets=2; };
// class ASL_Release_Cargo { allowedTargets=2; };
// class ASL_Retract_Ropes { allowedTargets=2; };
// class ASL_Deploy_Ropes { allowedTargets=2; };
// class ASL_Attach_Ropes { allowedTargets=2; };
// class ASL_Drop_Ropes { allowedTargets=2; };
// class ASL_Hint { allowedTargets=1; };
// class ASL_Hide_Object_Global { allowedTargets=2; };
// };
// };
I noticed in the code there is a call to #include "client\CfgRemoteExec_fnc.hpp"
So i editted that file as....
// remoteExec & BIS_fnc_MP functions whitelist (client only, server calls are not filtered)
// BIS
class BIS_fnc_effectKilledAirDestruction {};
class BIS_fnc_effectKilledSecondaries {};
class BIS_fnc_objectVar {};
// do NOT whitelist BIS_fnc_execVM or BIS_fnc_spawn, it will allow exploits!
// A3W vanilla
class A3W_fnc_adminMenuLog { allowedTargets = 2; };
class A3W_fnc_chatBroadcast {};
class A3W_fnc_checkHackedVehicles { allowedTargets = 2; };
class A3W_fnc_checkPlayerFlag { allowedTargets = 2; };
class A3W_fnc_copilotTakeControl {};
class A3W_fnc_deathMessage {};
class A3W_fnc_deleteEmptyGroup { allowedTargets = 2; };
class A3W_fnc_flagHandler { allowedTargets = 2; };
class A3W_fnc_getInFast {};
class A3W_fnc_initPlayerServer { allowedTargets = 2; };
class A3W_fnc_logMemAnomaly { allowedTargets = 2; };
class A3W_fnc_pushVehicle {};
//class A3W_fnc_registerKillScore { allowedTargets = 2; }; // only needed for injury kill points, not currently enabled due to point farming concerns
class A3W_fnc_requestTickTime { allowedTargets = 2; };
class A3W_fnc_serverPlayerDied { allowedTargets = 2; };
class A3W_fnc_setItemCleanup { allowedTargets = 2; };
class A3W_fnc_setLockState {};
class A3W_fnc_setName { jip = 1; };
class A3W_fnc_takeOwnership { allowedTargets = 2; };
class A3W_fnc_titleTextMessage {};
class A3W_fnc_towingHelper {};
class A3W_fnc_updateSpawnTimestamp { allowedTargets = 2; };
class FAR_fnc_headshotHitPartEH {};
class FAR_fnc_public_EH {};
class mf_remote_refuel {};
class mf_remote_repair {};
class mf_remote_syphon {};
//Advanced Sling Loading
// class CfgRemoteExec
// {
// class Functions
// {
// class ASL_Pickup_Ropes { allowedTargets=2; };
// class ASL_Deploy_Ropes_Index { allowedTargets=2; };
// class ASL_Rope_Set_Mass { allowedTargets=2; };
// class ASL_Extend_Ropes { allowedTargets=2; };
// class ASL_Shorten_Ropes { allowedTargets=2; };
// class ASL_Release_Cargo { allowedTargets=2; };
// class ASL_Retract_Ropes { allowedTargets=2; };
// class ASL_Deploy_Ropes { allowedTargets=2; };
// class ASL_Attach_Ropes { allowedTargets=2; };
// class ASL_Drop_Ropes { allowedTargets=2; };
// class ASL_Hint { allowedTargets=1; };
// class ASL_Hide_Object_Global { allowedTargets=2; };
// };
// };
class ASL_Pickup_Ropes { allowedTargets=2; };
class ASL_Deploy_Ropes_Index { allowedTargets=2; };
class ASL_Rope_Set_Mass { allowedTargets=2; };
class ASL_Extend_Ropes { allowedTargets=2; };
class ASL_Shorten_Ropes { allowedTargets=2; };
class ASL_Release_Cargo { allowedTargets=2; };
class ASL_Retract_Ropes { allowedTargets=2; };
class ASL_Deploy_Ropes { allowedTargets=2; };
class ASL_Attach_Ropes { allowedTargets=2; };
class ASL_Drop_Ropes { allowedTargets=2; };
class ASL_Hint { allowedTargets=1; };
class ASL_Hide_Object_Global { allowedTargets=2; };
// End
// Third-party
class A3W_fnc_addMagazineTurret {};
class A3W_fnc_addMagazineTurretBaheli {};
class A3W_fnc_addMagazineTurretBcas {};
class A3W_fnc_addMagazineTurretHorca {};
class A3W_fnc_addMagazineTurretIcas {};
class A3W_fnc_addMagazineTurretLheli {};
class A3W_fnc_addMagazineTurretMortar {};
class A3W_fnc_addMagazineTurretOaheli {};
class A3W_fnc_addMagazineTurretOcas {};
class A3W_fnc_addMagazineTurretUav2 {};
class A3W_fnc_hideObjectGlobal {};
class A3W_fnc_lock {};
class A3W_fnc_removeMagazinesTurret {};
class A3W_fnc_setVectorUpAndDir { jip = 1; };
class A3W_fnc_setVehicleAmmoDef {};
class A3W_fnc_unflip {};
class APOC_srv_startAirdrop { allowedTargets = 2; };
class JTS_FNC_SENT {};
Doesnt matter which way i seem to arange the code or change the values i keep getting kicked
Any ideas?
You don't need the remote exec rules in both places. Probably best to leave them in the CfgRemoteExec_fnc.hpp file and remove them from description.ext.
However, that's not what's causing the kicking. Kicking happens by battleye. You need to configure your server's battleye rules.
Since you're getting a remoteexec kick, the first problem is with your remoteexec.txt battleye file. Open that file and add this to the end of any line that starts with 4,5,6 or 7:
!"ASL_"
If you still get kicked after that, it should tell you a different kick reason - find the related battleye filter file and do the same. Repeat until kicking stops.
On Thu, Sep 15, 2016 at 5:41 PM, TheMagpieNinja [email protected] wrote:
Ok so i have the files uploaded to the server, and can see the option in the player menu for deploy ropes. As soon as i click deploy i get kicked for remoteexec #0.
I have followed the steps in the read me for such issues and i have the following code as is.
description.ext
`class CfgRemoteExec // applies only to clients { class Functions { #ifndef A3W_DEBUG mode = 1; // 0 = block all, 1 = whitelist, 2 = allow all #else mode = 2; // debug mode, don't touch #endif
#include "client\CfgRemoteExec_fnc.hpp"
// Advanced Sling Loading //Start
class ASL_Pickup_Ropes { allowedTargets=2; }; class ASL_Deploy_Ropes_Index { allowedTargets=2; }; class ASL_Rope_Set_Mass { allowedTargets=2; }; class ASL_Extend_Ropes { allowedTargets=2; }; class ASL_Shorten_Ropes { allowedTargets=2; }; class ASL_Release_Cargo { allowedTargets=2; }; class ASL_Retract_Ropes { allowedTargets=2; }; class ASL_Deploy_Ropes { allowedTargets=2; }; class ASL_Attach_Ropes { allowedTargets=2; }; class ASL_Drop_Ropes { allowedTargets=2; }; class ASL_Hint { allowedTargets=1; }; class ASL_Hide_Object_Global { allowedTargets=2; }; //End
}; class Commands { #ifndef A3W_DEBUG mode = 1; // 0 = block all, 1 = whitelist, 2 = allow all #else mode = 2; // debug mode, don't touch #endif };
};
// class CfgRemoteExec // { // class Functions // { // class ASL_Pickup_Ropes { allowedTargets=2; }; // class ASL_Deploy_Ropes_Index { allowedTargets=2; }; // class ASL_Rope_Set_Mass { allowedTargets=2; }; // class ASL_Extend_Ropes { allowedTargets=2; }; // class ASL_Shorten_Ropes { allowedTargets=2; }; // class ASL_Release_Cargo { allowedTargets=2; }; // class ASL_Retract_Ropes { allowedTargets=2; }; // class ASL_Deploy_Ropes { allowedTargets=2; }; // class ASL_Attach_Ropes { allowedTargets=2; }; // class ASL_Drop_Ropes { allowedTargets=2; }; // class ASL_Hint { allowedTargets=1; }; // class ASL_Hide_Object_Global { allowedTargets=2; }; // }; // };`
I noticed in the code there is a call to #include "client\CfgRemoteExec_fnc.hpp"
So i editted that file as....
`// remoteExec & BIS_fnc_MP functions whitelist (client only, server calls are not filtered)
// BIS class BIS_fnc_effectKilledAirDestruction {}; class BIS_fnc_effectKilledSecondaries {}; class BIS_fnc_objectVar {};
// do NOT whitelist BIS_fnc_execVM or BIS_fnc_spawn, it will allow exploits!
// A3W vanilla class A3W_fnc_adminMenuLog { allowedTargets = 2; }; class A3W_fnc_chatBroadcast {}; class A3W_fnc_checkHackedVehicles { allowedTargets = 2; }; class A3W_fnc_checkPlayerFlag { allowedTargets = 2; }; class A3W_fnc_copilotTakeControl {}; class A3W_fnc_deathMessage {}; class A3W_fnc_deleteEmptyGroup { allowedTargets = 2; }; class A3W_fnc_flagHandler { allowedTargets = 2; }; class A3W_fnc_getInFast {}; class A3W_fnc_initPlayerServer { allowedTargets = 2; }; class A3W_fnc_logMemAnomaly { allowedTargets = 2; }; class A3W_fnc_pushVehicle {}; //class A3W_fnc_registerKillScore { allowedTargets = 2; }; // only needed for injury kill points, not currently enabled due to point farming concerns class A3W_fnc_requestTickTime { allowedTargets = 2; }; class A3W_fnc_serverPlayerDied { allowedTargets = 2; }; class A3W_fnc_setItemCleanup { allowedTargets = 2; }; class A3W_fnc_setLockState {}; class A3W_fnc_setName { jip = 1; }; class A3W_fnc_takeOwnership { allowedTargets = 2; }; class A3W_fnc_titleTextMessage {}; class A3W_fnc_towingHelper {}; class A3W_fnc_updateSpawnTimestamp { allowedTargets = 2; }; class FAR_fnc_headshotHitPartEH {}; class FAR_fnc_public_EH {}; class mf_remote_refuel {}; class mf_remote_repair {}; class mf_remote_syphon {};
//Advanced Sling Loading
// class CfgRemoteExec // { // class Functions // { // class ASL_Pickup_Ropes { allowedTargets=2; }; // class ASL_Deploy_Ropes_Index { allowedTargets=2; }; // class ASL_Rope_Set_Mass { allowedTargets=2; }; // class ASL_Extend_Ropes { allowedTargets=2; }; // class ASL_Shorten_Ropes { allowedTargets=2; }; // class ASL_Release_Cargo { allowedTargets=2; }; // class ASL_Retract_Ropes { allowedTargets=2; }; // class ASL_Deploy_Ropes { allowedTargets=2; }; // class ASL_Attach_Ropes { allowedTargets=2; }; // class ASL_Drop_Ropes { allowedTargets=2; }; // class ASL_Hint { allowedTargets=1; }; // class ASL_Hide_Object_Global { allowedTargets=2; }; // }; // };
class ASL_Pickup_Ropes { allowedTargets=2; }; class ASL_Deploy_Ropes_Index { allowedTargets=2; }; class ASL_Rope_Set_Mass { allowedTargets=2; }; class ASL_Extend_Ropes { allowedTargets=2; }; class ASL_Shorten_Ropes { allowedTargets=2; }; class ASL_Release_Cargo { allowedTargets=2; }; class ASL_Retract_Ropes { allowedTargets=2; }; class ASL_Deploy_Ropes { allowedTargets=2; }; class ASL_Attach_Ropes { allowedTargets=2; }; class ASL_Drop_Ropes { allowedTargets=2; }; class ASL_Hint { allowedTargets=1; }; class ASL_Hide_Object_Global { allowedTargets=2; };
// End
// Third-party class A3W_fnc_addMagazineTurret {}; class A3W_fnc_addMagazineTurretBaheli {}; class A3W_fnc_addMagazineTurretBcas {}; class A3W_fnc_addMagazineTurretHorca {}; class A3W_fnc_addMagazineTurretIcas {}; class A3W_fnc_addMagazineTurretLheli {}; class A3W_fnc_addMagazineTurretMortar {}; class A3W_fnc_addMagazineTurretOaheli {}; class A3W_fnc_addMagazineTurretOcas {}; class A3W_fnc_addMagazineTurretUav2 {}; class A3W_fnc_hideObjectGlobal {}; class A3W_fnc_lock {}; class A3W_fnc_removeMagazinesTurret {}; class A3W_fnc_setVectorUpAndDir { jip = 1; }; class A3W_fnc_setVehicleAmmoDef {}; class A3W_fnc_unflip {}; class APOC_srv_startAirdrop { allowedTargets = 2; }; class JTS_FNC_SENT {};`
Doesnt matter which way i seem to arange the code or change the values i keep getting kicked
Any ideas?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sethduda/AdvancedSlingLoading/issues/12#issuecomment-247463752, or mute the thread https://github.com/notifications/unsubscribe-auth/AOoBxoxPcQTaiFx-YT2JJRsIKQbJRYMPks5qqbuggaJpZM4J9GtM .
I have tried both files individually mate, i also have this in my serVariale.txt
5 "^A3W_((antiExplodeLocal|dammaged|engine|handleDamage|respawn)EH|atmEditorPlaced|missionMarkerName|(object|vehicle)(ID|Saved))"
5 "^A3W_(purchasedStoreObject|storeSellBox)"
5="BIS_fnc_MP_queue"
5="bounty(Kills)?"
5="BuildingLoot"
5="captureTriggerMarker"
5 "^fpsFix_(eventHandlers|simulationCooloff)"
5="Lootready"
5="objSaving_lastSave"
5="parked_vehicles"
5="private_storage"
5="spawnBeacon_lastUse"
5 "^storeNPC_(face|nearestBuilding|setupComplete)"
5 "^Town_\d+_lastSpawn"
5 "^vehSaving_(hours(Alive|Unused)|last(Save|Use)|spawningTime)"
5="ASL_Ropes"
5="ASL_Ropes_Vehicle"
5="ASL_Ropes_Pick_Up_Helper"
5="ASL_Cargo"
is this correct?
No, that's not correct. Remove the last 4 lines.
Can you paste in here your remoteexec.txt file as well?
On Thu, Sep 15, 2016 at 5:57 PM, TheMagpieNinja [email protected] wrote:
I have tried both files individually mate, i also have this in my serVariale.txt
5 "^A3W_((antiExplodeLocal|dammaged|engine|handleDamage|respawn)EH|atmEditorPlaced|missionMarkerName|(object|vehicle)(ID|Saved))" 5 "^A3W_(purchasedStoreObject|storeSellBox)" 5="BIS_fnc_MP_queue" 5="bounty(Kills)?" 5="BuildingLoot" 5="captureTriggerMarker" 5 "^fpsFix_(eventHandlers|simulationCooloff)" 5="Lootready" 5="objSaving_lastSave" 5="parked_vehicles" 5="private_storage" 5="spawnBeacon_lastUse" 5 "^storeNPC_(face|nearestBuilding|setupComplete)" 5 "^Town_\d+lastSpawn" 5 "^vehSaving(hours(Alive|Unused)|last(Save|Use)|spawningTime)" 5="ASL_Ropes" 5="ASL_Ropes_Vehicle" 5="ASL_Ropes_Pick_Up_Helper" 5="ASL_Cargo"
is this correct?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sethduda/AdvancedSlingLoading/issues/12#issuecomment-247467113, or mute the thread https://github.com/notifications/unsubscribe-auth/AOoBxjwOY47dXxZ1EQqB58om1CcekAWVks5qqb9agaJpZM4J9GtM .
Sorry yes i misread your previous post mate sorry.....
My remoteexec.txt is as follows
// allows UAV usage, third-party bounty system, and remoteExec functions (filtered by CfgRemoteExec)
5 "" !="" !="true" !="vehicle this (flyInHeight \d+|land 'LAND')" !="\[_this\] call onBountySystemPlayerDied;" !="\w+?_(fnc|remote|srv)_\w+? \[.*\]" !"ASL_"
// Feel free to mass-ban all GUIDs from remoteexec.log, but be careful with game updates and addons/mods due to false detections!
I'm making some progress now mate, getting different Kick messages when i do various things like release cargo etc.
i'm just going to change the CfgRemoteExec_fnc.hpp Values to the ones to stated in the read me. This is my current one, so this might explain some kicks, hopefully :)
class ASL_Pickup_Ropes { allowedTargets=1; };
class ASL_Deploy_Ropes_Index { allowedTargets=1; };
class ASL_Rope_Set_Mass { allowedTargets=1; };
class ASL_Extend_Ropes { allowedTargets=1; };
class ASL_Shorten_Ropes { allowedTargets=1; };
class ASL_Release_Cargo { allowedTargets=1; };
class ASL_Retract_Ropes { allowedTargets=1; };
class ASL_Deploy_Ropes { allowedTargets=1; };
class ASL_Attach_Ropes { allowedTargets=1; };
class ASL_Drop_Ropes { allowedTargets=1; };
class ASL_Hint { allowedTargets=1; };
class ASL_Hide_Object_Global { allowedTargets=2; };
Yes, battleye remoteexec.txt looks good.
What are the new kick messages?
On Thu, Sep 15, 2016 at 6:47 PM, TheMagpieNinja [email protected] wrote:
Sorry yes i misread your previous post mate sorry.....
My remoteexec.txt is as follows
``// allows UAV usage, third-party bounty system, and remoteExec functions (filtered by CfgRemoteExec) 5 "" !="" !="true" !="vehicle this (flyInHeight \d+|land 'LAND')" !="[this] call onBountySystemPlayerDied;" !="\w+?(fnc|remote|srv)\w+? [.]" !"ASL* "
// Feel free to mass-ban all GUIDs from remoteexec.log, but be careful with game updates and addons/mods due to false detections!``
I'm making some progress now mate, getting different Kick messages when i do various things like release cargo etc.
i'm just going to change the CfgRemoteExec_fnc.hpp Values to the ones to stated in the read me. This is my current one, so this might explain some kicks, hopefully :)
class ASL_Pickup_Ropes { allowedTargets=1; }; class ASL_Deploy_Ropes_Index { allowedTargets=1; }; class ASL_Rope_Set_Mass { allowedTargets=1; }; class ASL_Extend_Ropes { allowedTargets=1; }; class ASL_Shorten_Ropes { allowedTargets=1; }; class ASL_Release_Cargo { allowedTargets=1; }; class ASL_Retract_Ropes { allowedTargets=1; }; class ASL_Deploy_Ropes { allowedTargets=1; }; class ASL_Attach_Ropes { allowedTargets=1; }; class ASL_Drop_Ropes { allowedTargets=1; }; class ASL_Hint { allowedTargets=1; }; class ASL_Hide_Object_Global { allowedTargets=2; };
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sethduda/AdvancedSlingLoading/issues/12#issuecomment-247476204, or mute the thread https://github.com/notifications/unsubscribe-auth/AOoBxgj9AuMI5Nmamj_pO0jBMJoSE87tks5qqcrngaJpZM4J9GtM .
There fixed now mate, think it was due to the
class ASL_Pickup_Ropes { allowedTargets=1; };
class ASL_Deploy_Ropes_Index { allowedTargets=1; };
class ASL_Rope_Set_Mass { allowedTargets=1; };
class ASL_Extend_Ropes { allowedTargets=1; };
class ASL_Shorten_Ropes { allowedTargets=1; };
class ASL_Release_Cargo { allowedTargets=1; };
class ASL_Retract_Ropes { allowedTargets=1; };
class ASL_Deploy_Ropes { allowedTargets=1; };
class ASL_Attach_Ropes { allowedTargets=1; };
class ASL_Drop_Ropes { allowedTargets=1; };
class ASL_Hint { allowedTargets=1; };
class ASL_Hide_Object_Global { allowedTargets=2; };
I have copied over your config from the read me replacing the 1's to 0's :)
Everything is good for the moment.... Thanks for your support mate :+1: