Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002805Zandronum[All Projects] Suggestionpublic2016-08-15 21:132016-10-15 15:43
ReporterKorshun 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002805: Add a way to execute a clientside script for a single client
DescriptionRight now, ACS_ExecuteAlways launches a clientside script for ALL players. So to make that script affect only a given player, modders need to write the following boilerplate:

script 1 (int player, ...) CLIENTSIDE
{
    if (player != ConsolePlayerNumber())
        terminate;
    ...
}

It would be better to have a function that only launches the script for the specified client, like ACS_ExecuteOnClient(int player, int script, int arg1, int arg2, int arg3).

It would eliminate useless server commands being sent to other, potentially 63, clients, and it would prevent cheating opportunities, because other clients can hack their scripts/engines and get notified of the fact that such a script was launched for player X, providing tactical advantage.
Attached Files

- Relationships
duplicate of 0002751resolved Targeted clientside scripts 

-  Notes
User avatar (0015452)
Korshun (reporter)
2016-08-15 21:17

To clarify: I am only talking about using serverside ACS_ExecuteAlways to launch a clientside script.
User avatar (0015453)
DrinkyBird (developer)
2016-08-15 22:28

'https://zandronum.com/tracker/view.php?id=2751 [^]'

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: Korshun Monsterovich Catastrophe
Opponents: AlienOverlord

- Issue History
Date Modified Username Field Change
2016-08-15 21:13 Korshun New Issue
2016-08-15 21:17 Korshun Note Added: 0015452
2016-08-15 22:28 DrinkyBird Note Added: 0015453
2016-10-15 15:43 Ru5tK1ng Relationship added duplicate of 0002751
2016-10-15 15:43 Ru5tK1ng Status new => closed
2016-10-15 15:43 Ru5tK1ng Resolution open => duplicate






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker