Jump to content

ISSUE : Advanced Urban Rappelling


lesvieuxcrevards

Recommended Posts

Hi,

Does anyone can help me please with 'Advanced Urban Rappelling'

  1. I've put mod in /arm3/@AUR
  2. Added mod to my server start  : -serverMod="@AUR;"
  3. Edited my epoch.Altis\epoch_config\Configs\CfgRemoteExec.hpp to add required parameters : 

        class AUR_Hint
        {
            allowedTargets = 1;
            jip = 0;
        };
        class  AUR_Hide_Object_Global
        {
            allowedTargets = 2;
            jip = 0;
        };
        class AUR_Enable_Rappelling_Animation_Global
        {
            allowedTargets = 2;
            jip = 0;
        };
        class AUR_Play_Rappelling_Sounds_Global
        {
            allowedTargets = 2;
            jip = 0;
        };

When I restart serer no issue, mod seem loaded : 

                                             name |               modDir |    default |               origin |                                     hash | hashShort | fullPath
13:42:51 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
...

...
13:42:51                          Advanced Urban Rappelling |                 @AUR |      false |             GAME DIR | da39a3ee5e6b4b0d3255bfef95601890afd80709 |  11fdd19c | C:\SERVICES\ni1220404_1_SHARE\ftproot\arma3\@AUR
13:42:51 ==========================================================================================================================================================================================================
...

When I'm trying rappeling from building, I got option to attach my rope, mu char is attached to rope in good position. Without do anything char falling and I've these messages inside log file : 

13:50:53 "DEBUG: Invalid Vehicle Token, deleted 38a66080# 1815773: aa_01.p3d REMOTE"
13:50:53 Server: Object 3:15 not found (message Type_170)
13:50:53 Server: Object 3:16 not found (message Type_170)

Regards.

Link to comment
Share on other sites

7 hours ago, natoed said:

the answers you seek are here

have to edit the AUR_AdvancedUrbanRappelling\functions\fn_advancedUrbanRappellingInit.sqf

cheers

natoed

Doesn't that customize the mod/pbo?

Wouldn't that cause issues with players running it or even joining the server?

Would you mind explaining how you went about this natoed?

And maybe showing your own setup?

I never did get this to work and never saw this solution...

 

Thank you.

Link to comment
Share on other sites

Hey @Hux,

soz mate thought you would have worked it out

NOTE: ALL THX GOES TO HE-MAN (learnt it from him)

 

yourmissionfile\epoch_config\Configs\CfgRemoteExec.hpp

add the below within the class Functions brackets

		class EPOCH_server_setVToken	//	thx to He-Man
		{
			allowedTargets = 2;
			jip = 0;
		};

 

here is what i edited within the fn_advancedUrbanRappellingInit.sqf

starting line 378 and line 789

	// Create anchor for rope (at rappel point) 
	_anchor = createVehicle ["ebike_epoch", _player, [], 0, "CAN_COLLIDE"]; 
	_anchor call EPOCH_server_setVToken;
	hideObject _anchor;
	_anchor enableSimulation false;
	_anchor allowDamage false;
	_anchor remoteexec ['EPOCH_server_setVToken',2]; // thx He-Man
	[[_anchor],"AUR_Hide_Object_Global"] call AUR_RemoteExecServer;

	// Create rappel device (attached to player)
	_rappelDevice = createVehicle ["jetski_epoch", _player, [], 0, "CAN_COLLIDE"]; 
	_rappelDevice call EPOCH_server_setVToken;
	hideObject _rappelDevice;
	_rappelDevice setPosWorld _playerStartPosition;
	_rappelDevice allowDamage false;
	_rappelDevice remoteexec ['EPOCH_server_setVToken',2]; // thx He-Man
	[[_rappelDevice],"AUR_Hide_Object_Global"] call AUR_RemoteExecServer;


AUR_Hide_Object_Global = {
	params ["_obj"];
	if( _obj isKindOf "ebike_epoch" || _obj isKindOf "jetski_epoch" ) then {
		hideObjectGlobal _obj;
	};
};

repbo and all is great with Epoch and Advanced Urban Rappelling, but the BI filters suck ass n blow

as the mod is run server-side only, I have no issue with .bisign as there is no client mod to compare.

 

cheers

natoed

 

Link to comment
Share on other sites

Thank you natoed and of course He-Man.

I was wondering if you run this by using the @folder and including it in your server start line or just simply place the AUR pbo in your Epoch hive addons?

 

