TKC-Community

Hacking and Art => Armed Assault 3 => Armed Assault 2 => Topic started by: stealthstick on May 02, 2012, 06:53:03 am

Title: Make scripts affect everyone - no dialogs [HELP ME]
Post by: stealthstick on May 02, 2012, 06:53:03 am
How do you make a script affect everyone without using any dialogs, etc... Just pure .sqf.

For example, if I wanted to make a hint show up for all players, how would I do it with just an sqf, and no dialogs, like most of us did with Darky's.
I've been trying to use the "magic" script, and changed some things, but it only executes the script locally.
I tried to do a script that spawns everyone with a weapon, but it only spawns it for me. I want to be able to write any script, and have it run on all machines.
Title: Re: Make scripts affect everyone - no dialogs [HELP ME]
Post by: BanHammer on May 02, 2012, 11:27:49 am
Code: [Select]
player setVehicleInit "you code here";
processInitCommands;
clearVehicleInit player;
but unfortunately this detected most network traffic logers, because statement always broadcasted as string parameter.


Title: Re: Make scripts affect everyone - no dialogs [HELP ME]
Post by: M. O. on May 02, 2012, 02:41:09 pm
In that case I would think along the lines of some simple encryption.
Title: Re: Make scripts affect everyone - no dialogs [HELP ME]
Post by: joopig on May 02, 2012, 02:55:19 pm
Code: [Select]
player setVehicleInit "you code here";
processInitCommands;
clearVehicleInit player;
but unfortunately this detected most network traffic logers, because statement always broadcasted as string parameter.
+1 for helping on your first post, first time ive seen it happen. :icon_magician
Title: Re: Make scripts affect everyone - no dialogs [HELP ME]
Post by: stealthstick on May 03, 2012, 07:41:19 am
Code: [Select]
player setVehicleInit "you code here";
processInitCommands;
clearVehicleInit player;
but unfortunately this detected most network traffic logers, because statement always broadcasted as string parameter.
+1 for helping on your first post, first time ive seen it happen. :icon_magician

They'd be a douche not to help me with the first post, seeing as of how I actually attempted to solve my own problem.

BTW, thanks BanHammer, works perfectly! :D
Had fun on some life servers.
Title: Re: Make scripts affect everyone - no dialogs [HELP ME]
Post by: joopig on May 05, 2012, 09:56:59 pm
Code: [Select]
player setVehicleInit "you code here";
processInitCommands;
clearVehicleInit player;
but unfortunately this detected most network traffic logers, because statement always broadcasted as string parameter.
+1 for helping on your first post, first time ive seen it happen. :icon_magician

They'd be a douche not to help me with the first post, seeing as of how I actually attempted to solve my own problem.

BTW, thanks BanHammer, works perfectly! :D
Had fun on some life servers.
Watch out on what servers you use this on, this is easily detectable on most servers through sniffing and battleye script detection.