System Spoofing

w00t22

CSS L4D DoD? Steam ID = w00t22
Reaction score
43
Spoofing System
Sombody needed something like this so i just pasted my code i use in my maps when i want to have special cheats for myself when i join, and when spoofers join they cant.
This trigger to find people with coloured names and stuff if you dont want in your map was made by Dark_Baron_Prot.
Code:
Find Name Spoofer
    Events
        Map initialization
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                For each (Integer A) from 1 to 17, do (Actions)
                    Loop - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                | Equal to (Substring((Name of (Picked player)), (Integer A), (Integer A)))
                            Then - Actions
                                Set Player_a_spoofer[(Player number of (Picked player))] = True
                                Set Player_Spoofer_Setname[(Player number of (Picked player))] = ((Name of (Picked player)) +  Was Owned By Anti-Spoof)
                            Else - Actions
        Wait 1.00 game-time seconds
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Player_a_spoofer[1] Equal to True
            Then - Actions
                Player - Set name of Player 1 (Red) to Player_Spoofer_Setname[1]
                Game - Display to (All players) for 5.00 seconds the text: (Player_Spoofer_Setname[1] +  has been set.)
                Unit - Kill (Random unit from (Units owned by Player 1 (Red)))
                Unit - Remove (Random unit from (Units owned by Player 1 (Red))) from the game
                Game - Defeat Player 1 (Red) with the message: (<Empty String> + <Empty String>)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Player_a_spoofer[2] Equal to True
            Then - Actions
                Player - Set name of Player 2 (Blue) to Player_Spoofer_Setname[2]
                Game - Display to (All players) for 5.00 seconds the text: (Player_Spoofer_Setname[2] +  has been set.)
                Unit - Kill (Random unit from (Units owned by Player 2 (Blue)))
                Unit - Remove (Random unit from (Units owned by Player 2 (Blue))) from the game
                Game - Defeat Player 2 (Blue) with the message: (<Empty String> + <Empty String>)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Player_a_spoofer[3] Equal to True
            Then - Actions
                Player - Set name of Player 3 (Teal) to Player_Spoofer_Setname[3]
                Game - Display to (All players) for 5.00 seconds the text: (Player_Spoofer_Setname[3] +  has been set.)
                Unit - Kill (Random unit from (Units owned by Player 3 (Teal)))
                Unit - Remove (Random unit from (Units owned by Player 3 (Teal))) from the game
                Game - Defeat Player 3 (Teal) with the message: (<Empty String> + <Empty String>)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Player_a_spoofer[4] Equal to True
            Then - Actions
                Player - Set name of Player 4 (Purple) to Player_Spoofer_Setname[4]
                Game - Display to (All players) for 5.00 seconds the text: (Player_Spoofer_Setname[4] +  has been set.)
                Unit - Kill (Random unit from (Units owned by Player 4 (Purple)))
                Unit - Remove (Random unit from (Units owned by Player 4 (Purple))) from the game
                Game - Defeat Player 4 (Purple) with the message: (<Empty String> + <Empty String>)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Player_a_spoofer[5] Equal to True
            Then - Actions
                Player - Set name of Player 5 (Yellow) to Player_Spoofer_Setname[5]
                Game - Display to (All players) for 5.00 seconds the text: (Player_Spoofer_Setname[5] +  has been set.)
                Unit - Kill (Random unit from (Units owned by Player 5 (Yellow)))
                Unit - Remove (Random unit from (Units owned by Player 5 (Yellow))) from the game
                Game - Defeat Player 5 (Yellow) with the message: (<Empty String> + <Empty String>)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Player_a_spoofer[6] Equal to True
            Then - Actions
                Player - Set name of Player 6 (Orange) to Player_Spoofer_Setname[6]
                Game - Display to (All players) for 5.00 seconds the text: (Player_Spoofer_Setname[6] +  has been set.)
                Unit - Kill (Random unit from (Units owned by Player 6 (Orange)))
                Unit - Remove (Random unit from (Units owned by Player 6 (Orange))) from the game
                Game - Defeat Player 6 (Orange) with the message: (<Empty String> + <Empty String>)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Player_a_spoofer[7] Equal to True
            Then - Actions
                Player - Set name of Player 7 (Green) to Player_Spoofer_Setname[4]
                Game - Display to (All players) for 5.00 seconds the text: (Player_Spoofer_Setname[7] +  has been set.)
                Unit - Kill (Random unit from (Units owned by Player 7 (Green)))
                Unit - Remove (Random unit from (Units owned by Player 7 (Green))) from the game
                Game - Defeat Player 7 (Green) with the message: (<Empty String> + <Empty String>)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Player_a_spoofer[8] Equal to True
            Then - Actions
                Player - Set name of Player 8 (Pink) to Player_Spoofer_Setname[4]
                Game - Display to (All players) for 5.00 seconds the text: (Player_Spoofer_Setname[8] +  has been set.)
                Unit - Kill (Random unit from (Units owned by Player 8 (Pink)))
                Unit - Remove (Random unit from (Units owned by Player 8 (Pink))) from the game
                Game - Defeat Player 8 (Pink) with the message: (<Empty String> + <Empty String>)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Player_a_spoofer[9] Equal to True
            Then - Actions
                Player - Set name of Player 9 (Gray) to Player_Spoofer_Setname[9]
                Game - Display to (All players) for 5.00 seconds the text: (Player_Spoofer_Setname[9] +  has been set.)
                Unit - Kill (Random unit from (Units owned by Player 9 (Gray)))
                Unit - Remove (Random unit from (Units owned by Player 9 (Gray))) from the game
                Game - Defeat Player 9 (Gray) with the message: (<Empty String> + <Empty String>)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Player_a_spoofer[10] Equal to True
            Then - Actions
                Player - Set name of Player 10 (Light Blue) to Player_Spoofer_Setname[10]
                Game - Display to (All players) for 5.00 seconds the text: (Player_Spoofer_Setname[10] +  has been set.)
                Unit - Kill (Random unit from (Units owned by Player 10 (Light Blue)))
                Unit - Remove (Random unit from (Units owned by Player 10 (Light Blue))) from the game
                Game - Defeat Player 10 (Light Blue) with the message: (<Empty String> + <Empty String>)
            Else - Actions

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This was made by me and i used for my mazes.
Name Spoofing System