Thanks again.

Edit: I'm running the AUR pbo from my epoch hive and it works great...especially running it clientside also to get the anim, sounds and shooting while reppelling.

 

I appreciate it natoed and He-Man for providing the solution.

Link to comment
Share on other sites

4 hours ago, lesvieuxcrevards said:

All mods must have :

  • naming  : @Firstletterupperothersletterswhateverbutnospace
  • At root of arma3
  • must be inside -serverMod

I'm just running it from epoch hive addons folder and it runs fine.

With no start line for server.

Link to comment
Share on other sites

11 hours ago, Hux said:

Thank you natoed and of course He-Man.

I was wondering if you run this by using the @folder and including it in your server start line or just simply place the AUR pbo in your Epoch hive addons?

 

Thanks again.

Edit: I'm running the AUR pbo from my epoch hive and it works great...especially running it clientside also to get the anim, sounds and shooting while reppelling.

 

I appreciate it natoed and He-Man for providing the solution.

That's a pisser of an idea mate, its under a Mb too.

I'll just incorporate it in my mission with the epochhive\addon bit

one less mod for the server/players to load.

will report back

 

cheers

natoed

Link to comment
Share on other sites

9 hours ago, Hux said:

I just used the solution He-Man provided to get Advanced Rappelling (From helicopter) to work. No deleting of rope.

I'm running this also from Epoch Hive and it works fine with no start line for server.

Hey Hux spot me a link to He-Man's for Advanced Rappelling (From helicopter) I cant find it. lol

cheers

natoed

Link to comment
Share on other sites

7 hours ago, natoed said:

Hey Hux spot me a link to He-Man's for Advanced Rappelling (From helicopter) I cant find it. lol

cheers

natoed

I'm sorry, I should have made it clearer.

I just meant I used the solution for Urban Reppelling and applied it to AR (From chopper).

I just added the setVToken stuff.

This is what I did starting on line 364:

        _anchor = "Land_Can_V2_F" createVehicle position _player;
		_anchor call EPOCH_server_setVToken;
		_anchor allowDamage false;
		_anchor remoteexec ['EPOCH_server_setVToken',2];
		hideObject _anchor;
		[[_anchor],"AR_Hide_Object_Global"] call AR_RemoteExecServer;
		_anchor attachTo [_heli,_rappelPoint];
		
		_rappelDevice = "B_static_AA_F" createVehicle position _player;
		_rappelDevice call EPOCH_server_setVToken;
		_rappelDevice setPosWorld _playerStartPosition;
		_rappelDevice allowDamage false;
		hideObject _rappelDevice;
		_rappelDevice remoteexec ['EPOCH_server_setVToken',2];
		[[_rappelDevice],"AR_Hide_Object_Global"] call AR_RemoteExecServer;

Now I have no problem with the rope deleting.

Again, I'm running this from my Epoch hive and it works great.

Link to comment
Share on other sites

On 6/11/2017 at 4:20 PM, lesvieuxcrevards said:

All mods must have :

  • naming  : @Firstletterupperothersletterswhateverbutnospace
  • At root of arma3
  • must be inside -serverMod

Just to point out an addon folder can have spaces and case doesn't matter. The command line would then be like:

"-mod=@Any MoD naMe;"

Doublequotes included.

Link to comment
Share on other sites

On 6/13/2017 at 9:39 AM, Hux said:

I just used the solution He-Man provided to get Advanced Rappelling (From helicopter) to work. No deleting of rope.

I'm running this also from Epoch Hive and it works fine with no start line for server.

thx @Hux work great

Link to comment
Share on other sites

On 11.6.2017 at 11:59 AM, natoed said:

Hey @Hux,

soz mate thought you would have worked it out

NOTE: ALL THX GOES TO HE-MAN (learnt it from him)

 

yourmissionfile\epoch_config\Configs\CfgRemoteExec.hpp

add the below within the class Functions brackets


		class EPOCH_server_setVToken	//	thx to He-Man
		{
			allowedTargets = 2;
			jip = 0;
		};

 

cheers

natoed

 

It is not really a good thing to make "EPOCH_server_setVToken" remotexecuteable! This is only a "quick'n'dirty" solution!

The EPOCH_server_setVToken is a security function to PREVENT!!! Players from spawning Vehicles, but now you allow it.

So don't see it as a standard solution for these problems. Better is to completely move Vehicle Spawns Server side!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...