1. PaiN submitted a new resource:

    Warp System - Create warp points for players

    Read more about this resource...
     
  2. When I add a second warp, it says "There is no warp with that name" whenever I try to warp to it by either name or ID number. The warp shows in /warp list and I can remove it with /warp remove...

    Here is the config file:
    Code:
    {
      "WarpInfo": [
        {
          "WarpName": "bigrad",
          "WarpId": 1,
          "WarpX": 5193.682,
          "WarpY": 360.706421,
          "WarpZ": -4921.80859,
          "WarpPermissionGroup": "all",
          "WarpTimer": 5,
          "WarpMaxUses": 0,
          "WarpCreatorName": "GratefulMichael",
          "RandomRange": 0
        },
        {
          "WarpName": "smallrad",
          "WarpId": 2,
          "WarpX": 6064.08447,
          "WarpY": 376.289,
          "WarpZ": -3533.77,
          "WarpPermissionGroup": "all",
          "WarpTimer": 5,
          "WarpMaxUses": 0,
          "WarpCreatorName": "GratefulMichael",
          "RandomRange": 0
        }
      ],
      "cantele": {
        "76561198xxxxxxxxxx": 322.3562
      },
      "lastposition": {
        "76561198xxxxxxxxxx": {
          "OldX": 6064.08447,
          "OldY": 376.289,
          "OldZ": -3533.77
        }
      },
      "maxuses": {}
    }
    So, when I try to do /warp to smallrad it tells me "There is no warp with that name".

    When I try to do /warp to bigrad it says "Teleporting in 5 seconds to bigrad" and "There is no warp with that name".

    help?
     
    Last edited by a moderator: Nov 11, 2015
  3. PaiN updated Warp System with a new update entry:

    0.2.0

     
  4. Compiler error:

    WarpSystem.cs(354,18): error CS1061: Type `string' does not contain a definition for `Any' and no extension method `Any' of type `string' could be found. Are you missing `System.Linq' using directive?

    I added this to the header and it compiles
    using System.Linq;

    Test results:

    warping to invalid warp name results in "There is no such a warp"

    warping to the first warp works correctly and displays correct text.

    warping to the second warp by name or by id results in "There is no such a warp"




    BTW: THANK YOU for writing this plugin! It's been needed for oxide 2 for legacy for a long time!
     
    Last edited by a moderator: Nov 11, 2015
  5. PaiN updated Warp System with a new update entry:

    0.3.0


    [DOUBLEPOST=1447276460][/DOUBLEPOST]
    Download the latest version
    /warp wipe
    Create new warps and test ;x It sohuld work now.
     
  6. Great, I'll give it a try and let you know. Thanks for the quick responses.

    I can test it, but I thought I would just ask. Any chance this is compatible with the notp option for zonemanager? Zone Manager for Rust Legacy | Oxide

    I'd love to build an arena again and stock it with loot - but not if players can warp out with the goods!
     
  7. You mean ..
    - Prevent players warping out while they are in a zone ?
     
  8. Kinda - the zone manager has a setting for a zone that is notp - so if that zone is set to notp, then no warping out of that zone.
    [DOUBLEPOST=1447370205][/DOUBLEPOST]well.. version 0.3, did /warp wipe and readded warps.

    Still getting "There is not such a warp!" for the second warp entry, whether by name or by ID.

    New glitch though, trying to warp to the first entry in the warp list by name gives "there is not such a warp!" - using id number (e.g. /warp to 1 ) works but gives "there is not such a warp!" then warps....
     
  9. Kk once i come back home i will try to fix that
     
  10. PaiN updated Warp System with a new update entry:

    0.4.0

     
  11. Sadly, bad news to report. Same problem.

    First warp works, but does say "there is no such a warp!" before then displaying correct text and warping.

    Second and subsequent warps don't work...
     
  12. Whenever I ever I "/warpadd" it says "You don't have the permission to use this command", even tho i already logged in as admin. Plz Help
     
  13. You need the "warp.admin" permission.
     
  14. PaiN updated Warp System with a new update entry:

    0.5.0

     
  15. do you type "warp.admin" in console ? This is the only plugin i haven't figured out.
     
  16. Is it supposed to warp you under the map when you set the <WarpRandomRange> to number greater than 0?
     
  17. Are you running a legacy server and can you post what you are typing
     
  18. Thanks for the update(s)PaiN! multiple warp destinations are working fine now. I am experiencing what Alex is with warping under the map for the random warp range.

    /warp add randomtest 5 5 0 all

    /warp to randomtest

    ended up under the map.....
     
  19. kk sec
    [DOUBLEPOST=1447601823][/DOUBLEPOST]
    Replace the line 430 with ForcePlayerPos(player, new Vector3(posx, info.WarpY+3, posz));