Oxide Version: 2.0.1228, Rust Protocol: 1301
[DOUBLEPOST=1438299597][/DOUBLEPOST]still not warping after plugin reinstal and server restart with current oxide

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
-
Ya I got the same error on the new version, had to revert to the lua version that still works
-
[DOUBLEPOST=1438336230][/DOUBLEPOST]Last edited by a moderator: Jul 31, 2015 -
Not sure when it happens, personally never used the warp for a while only for temp things that was before updates to rust yesterday.
-
@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" );
-
PaiN updated Warp System with a new update entry:
0.7.0
[DOUBLEPOST=1438337238][/DOUBLEPOST] -
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
-
Attached Files:
-
-
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
-
-
Yes thats true.
-
Wulf Community Admin
-
add ability to delete one warp location again... not just delall
-
For now you can remove the warp from your config. Manualy. -
I try that and when I open it again the warp point is back
-
Unload the plugin
Remove the warp from the config(care about commas and stuff)
Save Config
Load Plugin. -
Done that lol still no dice
-
-
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.
-