Secret Lives for only you nobody else can do it unless they know code and have your name
-- Name of person is Potosys -- Change it in triggers to your name.
-- Also you can change the code --
Consists of a couple of triggers and i will post map with it.

So first if there is a player called Potosys it will create a timer. if the timer expires it will kick the player. if it is the correct player he will know what to do, by pressing down to show the dialog and then enter the code. If using a chat command players can go into replays and figure out what the player said.
Code:
Timer
    Events
        Time - Elapsed game time is 0.05 seconds
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Name of (Picked player)) Equal to Potosys) or ((Name of (Picked player)) Equal to potosys)
                    Then - Actions
                        Countdown Timer - Create a timer window for Timer with title Is Potosys Real?
                        Countdown Timer - Start Timer as a One-shot timer that will expire in 25.00 seconds
                        Countdown Timer - Show (Last created timer window)
                    Else - Actions
        Custom script:   call DestroyTrigger(GetTriggeringTrigger())

He will press the down arrow key to show the Dialog to enter the code.
Code:
Run Dialog
    Events
        Player - Player 1 (Red) Presses the Down Arrow key
        Player - Player 2 (Blue) Presses the Down Arrow key
        Player - Player 3 (Teal) Presses the Down Arrow key
        Player - Player 4 (Purple) Presses the Down Arrow key
        Player - Player 5 (Yellow) Presses the Down Arrow key
        Player - Player 6 (Orange) Presses the Down Arrow key
        Player - Player 7 (Green) Presses the Down Arrow key
        Player - Player 8 (Pink) Presses the Down Arrow key
        Player - Player 9 (Gray) Presses the Down Arrow key
        Player - Player 10 (Light Blue) Presses the Down Arrow key
        Player - Player 11 (Dark Green) Presses the Down Arrow key
    Conditions
        ((Name of (Triggering player)) Equal to Potosys) or ((Name of (Triggering player)) Equal to potosys)
    Actions
        Set Player = (Triggering player)
        For each (Integer A) from 1 to 3, do (Actions)
            Loop - Actions
                Dialog - Create a dialog button for Spoof labelled (|cffffffff + (String((Integer A))))
                Set Spoof_1[(Integer A)] = (Last created dialog Button)
        Dialog - Create a dialog button for Spoof labelled |c0033cc00Reset Cod...
        Set Spoof_1[4] = (Last created dialog Button)
        Dialog - Create a dialog button for Spoof labelled |c00cc0000Enter Cod...
        Set Spoof_1[5] = (Last created dialog Button)
        Trigger - Run Dialog <gen> (ignoring conditions)
        Custom script:   call DestroyTrigger(GetTriggeringTrigger())

Every time he hits a number (1,2, or 3) the title will refresh to the new code.
Code:
Dialog Click
    Events
        Dialog - A dialog button is clicked for Spoof
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Clicked dialog button) Equal to Spoof_1[1]
            Then - Actions
                Set Code_1 = (Code_1 + 1)
                Trigger - Run Dialog <gen> (ignoring conditions)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Clicked dialog button) Equal to Spoof_1[2]
            Then - Actions
                Set Code_1 = (Code_1 + 2)
                Trigger - Run Dialog <gen> (ignoring conditions)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Clicked dialog button) Equal to Spoof_1[3]
            Then - Actions
                Set Code_1 = (Code_1 + 3)
                Trigger - Run Dialog <gen> (ignoring conditions)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Clicked dialog button) Equal to Spoof_1[4]
            Then - Actions
                Set Code_1 = <Empty String>
                Trigger - Run Dialog <gen> (ignoring conditions)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Clicked dialog button) Equal to Spoof_1[5]
            Then - Actions
                Trigger - Turn off (This trigger)
                Trigger - Run Check Code <gen> (ignoring conditions)
            Else - Actions
