1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Approved ZoomByMark 2018-05-27

RUSTBUSTER plugin that ZOOM in! This can also kill. Amazing SNIPER EFFECT!

  1. watsitfts
    Offline

    watsitfts Member Member

    Joined:
    Aug 21, 2017
    Messages:
    33
    Likes Received:
    2
    watsitfts submitted a new resource:

    ZoomByMarkRustNoWipe - RUSTBUSTER plugin that ZOOM in! This can also kill. Amazing SNIPER EFFECT!

    Read more about this resource...
     
    #1
  2. enes35001
    Offline

    enes35001 Member Member

    Joined:
    Jul 27, 2016
    Messages:
    45
    Likes Received:
    6
    Github Code ?
     
    #2
  3. ice cold
    Offline

    ice cold Plugin Developer Plugin Developer

    Joined:
    Oct 24, 2016
    Messages:
    672
    Likes Received:
    67
    i think the code is all perfect lol you shouldnt need to change anything in it
     
    #3
  4. watsitfts
    Offline

    watsitfts Member Member

    Joined:
    Aug 21, 2017
    Messages:
    33
    Likes Received:
    2
    All code ... the programmer needs to solve the errors and bugs that probably can happen ... I tried to control everything ... if you detect a bug ... talk to me and I will try to solve ... Thanks.
     
    #4
  5. watsitfts
    Offline

    watsitfts Member Member

    Joined:
    Aug 21, 2017
    Messages:
    33
    Likes Received:
    2
    enes35001... other day I send all codes to GitHub... Now I'm very busy...
     
    #5
  6. Revezunds
    Offline

    Revezunds Member Member

    Joined:
    Nov 30, 2017
    Messages:
    83
    Likes Received:
    13
    Would be great if you can limit its use only with the Bolt action rifle. or every gun will be a Binocular.
     
    #6
  7. watsitfts
    Offline

    watsitfts Member Member

    Joined:
    Aug 21, 2017
    Messages:
    33
    Likes Received:
    2
    Several possibilities to put news in the Legacy. Now with the creation of custom objects and autodownload .... game will soon have to present real improvements. Zoom should be useful for new sniper weapons. At the moment it is impossible to use this zoom in the weapons .... because the camera of the game when it has a normal weapon of the Legacy does not accept zoom. New added 3D models will certainly accept the zoom. I'll work on it ... because I discovery that Legacy has several problems with new objects ... they are positioning errors, fps drop ... but I'll keep trying ...
     
    #7
  8. aliesmaili
    Offline

    aliesmaili Member Member

    Joined:
    Nov 23, 2017
    Messages:
    61
    Likes Received:
    1
    have bug !
    when you click 0 or 9 or 8 and ... shoot player 10 chat 9995534...995656....956565
    can you fixed ?
    tanx
    its amazing plugin
     
    #8
  9. watsitfts
    Offline

    watsitfts Member Member

    Joined:
    Aug 21, 2017
    Messages:
    33
    Likes Received:
    2
    How to solve aliesmilie: They are two plugins. The SniperChat.py plugin removes this error from unwanted messages in the chat. This information is also in the instructions on the plugin page at fougerite.com
     
    #9
  10. Jakkee
    Offline

    Jakkee Plugin Developer Plugin Developer Contributor

    Joined:
    Jul 28, 2014
    Messages:
    1,480
    Likes Received:
    155
    Why are you doing in the python plugin?
    Are you finding the victim by X/Y/Z then killing him?
     
    #10
    • Agree Agree x 1
  11. watsitfts
    Offline

    watsitfts Member Member

    Joined:
    Aug 21, 2017
    Messages:
    33
    Likes Received:
    2
    Hi Jakkee. Python has player.kill() and RB not... then necesssary use SniperChat.py for remove chat flood and kill players using zoom...
     
    #11
  12. Jakkee
    Offline

    Jakkee Plugin Developer Plugin Developer Contributor

    Joined:
    Jul 28, 2014
    Messages:
    1,480
    Likes Received:
    155
    You can send messages to the server using RB Client (SendMessageToServer(string message))

    Example would be
    Client - if you hit a player, Grab his steamid and then send the steamid to the server
    Server - OnRustBusterUserMessage(API.RustBusterUserAPI user, Message msgc)
    from the message get the steamid & lookup the player then kill?

    There is a much better way but this is the most simplest and easiest way to explain

    Example in a plugin:
    Client sending a message https://github.com/jakkee/Fougerite...dminPlus/AdminPlusClient/AdminPlusGUI.cs#L788
    Server Receiving the message: https://github.com/jakkee/Fougerite...s/AdminPlus/AdminPlus/AdminPlusServer.cs#L537
     
    #12
    • Agree Agree x 1
  13. watsitfts
    Offline

    watsitfts Member Member

    Joined:
    Aug 21, 2017
    Messages:
    33
    Likes Received:
    2
    Maybe your idea works ... but I do not have time now ... on the weekend I might try to create this and do tests ... Another challenge is any attempt to kill other players the tests only killed me .... when a player "A" sends some code to kill another "B" player. Only the "A" dies. create suicide effect... But I can try to improve the plugin. Another problem is that RB may not be able to stop the flood in the chat and SniperChat.py does it very well. Thank you.
     
    #13
  14. Jakkee
    Offline

    Jakkee Plugin Developer Plugin Developer Contributor

    Joined:
    Jul 28, 2014
    Messages:
    1,480
    Likes Received:
    155
    Why are you flooding the chat anyway?

    Also player A dies because you are probably killing yourself in the code and not the target player

    If you need any help jump on Fougerite discord and paste some of the code and i’ll help you out
     
    #14
  15. watsitfts
    Offline

    watsitfts Member Member

    Joined:
    Aug 21, 2017
    Messages:
    33
    Likes Received:
    2
    I'm going to work on Saturday(tomorrow)... I know you can probably help and solve this ... I can not try coding your recommendation today ... but the other day I try ... no time. Using player.position does not work well ... if the player is running ... does not work, does not kill sometimes.. if using player.ID works perfect ... but has danger .. if in chat show ID ... just another enemy player write that number and kills .. not safe... Another day I'll post on discord. My name is Mark_watsitfts on discord. Very thanks.
     
    #15
  16. watsitfts
    Offline

    watsitfts Member Member

    Joined:
    Aug 21, 2017
    Messages:
    33
    Likes Received:
    2
  17. Jakkee
    Offline

    Jakkee Plugin Developer Plugin Developer Contributor

    Joined:
    Jul 28, 2014
    Messages:
    1,480
    Likes Received:
    155
    Code (C#):
    if (onlyMSG == true)
                {
                 
                    Character character = PlayerClient.GetLocalPlayer().controllable.GetComponent<Character>();
    // Get Character
                    RaycastHit[] hit = Physics.RaycastAll(character.controllable.character.eyesRay, 1300f);
    //Is the player looking at anything?
                    if (hit.Length > 0)
                    {
    //If hit is greater than 0 then yes!
                        PlayerClient player;
                        float distance = 0f;
                        foreach (RaycastHit x in hit)
                        {
    //Looping all hits (First hit should be the player or you'll be able to kill behind walls)
                            if (x.collider?.gameObject?.GetComponent<Character>().GetComponent<PlayerClient>() != null)
    //Looking at a player?
                            {
                                player = x.collider?.gameObject?.GetComponent<Character>().GetComponent<PlayerClient>() ?? null;
    //Maybe a player, Maybe the ground?
                                distance = x.distance;
                                break;
                            }
                        }
                        if (player != null)
                        {
    //Found a player!!!
                            //SEND TARGET STEAMID TO SERVER TO KILL
                            //SendMessageToServer("Killed-" + player.userID.ToString() + "-");
                            ConsoleWindow.singleton.RunCommand("chat.say You have killed " + player.userName + " from " + distance.ToString() + "m");
    //Print kill feed to CLIENTS chat, Or you can remove this is and use the server side to handle this?
                        }
                    }
                }
            }
    Something like this, Will need some editing..
    You'll have to create a Server plugin to listen for the Client Command to kill the victim
     
    #17
    Last edited: Jun 16, 2018 at 9:34 AM
  18. watsitfts
    Offline

    watsitfts Member Member

    Joined:
    Aug 21, 2017
    Messages:
    33
    Likes Received:
    2
    watsitfts updated ZoomByMark with a new update entry:

    ZoomByRustNoWipe

    Read the rest of this update entry...
     
    #18
  19. watsitfts
    Offline

    watsitfts Member Member

    Joined:
    Aug 21, 2017
    Messages:
    33
    Likes Received:
    2
    #19

Share This Page