Portals

Create portals allowing players to walk through to another location

Total Downloads: 3,764 - First Release: Jul 16, 2015 - Last Update: Nov 23, 2017

5/5, 17 likes
  1. kk ill see what I can fix. Im not at home for 1 and a half day. gonna see what to do after.
     
  2. Server is up todate with the latest rust. Latest Oxide.

    I think the blackhole is still open and its sucking out the 0's and 1's...
     
  3. After a lot of problems with last update, I made a complete reinstall.
    Everything working fine for me, I was able to setup a new Ferry System yesterday, check the Facebook Post with Images:
    ==> https://www.facebook.com/EURUSTafari/posts/1651998498377889

    Portals working fine for me.


    Kind Regards
     
  4. hey laser
    same as mugh and pain, could you look if you still need that RemoveFromTriggers?
    because it makes my zone manager plugin bug and there is no way agaisnt that if this stays on
    normally the reason why it had to be put here on the first place is fixed by rust itself, so you should be able to remove it.

    thx in advance
     
  5. Well, We were using it because of a problem which is getting caused with Cupboards. Those weren't working properly after a teleport. That RemoveFromTriggers had fixed it. Idk what about the latest Rust version, if the problem is still like that.
     
  6. I'm confused should i put it once more -.- ?
     
  7. Code:
    function PLUGIN:PutToSleep( player )
        player:SetPlayerFlag(global.BasePlayer.PlayerFlags.Sleeping, true);
        if(global.BasePlayer.sleepingPlayerList:Contains(player)==false) then
            global.BasePlayer.sleepingPlayerList:Add(player);
        end
        player:CancelInvoke("InventoryUpdate");;
        player.inventory.crafting:CancelAll(true);
    end
    -- ----------------------------------------------------------------------------
    -- PLUGIN:Teleport( player, destination )
    -- ----------------------------------------------------------------------------
    -- Teleports a player to a specific location.
    -- ----------------------------------------------------------------------------
    function PLUGIN:Teleport( player, destination )
        -- Let the player sleep to prevent the player from falling through objects.
        self:PutToSleep(player)
        player.transform.position = destination
        player:ClientRPCPlayer(nil, player, "ForcePositionTo", destination)
       
        player:SetPlayerFlag(global.BasePlayer.PlayerFlags.ReceivingSnapshot, true);
        player:UpdateNetworkGroup();    player:SendNetworkUpdateImmediate(false);
        player:ClientRPCPlayer(null, player, "StartLoading");
        player:SendFullSnapshot();
        player:SetPlayerFlag(global.BasePlayer.PlayerFlags.ReceivingSnapshot, false);
        player:ClientRPCPlayer(null, player, "FinishLoading" );
    end
    [DOUBLEPOST=1439463844][/DOUBLEPOST]ok this code will work 100% :)
     
  8. I see you are not using the standard .StartSleeping() method lol.
    Is that important?
     
  9. yes it is XD
    because i guess since couple updates they remove ALL colliders in this StartSleeping(), that's why you had to add RemoveTriggers ...
    so if you remove the built in startsleeping and make this GoToSleep instead it fixes all ;)
    i tested it all now ^^ i'm sure it works :)
     
  10. Okey Dokey, You're the God here. Gonna update this soon.
     
  11. it says i dont have permission for the portal, like to spawn and use? what do i do?!
     
  12. To USE a Portal, you need the permission
    portals.use
    for the admin commands you need:
    portals.admin
     
  13. also broken since last update.
     
  14. Maybe a little bit more info?!?
    Error etc?
    Whats the problem?
     
  15. Sorry. It just kicks you back to the entrance portal on use. Same problem teleportation plugin had. Could probably use the same fix wulf implemented
     
  16. kk
    -------
     
  17. LaserHydra updated Portals with a new update entry:

    1.2.1