Duelist

Moved

Total Downloads: 2,050 - First Release: Jun 15, 2017 - Last Update: Jul 20, 2018

5/5, 19 likes
  1. How do I edit so there can be more than 1 arena at a time?
     
  2. Can someone help me add something which limits only 1 group pvping in 1 arena at a time. Every time my friends are playing we all get put in the same arena.
     
  3. Change Max Zones in the config
     
  4. A player reported that a bit of time after dueling:
    "i went back to my place and got into a fight
    I hit the guys two times and they didnt took any damage, then in the chat appeared something like: You are no longer spectator"
     
  5. Another bug: when you install CustomAI plugin from oxide and Duelist, animals will eventually accumulate near the arena walls. They will fight each other for an infinitie amount of time, because they are invulnerable. Could you make them vulnerable, please? Or at least to each other. CustomAI plugin makes aggressive animals to attack each other
     
  6. you should add " StartSleeping(player); " to your Teleport method so they dont fall into nothingness while stuff is still loading around them . while sleeping you can just wait until its loaded and you dont fall into your death .


    private void StartSleeping(BasePlayer player)
    {
    if (player.IsSleeping())
    return;
    player.SetPlayerFlag(BasePlayer.PlayerFlags.Sleeping, true);
    if (!BasePlayer.sleepingPlayerList.Contains(player))
    BasePlayer.sleepingPlayerList.Add(player);
    player.CancelInvoke("InventoryUpdate");
    //player.inventory.crafting.CancelAll(true);
    //player.UpdatePlayerCollider(true, false);
    }

    Credit: NTeleportation
     
  7. That's what

    player.SetPlayerFlag(BasePlayer.PlayerFlags.Sleeping, true);

    is for. Though I do plan to use that instead since it does the same thing and requires less code.
     
  8. where u got that code from? eather im really blind, or i got a wrong version?( checked, got the latest one)
    Or .. you didnt got that in the plugin ...
    Image 2017-11-08 at 12.57.39 PM.png


    Edit:
    Just saw " I plan to use that ..."

    Means you didnt got it in yet i assume. so.. nvm.

    yea. ofc u can also just use the single line , eather way, same outcome. - players dont die at teleport :D
    alright
     
  9. Don't show after update, GUI for Ready or Respawn after finishing duel, players after duel back to home and they can die.
     
  10. nivex updated Duelist with a new update entry:

    1.1.3

     
  11. Is there an option to have heli's not attack the players in duel?
     
  12. im still getting web request log popping up :/
     
  13. Can you post the log?
     
  14. nvm

    is there a way to block heli killing people in-game?
     
  15. I've attempted this many times but always failed. I'm not sure how. I think they're immune to it though.
     
  16. Any hope to see a fix for my earlier posted bug report? More and more players know about possibilities to walk through walls with it
     
  17. nivex updated Duelist with a new update entry:

    1.1.4

     
  18. what about adding /tdm ignore switch or option on/off so no1 will bother you with duel requests if you don't want so? data file structure might be just - {"ignorelist":{"steamid","steamid"...}} - only add players who ignores tdm requests to do not take too much space and loading time.
     
    Last edited by a moderator: Nov 28, 2017
  19. Thanks for the fix, but its not about walking through walls.
    Not sure, if you missed my post or not, but i meant that one (if its already been planned, then sorry!):

    Currently i just forced players to spawn at sleeping bags instead of a saved home locations as an easy workaround, because im not sure how to properly freeze the players.
    PS: you need to win in duel for that bug, i haven't mentioned it before.

    I have seen a setting "nohelitargeting" in a plugin Zones Manager for Rust | Oxide, (Stops helicopters from targeting players and sends them to a new location). If thats what you need, probably you might want to look at the source code
     
  20. Duelist - Failed to compile: Duelist.cs(5732,41): error CS1061: Type `BasePlayer' does not contain a definition for `buildingPrivilege' and no extension method `buildingPrivilege' of type `BasePlayer' could be found. Are you missing an assembly reference?
     
    Last edited by a moderator: Dec 8, 2017