Code:
Dialog
    Events
    Conditions
    Actions
        Dialog - Change the title of Spoof to Code_1
        Dialog - Show Spoof for Player

Now once the code is done and player decides to check it to see if it is correct the code, it will run this trigger and compare his code to the correct code. if it is right it will display it in chat and if he is wrong it will kick the player, remove all his players and tell other people.
Code:
Check Code
    Events
    Conditions
    Actions
        -------- Change your code here in the conditions. --------
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Code_1 Equal to [B][I][SIZE="4"][COLOR="Red"]321321[/COLOR][/SIZE][/I][/B]
            Then - Actions
                Trigger - Add to Admin System <gen> the event (Player - Player skips a cinematic sequence)
                Trigger - Turn off Booting Spoofers Copy <gen>
                Countdown Timer - Pause Timer
                Countdown Timer - Destroy (Last created timer window)
                Game - Display to (All players) for 30.00 seconds the text: |c000099ccThe Creat...
                Game - Display to (Player group(Player)) the text: |c000099ccFor Blink...
            Else - Actions
                Game - Defeat Player with the message: You Never Learn.
                Unit Group - Pick every unit in (Units owned by Player) and do (Unit - Kill (Picked unit))
                Unit Group - Pick every unit in (Units owned by Player) and do (Unit - Remove (Picked unit) from the game)
                Game - Display to (All players) the text: A spoofer was kicke...
        Custom script:   call DestroyTrigger(GetTriggeringTrigger())

Code:
Admin System
    Events
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        Or - Any (Conditions) are true
                            Conditions
                                (String((Name of (Picked player))) as Lower case) Equal to (String(potosys) as Lower case)
                    Then - Actions
                        Unit Group - Pick every unit in (Units owned by (Picked player)) and do (Actions)
                            Loop - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    If - Conditions
                                        ((Picked unit) is alive) Equal to True
                                    Then - Actions
                                        -------- Set Lives here add abilitys etc. --------
                                    Else - Actions
                    Else - Actions
        Custom script:   call DestroyTrigger(GetTriggeringTrigger())

And of course kicking the spoofers who failed at trying to spoof the original map maker.:D
Code:
Booting Spoofers Copy
    Events
        Time - Timer expires
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Name of (Picked player)) Equal to Potosys) or ((Name of (Picked player)) Equal to potosys)
                    Then - Actions
                        Countdown Timer - Destroy (Last created timer window)
                        Game - Defeat (Picked player) with the message: You Never Learn..
                        Game - Display to (All players) the text: A spoofer was kicke...
                        Unit Group - Pick every unit in (Units owned by (Picked player)) and do (Unit - Kill (Picked unit))
                        Unit Group - Pick every unit in (Units owned by (Picked player)) and do (Unit - Remove (Picked unit) from the game)
                    Else - Actions

Enjoy
 

Attachments

  • Spoofer.w3x
    19.1 KB · Views: 241

Sim

Forum Administrator
Staff member
Reaction score
534
What's up with this dialog and stuff? ^^

Why not simply enter a password as a chat command?
 

Sim

Forum Administrator
Staff member
Reaction score
534
> Cinematic - Clear the screen of text messages for Player Group - (triggering player)

^^

Hides the text instantly.
 

w00t22

CSS L4D DoD? Steam ID = w00t22
Reaction score
43
Thanks for comments i put a little more detail into the post. For gref

Edit

> Cinematic - Clear the screen of text messages for Player Group - (triggering player)

^^

Hides the text instantly.

Would work never thought of that. Im trying to think of something to say that would make my system better than that but i cant atm.
 

Darkchaoself

What is this i dont even
Reaction score
106
So what happens when one of these "spoofers" opens the war3map.j?

Most Spoofers are not smart enough to do so. Even if they do the probably wont know JASS

Nice system btw, i like :p
This system is basic and all, but it takes time to create which most people don't wanna spend.
Gj, +Rep
 
Reaction score
333
Most Spoofers are not smart enough to do so. Even if they do the probably wont know JASS

Anyone who can find a spoofer can also find an MPQ extractor with just as much ease. As soon as one person extracts and deciphers the war3map.j, they will be able to tell anyone willing to listen how to bypass the protection.

This system is basic and all, but it takes time to create which most people don't wanna spend.

Plenty of people are willing to spend time on creating a system. It really depends on how effective that system is going to be.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top