PvX Selector

Allows PvE/PvP Gameplay on one server.

Total Downloads: 683 - First Release: Apr 21, 2016 - Last Update: Mar 10, 2017

5/5, 14 likes
  1. Sorry I dont understand the function that you want, could you maybe simplify it.
     
  2. I think its where people cannot damage any entity but their own. But if someone is on their rustio friends list then they can destory or hurt that entity.
     
  3. That makes sence, would this only affect PvE players or all players? if all players what kind of use would it be for so I could look at how to implement it.
     
  4. I'm pretty sure it's intended for PVE purposes only.
     
  5. Thanks for your interpretation Dylan :).
    Is this correct @Xtadeus
    Let me know when you can.
     
  6. Most I can do right now lol. Computer won't boot up on my main drive so I lost all my data and my current plugins :(. Really hoping I can recover my data lol
     
  7. Im Guessing your not NZ based, but I can at least give you some advice on the weekend.
     
  8. Yeah. I'm either gonna use my current warranty or just attempt to reinstall windows and buy a external hard drive to store important stuff.
     
  9. If you want to recover stuff I would Highly recommend not touching that drive, replace it with a blank one. use a usb ISO to install windows (or linux to try and recover data)
     
  10. Yeah that was my first thought.
     
  11. Found the problem lol. My hard drive seems to have been corrupted. As a result my computer cannot read or write into my main hard disk. And honestly I'm too lazy on the weekends it fix it myself so I'm gonna call some people out lol. :p
     
  12. Exactly that ;-) But during certain period of time of a day... To make a difference between a RAID period and an ANTI RAID period.


    No for PVP server but to allow European people to sleep and not have a risk to get destroyed by Canadians or others who play during the day when it is night here ;-)
     
  13. is there an admin code to find out who selected pve and who selected pvp? like a list or something
     
  14. There isnt an available code as of right now, But I can easily look at adding that in.
    Otherwise an easy way to look would be to open the Datafile as it stores data like this
    Code:
    Steamid{
        ID,
        Name: "I am a player" - Player Name
        selected: "Yes" - Have the picked since first login
        pvp: "Yes" - Yes = PvP, No = PvE
        changerequested: "Yes" = Do they want to change
        Reason: "I want to move" = The reason they want to change (if any)
    }
     
  15. Not sure if this is already a option. But if not @Alphawar you should add a ability so when a admin accepts a ticket to change a players PVP mode that stores in the data. So say there was a admin abusing and letting a clan do whatever they want, well the owner(of the server) could easily find this out via the data logs.
    You could make a data file like:
    Code:
    Admin Name:
    Admin Rank(1 or 2):
    Player:
    Player Rank(if betterchat is installed or something)
    Reason Of Change:
    Changed to PVP or PVE:
     
  16. Thank you for the recommendation.
    That will a good idea to add, when I get a chance I will look at a way to implement.
     
  17. Hi all (@DylanSMR / @VDUBlifestyle )

    I have been working on this mod at the moment, I have currently finished the new data system and I am now working on integrating it with the existing mod, There will be some changes but I am trying to keep the mod as unchanged as possible.

    In saying that I will most likely require some testers in a week when I get the time to finish the mod.
    I dont have much available time recently so any help would be great.

    Thanks

    New Data System
    Code:
            class PlayerData
            {
                public Hash<ulong, PlayerInfo> playerinfo = new Hash<ulong, PlayerInfo>();
            }
            class TicketData
            {
                public Dictionary<int, ulong> ticketCount = new Dictionary<int, ulong>();
                public Dictionary<ulong, TicketInfo> ticketinfo = new Dictionary<ulong, TicketInfo>();
            }
            class HistoryData
            {
                public Dictionary<int, TicketHistory> tickethistory = new Dictionary<int, TicketHistory>();
            }        class TicketInfo
            {
                public int TicketNumber;
                public ulong UserId;
                public string ChangingTo;
                public string ChangeReason;
            }
            class PlayerInfo
            {
                public ulong UserId;
                public int selected;
                public string selection;
            }
            class TicketHistory
            {
                public ulong UserId;
                public string ChangingTo;
                public string ChangeReason;
                public ulong AdminId;
            }
    Old Data System
    Code:
            class StoredData
            {
                public Dictionary<int, ulong> ticketCount = new Dictionary<int, ulong>();
                public Hash<ulong, PlayerInfo> PvXData = new Hash<ulong, PlayerInfo>();            public StoredData()
                {
                }
            }
            class PlayerInfo
            {
                public ulong UserId;
                public string Name;
                public bool selected;
                public bool PvP;
                public bool changeRequested;
                public string reason;            public PlayerInfo()
                {
                }            public PlayerInfo(BasePlayer _player, bool _pvp, bool _sel, bool _req, string _rsn)
                {
                    UserId = _player.userID;
                    Name = _player.displayName;
                    PvP = _pvp;
                    selected = _sel;
                    changeRequested = _req;
                    reason = _rsn;
                }
            }
     
  18. i have it on my server and i like it alot only thing is the players in pvp can still find a way to distroy pve bases with the hammer and take there stuff if there is a way to fix that it would work wonders so far its doing good besides that keep up the good work man
     
  19. Thanks for bringing that up, I will have a look into a solution, I am working on a way to allow admins to set damage to PvE walls so for example they could take no damage or 10%..., I will also look into ways to stop PvP players from using a hammer on the base, this could be tricky unless I block users from destroying PvE walls with a hammer.

    Again I know there will be alot of features that will be required to make this mode more balanced and to allow Personalisation of the mod.
     
  20. Data system looks good. I can't test it as im on vacation currently! Sorry for late response though. Been with my nephew a lot these days.