Warp System

Create warp points for players to easily teleport to

Total Downloads: 7,208 - First Release: Jan 8, 2015 - Last Update: Oct 27, 2017

5/5, 22 likes
  1. Oxide Version: 2.0.1228, Rust Protocol: 1301
    [DOUBLEPOST=1438299597][/DOUBLEPOST]still not warping after plugin reinstal and server restart with current oxide
     
  2. Ya I got the same error on the new version, had to revert to the lua version that still works
     
  3. When this happens?
    [DOUBLEPOST=1438336230][/DOUBLEPOST]
    Wulf there is probably something wrong with Oxide or something changed in Rust. I swear it was working like a charm otherwise i wouldn't update this plugin.
     
    Last edited by a moderator: Jul 31, 2015
  4. Not sure when it happens, personally never used the warp for a while only for temp things that was before updates to rust yesterday.
     
  5. @Wulf I found the problem.

    This is the code that i teleport the player. Like fall asleep send StartLoading finish update and stuff....
    If i remove these lines and set only StartSleeping and the ForcePositionTo it works.
    What about the other lines ? Maybe something changed ?
    Code:
                                player.StartSleeping();
                                player.ClientRPCPlayer(null, player, "ForcePositionTo", warppos);   
                                player.SetPlayerFlag(BasePlayer.PlayerFlags.ReceivingSnapshot, true);
                                player.UpdateNetworkGroup();
                                player.UpdatePlayerCollider(true, false);
                                player.SendNetworkUpdateImmediate(false);
                                player.ClientRPCPlayer(null, player, "StartLoading");
                                player.SendFullSnapshot();
                                player.SetPlayerFlag(BasePlayer.PlayerFlags.ReceivingSnapshot, false);
                                player.ClientRPCPlayer(null, player, "FinishLoading" );
    
     
  6. PaiN updated Warp System with a new update entry:

    0.7.0


    [DOUBLEPOST=1438337238][/DOUBLEPOST]
    If possible test it and give me feedback.
     
  7. Sorry about the delay had some map issues trying to see whats causing it. This is the error when i typed /warp

    Code:
    [Oxide] 2:08 PM [Error] Failed to call hook 'cmdWarp' on plugin 'Warp System' (IndexOutOfRangeException: Array index is out of range.)
    [Oxide] 2:08 PM [Debug]   at Oxide.Plugins.WarpSystem.cmdWarp (.BasePlayer player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
     
  8. Check this version and give me feedback.
     

    Attached Files:

  9. Code:
    [Oxide] 2:15 PM [Error] Failed to call hook 'cmdWarp' on plugin 'Warp System' (IndexOutOfRangeException: Array index is out of range.)
    [Oxide] 2:15 PM [Debug]   at Oxide.Plugins.WarpSystem.cmdWarp (.BasePlayer player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
     
  10. I will fix that later.. But you can use /warp go /warp list /warp add /warp delall ... this error happens only if no args given.
     
  11. Yes thats true.
     
  12. Wulf

    Wulf Community Admin

    I'm not aware of anything that changed. We didn't change of those, but Rust may have.
     
  13. add ability to delete one warp location again... not just delall
     
  14. I will add it later..
    For now you can remove the warp from your config. Manualy.
     
  15. I try that and when I open it again the warp point is back
     
  16. Try to:
    Unload the plugin
    Remove the warp from the config(care about commas and stuff)
    Save Config
    Load Plugin.
     
  17. Done that lol still no dice
     
  18. I will work on Data Tables. Just give me some time. For now you can override... with /warp add <BeforeTitleName> <tptime>
     
  19. When regular players do /warp go (name) it makes them sleep and they wake up. They do not get teleported at all. However, it works for me and I am a rcon admin.
     
  20. Update to the latest version please.